Guest

Cisco XR 12000 Series Router

Boot Media Upgrade Tasks

  • Viewing Options

  • PDF (148.4 KB)
  • Feedback
Boot Media Upgrade Tasks

Table Of Contents

Boot Media Upgrade Tasks

Prerequisites for Boot Media Migration

Boot Media Migration Procedure

Obtaining Documentation and Submitting a Service Request


Boot Media Upgrade Tasks


First Published: March 20, 2009

Product Numbers: PRP-2=, MEM-FD2G=, MEM-FD4G=

A boot medium is a device such as disk0: or disk1: in the route processor or CompactFlash disk, which stores the Cisco IOS XR software image, configuration files, and other associated software that is required to boot up the router.

Table 1 Change History of Boot Media Migration Tasks

Revision
Date
Change

OL-18723-01

March 2009

Initial draft of this document. New feature introduced for the Cisco XR 12000 Series Router.


Prerequisites for Boot Media Migration

The current scenario assumes that all the CompactFlash disks have already been installed into the PRP-2 route processor. However, the installation can also be done without any impact on the router operation by performing the following steps:

Install the CompactFlash disks into the standby performance route processor(PRP).


Note The card must be removed from the chassis, because the CompactFlash disk is located inside the board.


Run the redundancy switchover command to check whether the redundancy is full/NSR-ready(nonstop routing). This ensures that the routing protocol information is replicated on both the active and standby route processors.

Remove the other peformance route processor and then install the CompactFlash disk.


Note Check the Cisco IOS XR Release Notes for the CompactFlash disk size requirements.


Boot Media Migration Procedure

Perform the following steps to migrate the boot media from disk0: to CompactFlash disk:


Step 1 Download the latest version of Boothelper from http://www.cisco.com. Boothelper software is an additional software that extends the capabilities of ROM Monitor on a Cisco XR 12000 Series Router. With Boothelper, ROM Monitor can load images from both CompactFlash disk and TFTP servers. Without Boothelper, ROM Monitor can load images only from a local storage device such as disk0:, disk1:, or bootflash.

Step 2 The Boothelper file should be placed on CompactFlash disk media.


Note Ensure that the same Boothelper file is uploaded to CompactFlash disk media on both the primary and standby performance route processors.


Step 3 Execute the cfs check command to check the sanity of the configuration file system. This command is executed to resolve any internal inconsistencies.

RP/0/9/CPU0:12k-A3-CE17(admin)# cfs check

Creating any missing directories in ADMIN Configuration File system...OK
Initializing ADMIN Configuration Version Manager...OK
Syncing ADMIN commit database with running configuration...OK
RP/0/9/CPU0:12k-A3-CE17(admin)#

All the configuration files will also be migrated to the Compact Flash disk. You can take a backup of these files on the FTP or TFTP server before the migration process. Later, you can compare the size of the configuration files when the router runs from CompactFlash disk.

Step 4 Perform system backup on the CompactFlash disk. Only the Cisco IOS XR files are transferred to the new media. The system formats the new media automatically before copying system files. Hence, you must save all the necessary information before initiating the backup procedure.


Note The backup procedure can be executed either in synchronous or asynchronous mode. Asynchronous mode gives you access to the console, so you can execute the commands while the process is running in the background. You must avoid making any changes to the configuration during this time, because the backup process transfers all the user and admin configurations to the new device. By default, synchronous mode is used.


The entire backup process takes approximately twenty minutes for each device (CompactFlash disk on the standby and primary performance route processor). The process happens without interruption to other operations, so there should be no traffic loss observed at this point.

The following command must be executed as shown below:

RP/0/9/CPU0:12k-A3-CE17(admin)# system backup compactflash: format asynchronous

Info:  node0_9_CPU0: formatting target device
RP/0/9/CPU0:Aug  8 18:30:11.699 : syslog_dev[85]: mkdosfs:  
RP/0/9/CPU0:Aug  8 18:30:11.699 : syslog_dev[85]: mkdosfs: Format complete: FAT32 
(4096-byte clusters), 2046224 kB available. 
Info:  node0_9_CPU0: copying admin configuration
Info:  node0_9_CPU0: copying SDR configuration
Info:  node0_9_CPU0: copying installed software
Info:  node0_9_CPU0: backup complete.
Info:  node0_9_CPU0: verifying admin configuration
Info:  node0_9_CPU0: verifying SDR configuration
Info:  node0_9_CPU0: verifying installed software
Info:  node0_9_CPU0: verify complete.
Info:  node0_9_CPU0: command succeeded.

RP/0/9/CPU0:12k-A3-CE17(admin)# system backup compactflash: location 0/8/CPU0

