20
CHAPTER 2-1 Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphere This chapter describes the software and system requirements for installing Videoscape Distribution Suite, Internet Streamer (VDS-IS) in virtualized enviornment. It also provides instructions for installing the VDS-IS software. Starting from 3.3 release, the VDS-IS software can be installed using Open Virtual Appliance (OVA). Note It is not recommended to change the OVA properties manually during the installation process. If you want to change it, be aware that the max size of one virtual disk is 2T. Software Requirements The following are requirements to deploy VDS-IS in a virtualized environment: Device Mode: Streaming Engine (SE), Service Router (SR), Content Delivery Service Manager (CDSM) Virtualization Software: ESXi 5.1, vSphere 5.x, vCenter 5.x Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported for production use on VMware ESXi 5.1 and can be accessed or managed using vSphere client of VMware. The VDS-IS virtual appliance is installed using the Open Virtualization Format (OVF) package. Connecting through vCenter provides more capabilities than connecting directly to ESXi. A vCenter server that is available and associated with the ESXi installation will be used during installation.

Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Cisco Videoscape Distri

C H A P T E R 2

Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphere

This chapter describes the software and system requirements for installing Videoscape Distribution Suite, Internet Streamer (VDS-IS) in virtualized enviornment. It also provides instructions for installing the VDS-IS software.

Starting from 3.3 release, the VDS-IS software can be installed using Open Virtual Appliance (OVA).

Note It is not recommended to change the OVA properties manually during the installation process. If you want to change it, be aware that the max size of one virtual disk is 2T.

Software RequirementsThe following are requirements to deploy VDS-IS in a virtualized environment:

• Device Mode: Streaming Engine (SE), Service Router (SR), Content Delivery Service Manager (CDSM)

• Virtualization Software: ESXi 5.1, vSphere 5.x, vCenter 5.x

• Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso

The VDS-IS virtual appliance is supported for production use on VMware ESXi 5.1 and can be accessed or managed using vSphere client of VMware. The VDS-IS virtual appliance is installed using the Open Virtualization Format (OVF) package.

Connecting through vCenter provides more capabilities than connecting directly to ESXi. A vCenter server that is available and associated with the ESXi installation will be used during installation.

2-1bution Suite, Internet Streamer Virtualization Guide

Page 2: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereSystem Requirements

System RequirementsTable 2-1 consists of multiple profiles that are part of the OVA, planned on specific products namely the Streaming Engine, Service Router, and Content Delivery System Manager.

Installing VDS-IS Virtual ApplianceThis section explains the procedures to deploy VDS-IS using vCenter, without using vCenter, and with Power CLI scripts.

Table 2-1 System Requirements

VM Products Cores RAM Disk Size Number of Disks Network

Streaming Engine

Content Acquirer - low-end

8 28 GB 80 GB 8 x 1 TB Ten 10GEth

Content Acquirer - medium-end

16 28 GB 80 GB 8 x 1 TB Ten 10GEth

Content Acquirer - high-end

16 56 GB 80 GB 8 x 1 TB Ten 10GEth

SE-VOD - 1.5TB 8 14 GB 80 GB 6 x 256 GB Ten 10GEth

SE-VOD - 4TB 16 28 GB 80 GB 8 x 512 GB Ten 10GEth

SE-VOD - 8TB 16 28 GB 80 GB 8 x 1 TB Ten 10GEth

SE-VOD - 12TB 16 28 GB 80 GB 12 x 1 TB Ten 10GEth

SE-VOD - 16TB 16 56 GB 80 GB 16 x 1 TB Ten 10GEth

SE-VOD - 20TB 16 56 GB 80 GB 20 x 1 TB Ten 10GEth

SE-VOD - 24TB 16 56 GB 80 GB 24 x 1 TB Ten 10GEth

SE-LIVE - low-end 8 56 GB 80 GB 512 GB Ten 10GEth

SE-LIVE - medium-end

16 56 GB 80 GB 512 GB Ten 10GEth

SE-LIVE - high-end 16 112 GB 80 GB 512 GB Ten 10GEth

Service Router

SR 8 14 GB 80 GB — Ten 10GEth

Content Delivery System Manager

CDSM 8 14 GB 80 GB — Ten 10GEth

