Cisco Nexus 1000V Installing Manual

CHA PT ER
Installing the Cisco Nexus 1000V for Microsoft Hyper-V
This chapter includes the following sections:
VSM NIC Ordering, page 1-3
Basic Topology, page 1-4
Installation Workflow, page 1-6
Installing the VSM Software, page 1-7
Prerequisites for Installing the VSM Software
This section includes the following sections:
Before You Begin, page 1-1
1
Guidelines and Limitations, page 1-2
System Requirements, page 1-2
Note For information about your software and platform compatibility, see the Cisco Nexus 1000V and
Microsoft Hyper-V Compatibility Information, Release 5.2(1) SM1(5.2) document.
Before You Begin
Ensure that you have installed and configured the following components on the target setup:
Windows Active Directory service
Microsoft System Center Virtual Machine Manager (SCVMM) 2012 SP1 UR3 (build version
Windows Server 2012 Hosts
Windows Server 2012 R2 Hosts
For the hosts that are running the Virtual Ethernet Module (VEM), you should enable the Hyper-V
OL-30997-01
3.1.6027.0) or Microsoft System Center Virtual Machine Manager (SCVMM) WS2012-R2 (build version 3.2.7510)
module for Windows PowerShell.
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-1
Prerequisites for Installing the VSM Software
Guidelines and Limitations
It is your responsibility to monitor and install all the relevant patches from Microsoft on the Windows hosts.
System Requirements
This section describes the hardware and software requirements.
Hardware Requirements, page 1-2
Software Requirements, page 1-2
Hardware Requirements
The hardware must meet the requirements set by Microsoft to run the Hyper-V role. The Cisco Nexus 1000V for Microsoft Hyper-V Virtual Supervisor Module (VSM) requires VMs with the following configuration:
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
4 GB minimum of hard disk space
4 GB minimum of RAM
As a best practice, we recommend that you have four network adapters (network interface
cards—NICs) on the host where Microsoft Hyper-V is installed. You can have various combinations depending on the hardware that you have. For example, you can have one NIC with four ports or four NICs with one port each.
Software Requirements
To install and bring up a Cisco Nexus 1000V for Microsoft Hyper-V, you need the following server setup:
Microsoft System Center Virtual Machine Manager (SCVMM) 2012 SP1 UR3 (build version
3.1.6027.0) or Microsoft System Center Virtual Machine Manager (SCVMM) WS2012-R2 (build version 3.2.7510)
Windows 2012 hosts
Windows 2012 R2 hosts
Active Directory server
To configure the VSM, you need the following information:
VSM IP address
VSM domain ID (1—1023)—This ID is used for high availability (HA)
Layer 3 connectivity between a VSM and the hosts that run a VEM is required.
Layer2 mode is not supported.
Layer3 UDP port number 4785
Communication between the VSM and VEM occurs over UDP port number 4785 that uses the Cisco Nexus Control Protocol (CNCP)
TCP Port 80 is open on the network for communication from the SCVMM to VSM. In case of https,
the TCP Port is 443.
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-2
OL-30997-01
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
VSM NIC Ordering
The VSM creates interfaces in an ascending MAC address order of the virtual NIC offered by Microsoft Hyper-V. Currently, Microsoft Hyper V provides no guarantees that this order is the same as displayed at the VSM VM Settings panel. The VSM always uses its first interface as control0 and its second interface as mgmt0. The network profiles for these two interfaces might need different VLANs. Therefore, you should verify that the interfaces are selected by the VSM in the same order that are displayed in the Settings panel.
Execute the following CLI on the VSM to verify the order of the management and control mac addresses.
Nexus1000V# show interface mac-address
-------------------------------------------------------------------------------­Interface Mac-Address Burn-in Mac-Address
-------------------------------------------------------------------------------­mgmt0 001d.d8b7.1e61 001d.d8b7.1e61 control0 001d.d8b7.1e60 001d.d8b7.1e60
If the order is not the same, you can use the following commands to specify the preferred MAC to control0/mgmt0 interface mappings:
system internal control-mac XXXX.XXXX.XXXX
system internal mgmt-mac XXXX.XXXX.XXXX
VSM NIC Ordering
These commands require that you entere the copy running-config startup-config command afterwards to make the change persistent and effective after the next VSM reload.
switch# show system internal interface mac-address Sample output: Interface Preferred MAC sh interface mac-address
--------- -------------­mgmt0 cccc.bbbb.aaaa control0 aaaa.bbbb.cccc
If any of the preferred MAC for control0/mgmt0 selected by users is not available at VSM boot up, the driver ignores it and it picks another interface instead (following MAC ascending order). In that case, the system logs an error with a syslog as follows:
%KERN-3-SYSTEM_MSG: Preferred MAC (aaaa.bbbb.cccc) for control0 not found – kernel
OL-30997-01
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-3
Basic Topology
Basic Topology
Figure 1-1 displays the basic Hyper-V topology on a Cisco Nexus 1000V for Microsoft Hyper-V VEM.
Figure 1-1 Basic Topology for the Cisco Nexus 1000V for Microsoft Hyper-V
AD
Server
Management VM Cluster
Infra VM Host
SQLVMSCVMM
VM
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
Secondary VSM Host
Primary VSM Host
Nexus 1000V VSM
HYPER-V
Native Switch
NICNIC
Cluster
NIC
Cluster
NIC
NIC
Cluster
Live Migration
Management
NIC
Note The Management NIC is actually on the Microsoft switch.
The Management VM clust
The Data VM Cluster is for W
er is for Infra VMs.
orkload VMs
NIC
Live Migration
NIC
Live Migration
NIC
HYPER-V
Native Switch
Management
Data VM Cluster
VM1
Nexus 1000V Switch
Management
Team
NICNIC
... Host 64
Host 1
...
VMN
...
NICNICNIC
304068
The Minimum topology is three servers with four NICs each.
Figure 1-1 displays the Cisco Nexus 1000V for Microsoft Hyper-V deployment on two servers with the
following network configuration:
Management NIC—This network adapter is connected to an external network for the host OS
connectivity.
Microsoft Virtual Switch—The Microsoft virtual switch has one physical network adapter for the
VSM connectivity.
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-4
OL-30997-01
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
Two Physical Network adapters—These adapters are connected to the Cisco Nexus 1000V logical
switch instance of the Hyper-V host.
Basic Topology
OL-30997-01
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-5
Installation Workflow
Installation Workflow
Figure 1-2 displays the Cisco Nexus 1000V for Microsoft Hyper-V installation process on Microsoft
SCVMM.
Figure 1-2 Cisco Nexus 1000V for Microsoft Hyper-V Installation Workflow
1. Download Cisco
Nexus 1000V Package
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
2.1 Install Cisco Provider MSI
2.2 Install Cisco Template Files
2. Install SCVMM Components
3. Install and Configure VSM
4. Configure SCVMM Fabric and VM Network
5. Prepare Hyper-V Hosts
2.3 Copy VEM to SCVMM Repository
2.4 Copy VSM ISO to SCVMM Library
3.1 Create Mocrosoft Switch for VSM Connectivity
3.2 Install VSM VM using VM Template
3.3 Configure VSM
4.1 Add Switch Extension Manager (Connect to VSM)
4.2 Create Logical Switch
4.3 Create VM Networks
5.1 Configure PNIC MTU Settings
5.1 Configure VMQ RSS Settings
6.1.1 Select Host
Non-MGMT PNIC WorkflowManagement PNIC Workflow
6.2.1 Select Host
6. Create Nexus 1000V
Logical Switch Instance on hosts
7. Connect VMs to
Cisco Nexus 1000V
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-6
6.1.2 Select the MGMT PNIC
6.1.3 Create MGMT Host Virtual Network Adapter
6.1.4 Deploy Logical Switch
6.1.5 Add Remaining PNICs to Logical Switch
7.1 Select VM Network Adapter
7.2 Connect VM Network Adapter to Logical Switch
7.3 Select VM Network and Port
Classification for the Network Adapter
6.2.2 Select the PNICs except MGMT PNIC
6.2.3 Deploy Logical Switch
6.2.4 Add any Remaining PNICs to Logical Switch
304069
OL-30997-01
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
Installing the VSM Software
To install the VSM software, perform the following steps:
1. Downloading the Cisco Nexus 1000V Package, page 1-7
2. Configuring SCVMM and VSM, page 1-7
3. Installing the VSM Certificate, page 1-18
4. Preparing the Microsoft Hyper-V Hosts (Optional), page 1-22
5. Adding Hosts to a Logical Switch, page 1-24
6. Connecting the VM Network Adapter to the Logical Switch, page 1-24
Downloading the Cisco Nexus 1000V Package
The Cisco Nexus 1000V for Microsoft Hyper-V package (a zip file) is available at the download URL location provided with the software.
To download the Cisco Nexus 1000V for Microsoft Hyper-V package, download the Cisco Nexus 1000V for Microsoft Hyper-V package for Microsoft System Center Virtual Machine Manager (SCVMM) 2012 SP1. This package contains the following files:
Virtual Supervisor Module (VSM) ISO
(Nexus1000V.5.2.1.SM1.5.2\VSM\install\Nexus-1000V.5.2.1.SM1.5.2.iso)
Installing the VSM Software
Virtual Ethernet Module (VEM) MSI package
(Nexus1000V.5.2.1.SM1.5.2\VEM\Nexus1000V-VEM-5.2.1.SM1.5.2.0.msi)
Cisco VSEM Provider MSI package
(Nexus1000V.5.2.1.SM1.5.2\VMM\Nexus1000V-VSEMProvider-5.2.1.SM1.5.2.0.msi)
Kickstart file
(Nexus1000V.5.2.1.SM1.5.2\VSM\Upgrade\Nexus-1000V-kickstart.5.2.1.SM1.5.2.bin )
System file (Nexus1000V.5.2.1.SM1.5.2\VSM\Upgrade\Nexus-1000V.5.2.1.SM1.5.2.bin)
WSUS scripts (Nexus1000V.5.2.1.SM1.5.2\WSUS\)
Publish-CiscoUpdate.ps1
Remove-CiscoUpdates.ps1
Get-CiscoUpdates.ps1
Get-MSIDetails.ps1
Configuring SCVMM and VSM
This section describes how to install the Cisco Nexus 1000V for Microsoft Hyper-V VSM software and includes the following topics:
Installing SCVMM Components, page 1-8
Installing and Configuring the VSM Workflow, page 1-9
Configuring the SCVMM Fabric Workflow, page 1-13
OL-30997-01
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-7
Installing the VSM Software
Installing SCVMM Components
To install the SCVMM components, perform the following steps:
Step 1 Install the Cisco Provider MSI.
a. Install the Nexus1000V-VSEMProvider-5.2.1.SM1.5.2.0.msi from the Cisco Nexus1000V zip
location on the SCVMM server in order to establish communication between SCVMM and the Cisco Nexus1000V VSM.
Note The MSI installation restarts the SCVMM service.
b. Verify that the Cisco Provider is installed properly as follows:
Open the SCVMM console.
Navigate to the Settings Pane.
Click on Configuration Providers.
c. Verify the Cisco Systems Nexus 1000V extension is displayed.
Step 2 Install Cisco VSM template files as follows:
After downloading the Cisco Nexus 1000V for Microsoft Hyper-V package, complete the following steps to install the VSM template:
Chapter 1 Installing the Cisco Nexus 1000V for Microsoft Hyper-V
On the SCVMM server, open the PowerShell console from the SCVMM console.
Run the script Register-Nexus1000VVSMTemplate.ps1 from the following location
C:\Program Files\Cisco\Nexus1000V\Nexus1000V-VSMTemplate.
This script imports the Cisco VSM Template in the SCVMM Library
To verify the template, do the following:
Navigate to the Templates tab.
Choose Templates. On the right pane, the Nexus 1000V-VSM-Template is listed.
Step 3 Copy the VEM to the SCVMM repository.
The VEM is an MSI file that needs to be placed in the following location on SCVMM server:
ALLUSERSPROFILE%\Switch Extension Drivers. For example, C:\ProgramData\Switch Extension Drivers. SCVMM uses the MSI file during Add host operation.
Caution Do not install the VEM on the SCVMM server. Only copy the file to the location specified.
Step 4 Copy the VSM ISO file. For example, copy N1000vh-dk9.5.2.1.SM1.5.0.339 to the SCVMM library in
the following location on SCVMM server: \\VMName\MSSCVMMLibrary. After copying the ISO file, make sure to refresh the SCVMM library so that SCVMM detects the copied ISO.
Cisco Nexus 1000V for Microsoft Hyper-V Installation Guide, Release 5.2(1)SM1(5.2)
1-8
OL-30997-01
Loading...
+ 18 hidden pages