Stages in Adding a Backend Host
Expanding a cluster with a new backend host is similar to the Weka system installation process using the CLI.
Note: In most cases, the host configurations are similar. Therefore, it is possible to import the host setting from a previously exported host in the cluster, saving time and avoiding misconfiguration. See Expand the Cluster by Importing the Host Settings.
Adding a Backend Host to an Existing Cluster
Stage 1: Obtaining the Weka Install File
Download the Weka Install File used when the existing cluster was last upgraded (or formed, if not upgraded).
Use the weka status
command to show the current cluster install file version.
See Obtaining the Weka Install File
Stage 2: Installing the Weka Software on the New Host
Run the untar
command and install.sh
command on the new host.
At the end of the installation process, the host is in stem mode (the host is not attached to a cluster).
Stage 3: Adding the Host to the Cluster
Command: weka cluster host add
On any host that is part of the cluster, run the following command line:
Parameters:
Name | Type | Value | Limitations | Mandatory | Default |
| String | IP/hostname of the new backend host to add | Valid hostname (DNS or IP) | Yes |
Note: On completion of this stage, the host-ID of the newly added host appears in response to the command. Make a note of it to use in the following steps.
Stage 4: Configuration of Networking
Stage 5: Configuration of CPU Resources
Stage 6: Applying Hosts Configuration
Note: You can activate the cluster hosts sequentially.
Stage 7: Configuration of SSDs
Expand the Cluster by Importing the Host Settings
In most cases, the host configurations are similar. Therefore, it is possible to import the host setting from a previously exported host in the cluster, saving time and avoiding misconfiguration.
Procedure:
Perform only stages 1 to 3 in the Adding a Backend Host to an Existing Cluster procedure (above).
Connect to one of the hosts in the cluster and export the settings by running the following command:
weka local resources export
.Connect to the new host and import the settings by running the following command:
weka local resources import
.
Last updated