Cisco Nexus 1000V vCenter Plug-in Configuration Guide, Release 4.2(1)SV2(2.1)
Configuring vCenter Plug-in
Downloads: This chapterpdf (PDF - 1.82MB) The complete bookPDF (PDF - 2.72MB) | Feedback

Configuring vCenter Plug-in

Configuring vCenter Plug-in

This chapter contains the following sections:

Registering the vCenter Plug-in to the vCenter Server

You must register the vCenter plug-in on the vCenter server where the Cisco Nexus 1000V has been connected.

  1. Download the registerVCPlugin.ps1 script from the location: http://VSM-IP-Address/vcplugin/registerVCPlugin.ps1.
  2. Save the script.
  3. Invoke VMware vSphere PowerCLI. You might need to adjust the execution policy. For more information, see http://technet.microsoft.com/en-us/library/ee176961.aspx.
  4. Run the registerVCPlugin.ps1 script. See the following example for more information. The vCenter server IP is the vCenter server where the Cisco Nexus 1000V is connected. You can ignore the certificate warnings.
PowerCLI:\> .\registerVCPlugin.ps1
VC Server IP address [127.0.0.1]: 172.18.217.241
VC Server Username [Administrator]:
VC Server Password: *********
VSM IP address: 172.18.217.242

Once the script completes, log in to the Web Client and verify that the plug-in is displayed on vCenter using the vSphere Web Client.

Logging into the vCenter Plug-in

  1. Install vCenter Server and vSphere Web Client using the VMware vCenter installer.
  2. Register vCenter Server using the vSphere Web Client.
  3. Open a vSphere Web Client window and enter the IP address of the registered vCenter Server using the vSphere-client option in the URL window, for example, https://172.23.138.140:9443/vsphere-client/. The VMware vSphere Web Client login screen is displayed.
  4. Choose the IP address of the registered vCenter Server from the drop-down menu.
  5. Enter the user name and the password.
  6. (Optional) Check the Use Windows Session Authentication box to authenticate the windows session.
  7. Click Login.

The vSphere Web Client window with a domain view appears.

Logging into the Virtual Supervisor Modules Using the vCenter Plug-in

To log into the Virtual Supervisor Modules (VSMs) using the vCenter plug-in on the Cisco Nexus 1000V virtual switch, you must select the Cisco Nexus 1000V type as the Distributed Virtual Switch (DVS).

  1. In the vSphere Web Client window, click Networking in the Inventories tab in the Solutions panel and select the Monitor tab. The Cisco Nexus 1000V tab is displayed.
  2. Choose the Cisco Nexus 1000V tab. When you choose the Cisco Nexus 1000V tab, a new Login window appears in the right panel.
  3. The VSM IP address appears in the Login window. Enter the username and the password.
  4. Click Login.