2-2Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 3: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Deploying the VDS-IS Virtual Appliance using vCenter

Note Before deploying the virtual appliance, verify that your VMware server is running on VMware supported hardware. If you are not sure whether your environment can support a 64-bit guest operating system, you can verify by downloading and running the VMware “CPU Identification Utility” which indicates 64-bit VMware support. This utility can be found on the VMware site at: http://www.vmware.com/download/shared_utilities.html

Note It is assumed that you are familiar with VMware VSphere software

To install the VDS-IS virtual appliance, you must first download the correct installation file namely cdsis_4_0_rel_01.ova.

Before you install a Cisco VDS-IS local virtual appliance you must identify the IP address of the regional cluster to which it will connect to receive the license information.

Using vSphere, connect directly to the ESXi installation or the vCenter server, and select the ESXi installation where the OVA is to be deployed.

If you have a vCenter server available, you can connect the ESXi hypervisor to your existing vCenter server and manage it through that vCenter server. Managing all your VMware hypervisors through a common vCenter server provides many benefits.

To deploy VDS-IS Virtual Appliance using vCenter:

Step 1 From vSphere menu, choose File > Deploy OVF Template.

The Deploy OVF Template Source page appears.

2-3Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 4: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-1 Deploy OVF Template Source Page

Step 2 To import the OVA file from hard disk, click Browse and choose the OVA file (.ova) available in the local machine where the vSphere is running, cdsis_4_0_rel_01.ova in the directory in which you unzipped the file earlier. You can also enter a URL to download and install the OVA package from the internet.

Note You cannot browse for URLs and you must enter the full path to the .ova file.

Step 3 Click Next.

The OVF Template Details page appears. It displays the product name, the size of the OVA file, and the amount of disk space that needs to be available for the virtual appliance.

Step 4 Verify the OVF template details and click Next.

The End User License Agreement page appears.

Step 5 Accept the End User License Agreement.

The Name and Location page appears.

2-4Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 5: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-2 Name and Location Page

Step 6 Enter the name of the new virtual appliance. If you are using vCenter to manage the virtual machine, you have the option of selecting the location of the inventory too. Click Next to continue.

The default name is generic. You may want to change it to something more specific, such as VDS-IS 3.3 Local or VDS-IS 3.3 Regional.

Note You can change the name of the virtual machine running the virtual appliance after the virtual appliance is deployed. However, while the name of the virtual machine will change, the original name (entered in Step 6) continues to be used as the location of the disk files that describe the virtual machine. Thus, confusion may arise in the future as whatever name you enter on this page remains for the life of the virtual machine and the virtual machine name and the disk file names will differ. Thus, choosing a descriptive name now that you will not need to change later will provide some benefits in maintainability of this installation.

Step 7 From the Configuration drop-box, select the device mode or the device profile.

2-5Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 6: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-3 Deployment Configuration Page

Step 8 Choose the destination host on which you want to deploy the virtual machine and click Next.

The Storage page appears.

Figure 2-4 Storage Page

Step 9 Select the storage datastore to install the VM on and click Next to continue.

The Disk Format page appears.

2-6Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 7: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-5 Disk Format Page

Step 10 Choose the Thick Provision Eager Zeroed format. Click Next to continue.

Note It is recommended that you choose Thick Provision Eager Zeroed format.

The Network Mapping page appears.

Figure 2-6 Network Mapping Page

Step 11 Select the Network for each adapter of the VM. Click Next.

2-7Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 8: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Note Different adapters can be put into different networks.

The Properties page appears.

Figure 2-7 Properties Page

Step 12 Enter the following details as required:

Note These values are optional and can be configured later.

These properties can also be set in the configuration mode as shown in Step 18 below.

• Host name: The hostname of a device can be set before powering on the device.

• Management Role: Sets the CDS-IS Management role (only needed in CDS-IS Management mode)

• Set Primary Interface: Select this checkbox if you want the VDS-IS to use the interface details which you provide in the CDSM IP field.

Note The primary interface cannot be assigned if the interface is configured for DHCP. This interface is used only with static IP address.

Note The customized values chosen in Step 8 will be used to set VM configuration only at first boot of the VM. These values will not be used to overwrite the configuration during successive reboots.

• CDSM IP: Enter the IP address.

