Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
Installing the Cisco CSR 1000V in Microsoft Hyper-V Environments
Downloads: This chapterpdf (PDF - 247.0KB) The complete bookPDF (PDF - 3.29MB) | Feedback

Table of Contents

Installing the Cisco CSR 1000V in Microsoft Hyper-V Environments

Microsoft Hyper-V Support Information

Installation Requirements for Microsoft Hyper-V

Manually Creating the Cisco CSR 1000V VM Using the .iso File (Microsoft Hyper-V)

Prerequisites

Configuring the Server Manager Settings

Creating the VM

Configuring the VM Settings

Launching the VM to Boot the Cisco CSR 1000V

Microsoft Hyper-V Support Information

Beginning with Cisco IOS XE Release 3.12S, the Cisco CSR 1000V supports installation on the Microsoft Hyper-V hypervisor using Windows Server 2012 R2.

The Cisco CSR 1000V installation on Microsoft Hyper-V requires the manual creation of a VM and installation using the .iso file. Deploying the OVA template into a Microsoft Hyper-V environment is not supported.

The following Microsoft Hyper-V features are supported:

  • Live Migration
  • Snapshot
  • Move
  • Export
  • Hyper-V Replica

For more information, see the “Installation Requirements for Microsoft Hyper-V” section. For more information about Microsoft Hyper-V, see the Microsoft Windows Server 2012 R2 documentation.

Installation Requirements for Microsoft Hyper-V

Table 7-1 lists the installation requirements for Microsoft HyperV.

Table 7-1 Installation Requirements for Microsoft Hyper-V

Microsoft Hyper-V Requirements
Cisco IOS XE 3.12S and 3.13S

Microsoft Hyper-V version supported

Windows Server 2012 R2

Supported vCPU configurations1

  • 1 vCPU: requires minimum 2.5 GB RAM allocation
  • 2 vCPUs: requires minimum 2.5 GB RAM allocation
  • 4 vCPUs: requires minimum 4 GB RAM allocation

Virtual CPU cores required

1

Virtual hard disk size2

8 GB

Supported vNICs

HV driver

Minimum number of vNICs required

3

Maximum number of vNICs supported per VM instance

8

Virtual CD/DVD drive Installed

Required

1.The required vCPU configuration depends on the throughput license and technology package installed. See the data sheet for your release for more information.

2.The VHD format is supported only. The VHDX format is not supported.

Manually Creating the Cisco CSR 1000V VM Using the .iso File (Microsoft Hyper-V)

Prerequisites

While the following procedure provides a general guideline for how to manually create the VM for the Cisco CSR 1000V, the exact steps that you need to perform may vary depending on the characteristics of your Microsoft Hyper-V environment and setup. For more information, see Microsoft Windows Server 2012 R2 documentation.


NoteThe Cisco CSR 1000V does not support deploying the OVA file in Microsoft Hyper-V environments. The Cisco CSR 1000V does not support deploying the OVA file in Microsoft Hyper-V environments.


Before installing the Cisco CSR 1000V on a Microsoft Hyper-V VM, the following must be installed on the host:

  • Hyper-V Manager
  • Failover Cluster Manager
  • Virtual Switch

Although not required, it is recommended that you create the Virtual Switch prior to creating the VM for the Cisco CSR 1000V.

Configuring the Server Manager Settings

The following steps are performed on Server Manager on the host.


Step 1 On the Server Manager, select Dashboard to configure the local server.

Step 2 Select Manager from the top right, and then select Add Roles and Features from the drop-down menu.

The Add Roles and Features Wizard opens.

Step 3 Click Next .

Step 4 Select Server Roles . In the Roles list, select the following options by clicking on the checkbox:

  • File and Storage Services
  • Hyper-V

Step 5 Select Features. In the Features list, select the following option by clicking on the checkbox:

  • Failover Clustering

Failover clustering is required. It is not automatically installed, so you must make sure this option is checked. This feature requires that Failover Cluster Manager is installed.

Step 6 Click Next .


 

Creating the VM

To create the VM, perform the following steps:


Step 1 In Hyper-V Manager, click on the host.

Step 2 Select New > Virtual Machine .

Step 3 Click Specify Name and Location.

  • Enter the name of the VM.
  • (Optional) Click the checkbox to store the VM in a different location.

Click Next .

Step 4 On the Assign Memory screen, enter the Startup Memory value.

