Workflow: Add a backend host
The page describes the expansion of a cluster with new hosts, which is similar to the Weka System Installation Process Using the CLI and consists of the following stages.
This stage is the same as Obtaining the Weka Install File. However, it is essential to download the install file used when the existing cluster was formed or last upgraded. Use the
weka-statuscommand to show the current cluster install file version.
weka cluster host add
weka -H <existing-backend-hostname> cluster host add <backend-hostname>
To display a list of the memory defined (one line per host), run the following command:
weka cluster host
Instead of carrying stages 4-9 above, it is possible to import the host setting from a previously exported host in the cluster. In most cases the host configurations are similar, and importing can save some extra steps and avoid misconfiguration.
To export settings from a host, ssh to this host, and run the
weka local resources exportcommand.
To import the settings to the new host, ssh to it and run the
weka local resources importcommand. You can then edit the local configuration as described in Local resources editing commands section and run weka local resources apply to apply the configuration.