• Networking Parameters

2-8Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 9: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Note The IP address, subnet and gateway can be configured for each interface. If these details are not entered the details provided by DHCP server are used.

Step 13 Verify the options in the Ready to Complete page, then click Finish to start the deployment.

This will create the VM.

Step 14 Right-click the virtual appliance, and choose Power > Power On. The virtual appliance console appears.

Step 15 Right-click the virtual appliance, and select the Open Console and login to the VM using the user admin with the password default.

Step 16 Select the Open Console and login to the VM using the user admin with the default password.

Step 17 Change the prompt to configuration mode using the following commands.

SE# configure

SE(config)#

Step 18 Run the following commands in the configuration mode. In case the properties from Step 12 are not set they can be reset using the configuration mode.

• To configure interface IP address:

SE(config)# ip address <ip> <subnet>

• If you want to use DHCP addresses, enter the following command:

SE(config)# ip address dhcp client-id <id>

• To configure default gateway:

SE(config)# ip default gateway <ip>

You must ensure that the default gateway is reachable.

• To configure CDSM IP address:

SE(config)# cdsm ip <ip>

• To enable Centralized Management System (CMS):

SE(config)# cms enable

The configuration is complete. You can launch the VDS-IS through web interface.

Deploying the VDS-IS Virtual Appliance without vCenterTo deploy VDS-IS Virtual Appliance without vCenter:

Step 1 From vSphere menu, choose File > Deploy OVF Template.

The Deploy OVF Template Source page appears.

2-9Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 10: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Step 2 To import the OVA file from hard disk, click Browse and choose the OVA file (.ova) available in the local machine where the vSphere is running, cdsis_4_0_rel_01.ova in the directory in which you unzipped the file earlier. You can also enter a URL to download and install the OVA package from the internet.

Note You cannot browse for URLs and you must enter the full path to the .ova file.

Step 3 Click Next.

The OVF Template Details page appears. It displays the product name, the size of the OVA file, and the amount of disk space that needs to be available for the virtual appliance.

Step 4 Verify the OVF template details and click Next.

The End User License Agreement page appears.

Step 5 Accept the End User Licensing Agreement.

The Name and Location page appears

2-10Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 11: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-8 Name and Location Page

Step 6 Enter the name of the new virtual appliance. If you are using vCenter to manage the virtual machine, you have the option of selecting the location of the inventory too. Click Next to continue.

The default name is generic. You may want to change it to something more specific, such as VDS-IS 3.3 Local or VDS-IS 3.3 Regional.

Note You can change the name of the virtual machine running the virtual appliance after the virtual appliance is deployed. However, while the name of the virtual machine will change, the original name (entered in Step 6) continues to be used as the location of the disk files that describe the virtual machine. Thus, confusion may arise in the future as whatever name you enter on this page remains for the life of the virtual machine and the virtual machine name and the disk file names will differ. Thus, choosing a descriptive name now that you will not need to change later will provide some benefits in maintainability of this installation.

The Deployment Configuration page appears.

2-11Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 12: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-9 Deployment Configuration Page

Step 7 From the Configuration drop-box, select the device mode or the device profile.

The Disk Format page appears.

Figure 2-10 Disk Format Page

Step 8 Choose the Thick Provision Eager Zeroed format.

Note It is recommended you choose Thick Provision Eager Zeroed.

The Network Mapping page appears.

2-12Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 13: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Figure 2-11 Network Mapping Page

Step 9 Select the Network for each adapter of the VM. Click Next.

Step 10 Verify the options in the Ready to Complete page, then click Finish to start the deployment.

Step 11 Finish and deploy the OVA. This will create the VM.

Step 12 Power on the virtual machine by right-clicking the virtual appliance and choosing Power > Power On.

The virtual appliance console appears.

Step 13 Select the Open Console and login to the VM using the user admin with the default password.

Step 14 Change the prompt to configuration mode using the following commands.

SE# configure

SE(config)#

Step 15 Run the following commands in the configuration mode.

• To configure interface IP address:

SE(config)# ip address <ip> <subnet>

• If you want to use DHCP addresses, enter the following command:

SE(config)# ip address dhcp client-id <id>

• To configure default gateway:

SE(config)# ip default gateway <ip>