Cisco Nexus 1000V vCenter Plug-in Module and VCVA 5.1 Support

  1. Install the vCenter infrastructure from the ISO file available under: https:/​/​www.vmware.com/​products/​datacenter-virtualization/​vsphere/​overview.html.
  2. Install the current release of the Cisco Nexus 1000V software.
  3. Use the correct IP address and browse to http:/​/​vsm-ip/​vcplugin_​extension.xml.
  4. Save the XML file.
  5. In the XML file (for example, see below), replace all instances of VSM-IP with your actual IP address of the VSM and save the XML file.
    <extension>
    	<description>
    		<label>VCPlugin</label>
    		<summary>Cisco Nexus 1000v Plugin</summary>
    	</description>
    	<key>com.cisco.vcplugin</key>
    	<company>Cisco Systems</company>
    	<version>1.0.1</version>
    	<server>
    		<url>https://{$VSM_IP}/vcplugin/vcplugin-package.zip</url>
    		<description>
    			<label>VCPlugin</label>
    			<summary>Cisco Nexus 1000v Plugin</summary>
    		</description>
    		<company>Cisco Systems</company>
    		<type>vsphere-client-serenity</type>
    		<adminEmail>admion@cisco.com</adminEmail>
    		<serverThumbprint>c3:11:03:40:e7:ea:66:12:f6:bb:a0:b5:68:0d:3c:c7:d8:96:59:48</serverThumbprint>
    	</server>
    	<client>
    		<version>1.0.1</version>
    		<description>
    			<label>VCPlugin</label>
    			<summary>Cisco Nexus 1000v Plugin</summary>
    		</description>
    		<company>Cisco Systems</company>
    		<type>vsphere-client-serenity</type>
    		<url>https://{$VSM_IP}/vcplugin/vcplugin-package.zip</url>
    	</client>
    	<lastHeartbeatTime>1970-01-01T00:00:00Z</lastHeartbeatTime>
    </extension>
  6. Get the sha1 certificate fingerprint from https:/​/​vsm-ip/​.
    Figure 1. SHA1 Certificate



  7. Click More Information and then click View Certificate.
  8. In the downloaded XML file, add the sha1 fingerprint in the server section under <serverthumbprint> Number </serverthumbprint> and save the XML file.
  9. Edit the webclient.properties on the VMware appliance under vi /var/lib/vmware/vsphere-client/webclient.properties and add "allowHttp=TRUE".
  10. Navigate to the following link with the correct IP address: http:/​/​VCip/​mob. Click RegisterExtension. In the RegisterExtension box, copy and paste your updated vcplugin_extension.xml.
  11. Restart the webclient from /etc/init.d/vsphere-client restart.

Viewing the Getting Started Window

After you log into the Cisco Nexus 1000V Login window, the Getting Started window appears.

Figure 2. Getting Started Window



The Getting Started window provides a brief introduction of the vCenter plug-in functionality on the Cisco Nexus 1000V and a typical example of the Cisco Nexus 1000V test topology.

Monitoring the Dashboard Window

The Cisco Nexus 1000V plug-in for vCenter Server provides the Virtual Supervisor Module (VSM) and Virtual Ethernet Module (VEM) details to the server administrators. The Cisco Nexus 1000V Dashboard window on the Cisco Nexus 1000V tab in the user interface displays a summary of the Cisco Nexus 1000V switch including the system details, the network statistics, and the license information.

The following table lists the fields in the System view.

Table 1 System View in Cisco Nexus 1000V Dashboard Window

Field in the System View

Description

Switch Name

Name of the switch

NX-OS Version

Cisco NX-OS version and the build that the switch is using

VSM IP

IP address of the Virtual Supervisor Module (VSM)

DC Name

Name of the data center

Connectivity Mode

Mode of connectivity between the VSMs and the VEMs (either Layer-2 or Layer-3 mode).

VC Connectivity

Status of vCenter connectivity

VSM HA

Virtual Supervisor Module (VSM) high availability mode

The following table lists the fields in the Network Statistics view.

Table 2 Network Statistics View in Cisco Nexus 1000V Dashboard Window

Field in the Network Statistics View

Description

VNICs vs Max

Maximum number of virtual network interface cards (VNICs) that are supported and their current usage

Hosts vs Max

Maximum number of server hosts that are supported and their current usage

Port-Groups vs Max

Maximum number of port groups that are supported and their current usage

Veths/Host Max

Maximum number of vEthernet ports per host that are supported and their current usage

VLAN vs Max

Maximum number of VLANs that are supported and their current usage

VXLAN vs Max

Maximum number of VXLANs that are supported and their current usage

The following table lists the fields in the Licenses view.

Table 3 Licenses View in Cisco Nexus 1000V Dashboard Window

Field in the Licenses View

Description

License Type

Type of the license

Licenses Available

Licenses that are available to use

Licenses Used

Licenses that are actually used

Earliest Expiration

Earliest expiration time of the license

Status

Status of the license

Monitoring the Switch Window

The Cisco Nexus 1000V plug-in for VMware vCenter Server provides the Virtual Ethernet Module (VEM) details to the server administrators. The Cisco Nexus 1000V Switch window displays the hosts/VEMs, port groups, vNICs, connected Virtual Machines (VMs), and uplinks for the VEMs.

