Configuring discovery-clients Service
Clients use NVMe/TCP to connect to the cluster. The discovery-client service runs on the client machines, and manages the NVMe connections. This service keep the client connected through cluster nodes changes (scale-up/down, node replacement, etc.).
See Access to the Cluster for additional information.
The following details how to configure the discovery-client:
- Get the VIP of the cluster’s Internal loadbalancer:
- Go to the managed resource group of the cluster.
- Select the private LB (lb-private).
- Go to the Frontend IP configuration. The Loadbalancer VIP will be there. You can also get the private VIP using AZ CLI or PowerShell (the privateIPAddress field).
az network lb frontend-ip show --lb-name lbcluster-lb-private --resource-group demo-managed-rg --name lbcluster-lb-private-fe-conf
- Get the cluster’s nqn, using
lbcli get cluster -o json
. - Make sure that the discovery client is running and enabled:
x
systemctl start discovery-client
systemctl start discovery-client
- Add the discovery endpoints to the discovery client:
discovery-client add-hostnqn --name=<file name> -a
<discovery-endpoints> -q <client’s nqn> -n <cluster’s nqn>
Was this page helpful?