Initiating a Chassis Cluster Manual Redundancy Group Failover
You can initiate a failover manually with the request command. A manual failover bumps up the priority of the redundancy group for that member to 255.
Before you begin, complete the following tasks:
- Example: Configuring Chassis Cluster Redundancy Groups (CLI)
- Example: Configuring Chassis Cluster Redundant Ethernet Interfaces (CLI)
- Example: Configuring Chassis Cluster with a Dampening Time Between Back-to-Back Redundancy Group Failovers (CLI)
![]() | Caution: Be cautious and judicious in your use of redundancy group 0 manual failovers. A redundancy group 0 failover implies a Routing Engine (RE) failover, in which case all processes running on the primary node are killed and then spawned on the new master Routing Engine (RE). This failover could result in loss of state, such as routing state, and degrade performance by introducing system churn. |
Use the show command to display the status of nodes in the cluster:
{primary:node0} user@host> show chassis cluster status redundancy-group 0Cluster ID: 9
Node Priority Status Preempt Manual failover
Redundancy group: 0 , Failover count: 1
node0 254 primary no no
node1 1 secondary no no
Output to this command indicates that node 0 is primary.
Use the request command to trigger a failover and make node 1 primary:
{primary:node0} user@host> request chassis cluster failover redundancy-group 0 node 1- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Initiated manual failover for redundancy group 0
Use the show command to display the new status of nodes in the cluster:
{secondary-hold:node0}user@host> show chassis cluster status redundancy-group 0Cluster ID: 9
Node Priority Status Preempt Manual failover
Redundancy group: 0 , Failover count: 2
node0 254 secondary-hold no yes
node1 255 primary no yes
Output to this command shows that node 1 is now primary and node 0 is in the secondary-hold state. After 5 minutes, node 0 will transition to the secondary state.
You can reset the failover for redundancy groups by using the request command. This change is propagated across the cluster.
{secondary-hold:node0} user@host> request chassis cluster failover reset redundancy-group 0 node 0node0: -------------------------------------------------------------------------- No reset required for redundancy group 0. node1: -------------------------------------------------------------------------- Successfully reset manual failover for redundancy group 0
You cannot trigger a back-to-back failover until the 5-minute interval expires.
{secondary-hold:node0} user@host> request chassis cluster failover redundancy-group 0 node 0node0: -------------------------------------------------------------------------- Manual failover is not permitted as redundancy-group 0 on node0 is in secondary-hold state.
Use the show command to display the new status of nodes in the cluster:
{secondary-hold:node0}user@host> show chassis cluster status redundancy-group 0Cluster ID: 9
Node Priority Status Preempt Manual failover
Redundancy group: 0 , Failover count: 2
node0 254 secondary-hold no no
node1 1 primary no no
Output to this command shows that a back-to-back failover has not occurred for either node.
After doing a manual failover, you must issue the reset failover command before requesting another failover.
When the primary node fails and comes back up, election of the primary node is done based on regular criteria (priority and preempt).
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Understanding Chassis Cluster Redundancy Group Manual Failover
- Example: Configuring Chassis Cluster with a Dampening Time Between Back-to-Back Redundancy Group Failovers (CLI)
- Understanding SNMP Failover Traps for Chassis Cluster Redundancy Group Failover
- Understanding Chassis Cluster Redundant Ethernet Interfaces
- Understanding Chassis Cluster Monitoring of Global-Level Objects
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
