Add a backend server in a legacy architecture
Last updated
Last updated
Expanding a cluster in a legacy architecture with a new backend server is similar to the WEKA legacy system installation process.
Adding a server to the cluster includes adding the containers and configuring the networking, CPU resources, and SSDs.
Note: In most cases, the container configurations are similar. Therefore, importing the container settings from a previously exported container in the cluster is possible, saving time and avoiding misconfiguration. See Expand the cluster by importing the server settings.
Obtain the WEKA install file.
Download the WEKA install file used when the existing cluster was last upgraded (or formed, if not upgraded). See Obtain the WEKA software installation package.
Use the weka status
command to show the current cluster install file version.
Install the WEKA software on the new server.
Run the untar
command and install.sh
command on the new server.
At the end of the installation process, the server is in stem mode (the server is not attached to a cluster).
Add the container to the cluster.
Run the following command line on any container in the cluster. In the backend-hostname
property, specify the IP address or hostname of the new backend server to add.
Note: Once this step is completed, the container ID of the newly added server appears in response to the command. Make a note of it to use in the following steps.
Configure the networking.
Configure the CPU resources.
Apply the configuration of the container on the newly added server.
Note: You can activate the cluster containers sequentially.
Configure the SSDs.
In most cases, the server configurations are similar. Therefore, importing the server setting from a previously exported server in the cluster is possible, saving time and avoiding misconfiguration.
Procedure:
Perform only steps 1 to 3 in the Add a backend server to an existing cluster procedure (above).
Connect to one of the servers in the cluster and export the settings by running the following command: weka local resources export
.
Connect to the new server and import the settings by running the following command:
weka local resources import
.
Edit the local configuration.
Apply the configuration on the newly added server.
Perform the instructions in .
Perform the instructions in .
Perform the instructions in .
Perform the instructions in .
See the section.
See .