Info:  node0_8_CPU0: formatting target device
RP/0/8/CPU0:Aug  8 18:56:51.803 : syslog_dev[85]: mkdosfs:  
RP/0/8/CPU0:Aug  8 18:56:51.803 : syslog_dev[85]: mkdosfs: Format complete: FAT32 
(4096-byte clusters), 2046224 kB available. 
Info:  node0_8_CPU0: copying admin configuration
Info:  node0_8_CPU0: copying SDR configuration
Info:  node0_8_CPU0: copying installed software
Info:  node0_8_CPU0: backup complete.
Info:  node0_8_CPU0: verifying admin configuration
Info:  node0_8_CPU0: verifying SDR configuration
Info:  node0_8_CPU0: verifying installed software
Info:  node0_8_CPU0: verify complete.
Info:  node0_8_CPU0: command succeeded.

Step 5 Check whether the system has created a directory structure on the CompactFlash disk on both the performance route processors:

RP/0/9/CPU0:12k-A3-CE17(admin)# dir compactflash:

Directory of compactflash:
3           drwx  4096        Mon Aug 11 13:25:11 2008  LOST.DIR
131168      -rwx  180         Mon Aug 11 12:46:57 2008  backup.status
5           drwx  4096        Mon Aug 11 12:25:26 2008  config
48          drwx  4096        Fri May 23 14:26:12 2008  c12k-os-mbi-3.6.1
8939        drwx  4096        Fri May 23 14:30:44 2008  c12k-base-3.6.1
38728       drwx  4096        Fri May 23 14:31:07 2008  c12k-admin-3.6.1
41629       drwx  4096        Fri May 23 14:32:11 2008  c12k-fwdg-3.6.1
48714       drwx  4096        Fri May 23 13:33:19 2008  c12k-lc-3.6.1
60105       drwx  4096        Fri May 23 13:33:47 2008  c12k-rout-3.6.1
65181       drwx  4096        Fri May 23 14:56:04 2008  c12k-mpls-3.6.1
67452       drwx  4096        Fri May 23 14:57:28 2008  c12k-diags-3.6.1
77554       drwx  4096        Fri May 23 14:57:49 2008  c12k-doc-3.6.1
80695       drwx  4096        Fri May 23 14:59:40 2008  c12k-fpd-3.6.1
99894       drwx  4096        Fri May 23 15:00:15 2008  c12k-k9sec-3.6.1
103832      drwx  4096        Fri May 23 15:01:00 2008  c12k-mcast-3.6.1
108789      drwx  4096        Fri May 23 15:01:50 2008  c12k-mgbl-3.6.1
113763      drwx  4096        Mon Aug 11 14:22:43 2008  instdb
114907      drwx  4096        Mon Aug 11 14:19:42 2008  shutdown
114908      dr-x  4096        Mon Aug 11 15:24:32 2008  aaa
114931      drwx  4096        Mon Aug 11 14:20:48 2008  license
114934      drwx  4096        Mon Aug 11 14:22:37 2008  usr
114936      drwx  4096        Mon Aug 11 14:22:37 2008  var

2095333376 bytes total (1624551424 bytes free)

RP/0/9/CPU0:12k-A3-CE17(admin)# dir compactflash: loc 0/8/cpU0

Directory of net/node0_8_CPU0/compactflash:

3           drwx  4096        Fri Aug  8 19:56:51 2008  LOST.DIR
131168      -rwx  180         Fri Aug  8 19:19:50 2008  backup.status
5           drwx  4096        Fri Aug  8 18:56:55 2008  config
49          drwx  4096        Fri May 23 15:26:12 2008  c12k-os-mbi-3.6.1
8939        drwx  4096        Fri May 23 15:30:44 2008  c12k-base-3.6.1
38728       drwx  4096        Fri May 23 15:31:07 2008  c12k-admin-3.6.1
41629       drwx  4096        Fri May 23 13:32:11 2008  c12k-fwdg-3.6.1
48714       drwx  4096        Fri May 23 13:33:19 2008  c12k-lc-3.6.1
60105       drwx  4096        Fri May 23 13:33:47 2008  c12k-rout-3.6.1
65181       drwx  4096        Fri May 23 14:56:04 2008  c12k-mpls-3.6.1
67452       drwx  4096        Fri May 23 14:57:28 2008  c12k-diags-3.6.1
77554       drwx  4096        Fri May 23 14:57:49 2008  c12k-doc-3.6.1
80695       drwx  4096        Fri May 23 14:59:40 2008  c12k-fpd-3.6.1
99894       drwx  4096        Fri May 23 15:00:15 2008  c12k-k9sec-3.6.1
103832      drwx  4096        Fri May 23 15:01:00 2008  c12k-mcast-3.6.1
108789      drwx  4096        Fri May 23 15:01:50 2008  c12k-mgbl-3.6.1
113763      drwx  4096        Fri Aug  8 18:24:27 2008  instdb

