Upgrading a Chassis Cluster Using In-Service Software Upgrade
This topic explains that In‑Service Software Upgrade (ISSU) enables a software upgrade from one Junos OS version to a later Junos OS version while ensuring minimal downtime.
Use Feature Explorer to confirm platform and release support for specific features.
Review the Platform-Specific In-Service Software Upgrade Behavior section for notes related to your platform.
See the Additional Platform Information section for more information.
Understanding ISSU for a Chassis Cluster
In-service software upgrade (ISSU) enables an upgrade from one Junos OS version to a later Junos OS version with little or no downtime. ISSU is performed only when devices are operating in chassis cluster mode .
The chassis cluster ISSU feature allows both devices in a cluster to be upgraded from supported Junos OS versions with minimal traffic disruption iand no interruptionto services, by coordinating the upgrade process across cluster nodes.
ISSU provides the following benefits:
-
Eliminates network downtime during software image upgrades
-
Reduces operating costs, while delivering higher service levels
-
Allows fast implementation of new features
ISSU has the following limitations:
-
ISSU is available only for Junos OS Release 10.4R4 or later.
-
ISSU does not support software downgrades.
-
If you upgrade from a Junos OS version that supports only IPv4 to a version that supports both IPv4 and IPv6, IPv4 traffic continues to function normally throughout the upgrade process. If you upgrade from a Junos OS version that supports both IPv4 and IPv6 to another version that also supports both protocols, both IPv4 and IPv6 traffic continue to function during the upgrade. Junos OS supported platforms support flow-based processing for IPv6 traffic.
-
During an ISSU, you cannot bring any PICs online. You cannot perform operations such as commit, restart, or halt.
-
During an ISSU, operations like fabric monitoring, control link recovery, and RGX preempt are suspended.
-
During an ISSU, you cannot commit any configurations.
For details about ISSU support status, see knowledge base article KB17946.
The following sequence describes the behavior of an ISSU for devices operating in a chassis cluster. The sequence applies when RG-0 is hosted on node 0, which isthe primary node. You must initiate the ISSU from the RG-0 primary node. If you attempt to start the ISSU from node 1 (the RG-0 secondary node), the system displays an error message and the upgrade does not proceed.
- Initial Redundancy Group Failover
At the beginning of a chassis cluster ISSU, the system automatically fails over all RG-1 and higher (RG-1+) redundancy groups that are not already primary on the node from which the ISSU is initiated. This action ensures that all redundancy groups become active on the the RG-0 primary node before the software upgrade begins.
The automatic failover of all RG-1+ redundancy groups is performed by the system. If you are running Junos OS release 18.1R1 or earlier, you must manually verify—before starting the ISSU—that all RG-1+ redundancy groups are active on the RG-0 primary node.
After all RG-1+ redundancy groups fail over, the system sets the manual failover bit, preventing redundant group movement during the upgrade. The system changes the primary node priority of all RG‑1+ redundancy groups to 255, regardless of whether they failed over to the RG‑0 primary node during this step.
-
During an ISSU, the primary node (node 0) validates the device configuration to ensure that it can be successfully committed using the new Junos OS version. As part of this validation process, the system performs the following checks on both nodes:
Disk space availability on the /var file system
Unsupported configuration statements
Unsupported Physical Interface Cards (PICs)
If the available disk space on the
/varfile system of either Routing Engine is insufficient, the ISSU process fails and returns an error message, and the upgrade does not proceed.Unsupported PICs do not prevent the ISSU from continuing. However, the software generates a warning indicating that these PICs will restart during the upgrade.
Similarly, the presence of an unsupported protocol configuration does not block the ISSU. In such cases, the software issues a warning that packet loss might occur for the affected protocol during the upgrade process.
-
When the validation succeeds, the kernel state synchronization daemon (ksyncd) synchronizes the kernel on the secondary node (node 1) with the node 0.
-
Node 1 is upgraded with the new software image. Before being upgraded, the node 1 gets the configuration file from node 0 and validates the configuration to ensure that it can be committed using the new software version. After being upgraded, it is resynchronized with node 0.
-
The chassis cluster process (chassisd) on the node 0 prepares other software processes for the lSSU. When all the processes are ready, chassisd sends a message to the PICs installed in the device.
-
The Packet Forwarding Engine on each Flexible PIC Concentrator (FPC) saves its state and downloads the new software image from node 1. Next, each Packet Forwarding Engine sends a message (unified-ISSU ready) to the chassisd.
-
After receiving the message (unified-ISSU ready) from a Packet Forwarding Engine, the chassisd sends a reboot message to the FPC on which the Packet Forwarding Engine resides. The FPC reboots with the new software image. After the FPC is rebooted, the Packet Forwarding Engine restores the FPC state and a high-speed internal link is established with node 1 running the new software. The chassisd is also reestablished with node 0.
-
After all Packet Forwarding Engines have sent a ready message using the chassisd on node 0, other software processes are prepared for a node switchover. The system is ready for a switchover at this point.
-
Node switchover occurs and node 1 becomes the new primary node (hitherto secondary node 1).
-
The new secondary node (hitherto primary node 0) is now upgraded to the new software image.
When both nodes are successfully upgraded, the ISSU is complete.
When upgrading a chassis cluster from a Junos OS version that does not support encryption to a version that supports encryption, perform the upgrade one node at a time:
Upgrade the first node to the new Junos OS version.
If encryption is not configured and enabled, cluster communication between the two nodes remains intact even though they are running different software versions, and services continue without interruption.
Upgrade the second node to the same new Junos OS version.
After both nodes are successfully upgraded, you can choose to configure and enable encryption as required.
For downgrades to a Junos OS version that does not support encryption, ensure that encryption is deactivated before initiating the downgrade. Disabling encryption prior to the downgrade prevents communication failures between:
- a node still running an encryption‑enabled Junos OS version, and
- a node that has been downgraded to a version without encryption support.
By ensuring that encryption is disabled on both nodes, cluster communication remains unencrypted and operational throughout the downgrade process.
The policies in the Routing Engine and Packet Forwarding Engine must be in sync for the configuration to be committed. When the policy configurations are modified and the policies are out of sync, the system displays an error message.
As a workaround, you must use the request security policies resync command to synchronize the configuration of security policies in the Routing Engine and Packet Forwarding Engine, in case if you notice security policies are out of sync after an upgrade.
ISSU System Requirements
You can use ISSU to upgrade from an ISSU-capable software release to a later release.
To perform an ISSU, your device must be running a Junos OS release that supports ISSU for the specific platform.
See the ../concept/../topic-map/security-chassis-cluster-upgrading-using-in-service-software-upgrade.html#concept_yfw_3lw_t2c section for more information.
For additional details on ISSU support and limitations, see ISSU/ICU Upgrade Limitations on SRX Series Devices.
Following are the limitations when performing an ISSU:
The ISSU process is terminated if the Junos OS version specified for installation is earlier than the version currently running on the device.
ISSU is terminated if the specified upgrade conflicts with:
The current device configuration
Supported hardware components
Other platform or software dependencies
ISSU does not support extension application packages developed using the Junos OS SDK.
ISSU does not support version downgrading on all Firewalls.
ISSU may failunder heavy CPU load, and it is recommended to ensure adequate system resources before initiating the upgrade.
To downgrade from an ISSU-capable Junos OS release to an earlier release (whether ISSU-capable or not), use the request system software add command.
Unlike an ISSU upgrade, a downgrade may cause network disruptions.
There is also a risk of data loss during the downgrade process.
Plan downgrades carefully and ensure proper backups are taken before proceeding.
We strongly recommend that you perform ISSU under the following conditions:
When both the primary and secondary nodes are healthy
During system maintenance period
During the lowest possible traffic period
When the Routing Engine CPU usage is less than 40 percent
In scenarios, where ISSU is not supported or not recommended, but system upgrade downtime still needs to be minimized, the minimal downtime upgrade procedure can be used, see the relevant knowledge base articleKB17947.
Upgrade Both Devices in a Chassis Cluster Using ISSU
Before you begin the ISSU for upgrading both the devices, note the following guidelines:
Ensure the following ISSU pre-check requirements are met:
All redundancy groups priority is greater than 0
All redundancy groups are either primary or secondary in state
There exists enough (double the image size) space available in the /var/tmp
Usage of CPU is under 80% within 5 seconds period
If the pre-check requirements are not met, ISSU will terminate at the beginning.
Back up the software using the
request system snapshotcommand on each Routing Engine to back up the system software to the device’s hard disk.If you are using Junos OS Release 18.1R1 or earlier, before starting the ISSU, set the failover for all redundancy groups so that they are all active on only one node (primary). See Initiating a Chassis Cluster Manual Redundancy Group Failover.
If you are running Junos OS Release 18.1 or later, the system automatically fails over all RGs to the RG0 primary.
We recommend enabling graceful restart for all routing protocols before initiating an ISSU to ensure minimal traffic disruption.
On all supported Firewalls, the first recommended ISSU from release is Junos OS Release 18.1R1.
The chassis cluster ISSU feature allows both devices in a cluster to be upgraded from supported Junos OS releases with traffic impact comparable to that of redundancy group failovers.
To perform an ISSU from the CLI on Routing Engine2:
If you want redundancy groups to automatically revert to node 0 as the primary after
an in-service software upgrade (ISSU), you must configure the redundancy group
priorities so that node 0 has the higher priority and enable the
preempt option.
This approach applies to all redundancy groups except redundancy group 0 (RG0). For RG0, failover must be performed manually.
To set the redundancy group priority and enable the preempt option,
see Example: Configuring Chassis Cluster Redundancy Groups.
To manually set the failover for a redundancy group, see Initiating a Chassis Cluster Manual Redundancy Group Failover.
During the upgrade, both devices may experience redundancy group failovers; however, traffic is not disrupted. Before initiating the upgrade, each device validates the upgrade package and verifies version compatibility. If the system detects that the new package version is incompatible with the currently installed version, the upgrade is either rejected or you are prompted to take corrective action. In some cases, a specific feature may be incompatible, in such situations, the upgrade software prompts you to either terminate the upgrade or disable the incompatible feature before proceeding.
If you plan to operate the Firewall as a standalone device or remove a node from a chassis cluster, ensure that the ISSU procedure has been fully terminated on both nodes (if an ISSU was initiated).
To start ISSU process on SRX5K devices with Routing Engine3 and on SRX1600, SRX2300, SRX4120, and SRX4300 devices:
-
Run the following command to start ISSU:
user@host> request vmhost software in-service-upgrade image-name-with-full-path
See Also
Roll Back Devices in a Chassis Cluster After an ISSU
If an ISSU fails to complete and only one device in the cluster is upgraded, you can roll back to the previous configuration on the upgraded device alone by issuing one of the following commands on the upgraded device:
request chassis cluster in-service-upgrade abortrequest system software rollback node node-id rebootrequest system reboot
Enable an Automatic Chassis Cluster Node Failback After an ISSU
If you want redundancy groups to automatically return to node 0 as the primary after
an
in-service software upgrade (ISSU), you must
configure
the redundancy group priority
so
that node 0 has
the higher
priority
and
enable the preempt option.
This mechanism applies to all redundancy groups except redundancy group 0. Redundancy group 0 does not support automatic preemption and must be failed over manually.
To set
redundancy
group
priorities
and enable
preempt
option, see Example: Configuring Chassis Cluster Redundancy Groups. To manually initiate
aredundancy
group
failover, see Initiating a Chassis Cluster Manual Redundancy Group Failover.
To complete the upgrade and make node 0 available in the chassis cluster after ISSU, you must manually reboot node 0. Node 0 does not reboot automatically as part of the ISSU process.
Platform-Specific In-Service Software Upgrade Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behaviors for your platform.
|
Platform |
Difference |
|---|---|
|
SRX Series |
|
Additional Platform Information
Use Feature Explorer to confirm platform and release support for specific features.
Additional Platforms may be supported.
|
Device |
Junos OS Release |
|---|---|
|
SRX5800 and SRX5600 |
10.4R4 or later |
|
SRX5400 |
12.1X46-D20 or later |
|
SRX1500 |
15.1X49-D70 or later |
|
SRX1600 and SRX2300, SRX4120 |
23.4R1 or later |
|
SRX4100 and SRX4200 |
15.1X49-D80 or later |
|
SRX4300 |
24.2R1 or later |
|
SRX4600 |
17.4R1 or later |