You must ensure that the default gateway is reachable.

• To configure CDSM IP address:

SE(config)# cdsm ip <ip>

• To enable Centralized Management System (CMS):

SE(config)# cms enable

The configuration is complete. You can launch the VDS-IS through web interface.

2-13Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 14: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereInstalling VDS-IS Virtual Appliance

Deploying the VDS-IS Virtual Appliance using PowerCLIThe PowerCLI script can be used to customize the virtual machine properties. The following example sets the Device Mode to SE.

#Sample Script for setting OVA properties##

Function Wait-vShieldBoot {do {

$VM = Get-VM $VosHostNameSleep 5

} until ($VM.ToolsStatus -eq "toolsOK")

}

$Newproperty = New-VIProperty -Name ToolsStatus -ObjectType VirtualMachine -Value {param($vm)$vm.ExtensionData.Guest.ToolsStatus

} -Force## Set parameters#

$VosOVA = "C:\Users\bhagatyj\Documents\work\vmware\packaging\ovfs\vos_ovf.ova"$VosHostName = "Vos-120"$vShieldFQDN = "vshield.virtu-al.local"$VosDS = "phy-ds-2"$VosUser = "admin"$VosPass = "default"$vCenter = "deming-vc.cisco.com"$vcUsername = "root"$vcPass = "vmware"

## Execution starts here#

Write-Host "Connecting to vCenter"$Connect = Connect-VIServer $vCenter -User $vcUsername -Password $vcPass

Write-Host "Importing the OVF file"$va = Import-VApp -Name $VosHostName -Datastore $VosDS -VMHost bhagatyj-ucs2.cisco.com -Source $VosOVA$vm = Get-VM -Name $VosHostName$spec = New-Object VMware.Vim.VirtualMachineConfigSpec$spec.VAppConfig = New-Object VMWare.Vim.VmConfigSpec$newProp = New-Object VMWare.Vim.VAppPropertySpec$newProp.Operation = "edit"$prop = $vm.ExtensionData.Config.VAppConfig.Property | where {$_.Id -eq "devicemode"}$prop.Value = "se"$newProp.Info = $prop$spec.VAppConfig.Property += $newProp$vm.ExtensionData.ReconfigVM($spec)Write-Host "Starting the vShield VM"$Start = Start-VM $VosHostName -Confirm:$false

#Write-Host "Waiting until the vShield VM has started"#Wait-vShieldBoot

Write-Host "Configuration Complete"

2-14Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 15: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereReplacing Virtual Machines across OVA Releases

Replacing Virtual Machines across OVA ReleasesThe OVA file contains the hardware definition of the VM. Under certain circumstances, the hardware definition could change from one software release to another. For example, the pre-beta OVA defines two hard disks whereas the beta OVA defines four hard drives.

For new releases, software is released both in OVA and image (ruby.bin) formats. The OVA should be used for new VM deployment and the image format should be used for upgrading existing VMs. However, if the OVA's hardware definition has changed in a particular release and you would like to move to the newer definition, you should follow the steps in the Cisco Videoscape Distribution Suite, Internet Streamer 4.0 Software Configuration Guide under sub-section "Replacing a Device" in the section "Maintaining the VDS-IS".

This section has the following sub sections:

• Replacing a CDSM, page 2-15

• Replacing an Internet Streamer, page 2-16

• Replacing a Service Router, page 2-17

Replacing a CDSMTo replace a CDSM in a CDS, the new CDSM must be added into the network as a standby CDSM. For procedural information, see the "Configuring Primary and Standby CDSMs" topic in VDS-IS configuration guide.

Note • After the standby CDSM has been added, wait at least two polling intervals (10 minutes) for the databases to synchronize before the upgrade procedure can begin.

• After the standby CDSM is activated using the primary CDSM web interface and the device is shown as online in the Devices Table page, wait at least two polling intervals (10 minutes) before changing roles to ensure that the standby CDSM has a record of the most recent configuration changes.

To promote the standby CDSM to primary, first stop the primary CDSM using the cdsm role standby command. For procedural information, see the "Configuring Primary and Standby CDSMs" topic in the VDS-SE configuration guide.

