Configuring a vCenter Service
To create a vCenter service, use the vcenter-connection-create command:
CLI (network-admin@switch) > vcenter-connection-create name name-string host host-string user user-string enable|disable vlans vlan-list network-provisioning none|l2-underlay|l3-underlay
name name-string |
Specify the name of the vCenter connection. |
host host-string |
Specify the host name of the vCenter to connect with. |
user user-string |
Specify the authorized vCenter user name. |
enable|disable |
Specify to enable to disable the vCenter connection. |
vlans vlan-list |
Specify the vCenter plugin VLANs for provisioning. |
network-provisioning none|l2-underlay|l3-underlay |
Specify if the network provisioning should be none, L2 underlay or L3 underlay. |
For example, to configure a vCenter service named vcenter2, on VLANs 190-198, use the below command and enter the password when prompted:
CLI (network-admin@switch) > vcenter-connection-create name vcenter2 host vcenter-server user administrator@lab.pluribus vlans 190-198 network-provisioning l2-underlay
vCenter user password: <=== password is not visible while typing
vCenter connection service vcenter2 started.
To modify a vCenter service, use the following syntax:
CLI (network-admin@switch) > vcenter-connection-modify name name-string host host-string user user-string password password-string enable|disable vlans vlan-list network-provisioning none|l2-underlay|l3-underlay
To delete a vCenter service, use the following syntax:
CLI (network-admin@switch) > vcenter-connection-delete name name-string
To display information about a vCenter service, use the following syntax:
CLI (network-admin@switch) > vcenter-connection-show name name-string host host-string user user-string state init|ok|error connected-time connected-time-string connection-error connection-error-string vlans vlan-list enable|disable network-provisioning none|l2-underlay|l3-underlay