Supported Platforms
Related Documentation
- M, PTX, T Series
- Understanding Graceful Routing Engine Switchover in the Junos OS
- MX Series
- Virtual Chassis Components Overview
- Global Roles and Local Roles in a Virtual Chassis
- Mastership Election in a Virtual Chassis
- Switching the Global Master and Backup Roles in a Virtual Chassis Configuration
- Determining GRES Readiness in a Virtual Chassis Configuration
Switchover Behavior in a Virtual Chassis
When an active or primary hardware or software component fails or is temporarily shut down, you can manually configure a switchover to a backup component that takes over the functions of the unavailable primary component. You can configure two types of switchovers in a Virtual Chassis configuration for MX Series 3D Universal Edge Routers:
- Global switchover—Changes the mastership in an MX Series Virtual Chassis by switching the global roles of the master router and backup router in the Virtual Chassis configuration.
- Local switchover—Toggles the local mastership of the dual Routing Engines in a member router of the Virtual Chassis.
During a switchover, the roles assigned to the member routers and Routing Engines in a Virtual Chassis configuration change. This topic describes the role transitions that occur so you can better understand how an MX Series Virtual Chassis behaves during a global or local switchover. The topic also describes how you can determine whether the member routers are ready for a global graceful Routing Engine switchover (GRES) operation from a database synchronization perspective.
Virtual Chassis Role Transitions During a Global Switchover
To change the mastership in an MX Series Virtual Chassis and cause a global switchover, you issue the request virtual-chassis routing-engine master switch command from the master router. After you issue this command, the current master router in the Virtual Chassis (VC-M) becomes the backup router (VC-B), and the current backup router (VC-B) becomes the master router (VC-M).
A global switchover in an MX Series Virtual Chassis causes the role transitions listed in Table 1.
Table 1: Virtual Chassis Role Transitions During Global Switchover
Virtual Chassis Role Before Global Switchover | Virtual Chassis Role After Global Switchover |
---|---|
Virtual Chassis master router (VC-M) | Virtual Chassis backup router (VC-B) |
Virtual Chassis backup router (VC-B) | Virtual Chassis master router (VC-M) |
Master Routing Engine in the Virtual Chassis master router (VC-Mm) | Master Routing Engine in the Virtual Chassis backup router (VC-Bm) |
Standby Routing Engine in the Virtual Chassis master router (VC-Ms) | Standby Routing Engine in the Virtual Chassis backup router (VC-Bs) |
Master Routing Engine in the Virtual Chassis backup router (VC-Bm) | Master Routing Engine in the Virtual Chassis master router (VC-Mm) |
Standby Routing Engine in the Virtual Chassis backup router (VC-Bs) | Standby Routing Engine in the Virtual Chassis master router (VC-Ms) |
The local roles (master and standby, or m and s) of the Routing Engines do not change after a global switchover. For example, as shown in Table 1, the master Routing Engine in the Virtual Chassis backup router (VC-Bm) remains the master Routing Engine in the Virtual Chassis master router (VC-Mm) after the global switchover.
Virtual Chassis Role Transitions During a Local Switchover
To ensure redundancy in a two-member MX Series Virtual Chassis configuration, each of the two member routers must be configured with dual Routing Engines. To toggle local mastership between the master Routing Engine and the standby Routing Engine in the member router, you issue the request chassis routing-engine master switch command.
A local switchover in an MX Series Virtual Chassis causes the role transitions listed in Table 2.
Table 2: Virtual Chassis Role Transitions During Local Switchover
Virtual Chassis Role Before Local Switchover | Virtual Chassis Role After Local Switchover |
---|---|
Master Routing Engine in the Virtual Chassis master router (VC-Mm) | Standby Routing Engine in the Virtual Chassis backup router (VC-Bs) |
Standby Routing Engine in the Virtual Chassis master router (VC-Ms) | Master Routing Engine in the Virtual Chassis backup router (VC-Bm) |
Master Routing Engine in the Virtual Chassis backup router (VC-Bm) | Master Routing Engine in the Virtual Chassis master router (VC-Mm) |
Standby Routing Engine in the Virtual Chassis backup router (VC-Bs) | Standby Routing Engine in the Virtual Chassis master router (VC-Ms) |
The local roles (master and standby, or m and s) of the Routing Engines in the Virtual Chassis master router change after a local switchover, but the local roles of the Routing Engines in the Virtual Chassis backup router do not change. For example, as shown in Table 2, the master Routing Engine in the Virtual Chassis master router (VC-Mm) becomes the standby Routing Engine in the Virtual Chassis backup router (VC-Bs) after the local switchover. By contrast, the master Routing Engine in the Virtual Chassis backup router (VC-Bm) remains the master Routing Engine in the Virtual Chassis master router (VC-Mm) after the local switchover.
GRES Readiness in a Virtual Chassis Configuration
Depending on the router configuration, a variable amount of time is required before a router is ready to perform a graceful Routing Engine switchover (GRES). Attempting a GRES operation before the router is ready can cause system errors and unexpected behavior. To determine whether the member routers in an MX Series Virtual Chassis configuration are ready for a GRES operation from a database synchronization perspective, you can issue the request virtual-chassis routing-engine master switch check command from the Virtual Chassis master router (VC-Mm) before you initiate the GRES operation.
The request virtual-chassis routing-engine master switch check command checks various system and database components on the member routers to determine whether they are ready for GRES, but does not initiate the global GRES operation itself. The readiness check includes ensuring that a system timer, which expires after 300 seconds, has completed before the global GRES operation can begin.
Using the request virtual-chassis routing-engine master switch check command before you initiate the GRES operation ensures that the subscriber management and kernel databases on both member routers in an MX Series Virtual Chassis are synchronized and ready for the GRES operation.
Related Documentation
- M, PTX, T Series
- Understanding Graceful Routing Engine Switchover in the Junos OS
- MX Series
- Virtual Chassis Components Overview
- Global Roles and Local Roles in a Virtual Chassis
- Mastership Election in a Virtual Chassis
- Switching the Global Master and Backup Roles in a Virtual Chassis Configuration
- Determining GRES Readiness in a Virtual Chassis Configuration
Published: 2013-02-11
Supported Platforms
Related Documentation
- M, PTX, T Series
- Understanding Graceful Routing Engine Switchover in the Junos OS
- MX Series
- Virtual Chassis Components Overview
- Global Roles and Local Roles in a Virtual Chassis
- Mastership Election in a Virtual Chassis
- Switching the Global Master and Backup Roles in a Virtual Chassis Configuration
- Determining GRES Readiness in a Virtual Chassis Configuration