Add clients
This page describes how to add clients to a bare-metal cluster.
About clients
Clients are used to running applications that need to access the WEKA filesystems. They do not contribute CPUs or drives to the cluster and only connect to the cluster to use its filesystems.
Add stateless clients
To use the WEKA filesystems from a client, all that is needed is to call the mount command. The mount command automatically installs the software version, and there is no need to join the client to the cluster.
To mount a filesystem in this manner, first install the WEKA agent from one of the backend instances and then mount the filesystem.
Example:
For the first mount, this will install the WEKA software and automatically configure the client. For more information on mount and configuration options, refer to Mount a filesystem using the stateless clients feature.
It is possible to configure the client OS to automatically mount the filesystem at boot time. For more information, refer to Mount a filesystem using the traditional method or Mount filesystems using autofs.
Note: Clients can be deployed on diskless servers. They can use RAM for WEKA client software and NFS mount for the traces. For more information, contact the Customer Success Team.
Note: The different clients must have a unique IP and FQDN.
Add stateful clients, which are always part of the cluster
Note: It is possible to add instances that do not contribute resources to the cluster but are used for mounting filesystems. It is recommended to use the previously described method for adding client instances for mounting purposes. However, in some cases it could be useful to permanently add them to the cluster, e.g., to use these instances as NFS/SMB servers which are always expected to be up.
Stage 1: Install the WEKA software
Verify that the WEKA software is installed on the client according to the installation instructions. For further information, see Obtaining the WEKA Install File and Stage 1 in WEKA System Installation Process.
Note: All clients in a WEKA system cluster must use the same software version as the backends or a maximum of one version back. The backend containers must run the same WEKA software version except during upgrades (as managed by the upgrade process).
Stage 2: Join the cluster
Command: weka cluster container add
Once the client is in the stem mode (this is the mode defined immediately after running the install.sh
command), use the following command line on the client to add it to the cluster:
weka -H <backend-hostname> cluster container add <client-hostname>
Parameters in command line
Note: On completion of this stage, the container-id of the newly added container will be received. Make a note of it for the next steps.
Stage 3: Configure the container as a client
Command: weka cluster container cores
To configure the new container as a client, run the following command:
weka cluster container cores <container-id> <cores> --frontend-dedicated-cores=<frontend-dedicated-cores>
Parameters in command line
Stage 4: Configure client networking
Command: weka cluster container net add
Note: If the new client is to communicate with the WEKA cluster over the kernel UDP stack, it is not necessary to run this command.
If a high-performance client is required and the appropriate network NIC is available, use the following command to configure the networking interface used by the client to communicate with the WEKA cluster:
weka cluster container net add <container-id> <device> --ips=<ips> --netmask=<netmask> --gateway=<gateway>
Parameters in command line
Note: When configuring an InfiniBand client, do not pass the --ips
, --netmask
and --gateway
parameters.
Note: InfiniBand/Ethernet clients can only join a cluster with the same network technology connectivity. It is possible to mix InfiniBand and Ethernet clients in the same cluster as long as the cluster backends are connected to both network technologies.
Stage 5: Apply the container configuration
Command: weka cluster container apply
After successfully configuring the container and its network device, run the following command to finalize the configuration by activating the container:
weka cluster container apply <container-id> [--force]
Parameters in command line
Last updated