Add a backend server in a multiple containers architecture
Expanding a cluster in a multiple container architecture with a new backend server is similar to the WEKA system installation process in a multiple containers architecture.
Adding a server to the cluster includes discovering the existing cluster resources, generating the resource files, creating containers using the resource files, and adding the SSDs to the new server.

Before you begin
Review the system dashboard and ensure that the system is operational and does not indicate any alarms.
Discover the number of cores for each container type in the cluster server.
weka local resources -C drives0 |grep -c DRIVES
weka local resources -C compute0 |grep -c COMPUTE
weka local resources -C frontend0 |grep -c FRONTEND
Discover the Management IPs of one of the containers. In a high-availability system, more than one IP exists.
weka local resources -C drives0 | grep "Management IPs"
Ensure that the new backend server meets the requirements and is available for installation.
Download from get.weka.io the same WEKA software version as in the existing WEKA cluster servers.
Procedure
Install the WEKA software on the new backend server.
Remove the default container from the new backend server.
weka local stop default && weka local rm -f default
Download the Weka tools from the GitHub repository.
cd ~
git clone https://github.com/weka/tools/
cd ~/tools/install/
Generate the resource files with the same network devices and options as the existing Weka cluster servers.
./resources_generator.py --net <net-devices> [options]
Create the drive, compute, and frontend containers, and join the new server's containers to the existing cluster.
In
management-ips
, specify the management IP address of the new server joining the cluster. Specify two or more comma-separated management IP addresses in a high-availability system.In
join-ips
, specify the management IP of one of the servers in the cluster to join.
weka local setup container --name drives0 --resources-path <path>/drives0.json --management-ips=<management IPs of the new server> --join-ips=<management IP of the existing server>
weka local setup container --name compute0 --resources-path <path>/compute0.json --management-ips=<management IPs of the new server> --join-ips=<management IP of the existing server>
weka local setup container --name frontend0 --resources-path <path>/frontend0.json --management-ips=<management IPs of the new server> --join-ips=<management IP of the existing server>
Configure the SSD drives on the drive container.
weka cluster drive add <container-id> <device-paths>
Related topics
Last updated