Description

NTP Synchronisation between VC members

Symptoms

master shows “NTP CLOCK” and the backup shows “LOCAL CLOCK” as Time source in the output >show system uptime

Solution

It is expected that the master shows “NTP CLOCK” and the backup shows “LOCAL CLOCK” as Time source in the output >show system uptime, this is because the master switch synchronizes with NTP servers to get the time, but the other members, including the backup member, synchronizes the time with its master. Hence, the time source for the Backup is displayed as "Local clock" instead of NTP clock as Time Source.

 

You can confirm the master switch synchronization with NTP server over below outputs.

 

> show ntp status

> show ntp associations

 

In the below output we can see that FPC1 is the master hence it shows as NTP clock and FPC0,2,3 are other members of VC hence show as Local clock

run show system uptime 
fpc0:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:38 IST
Time Source:  LOCAL CLOCK 
System booted: 2023-09-24 16:20:27 IST (8w6d 10:28 ago)
Last configured: 2023-11-25 10:40:20 IST (16:08:18 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 0 users, load averages: 0.63, 0.63, 0.67

fpc1:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:39 IST
Time Source:  NTP CLOCK 
System booted: 2023-09-24 16:20:35 IST (8w6d 10:28 ago)
Protocols started: 2023-09-24 16:26:07 IST (8w6d 10:22 ago)
Last configured: 2023-11-25 10:40:26 IST (16:08:13 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 2 users, load averages: 1.27, 1.26, 1.11

fpc2:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:40 IST
Time Source:  LOCAL CLOCK 
System booted: 2023-09-24 16:20:30 IST (8w6d 10:28 ago)
 Last configured: 2023-11-25 10:40:18 IST (16:08:22 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 0 users, load averages: 0.55, 0.44, 0.43

fpc3:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:40 IST
Time Source:  LOCAL CLOCK 
System booted: 2023-09-24 16:20:30 IST (8w6d 10:28 ago)
Last configured: 2023-11-25 10:40:18 IST (16:08:22 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 0 users, load averages: 0.35, 0.38, 0.39

 

Please note that the master FPC will show as localre instead of the FPC number ID as shown below:

 

run show system uptime 
fpc0:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:38 IST
Time Source:  LOCAL CLOCK 
System booted: 2023-09-24 16:20:27 IST (8w6d 10:28 ago)
Last configured: 2023-11-25 10:40:20 IST (16:08:18 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 0 users, load averages: 0.63, 0.63, 0.67

localre:
--------------------------------------------------------------------------
Current time: 2023-11-26 02:48:39 IST
Time Source:  NTP CLOCK 
System booted: 2023-09-24 16:20:35 IST (8w6d 10:28 ago)
Protocols started: 2023-09-24 16:26:07 IST (8w6d 10:22 ago)
Last configured: 2023-11-25 10:40:26 IST (16:08:13 ago) by <User-id>
 2:48AM  up 62 days, 10:28, 2 users, load averages: 1.27, 1.26, 1.11

Modification History

2023-12-20: Font modified
2023-11-30 : Article Created