This chapter provides an overview of upgrading and downgrading the CDSM, VVIM, and VDS servers. The chapter covers the following topics:
The Release 4.2 software upgrade for VDS servers (CDSM, VVIM, Streamer, Vault, Caching Node, and ISV) on a 64-bit operating system (OS) is done with the vdsinit script.
The following software upgrade paths are supported for Release 4.2:
If the VDS is running an earlier software release, you must first upgrade to one of the supported releases before upgrading to Release 4.2.
Note Due to changes in file system, direct upgrade is supported only from Release 3.2.x to Release 4.2
Warning If the supported upgrade paths are not followed, then CServer will have to be started with -c option that will erase all the GOIDS in the disk.
Note Software upgrades and downgrades should be performed during maintenance windows; that is, during off-peak hours when no new content is ingested into the VDS and stream demands are the lowest.
Upgrading or downgrading a VDS server has the following prerequisites:
Note After the upgrade procedure starts, do not make any configuration changes until all the servers have been upgraded. The only exceptions to this are submitting the CDSM Setup page after a CDSM or VVIM upgrade, and submitting the Route Tables page and Interface Setup page after upgrading a VDS server.
Note The /arroyo/log/archive directory is not preserved. If you want to save the archive, copy it to another server before upgrading the software.
Note During the initialization process of a VDS server or after recovering a VDS server that has been down for less than an hour, the VDS database performs a complete synchronization. The database synchronization takes about five minutes before the server becomes ready for service. If the VDS server is down for a much longer time than an hour, the database synchronization takes longer than five minutes. The netstat command will not show the interfaces as up until the synchronization has completed.
The following list provides information about the VDS-TV Release 4.2 software upgrade:
The following sections contain considerations for the upgrade and downgrade procedures.
In release 4.2, SNMP is added to services using the chkconfig script while running the vdsinit script. So, SNMPD is started on reboot. SNMP service can also be started, stopped or restarted using the service snmpd start/ stop/restart command.
Once the server is downgraded to any version before 3.0.1, this support is not available. In releases prior to 3.0.1, SNMP can be started by running the cdsconfig script to generate rc.local. This adds the line nice -n 19 /usr/local/sbin/snmpd to the rc.local and SNMP starts on reboot. SNMP can also be started manually by executing nice -n 19 /usr/local/sbin/snmpd on the server after the downgrade procedure has completed.
Most installations required the baud of 9600 bits per second (bps). The vdsconfig script supports changing the baud without manually editing any files.
For a software upgrade, the vdsconfig script may not need to be run. If the baud rate is currently11520 and the user needs to change it to 9600, the user needs to create the /etc/cdsbaud9600 file before running the vdsinit script. The vdsinit script searches for the cdsbaud9600 file, and sets the baud to 9600 if the file is found; otherwise, the baud is set to 115200. After the vdsinit script has completed and the vdsconfig script prompts the user as follows:
For CDE250s, the /etc/cdsbaud9600 file need not be created as the BAUD rate is set to 9600 by default on upgrade (through the vdsinit script). For other servers, the /etc/cdsbaud9600 file must be created if the user wants to change the BAUD speed to 9600 on upgrade. If the BAUD speed was manually changed in the grub.conf and inittab files, it is not changed during upgrade. For software upgrades, vdsconfig script may not be run at all.
Table 1-1 lists the different files for upgrading and downgrading the CDSM and the CDS servers (Streamers, Caching Nodes, Vaults, and ISVs) to Release 4.2.
The tv_repo-4.2.1-x86_64.iso file is the ISO image file of the Release 4.2 software. This file is used for the CDS servers and the CDSM and VVIM.
The vdsinit script must be downloaded and copied to the CDSMs and VVIMs for upgrading to Release 4.2.
The tv_full-4.2.1-x86_64.iso file is an ISO image file that can be burned to a DVD for recovering from an upgrade or used for a clean install of the VDS servers. For more information, see the “Imaging a VDS Server with 64-Bit OS using a DVD” section.
Note It is suggested that you copy the 4.2 vdsinit from the CCO software repository and upgrade the software from 3.2-ESx to 4.2.
Keep the 3.2.x version of the cdsinstall file, which will be used for an image downgrade by entering the following command:
To get a software file from Cisco.com, do the following:
Step 1 Launch your web browser and enter the following URL:
http://www.cisco.com/cisco/software/navigator.html
The Select a Product page is displayed. The page displays a Navigator for browsing Cisco products.
Step 2 Log in to Cisco.com using your designated username and password.
Step 3 Click Products > Video and Content Delivery > Content Delivery Systems > Content Delivery Applications > Cisco TV Streamer Application.
The Download Software page is displayed, listing the available software releases s for the TV Streamer application.
Step 4 Click the software release you want. The page refreshes and the software image files are displayed.
Step 5 Click the link for the software image file you want.
Step 6 Click Download Now to download the file, or click Add to cart to select more image files before downloading them. The Download Cart page is displayed.
Note Make note of the MD5 checksum value to verify the MD5 checksum after download. You can copy and paste the value into a text file for easy reference.
Step 7 Click Proceed With Download . The Cisco End User Software License Agreement is displayed.
Step 8 Read the agreement and click Agree . The Download Software page is displayed.
Step 9 Choose a download option, either Download Manager Option or Non Java Download Option . A new window displays the filename of the ISO image file.
Step 10 Click Download . the File Download dialog box is displayed.
Step 11 Click Save . The Save As dialog box is displayed.
Step 12 Navigate to the location where you want to save the file and click Save . The file downloads.
This section describes the upgrade sequence for a Virtual Video Infrastructure (VVI) and a Content Delivery System (VDS). A VVI includes of Caching Nodes and split-domain management. A VDS consists of Streamers and Vaults, or ISVs.
This section describes the software upgrade sequence for a Virtual Video Infrastructure (VVI). The upgrade sequence for a VVI in an ISA environment and a VVI in an RTSP environment are the same, except the Caching Nodes are upgraded in a specific order in the RTSP environment.
A VVI in an ISA environment has the following network design:
A VVI in an RTSP environment with NGOD deployment and HTTP Streamers has the following network design:
The following is a suggested order for upgrading a VVI:
1. VVIM for the SHEs should be upgraded first. Upgrade the secondary VVIM, then upgrade the primary VVIM.
The primary and secondary VVIM can be determined by entering the ifconfig -a | more command. The primary has the following output:
The primary VVIM has device eth0:1. The secondary VVIM does not have the virtual IP address as up.
2. Vaults. Upgrade all slave Vaults first, then upgrade the master Vault.
The master and slave Vault can be determined by entering the ifconfig -a | more command. The master has the following output:
The master Vault has device eth0:1. The slave Vault does not have the virtual IP address as up.
3. Caching Nodes. There is no specific order for upgrading the Caching Node in an ISA environment, but to guarantee nonstop services, keep at least one Caching Node online at all times at each site.
Upgrade the Caching Nodes in an RTSP environment in the following order:
To identify the Caching Nodes, view the /var/log/debugmessages file. The following messages indicate the Caching Node was assigned the role of backup:
To identify the Caching Nodes, use the cat httpinfo command to view the /proc/calypso/status/cache/httpinfo file. The following example indicates that Caching Node 35 is the primary and Caching Node 36 is the backup:
4. CDSM of the first Stream Domain (VHO1 in ISA environment). Upgrade the secondary CDSM, then upgrade the primary CDSM.
The primary and secondary CDSM can be determined by entering the ifconfig -a | more command. The primary has the following output:
The primary CDSM has device eth0:1. The secondary CDSM does not have the virtual IP address as up.
5. Streamers in the first Stream Domain. If the Streamers are in multiple Stream Groups (sites), upgrade the Streamers in the “Control” sites first (sites that have Stream Groups with only a Control server), followed by the “Setup/Control” sites (sites that have Stream Groups with a Setup/Control server). In each Stream Group, upgrade the Streamers in the following order:
To identify the Streamers, use the following command:
6. Repeat tasks 1 and 2 for each Stream Domain in the VVI. Upgrade the secondary CDSM, followed by the primary CDSM, then upgrade the Streamers in the Control site (available Streamers first, backup Streamer second, and primary Streamer last), followed by the Streamers in the Setup/Control site.
Note A Stream Manager can manage multiple VHOs (ISA) or Stream Groups (RTSP). Always upgrade the Stream Manager first, then upgrade the Streamers in each VHO (or Stream Group) managed by this CDSM.
This section describes the software upgrade sequence for a Content Delivery System (VDS) as opposed to a VVI. The upgrade sequence for a VDS in an ISA environment and a VDS in an RTSP environment are the same.
The following is a suggested order for upgrading a VDS:
1. CDSM. Upgrade the secondary CDSM, then upgrade the primary CDSM.
2. Streamers. If the Streamers are in multiple Stream Groups (sites), upgrade the Streamers in the “Control” sites first (sites that have Stream Groups with only a Control server), followed by the “Setup/Control” sites (sites that have Stream Groups with a Setup/Control server). In each Stream Group, upgrade the Streamers in the following order:
To identify the Streamers, use the following command:
3. Vaults. Upgrade all slave Vaults first, then upgrade the master Vault.
Note If the VDS consists of a CDSM and ISVs, upgrade the CDSM first followed by the ISVs.
This section describes the downgrade sequence for a Virtual Video Infrastructure (VVI) and a Content Delivery System (VDS). The software downgrade should be performed on the VDS server types in the reverse order of the upgrade sequence—that is, Streamer, CDSM, Caching Nodes, Vault and lastly VVIM.
If all Streamers have been upgraded, we recommend not downgrading any of the Streamers. This also applies to Caching Nodes and Vaults. If all VDS servers of a specific type (Streamer, Caching Node, Vault, or ISV) have all been upgraded, we recommend not downgrading the software.
Note Before downgrading the software, any problems encountered as a result of the upgrade should be understood first. Downgrading a system (VVI or VDS) may result in loss of configuration changes and loss of content that was ingested since the upgrade. Contact Cisco support before downgrading your system.
The following is a suggested order for downgrading a VVI:
1. Streamers in the first Stream Domain. Downgrade the Control site first, followed by the Setup/Control site. In each Stream Group, downgrade the Streamers in the following order:
2. CDSMs in the first Stream Domain. Downgrade the secondary CDSM before the primary CDSM.
3. Repeat tasks 1 and 2 for each Streaming domain.
4. Caching Nodes. There is no specific order for downgrading the Caching Nodes in an ISA environment, but to guarantee nonstop services, keep at least one Caching Node online at all times at each site.
Downgrade the Caching Nodes in an RTSP environment in the following order:
5. Vaults. Downgrade all slave Vaults first, then downgrade the master Vault.
6. VVIMs managing Vaults and Caching Nodes. Downgrade the secondary VVIM before the primary VVIM.
If the Streamers at a Setup/Control site have not been upgraded, just downgrade the Streamers at a Control site. If the Streamers at a Setup/Control site have been upgraded, downgrade these Streamers first, then downgrade the Control site Streamers.
The following is a suggested order for downgrading a VDS:
1. Vaults. Downgrade all slave Vaults first, then downgrade the master Vault.
2. Streamers. Downgrade the Control site first, followed by the Setup/Control site. In each Stream Group, downgrade the Streamers in the following order:
3. CDSM. Downgrade the secondary CDSM before the primary CDSM.
If the Streamers at a Setup/Control site have not been upgraded, just downgrade the Streamers at a Control site. If the Streamers at a Setup/Control site have been upgraded, downgrade these Streamers first, then downgrade the Control site Streamers.
If the system consists of ISVs and CDSMs, downgrade the ISVs first followed by the CDSMs.
The procedure to upgrade or downgrade a VDS server is more complicated than for a CDSM or VVIM. This section covers the following topics:
A high-level view of the software upgrade workflow is as follows:
1. Get the VDS-TV 4.2 ISO file, vdsinit script file and copy it to the target VDS server.
3. Run the vdsinit script and perform the upgrade.
4. Reboot the server and start the services as per the sequence mentioned in vdsServices.conf.
A high-level view of the software downgrade workflow is as follows:
2. Copy the ISO image file to be downgraded, and the cdsinstall to the /root directory of the VDS server and move the currently installed ISO image to / directory.
3. Execute the vdsDowngrade script.
4. Reboot the server and start the services as per the sequence mentioned in /etc/rc.local.