Add a backend server

Expanding a cluster in a multi-container backend architecture with a new server is similar to the WEKA multi-container backend installation process.

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.

Adding a server to the cluster in a multi-container backend architecture

Before you begin

  1. Review the system dashboard and ensure that the system is operational and does not indicate any alarms.

  2. Discover the number of cores for each container type in the cluster server.

  1. Discover the Management IPs of one of the containers. In a high-availability system, more than one IP exists.

  1. Ensure that the new backend server meets the requirements and is available for installation.

  2. Download from get.weka.io the same WEKA software version as in the existing WEKA cluster servers.

To learn how about the options of the commands in the following procedure, see the related topics.

Procedure

  1. Install the WEKA software on the new backend server.

  2. Remove the default container from the new backend server.

  1. Download the WEKA tools from the GitHub repository.

  1. Generate the resource files with the same network devices and options as the existing WEKA cluster servers.

Example of a high-availability system with two network devices
Example of a high-availability system with two network devices and a gateway

Add to the --net option the following for each network device: <net device name>/<net device IP>/<net mask>/<gateway IP>

  1. Create the drive, compute, and frontend containers, and join them to the existing cluster. Use the following options to specify the required parameters:

    • resources-path: Specify the path to the resource file (drives0.json, compute0.json, or frontend0.json) created in Step 4 using the resource generator.

    • management-ips: Specify the management IP of the new server joining the cluster. For high availability, provide two or more comma-separated IPs.

    • join-ips: Specify the management IP of an existing cluster server.

    Run the following commands:

  1. Verify that the server is added to the cluster successfully. Run weka local ps.

  1. Configure the SSD drives on the drive container.

Related topics

WEKA cluster installation on bare metal servers (see Path C: Manual installation and configuration)

Last updated