Upgrading Router Software with Unified ISSU
To upgrade your router software by means of unified ISSU, perform the following steps.
- Disable autosynchronization.
host1(config)#disable-autosync- Copy the new release to the router.
NOTE: Be sure to specify the correct software release (.rel) filename for the router you are using, as described in the section Identifying the Software Release File in Chapter 3, Installing JUNOSe Software.
host1#copy /incoming/releases/ftpserver/quebec2.rel R2.rel- Save the current configuration.
host1#copy running-configuration system2.cnf- Determine whether the router hardware and the software release meet the criteria required for unified ISSU to operate successfully by using one of the following commands:
host1#show issuhost1#show issu briefhost1#show issu detail- Arm the primary SRP module with the upgrade release.
host1#boot system R2.rel
NOTE: You must arm any hotfixes that need to be loaded with the new release after you have armed the new release. The hotfixes are supplied when the modules to which they apply are rebooted.
- Synchronize the NVS file system of the redundant SRP module with that of the primary SRP module.
host1#synchronizeBecause the redundant SRP module is running a different release than the armed release, the module automatically reboots and runs the armed (upgrade) release, R2.rel.
Wait for the redundant SRP module to boot, initialize, and reach the standby state. At this point, the REDUNDANT LED on the module is illuminated and the ONLINE LED is off. The State field in the show version display indicates that the redundant module is in the standby state.
The NVS file systems of the two SRP modules are unsynchronized because the redundant SRP module rebooted.
host1#synchronize
- Reenable autosynchronization.
host1(config)#no disable-autosync- Determine whether unified ISSU is in the Idle state and whether all upgrade requirements have been met.
host1#show issu
NOTE: If the results indicate that some requirements are not met, you must correct this situation before proceeding.
- Ensure that stateful SRP switchover is configured on the router.
host1#show redundancy srpIf it is not already configured, do so now.
host1(config)#redundancyhost1(config-redundancy)#mode high-availability
- For each configured protocol on the router and its neighbors, ensure that graceful restart is configured. See the relevant protocol configuration chapters in the JUNOSe document set for information about configuring graceful restart.
- Begin the initialization phase of the in-service software upgrade.
host1#issu initializeThe CLI displays the status of the initialization as it proceeds.
- (Optional) From a different CLI session, display the progress of the initialization.
host1#show issuUnified ISSU must be in the Initialized state before you proceed to the next step. The time required for initialization varies with the system load and the complexity of the router configuration.
The router switches to the redundant SRP module running the upgrade release, R2.rel. Significant upgrade milestones are displayed as they occur.
- When the console indicates that the upgrade is completed, you can verify that the router is back in the idle state and running the upgrade release, R2.rel.
host1#show issuYou can also verify the status of the SRP modules and line modules, as well as the running and armed releases.
host1#show versionissu initialize
- Use to start the initialization phase of the unified ISSU process.
- This command displays the percentage completion for the process as it takes place.
- Example
host1#issu initializeVerifying the ISSU criteria... verifiedStarting the ISSU initializing phaseUpgrading the standby SRP- This phase can take a long time10% completed...There is no no version. issu start
- Use to start the upgrade phase of the unified ISSU process after the initialization phase has completed.
- Example
host1#issu startVerifying the ISSU criteria... verifiedThe system will now enter the upgrading phase. This phase cannot be aborted.Do you wish to continue?YesStarting the ISSU upgrade phase... Upgrading the line card Control plane... Upgrading completedSwitching from primary SRP to the standby SRPThe system will resume on the SRP in slot 7 in a few minutes.There is no no version. issu stop
- Use to gracefully stop a unified in-service software upgrade and place the process in an idle state.
- You can issue this command only when unified ISSU is in the initialized state. You cannot issue this command after you have issued the issu start command to begin the upgrade phase of unified ISSU.
- Example
host1#issu stopThe command will abort the ISSU operation. Do you wish to continue?YesStopping the ISSU upgrade process...reloading standby SRPThere is no no version.