Juniper router MX240 routing-engine failover configuration and tips
GRES (Graceful Routing Engine Switchover) is easier to setup.
[edit chassis redundancy]
Juniper@MX2400# show
routing-engine 0 master;
routing-engine 1 backup;
graceful-switchover {
apply-groups [ re0 re1 ];
}
Configuration
{master}
Juniper@MX2400> show configuration | find redundancy
redundancy {
routing-engine 0 master;
routing-engine 1 backup;
graceful-switchover {
apply-groups [ re0 re1 ];
}
}
routing-engine {
on-disk-failure disk-failure-action reboot;
}
fpc 1 {
pic 0 {
max-queues-per-interface 8;
}
pic 1 {
max-queues-per-interface 8;
}
}
}
{backup}
Juniper@MX2400> show configuration | find redundancy
redundancy {
routing-engine 0 master;
routing-engine 1 backup;
graceful-switchover {
apply-groups [ re0 re1 ];
}
}
routing-engine {
on-disk-failure disk-failure-action reboot;
}
fpc 1 {
pic 0 {
max-queues-per-interface 8;
}
pic 1 {
max-queues-per-interface 8;
}
}
}
1. To switch manual switch from master to backup; RE0(Master-slot0) / RE1(Backup-slot1)
From console on RE0(master)
Juniper@MX2400> request chassis routing-engine master switch
2. Force to synchronize between RE0 and RE1
Juniper@MX240# commit synchronize
3. Status of routing-engine redundancy
Juniper@MX240> show chassis routing-engine
Routing Engine status:
Slot 0:
Current state Master
Election priority Master (default)
Temperature 39 degrees C / 81 degrees F
DRAM 2048 MB
Memory utilization 15 percent
CPU utilization:
User 0 percent
Background 0 percent
Kernel 2 percent
Interrupt 0 percent
Idle 98 percent
Model RE-3.0
Serial ID P10865723239
Start time 2012-04-15 18:45:12 UTC
Uptime 6 days, 3 hours, 56 minutes, 8 seconds
Routing Engine status:
Slot 1:
Current state Backup
Election priority Backup (default)
Temperature 27 degrees C / 78 degrees F
DRAM 2048 MB
Memory utilization 10 percent
CPU utilization:
[…Omitted…]
4. Successive Routing Engine switchover events must be a minimum of 240 seconds (4 minutes) apart after both Routing Engines have come up. So, once backup routing-engine is becoming master, let him give 4 minutes before move back to RE0 as master.
5. To verify whether graceful Routing Engine switchover is enabled, on the backup Routing Engine, issue the show system switchover command
Juniper@MX2400> show system switchover
Graceful switchover: On
Configuration database: Ready
Kernel database: Ready
Peer state: Steady state