CLI Guide

Table Of Contents
* - argument is positional.
Description
Use the connect command to:
Re-establish connectivity if connectivity is lost to one or more directors.
Manually re-connect after a power outage if the management server is not able to connect to the directors.
During normal system setup, connections to directors are established and stored in a file: /var/log/VPlex/cli/
connections.
Use the connect -c command if the entry for the director exists in the connections file.
NOTE: If the disconnect command is issued for a director, the entry in the connections file for that director is removed
from the connections file.
When a director is connected, the context tree expands with new contexts representing the director, including:
A new director context below /engines/engine/directors representing storage and containing the directors
properties.
If this is the first connection to a director at that cluster, a new cluster context below /clusters.
If this is the first connection to a director belonging to that engine, a new engine context below /engines.
Use the connect -name name command to name the new context below /engines/engine/directors. If is omitted,
the host name or IP address is used.
NOTE: name is required if two host addresses are specified.
If the --connection-file argument is used, the specified file must list at least one host address to connect to on each line with
the format:
host|[secondary host][,name]
Sample connections file:
service@ManagementServer:/var/log/VPlex/cli> tail connections
128.221.252.67:5988|128.221.253.67:5988,Cluster_2_Dir_1A
128.221.252.68:5988|128.221.253.68:5988,Cluster_2_Dir_1B
128.221.252.69:5988|128.221.253.69:5988,Cluster_2_Dir_2A
128.221.252.70:5988|128.221.253.70:5988,Cluster_2_Dir_2B
128.221.252.35:5988|128.221.253.35:5988,Cluster_1_Dir1A
128.221.252.36:5988|128.221.253.36:5988,Cluster_1_Dir1B
128.221.252.36:5988,128.221.252.36
128.221.252.35:5988,128.221.252.35
Examples
VPlexcli:> connect --host 128.221.252.67 --secondary-host 128.221.253.67 --name
director-2-1-A
See also
disconnect
Commands
85