I am facing an issue of large offset coming from my GPS clock.
I am syncing RHEL 6.3 server by GPS clock through ntpd
service. I have too servers of same type and both are syncing independently to the GPS Clock.
> ntpstat
of server 1 gives,
Synchronised to unspecified at stratum 15
time correct to within 145 ms.
> ntpstat
of server 2 gives,
Unsynchronised
polling server every 16 s
> ntpq -p
of server 1 gives
Reach Delay offset Jitter
377 2.644 14654.6 2060.24
> ntpq -p
of server 2 gives,
Reach Delay offset Jitter
377 2.424 9732.48 3131.24
Ping -c 25
server1 gives,
25 packets transmitted, 25 received, 0% loss, time 24026 ms
rtt min/avg/max/mdev = 1.356/1.860/2.530/0.325 ms
Ping -c 25
server2 gives,
25 packets transmitted, 25 received, 0% loss, time 24002 ms
rtt min/avg/max/mdev = 1.428/1.969/2.525/0.325 ms
Checked and found that ntp.conf
file for identical for both the server.
Drift for server 1 is,
428.51
Drift for server 2 is,
456.592
After 15 mins when i check the same parameter, I found the following.
> ntpq -p
of server 1 gives
Reach Delay offset Jitter
377 2.917 30381.8 3489.88
> ntpq -p
of server 2 gives,
Reach Delay offset Jitter
377 2.729 28423.7 1746.90
> ntpstat
of server 1 gives,
Synchronised to unspecified at stratum 15
time correct to within 165 ms.
> ntpstat
of server 2 gives,
Unsynchronised
polling server every 16 s
I also found that there is a difference of 50 seconds between Linux system clock and GPS time in server 1 and 2.
I have run ntpdate -d
(GPS Clock IP) and stop the NTPD service.
Run,
> hwclock -S
in RHEL system and restarted NTPD service hoping that it will decrease the time between source and synch and NTPD will be able to adjust the time now.But unfortunately offset and jitter in increasing and RHEL servers' time lag increases w.r.t time.
I am finding difficult to understand the above happenings.Can somebody suggest how to troubleshoot the issue?