Add clients
This page describes how to add clients to a bare-metal cluster.
Last updated
This page describes how to add clients to a bare-metal cluster.
Last updated
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.
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 .
It is possible to configure the client OS to automatically mount the filesystem at boot time. For more information, refer to or .
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
Name
Type
Value
Limitations
Mandatory
Default
backend-hostname
String
IP/hostname of one of the existing backend instances in the cluster
Existing backend IP/FQDN
Yes
client-hostname
String
IP/hostname of the client currently being added
Unique IP/FQDN
Yes
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
Name
Type
Value
Limitations
Mandatory
Default
container-id
String
Identifier of the container to be added to the cluster
Must be a valid container identifier
Yes
cores
Number
Number of physical cores to be allocated to the WEKA client
Maximum 19 cores
Yes
frontend-dedicated-cores
Number
Number of physical cores to be dedicated to FrontEnd processes
For clients, the number of total cores and frontend-dedicated-cores must be equal
Yes, to configure a container as a client
Command: weka cluster container net add
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
Name
Type
Value
Limitations
Mandatory
Default
container-id
String
Identifier of the container to be added to the cluster
Must be a valid container identifier
Yes
device
String
Network interface device name e.g., eth1
Must be a valid network device name
Yes
ips
IP address
The IP address of the new interface
Must be a valid IP address
Yes
gateway
IP address
The IP address of the default routing gateway
The gateway must reside within the same IP network of ips
(as described by netmask
).
Not relevant for IB / L2 non-routable networks.
No
netmask
Number
Number of bits in the netmask, e.g., the netmask of 255.255.0.0
has 16
netmask bits
Describes the number of bits that identify a network ID (also known as CIDR).
No
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
Name
Type
Value
Limitations
Mandatory
Default
container-id
Comma-separated string
Identifier of the container to be added to the cluster
Must be a valid container identifier
Yes
force
Boolean
Do not prompt for confirmation
No
Off
Verify that the WEKA software is installed on the client according to the installation instructions. For further information, see and