Table Of Contents
Prerequisites for Boot Media Migration
Boot Media Migration Procedure
Obtaining Documentation and Submitting a Service Request
Boot Media Upgrade Tasks
First Published: March 20, 2009Product 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 ChangeOL-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 checkCreating any missing directories in ADMIN Configuration File system...OKInitializing ADMIN Configuration Version Manager...OKSyncing ADMIN commit database with running configuration...OKRP/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 asynchronousInfo: node0_9_CPU0: formatting target deviceRP/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 configurationInfo: node0_9_CPU0: copying SDR configurationInfo: node0_9_CPU0: copying installed softwareInfo: node0_9_CPU0: backup complete.Info: node0_9_CPU0: verifying admin configurationInfo: node0_9_CPU0: verifying SDR configurationInfo: node0_9_CPU0: verifying installed softwareInfo: 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/CPU0Info: node0_8_CPU0: formatting target deviceRP/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 configurationInfo: node0_8_CPU0: copying SDR configurationInfo: node0_8_CPU0: copying installed softwareInfo: node0_8_CPU0: backup complete.Info: node0_8_CPU0: verifying admin configurationInfo: node0_8_CPU0: verifying SDR configurationInfo: node0_8_CPU0: verifying installed softwareInfo: 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.DIR131168 -rwx 180 Mon Aug 11 12:46:57 2008 backup.status5 drwx 4096 Mon Aug 11 12:25:26 2008 config48 drwx 4096 Fri May 23 14:26:12 2008 c12k-os-mbi-3.6.18939 drwx 4096 Fri May 23 14:30:44 2008 c12k-base-3.6.138728 drwx 4096 Fri May 23 14:31:07 2008 c12k-admin-3.6.141629 drwx 4096 Fri May 23 14:32:11 2008 c12k-fwdg-3.6.148714 drwx 4096 Fri May 23 13:33:19 2008 c12k-lc-3.6.160105 drwx 4096 Fri May 23 13:33:47 2008 c12k-rout-3.6.165181 drwx 4096 Fri May 23 14:56:04 2008 c12k-mpls-3.6.167452 drwx 4096 Fri May 23 14:57:28 2008 c12k-diags-3.6.177554 drwx 4096 Fri May 23 14:57:49 2008 c12k-doc-3.6.180695 drwx 4096 Fri May 23 14:59:40 2008 c12k-fpd-3.6.199894 drwx 4096 Fri May 23 15:00:15 2008 c12k-k9sec-3.6.1103832 drwx 4096 Fri May 23 15:01:00 2008 c12k-mcast-3.6.1108789 drwx 4096 Fri May 23 15:01:50 2008 c12k-mgbl-3.6.1113763 drwx 4096 Mon Aug 11 14:22:43 2008 instdb114907 drwx 4096 Mon Aug 11 14:19:42 2008 shutdown114908 dr-x 4096 Mon Aug 11 15:24:32 2008 aaa114931 drwx 4096 Mon Aug 11 14:20:48 2008 license114934 drwx 4096 Mon Aug 11 14:22:37 2008 usr114936 drwx 4096 Mon Aug 11 14:22:37 2008 var2095333376 bytes total (1624551424 bytes free)RP/0/9/CPU0:12k-A3-CE17(admin)# dir compactflash: loc 0/8/cpU0Directory of net/node0_8_CPU0/compactflash:3 drwx 4096 Fri Aug 8 19:56:51 2008 LOST.DIR131168 -rwx 180 Fri Aug 8 19:19:50 2008 backup.status5 drwx 4096 Fri Aug 8 18:56:55 2008 config49 drwx 4096 Fri May 23 15:26:12 2008 c12k-os-mbi-3.6.18939 drwx 4096 Fri May 23 15:30:44 2008 c12k-base-3.6.138728 drwx 4096 Fri May 23 15:31:07 2008 c12k-admin-3.6.141629 drwx 4096 Fri May 23 13:32:11 2008 c12k-fwdg-3.6.148714 drwx 4096 Fri May 23 13:33:19 2008 c12k-lc-3.6.160105 drwx 4096 Fri May 23 13:33:47 2008 c12k-rout-3.6.165181 drwx 4096 Fri May 23 14:56:04 2008 c12k-mpls-3.6.167452 drwx 4096 Fri May 23 14:57:28 2008 c12k-diags-3.6.177554 drwx 4096 Fri May 23 14:57:49 2008 c12k-doc-3.6.180695 drwx 4096 Fri May 23 14:59:40 2008 c12k-fpd-3.6.199894 drwx 4096 Fri May 23 15:00:15 2008 c12k-k9sec-3.6.1103832 drwx 4096 Fri May 23 15:01:00 2008 c12k-mcast-3.6.1108789 drwx 4096 Fri May 23 15:01:50 2008 c12k-mgbl-3.6.1113763 drwx 4096 Fri Aug 8 18:24:27 2008 instdb2095333376 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/CPU0Info: 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 allPreparing 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 verCisco 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 SOFTWARECopyright (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 minutesSystem 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.1WARNING: Old Fabric Downloader in slot 0Use "upgrade fabric-downloader" command to update the image1 Cisco 12000 4 Port Gigabit Ethernet Controller (4 GigabitEthernet)2 Cisco 12000 Series Performance Route Processors2 GSR 12410 Clock Scheduler Cards5 GSR 12410 Switch Fabric Cards1 GSR Blower Module6 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 switchoverProceed 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 verRP/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'edCisco 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 SOFTWARECopyright (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 minutesSystem 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.2WARNING: Old Fabric Downloader in slot 0Use "upgrade fabric-downloader" command to update the image1 Cisco 12000 4 Port Gigabit Ethernet Controller (4 GigabitEthernet)2 Cisco 12000 Series Performance Route Processors3 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.
CCDE, CCSI, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco Nurse Connect, Cisco Stackpower, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0903R)
Copyright © 2009 Cisco Systems, Inc. All rights reserved. Produced in the USA.