2095333376 bytes total (1624596480 bytes free)

Step 6 Change the boot sequence on both the performance route processors and ensure that the system is booted from CompactFlash disk.

RP/0/9/CPU0:12k-A3-CE17(admin)# system boot-sequence compactflash:

Info:  node0_9_CPU0: command succeeded.

RP/0/9/CPU0:12k-A3-CE17(admin)#system boot-sequence compactflash: loc 0/8/CPU0

Info:  node0_8_CPU0: command succeeded.

Step 7 Reload the router. You can observe a loss of traffic while the system is booting up. The period of traffic loss depends on the configuration size of Cisco IOS XR software image.

RP/0/9/CPU0:12k-A3-CE17(admin)# reload loc all

Preparing system for backup. This may take a few minutes [done]
Proceed with reload? [confirm]

Note There might be some error messages observed in the system log. These messages do not impact the procedure or bootup process.


Step 8 Check the system version booted from CompactFlash disk using the following command:

RP/0/9/CPU0:12k-A3-CE17(admin)# sh ver

Cisco IOS XR Software, Version 3.6.1[00]
Copyright (c) 2008 by Cisco Systems, Inc.
ROM: System Bootstrap, Version 12.0(20041108:104740) [ashp-cisp-rommon 1.16dev(0.1)] 
DEVELOPMENT SOFTWARE
Copyright (c) 1994-2004 by cisco Systems,  Inc.
BOOTFLASH: GS Software (C12KPRP-BOOT-M), Version 12.0(33)S1,  RELEASE SOFTWARE (fc1)
12k-A3-CE17 uptime is 8 minutes
System image file is "compactflash:c12k-os-mbi-3.6.1/mbiprp-rp.vm"
cisco 12410/PRP (7457) processor with 3670016K bytes of memory.
7457 processor at 1266Mhz, Revision 1.1
WARNING: Old Fabric Downloader in slot 0
Use "upgrade fabric-downloader" command to update the image
1 Cisco 12000 4 Port Gigabit Ethernet Controller (4 GigabitEthernet)
2 Cisco 12000 Series Performance Route Processors
2 GSR 12410 Clock Scheduler Cards
5 GSR 12410 Switch Fabric Cards
1 GSR Blower Module
6 Ethernet/IEEE 802.3 interface(s)
1017k bytes of non-volatile configuration memory.

Step 9 To switch to the standby performance route processor , execute the redundancy switchover command from admin mode:

RP/0/9/CPU0:12k-A3-CE17(admin)# redundancy switchover 

Proceed with switchover 0/9/CPU0 -> 0/8/CPU0? [confirm]

Step 10 Execute the show version command to check the running version on the standby route processor:

RP/0/8/CPU0:12k-A3-CE17# sh ver

RP/0/8/CPU0:Aug 11 17:04:19.392 : ntpd[235]: %ROUTING-NTPD-5-PEER_CLEAR : NTP Peer 
[9.0.0.31] cleared : New Peer association being Init'ed 
Cisco IOS XR Software, Version 3.6.1[00]
Copyright (c) 2008 by Cisco Systems, Inc.
ROM: System Bootstrap, Version 12.0(20071023:043238) [sunnaik-rommon_hang 1.20] RELEASE 
SOFTWARE
Copyright (c) 1994-2007 by cisco Systems,  Inc.
BOOTFLASH: GS Software (C12KPRP-BOOT-M), Version 12.0(33)S1,  RELEASE SOFTWARE (fc1)
12k-A3-CE17 uptime is 10 minutes
System image file is "compactflash:c12k-os-mbi-3.6.1/mbiprp-rp.vm"
cisco 12410/PRP (7457) processor with 2097152K bytes of memory.
7457 processor at 1266Mhz, Revision 1.2
WARNING: Old Fabric Downloader in slot 0
Use "upgrade fabric-downloader" command to update the image
1 Cisco 12000 4 Port Gigabit Ethernet Controller (4 GigabitEthernet)
2 Cisco 12000 Series Performance Route Processors
3 Ethernet/IEEE 802.3 interface(s)
1017k bytes of non-volatile configuration memory.
1998M bytes of compact flash card.
1000496k bytes of ATA PCMCIA card at disk 0 (Sector size 512 bytes).
65536k bytes of Flash internal SIMM (Sector size 256k)

Obtaining Documentation and Submitting a Service Request

For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at:

http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html

Subscribe to the What's New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS Version 2.0.