NetScaler NTP Synchronization

Here is a brief insight on how to configure and troubleshoot NTP synchronization on NetScaler.

To add an NTP server to NetScaler navigate to System -> NTP Servers -> Add.

Open putty and type shell -> date – This confirms the current date and time on the NetScaler device.2-min

Type ntpdate -q ntpservername/ip – This queries the specified NTP server. If NTP communication (UDP 123) is blocked because of firewalls or the NetScaler cannot route to the NTP server you will get a message such as “No server suitable for synchronization found”.

1-min

If you find that your NetScaler is out of sync with one of your configured NTP servers (due to large time offset) run the following commands:

ps axfu | grep ntp (you won’t get any results if you have no servers configured under NTP in NetScaler) 3-min

kill 7943 (this is the process ID found above) 4-min

ntpdate ntpservername/ip5-min

/usr/sbin/ntpd -c /nsconfig/ntp.conf -l /var/log/ntpd.log 6-min

ps axfu | grep ntp (This confirms NTP is back up and running) 7-min

Typing date confirms the date and time is now in sync with the NTP server.8-min

You can refer to the ntpd.log file found under /var/log to view logged NTP information.9-min

10-min


One Comments

  • M. Heath Garner

    May 22, 2017

    Worked perfectly for me. Thank you

    Reply

Leave a Reply