Description

Both node is in HA active standby setup.

How initiate manual failover in a redundancy group from one node to the other and reboot the nodes.

Solution

  • To display the status of nodes in the cluster for specific group:
          > show chassis cluster status redundancy-group 0
  • sample output:
{primary:node0} 
user@host> show chassis cluster status redundancy-group 0
Cluster ID: 9
Node                  Priority          Status    Preempt  Manual failover

Redundancy group: 0 , Failover count: 1
    node0                   254         primary        no       no
    node1                   1           secondary      no       no

 

 

  • To initiate manual failover in a redundancy group from one node to the other:
>request chassis cluster failover node node-number redundancy-group redundancy-group-number
  • Sample output:
user@host> request chassis cluster failover redundancy-group 0 node 1             
{primary:node0}
user@host> request chassis cluster failover redundancy-group 0 node 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Initiated manual failover for redundancy group 0
  • To display the new status of nodes in the cluster:
         >show chassis cluster status redundancy-group redundancy-group-number
  • Sample output:

{secondary-hold:node0}

user@host> show chassis cluster status redundancy-group 0

Cluster 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

 

  • 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).

 

         >request chassis cluster failover reset redundancy-group  redundancy-group-number
  • sample output

{secondary-hold:node0}

user@host> request chassis cluster failover reset redundancy-group 0

node0:

--------------------------------------------------------------------------

No reset required for redundancy group 0.

 

node1:

--------------------------------------------------------------------------

Successfully reset manual failover for redundancy group 0

 

  • After reseating the failover:
    • sample output:
{secondary-hold:node0}
user@host> show chassis cluster status redundancy-group 0
Cluster 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

  • To reboot the node in the chassis cluster you can enter the session related to the node and issue:

 > request system reboot

{primary:node0}

root@jtac-srx5800-r2023> request system reboot ?

Possible completions:

 <[Enter]>      Execute this command

 at          Time at which to perform the operation

 in          Number of minutes to delay before operation

 junos        Boot off Junos volume

 message       Message to display to all users

 network       Network boot via PXE

 oam         Boot off OAM volume

 usb         Boot off USB device

 |          Pipe through a command

 

Modification History

2024-02-08 : Article Created