Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Managing clients

How to manage clients using the CLI.

Joining the cluster using the CLI

Commandweka cluster host add

Once the client host 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 host to add it to the cluster:

weka -H <backend-hostname> cluster host add <client-hostname>
Parameters
Name Type Value Limitations Mandatory Default
backend-hostname String IP/hostname of one of the existing backend instances in the cluster Valid hostname (FQDN or IP) Yes
client-hostname String IP/hostname of the client currently being added Valid hostname (FQDN or IP) Yes
NoteOn completion of this stage, the host-ID of the newly added host will be received. Make a note of it for the next steps.

Configuring the host as client using the CLI

Commandweka cluster host cores

To configure the new host as a client, run the following command:

weka cluster host cores <host-id> <cores> --frontend-dedicated-cores=<fe_cores>
Parameters
NameTypeValueLimitationsMandatoryDefault
host-idStringIdentifier of the host to be added to the clusterMust be a valid host identifierYes
coresNumberNumber of physical cores to be allocated to the Content Software for File clientMaximum 19 coresYes
frontend-dedicated-coresNumberNumber of physical cores to be dedicated to FrontEnd processesFor clients, the number of total cores and frontenddedicated-cores must be equalYes, in order to configure a host as a client

Configuring client networking using the CLI

Command

weka cluster host net add

NoteIf the new client is to communicate with the Content Software for File system 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 Content Software for File system cluster hosts:
weka cluster host net add <host-id> <device> --ips=<ip-address> --netmask=<netmask> --gateway=<gateway>
Parameters
NameTypeValueLimitationsMandatoryDefault
host-idStringIdentifier of the host to be added to the clusterMust be a valid host identifierYes
deviceStringNetwork interface device name for example, eth1Must be a valid network device nameYes
ipsIP addressThe IP address of the new interfaceMust be a valid IP addressYes
gateway IP addressThe IP address of the default routing gatewayThe gateway must reside within the same IP network of ip-address (as described by netmask). Not relevant for IB / L2 non-routable networksNo
netmaskNumberNumber of bits in the net mask, for example, the net mask of 255.255.0.0 has 16 netmask bitsDescribes the number of bits that identify a network ID (also known as CIDR)No
NoteWhen configuring an InfiniBand client, do not pass the --ips, --netmask, and --gateway parameters.
NoteInfiniBand clients can only join a cluster with InfiniBand backends. It is not possible to mix InfiniBand and Ethernet clients/backends.

Applying the host configuration using the CLI

Command

weka cluster host apply

After successfully configuring the host and its network device, run the following command to finalize the configuration by activating the host:

weka cluster host apply <host-id> [--force]
Parameter
Name Type Value Limitation Mandatory Default
hostid Comma-separated string Identifier of host to be added to the cluster Must be a valid host identifier Yes
force Boolean Do not prompt for confirmation No Off