This article explains why sometimes the kernel database constantly shows it is synchronizing.
lab> show system switchover Graceful switchover: On Configuration database: Ready Kernel database: Synchronizing Peer state: Steady State
This indicates the kernel database is synchronizing. It is displayed when there are updates within the last 5 seconds.
This is expected if there is an update within the last 5 seconds. It does not indicate any issues.
To confirm this, enable replication traceoptions:
set system kernel-replication traceoptions file kernal-replication-traceoptions set system kernel-replication traceoptions file size 10m set system kernel-replication traceoptions file files 10 set system kernel-replication traceoptions flag all set system kernel-replication traceoptions level detail
To check GRES status, use 'request chassis routing-engine master switch check' instead of 'show system switchover' .
'request chassis routing-engine master switch check'
'show system switchover'
Kernel database does not check the backup database. It only checks whether replication kernel is receiving state updates from the primary or not. This should not be used for GRES readiness check.
GRES is ready in this case:
lab> request chassis routing-engine master switch check Switchover Ready
2021-03-24: Updated the article terminology to align with Juniper's Inclusion & Diversity initiatives