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.
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.
Configure the networking.
Configure the CPU resources.
Apply the configuration of the container on the newly added server.
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:
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 .
Perform only steps 1 to 3 in the procedure (above).
See the section.
See .