PDF

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:
•
Note
Note
Install the CompactFlash disks into the standby performance route processor(PRP).
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.
Check the Cisco IOS XR Release Notes for the CompactFlash disk size requirements.
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Boot Media Upgrade Tasks
Boot Media Migration Procedure
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
Step 3
Ensure that the same Boothelper file is uploaded to CompactFlash disk media on both the
primary and standby performance route processors.
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.
Boot Media Upgrade Tasks
2
OL-18723-01
Boot Media Upgrade Tasks
Boot Media Migration Procedure
Info:
Info:
Info:
Info:
Info:
node0_9_CPU0:
node0_9_CPU0:
node0_9_CPU0:
node0_9_CPU0:
node0_9_CPU0:
verifying admin configuration
verifying SDR configuration
verifying installed software
verify complete.
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
131168
-rwx 180
5
drwx 4096
48
drwx 4096
8939
drwx 4096
38728
drwx 4096
41629
drwx 4096
48714
drwx 4096
60105
drwx 4096
65181
drwx 4096
67452
drwx 4096
77554
drwx 4096
80695
drwx 4096
99894
drwx 4096
103832
drwx 4096
108789
drwx 4096
113763
drwx 4096
114907
drwx 4096
114908
dr-x 4096
114931
drwx 4096
114934
drwx 4096
114936
drwx 4096
Mon
Mon
Mon
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Mon
Mon
Mon
Mon
Mon
Mon
Aug
Aug
Aug
May
May
May
May
May
May
May
May
May
May
May
May
May
Aug
Aug
Aug
Aug
Aug
Aug
11
11
11
23
23
23
23
23
23
23
23
23
23
23
23
23
11
11
11
11
11
11
13:25:11
12:46:57
12:25:26
14:26:12
14:30:44
14:31:07
14:32:11
13:33:19
13:33:47
14:56:04
14:57:28
14:57:49
14:59:40
15:00:15
15:01:00
15:01:50
14:22:43
14:19:42
15:24:32
14:20:48
14:22:37
14:22:37
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
LOST.DIR
backup.status
config
c12k-os-mbi-3.6.1
c12k-base-3.6.1
c12k-admin-3.6.1
c12k-fwdg-3.6.1
c12k-lc-3.6.1
c12k-rout-3.6.1
c12k-mpls-3.6.1
c12k-diags-3.6.1
c12k-doc-3.6.1
c12k-fpd-3.6.1
c12k-k9sec-3.6.1
c12k-mcast-3.6.1
c12k-mgbl-3.6.1
instdb
shutdown
aaa
license
usr
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
131168
5
49
8939
38728
drwx
-rwx
drwx
drwx
drwx
drwx
4096
180
4096
4096
4096
4096
Fri
Fri
Fri
Fri
Fri
Fri
Aug 8 19:56:51 2008
Aug 8 19:19:50 2008
Aug 8 18:56:55 2008
May 23 15:26:12 2008
May 23 15:30:44 2008
May 23 15:31:07 2008
LOST.DIR
backup.status
config
c12k-os-mbi-3.6.1
c12k-base-3.6.1
c12k-admin-3.6.1
Boot Media Upgrade Tasks
OL-18723-01
3
Boot Media Upgrade Tasks
Boot Media Migration Procedure
41629
48714
60105
65181
67452
77554
80695
99894
103832
108789
113763
drwx
drwx
drwx
drwx
drwx
drwx
drwx
drwx
drwx
drwx
drwx
4096
4096
4096
4096
4096
4096
4096
4096
4096
4096
4096
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
Fri
May
May
May
May
May
May
May
May
May
May
Aug
23
23
23
23
23
23
23
23
23
23
8
13:32:11
13:33:19
13:33:47
14:56:04
14:57:28
14:57:49
14:59:40
15:00:15
15:01:00
15:01:50
18:24:27
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
2008
c12k-fwdg-3.6.1
c12k-lc-3.6.1
c12k-rout-3.6.1
c12k-mpls-3.6.1
c12k-diags-3.6.1
c12k-doc-3.6.1
c12k-fpd-3.6.1
c12k-k9sec-3.6.1
c12k-mcast-3.6.1
c12k-mgbl-3.6.1
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:
Step 7
node0_8_CPU0: command succeeded.
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
Step 8
There might be some error messages observed in the system log. These messages do not impact the
procedure or bootup process.
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.
Boot Media Upgrade Tasks
4
OL-18723-01
Boot Media Upgrade Tasks
Obtaining Documentation and Submitting a Service Request
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.
Boot Media Upgrade Tasks
OL-18723-01
5
Boot Media Upgrade Tasks
Obtaining Documentation and Submitting a Service Request
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.
Boot Media Upgrade Tasks
6
OL-18723-01