lbcli get connected-host
Gets connected-host information.
lbcli get connected-host [flags]
Examples:
x
# Get information of connected-host in human-readable format:
lbcli -J $JWT get connected-host --nqn <Host NQN>
# Get information of connected-host in json format:
lbcli -J $JWT get connected-host -nqn <Host NQN> --output-format=json
Option | Short Ver | Type | Description |
---|---|---|---|
--help | -h | bool | Help for connected-host. |
--nqn | Subsystem NQN that should be used by the hosts to connect to volumes on this server. | string | Host NQN (required). |
This command returns the following fields for the connected host. The default output format is human-readable. The JSON output format is also supported. The human-readable output only shows some of these fields.
Field | Type | Description |
---|---|---|
Host NQN | String | Host NQN used for connection. |
Host Name | String | Hostname identifier. |
Volume UUIDs | List of strings | List of volumes to which this host connects to. |
IP Address | String | IP address of host machine. |
Was this page helpful?