The Cisco CSR 1000V requires 4096 MB for the startup memory.

Click Next .

Step 5 On the Configure Networking screen, select a network connection to the virtual switch that was previously created.

The network adapter selected in this step will become the first interface for the Cisco CSR 1000V once the VM is launched and the router boots. The other vNICs for the VM are created in the next procedure

Click Next .

Step 6 On the Connect Virtual Hard Disk Screen , select the following option:

  • Attach a virtual hard disk later.

NoteThe New Virtual Machine Wizard only supports creating a virtual hard disk using the .vhdx format. The Cisco CSR 1000V requires that the hard disk uses the .vhd format. You will create the virtual hard disk after the VM has been created. The New Virtual Machine Wizard only supports creating a virtual hard disk using the .vhdx format. The Cisco CSR 1000V requires that the hard disk uses the .vhd format. You will create the virtual hard disk after the VM has been created.


Click Next . The Summary screen displays.

Step 7 Review the VM settings, and if correct, click Finish .

The new VM is created.

Configuring the VM Settings

To configure the VM settings before launching the VM, perform the following steps:


Step 1 In Hyper-V Manager, select the host, and then right-click on the VM that was created in the previous steps.

Step 2 Select Settings .

Step 3 Specify the number of virtual processors, also known as virtual CPU’s (vCPU’s) for the VM.

See Table 7-1 for the supported configurations.

Step 4 Under IDE Controller 0, select the Hard Drive.

Click the Virtual Hard Disk checkbox and click New to create a new virtual hard disk.

The New Virtual Hard Disk Wizard opens. Click Next .

a. On the Choose Disk Format screen, click the VHD checkbox to create the virtual hard disk using the .vhd format. Click Next .


Note The Cisco CSR 1000V does not support the VHDX format.


b. On the Choose Disk Type screen, click on the Fixed Size option. Click Next .

The Cisco CSR 1000V does not support the other disk type options.

c. Specify the Name and Location for the virtual hard disk. Click Next .

d. On the Configure Disk screen, click the option to create a new blank virtual hard disk. For the size, specify 8 GB.

e. Click Next to view the Summary of the virtual hard disk settings.

f. Click Finish to create the new virtual hard disk.

When the new hard disk has been created, continue configuring the VM settings with the next step.

Step 5 Under IDE Controller1, select the DVD Drive .

The DVD Drive screen displays.

For the Media setting, click the Image File checkbox, and browse to the Cisco CSR 1000V .iso file that you downloaded from Cisco.com.

Click OK .

Step 6 Select Network Adapte r to verify that the network connection to the virtual switch is configured.

Step 7 Select Com 1 to configure the serial port.

This port provides access to the Cisco CSR 1000V console.


NoteTelnet access to the Cisco CSR 1000V console is not supported for Microsoft Hyper-V. You must use a Putty session to access the console. Telnet access to the Cisco CSR 1000V console is not supported for Microsoft Hyper-V. You must use a Putty session to access the console.


Step 8 Select Hardware > Add Hardware to add the network interfaces (vNICs) to the VM.

a. Select Network Adapter and click Add .

Microsoft Hyper-V adds the network adapter and highlights that hardware with the status Virtual Switch “Not Connected”.

b. Select a virtual switch on the drop-down menu to place the network adapter onto it.

Repeat these steps for each vNIC added. The Cisco CSR 1000V supports only the HV NETVSC vNIC type. The maximum number of vNICs supported is 8.


NoteThe hot-add of vNICs is not supported with Microsoft Hyper-V, so the network interfaces need to be added before launching the VM. The hot-add of vNICs is not supported with Microsoft Hyper-V, so the network interfaces need to be added before launching the VM.


After the Cisco CSR 1000V boots, you can verify the vNICs and how they are mapped to the interfaces using the show platform software vnic-if interface-mapping command. See the “Mapping Cisco CSR 1000V Network Interfaces to VM Network Interfaces” section.

Step 9 Click BIOS to verify the boot sequence for the VM.

The VM should be set to boot from the CD.


 

Launching the VM to Boot the Cisco CSR 1000V

To launch the VM, perform the following steps:


Step 1 Select the virtual switch.

Step 2 Select the VM and click Start .

The Hyper-V Manager connects to the VM, and starts the launch process. Once the VM is launched, the Cisco CSR 1000V starts the boot process. See the “Installing the Cisco CSR 1000V in Microsoft Hyper-V Environments” section for the booting process.