The following tabs are displayed in the Switch view:

  • Host/VEM
  • VM Info
  • Port Groups
  • vNICs
  • Uplinks

The following host details are displayed in the Host/VEM tab:

  • Host name
  • NX-OS Version
  • Host IP
  • License
  • Host/Module
  • VMs/Host
  • vNICs/Host
When you select a host in the table, the details about that host is displayed in the popup window as shown in the following figure.
Figure 3. Displaying Details for the Host in the Switch Window

Click one of these properties in the table to display the network details on the selected host:

  • Name
  • IP Address
  • Status
  • Version
  • License
  • MAC
  • DataCenter Name
  • Module
  • Number of VMs
  • Number of VNICs
  • Max Number of VNICs
  • Number of MAC Address
  • Max Number of MAC Address

Click the VM Info tab in the Switch window to display the details on the Virtual Machines. It takes a few seconds to populate the data and the Loading VM information message appears at the bottom of the screen. You can choose a VM to display the following details:

  • VM
  • Adapter
  • VNIC
  • Status
  • MAC
  • Port-Profile
  • VLANs
  • DVPort
  • Host ID
  • Host IP

Click the Port Groups tab in the Switch window to display the port profile information. The port groups data is populated in a few seconds and the Loading Port Profile information message appears at the bottom of the screen.


Note


If it takes a while to populate the data, you can move away from the tab and navigate to any other tabs in the window.


You can choose a port group to display the following details:

  • Mode
  • Port Profile
  • Type
  • VLAN
  • System VLANs
  • Ports Max
  • Ports Min
  • Ports Used

Click the vNICs tab in the Switch window to display the vNIC information. The vNICs data is populated in a few seconds and the Loading VNICs information message appears at the bottom of the screen. You can choose a vNIC to display the following details:

  • VM
  • Adapter
  • VNIC
  • Status
  • MAC
  • Port-Profile
  • VLANs
  • DVPort
  • Host ID
  • Host IP

Click the Uplinks tab to display the vNIC information. The uplinks data is populated in a few seconds and the Loading Uplink information message appears at the bottom of the screen. You can choose a switch interface in the table to display the following details:

  • Port
  • CDP Switch Name
  • CDP Port
  • CDP Native LAN
  • Status
  • Host ID
  • CDP Uplink
  • VLANs
  • PortChannel
  • PortChannel Type
  • PortChannel Members
  • Speed
  • MTU
  • Packets RX
  • Packets TX

Monitoring the Hosts/VEM Window

The Cisco Nexus 1000V plug-in for VMware vCenter server provides the hosts and VEM details to the server administrators. The Cisco Nexus 1000V Hosts/VEM window displays the Virtual Machines (VMs), port groups, VNICs, and PNIC information for each host and VEM that is connected to a particular VSM.

The Hosts/VEM tab displays the following host information in the System view:

  • Host Name
  • NX-OS Version
  • Host IP Address
  • License
  • Host/Module
  • VMs/Host
  • vNICs/Host

Clicking any of the rows after the System view table in the user interface displays a popup window with the details for the selected host. This popup window consists of VM Info, Port Groups, vNICS, and Uplinks tabs.

The VM Info tab provides the following host details:

  • VMs
  • VNICs
  • Adapter
  • Status
  • Port Group
  • VLANs
  • Host ID

The Port Groups tab provides the following port details:

  • Port Group
  • Type
  • VLAN
  • System VLANs
  • Ports Max
  • Ports Min
  • Ports Used

The vNICs tab provides the following VNICs details:

  • VNICs
  • VMs
  • Adapter
  • Status
  • Port Group
  • VLANs
  • Host ID

The Uplinks tab provides the following uplinks details:

  • Switch Interface
  • Status
  • Port Channel
  • Host ID
  • Port Group
  • VLANs
  • CDP Uplink

Viewing the About Window

The About window on the Cisco Nexus 1000V displays the Cisco Nexus 1000V vCenter plug-in version as follows:

  • Cisco Nexus 1000V vCenter plug-in
  • Version 4.2(1)SV2(2.1)