- New and Changed Information
- Preface
- Overview
- Configuring CDP
- Configuring the Domain
- Managing Server Connections
- Managing the Configuration
- Working with Files
- Managing Users
- Configuring NTP
- Configuring Local SPAN and ERSPAN
- Configuring SNMP
- Configuring NetFlow
- Configuring System Message Logging
- Configuring iSCSI Multipath
- Configuring VSM Backup and Recovery
- Virtualized Workload Mobility (DC to DC vMotion)
- Configuration Limits
- Index
- Information About Server Connections
- Guidelines and Limitations
- Connecting to the vCenter Server
- Disconnecting From the vCenter Server
- Removing the DVS from the vCenter Server
- Removing the DVS from the vCenter Server When the VSM Is Not Connected
- Configuring Host Mapping
- Verifying Connections
- Verifying the Domain
- Verifying the Configuration
- Verifying Module Information
- Feature History for Server Connections
Managing Server Connections
This chapter describes how to create a connection and connect to a server, how to disconnect from a server, and how to view server connections.
This chapter includes the following topics:
- Information About Server Connections
- Guidelines and Limitations
- Connecting to the vCenter Server
- Disconnecting From the vCenter Server
- Removing the DVS from the vCenter Server
- Removing the DVS from the vCenter Server When the VSM Is Not Connected
- Configuring Host Mapping
- Verifying Connections
- Verifying the Domain
- Verifying the Configuration
- Verifying Module Information
- Feature History for Server Connections
Information About Server Connections
In order to connect to vCenter Server or an ESX server, you must first define the connection in the Cisco Nexus 1000V including the following:
All communication with vCenter Server is secured by the TLS protocol.
Guidelines and Limitations
Server connections have the following configuration guidelines and limitations:
Connecting to the vCenter Server
Use this procedure to configure a connection and then connect to vCenter server or an ESX server.
BEFORE YOU BEGIN
- You are logged in to the CLI in EXEC mode.
- You know the datacenter name.
- The vCenter Server management station is installed and running.
- You know the vCenter Server IP address or hostname.
- The ESX servers are installed and running.
- The management port is configured.
- The vCenter Server is reachable from the Cisco Nexus 1000V.
- The Cisco Nexus 1000V appliance is installed.
- If you are configuring a connection using a hostname, DNS is already configured.
- You have already registered an extension with the vCenter Server. The extension includes the extension key and public certificate for the VSM. vCenter Server uses these to verify the authenticity of the request it receives from the VSM. For instructions about adding and registering an extension, see the Cisco Nexus 1000V Software Installation Guide, Release 4.2(1)SV1(4a) .
SUMMARY STEPS
4.
remote {ip address address A.B.C.D | hostname name}
DETAILED STEPS
Places you into connection configuration mode for adding this connection between Cisco Nexus 1000V and either a particular ESX server or the vCenter Server. By using a name, information for multiple connections can be stored in the configuration. |
||
Specifies that this connection uses the VIM protocol. This command is stored locally. |
||
|
n1000v(config-svs-conn#) remote ip address 192.168.0.1 Go to Step 7. |
Specifies the IP address of the ESX server or vCenter Server for this connection. This command is stored locally. |
|
Specifies the DNS name of the ESX server or vCenter Server for this connection. This command is stored locally. |
||
vmware dvs datacenter-name [folder/] name n1000v(config-svs-conn#) vmware dvs datacenter-name Hamilton-DC |
Identifies the datacenter name in the vCenter Server where Cisco Nexus 1000V is to be created as a distributed virtual switch (DVS). You can use this command before or after connecting. The datacenter name is stored locally. Note The Nexus 1000V folder name should be same in the vCenter Server and in the VSM. If the Nexus 1000V folder is renamed in the vCenter Server, it must also be renamed in the VSM. |
|
Initiates the connection. If the username and password have not been configured for this connection, the user is prompted for a username and password. The default is no connect. There can be only one active connection at a time. If a previously-defined connection is up, an error message displays and the command is rejected until the user closes the previous connection by entering no connect. |
||
Disconnecting From the vCenter Server
Use this procedure to disconnect from the vCenter Server, for example, after correcting a vCenter Server configuration.
BEFORE YOU BEGIN
- You are logged in to the Cisco Nexus 1000V in EXEC mode.
- You have configured an Cisco Nexus 1000V connection using the Connecting to the vCenter Server.
- The Cisco Nexus 1000V is connected to vCenter Server/ESX.
Removing the DVS from the vCenter Server
Use this procedure to remove the DVS from the vCenter Server.
Note If do you not have connectivity to the VSM, see the “Removing the DVS from the vCenter Server When the VSM Is Not Connected” section.
BEFORE YOU BEGIN
- You are logged in to the CLI in EXEC mode.
- You have configured a connection using the Connecting to the vCenter Server.
- The Cisco Nexus 1000V is connected to vCenter Server/ESX.
- The Server Administrator has already removed from the VI client all of the hosts connected to Cisco Nexus 1000V. For more information, see the VMware documentation.
Removing the DVS from the vCenter Server When the VSM Is Not Connected
Use this procedure to remove the DVS from the vCenter Server when the VSM does not have connectivity to the vCenter Server.
Configuring the ability to delete the DVS when the VSM is not connected to the vCenter Server is a two-step process:
1.
Configure the admin user or group. See the Configuring the DVS Admin User or DVS Admin Group.
2.
Remove the DVS from the vCenter Server. See the Removing the DVS from the vCenter Server With the DVS Admin Account.
Configuring the DVS Admin User or DVS Admin Group
Use this procedure to configure a DVS admin user or DVS admin group.
BEFORE YOU BEGIN
- Ensure that the System Administrator has created an admin user or admin group on the vCenter Server to manage and delete the DVS. This user should not be given any other permissions like deploying VMs or hosts, etc. The admin user name configured on the VSM should be the same as the user name on the vCenter Server.
Detailed Steps
Step 1
Determine the name of the DVS.
Step 2
Configure the admin user in the vCenter Server.
Note You can also configure an admin group by entering the admin group groupname command.
Step 3
Verify that the admin user has been created.
Removing the DVS from the vCenter Server With the DVS Admin Account
Use this procedure to remove the DVS from the vCenter Server.
Step 1
Log in to the vCenter Server through the VMware vSphere Client with the DVS admin account that was configured in Configuring the DVS Admin User or DVS Admin Group.
Step 2
In the vSphere Client left pane, choose the data center.
Step 3
Click
Hosts and Cluster
s > Networking
.
Step 4
Right-click the DVS and choose
Remove
.
Configuring Host Mapping
This section includes the following topics:
- Information about Host Mapping
- Removing Host Mapping from a Module
- Mapping to a New Host
- Viewing Host Mapping
Information about Host Mapping
When a VSM detects a new VEM, it automatically assigns a free module number to the VEM and then maintains the mapping between the module number and UUID of a host server. This mapping is used to assign the same module number to a given host server.
Removing Host Mapping from a Module
Use this procedure to remove the mapping of a module to a host server.
DETAILED STEPS
Example
This example shows the VEM mapping.
Mod Status UUID License Status
--- ----------- ------------------------------------ --------------
BEFORE YOU BEGIN
- You are logged in to the CLI in EXEC mode.
- You have already removed the host from the Cisco Nexus 1000V DVS on vCenter using the Removing Host Mapping from a Module.
Note If you do not first remove the existing host server mapping, the new host server is assigned a different module number.
DETAILED STEPS
Example
This example shows the VEM mapping.
n1000v(config-vem-slot)# show module vem mapping
Mod Status UUID License Status
--- ----------- ------------------------------------ --------------
3 powered-up 93312881-309e-11db-afa1-0015170f51a8 licensed
Viewing Host Mapping
Use this procedure in EXEC mode to view the mapping of modules to host servers.
Detailed Steps
Step 1
Display the mapping on modules to host servers by entering the following command:
n1000v(config)# show module vem mapping
Mod Status UUID License Status
--- ----------- ------------------------------------ --------------
3 powered-up 93312881-309e-11db-afa1-0015170f51a8 licensed
Verifying Connections
Use this procedure to view and verify connections.
BEFORE YOU BEGIN
- You are logged in to the CLI in any command mode.
- You have configured the connection using the Connecting to the vCenter Server.
- The Cisco Nexus 1000V is connected to vCenter Server/ESX.
Detailed Steps
Verifying the Domain
Use this procedure to view and verify the configured domain.
BEFORE YOU BEGIN
- You are logged in to the CLI in any command mode.
- You have configured a domain using the Creating a Domain.
Verifying the Configuration
Use this procedure to display and verify the running configuration.
BEFORE YOU BEGIN
- You are logged in to the CLI in any command mode.
- You have configured Cisco Nexus 1000V connections using the Connecting to the vCenter Server.
- The Cisco Nexus 1000V is connected to vCenter Server/ESX.
DETAILED STEPS
Display the current configuration. If the Cisco Nexus 1000V is not connected to a vCenter Server or ESX server, the output is limited to connection-related information. |
Verifying Module Information
Use this procedure to display and verify module information, including a view of the DVS from Cisco Nexus 1000V.
BEFORE YOU BEGIN
- You are logged in to the CLI in any command mode.
- You have configured the Cisco Nexus 1000V connection using the Connecting to the vCenter Server.
- The Cisco Nexus 1000V is connected to vCenter Server/ESX.
- The Server Administrator has already added the host running Cisco Nexus 1000V to the DVS in vCenter Server.
Feedback