After the primary CDSM has been stopped, and the standby CDSM has taken the role of primary, wait at least two polling intervals (10 minutes) before logging in to the new primary CDSM. The new primary CDSM is accessible by entering the IP address of the CDSM with port 8443 in a web browser. For example, if the IP address of CDSM is 192.168.0.236, enter https://192.168.0.236:8443.

It is now safe to deactivate the old primary CDSM in the CDSM web interface and remove it from the CDS network.

Note Do not try to take a backup of the old CDSM database and restore it on the new CDSM. This may lead to problems.

2-15Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 16: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereReplacing Virtual Machines across OVA Releases

Replacing an Internet StreamerTo replace an IS, do the following:

Step 1 Open an SSH session to the device being replaced.

Step 2 In global configuration mode, enter the no cms enable command to disable CMS on the device that needs to be replaced.

SE# configure

SE(config)# no cms enable

Step 3 From the CDSM, choose Devices > Devices > Device Activation. The Device Activation page is displayed.

Step 4 Uncheck the Activate check box and click Submit. The page refreshes and displays a Replaceable check box.

Step 5 Check the Replaceable check box and click Submit.

Step 6 Choose System > Configuration > System Properties. The System Properties page is displayed.

Step 7 Click the edit icon next to the System.devivce.recovery.key property. The Modify Config Property page is displayed.

Step 8 In the Value field, enter a key and click Submit. The default value is default.

Follow the instructions to configure a device using the setup utility. The instructions can be found in Cisco Content Delivery Engine Hardware Installation Guide that is applicable to the device.

Note When prompted by the setup utility, configure the basic network settings.

a. Use the same hostname of the device being replaced. For example, if the old device has a hostname of "SE1," the new device must have a hostname of "SE1."

b. Configure the IP address of the CDSM in the SE.

Step 9 Open an SSH session to the new device.

Step 10 In EXEC mode, enter the cms recover identity command with the key parameter set in Step 8.

SE# cms recover identity <key>

On successful registration to the CDSM, a message similar to the following is displayed:

DT-7326-4#cms recover identity sbRegistering this node as Service Engine... Sending identity recovery request with key sb Node successfully registered with id CrConfig_291 Registration complete.

Step 11 Register the device with the CDSM by using the cms enable command in global configuration mode.

SE# configure

SE(config)# cms enable

Step 12 From the CDSM, choose Devices > Devices > Device Activation. The Device Activation page is displayed.

Step 13 Check the Activate check box and click Submit.

2-16Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 17: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereReplacing Virtual Machines across OVA Releases

After a few minutes, approximately two polling intervals, the device status shows online and all configurations (delivery service assignments, programs, and so on) are the same as those on the device that was replaced.

Step 14 Once the new device is up and running, as noted by the online status, the old device can be removed from the VDS-IS network.

Replacing a Service RouterTo replace a VDS-IS, do the following:

Step 1 Open an SSH session to the device being replaced.

Step 2 In global configuration mode, enter the no cms enable command to disable CMS on the device that needs to be replaced.

SR# configure

SR(config)# no cms enable

Step 3 From the CDSM, choose Devices > Devices > Device Activation. The Device Activation page is displayed.

Step 4 Uncheck the Activate check box and click Submit. The page refreshes and displays a Replaceable check box.

Step 5 Check the Replaceable check box and click Submit.

Step 6 Choose System > Configuration > System Properties. The System Properties page is displayed.

Step 7 Click the edit icon next to the System.devivce.recovery.key property. The Modify Config Property page is displayed.

Step 8 In the Value field, enter a key and click Submit. The default value is default.

Follow the instructions to configure a device using the setup utility. The instructions can be found in Cisco Content Delivery Engine Hardware Installation Guide that is applicable to the device.

Note When prompted by the setup utility, configure the basic network settings.

a. Use the same hostname of the device being replaced. For example, if the old device has a hostname of "SE1," the new device must have a hostname of "SE1."

b. Configure the IP address of the CDSM in the SE.

Step 9 Open an SSH session to the new device.

Step 10 In EXEC mode, enter the cms recover identity command with the key parameter set in Step 8.

SR# cms recover identity <key>

On successful registration to the CDSM, a message similar to the following is displayed:

DT-7326-4#cms recover identity sbRegistering this node as Service Engine... Sending identity recovery request with key sb Node successfully registered with id CrConfig_291 Registration complete.

2-17Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 18: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereTuning the Performance of VDS-IS in VMWare

Step 11 Register the device with the CDSM by using the cms enable command in global configuration mode.

SR# configure

SR(config)# cms enable

Step 12 From the CDSM, choose Devices > Devices > Device Activation. The Device Activation page is displayed.

Step 13 Check the Activate check box and click Submit.

After a few minutes, approximately two polling intervals, the device status shows online and all configurations (delivery service assignments, programs, and so on) are the same as those on the device that was replaced.

Step 14 Once the new device is up and running, as noted by the online status, the old device can be removed from the VDS-IS network.

Tuning the Performance of VDS-IS in VMWareThe network interface should use VMNet3 driver for a better performance. You can reach a better performance by following the steps below. If the performance is not as you expected, you can use pass-through technology.

Note The presence of PCI NIC passthrough will prevent many commands on the virtual machine. The virtual machine cannot be restored, suspended, participate in vMotion, or does not allow screenshots to be taken.

To configure the VMXNET3 driver for a better performance, follow these steps:

Step 1 Portchannel is not required on VM, just one logic NIC on VM to vSwitch.

Step 2 Configure one Port Channel for 4 10 Gig links in vSwitch and external switch.

• Set the NIC teaming Load Balancing property to "Route based on IP Hash" in the vSwitch.

• Set the Bond Load Balancing property to "src-dest-ip" in the external switch.

Step 3 Configure txqueuelen to 10000 for the NIC inside IS:

ifconfig ethx txqueuelen 10000

To configure pass-through and furthermore, improve the performance of VDS-IS, follow these steps:

Step 1 Configure Passthrough for Network Interface

• Configure pass through devices on a Host:

– From the Inventory Panel of the vSphere Client, select a host.

– On the Configuration tab, click Advanced Settings.

The Passthrough Configuration page appears, listing all available passthrough devices.

2-18Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 19: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereUpgrade Procedure

A green icon indicates that a device is enabled and active. An orange icon indicates that the state of the device has changed and the host must be rebooted before the device can be used.

– Click Edit.

– Select the devices to be used for passthrough, and click OK.

• Configure a PCI Device on a Virtual Machine:

Note We reccomend that you add a DirectPath device to a virtual machine. This reserves memory equivalent to the memory size of the virtual machine.

– From the Inventory Panel of the vSphere Client, select a virtual machine.

– From the Inventory menu, choose Virtual Machine > Edit Settings.

– On the Hardware tab, click Add.

– Select the PCI Device, and click Next.

– Select the passthrough device to use, and click Next.

– Click Finish.

Step 2 Configure one Port Channel for 4 10 Gig links inside virtual machine and external switch.

Step 3 Configure txqueuelen to 10000 for 4 NIC inside IS:

ifconfig ethx txqueuelen 10000

Step 4 Configure SMP IRQ Affinity

• Get the IRQ for network interface:

#>cat /proc/interrupts CPU0 CPU10: 2445 0 IO-APIC-edge timer... ...56: 250906 0 PCI-MSI-edge eth0-rxtx-057: 39681 0 PCI-MSI-edge eth1-rxtx-0

• Set the SMP IRQ affinity:

#>echo 1 > /proc/irq/56/smp_affinity;#>echo 2 > /proc/irq/57/smp_affinity;... ...

Upgrade ProcedureThe process of upgrading Virtual Machines is similar to the upgrade process used in real machines in the case of minor release. The CLI "copy http install" can be used for upgrading. The CLI format is

copy http install <http-server-ip-addr> <dir-name> <filename>

Note However, there could be major releases where the OVA definition is changed. In these cases, the old VM should be removed and new VM should be deployed using the OVA.

2-19Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide

Page 20: Installing Videoscape Distribution Suite, Internet Streamer … · † Images: Open Virtual Appliance (OVA), Ruby.bin, Mfg/Rescue CDROM iso The VDS-IS virtual appliance is supported

Chapter 2 Installing Videoscape Distribution Suite, Internet Streamer Software Using vSphereUpgrade Procedure

2-20Cisco Videoscape Distribution Suite, Internet Streamer Virtualization Guide