You can configure your NetScaler appliance to synchronize its local clock with a Network Time Protocol (NTP) server. This ensures that its clock has the same date and time settings as the other servers on your network. NTP uses User Datagram Protocol (UDP) port 123 as its transport layer. You have to add NTP servers in the NTP configuration file so that the appliance periodically gets updates from these servers.
If you do not have a local NTP server, you can find a list of public, open access, NTP servers at the official NTP site at http://www.ntp.org.
These entries are required only if you want to run the device as a time server. However, this feature is not supported on the NetScaler.
This entry starts the ntpd service, checks the ntp.conf file, and logs messages in the /var/log directory.
/usr/sbin/ntpd -g -c /nsconfig/ntp.conf -l /var/log/ntpd.log &
If you do not want to forcibly sync the time when there is a large difference, you can set the date manually and then start ntpd again. You can check the time difference between the appliance and the time server by running the following command in the shell:
ntpdate -q <IP address or domain name of the NTP server>
/usr/sbin/ntpd -c /nsconfig/ntp.conf -l /var/log/ ntpd.log &