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.
You can configure clock synchronization on your appliance by adding NTP server entries to the ntp.conf file from either the configuration utility or the command line interface, or by manually modifying the ntp.conf file and then starting the NTP daemon (NTPD). The clock synchronization configuration does not change if the appliance is restarted, upgraded, or downgraded. However, the configuration does not get propagated to the secondary NetScaler in a high availability setup.
At the command prompt, type the following commands to add an NTP server and verify the configuration:
> add ntp server 10.102.29.30 -minpoll 6 -maxpoll 11
At the command prompt, type one of the following commands:
You can configure clock synchronization manually by logging on to the NetScaler appliance and editing the ntp.conf file.
server <IP address for NTP server> iburst
restrict <IP address for NTP server> mask <netmask> nomodify notrap nopeer noquery
Note: For security reasons, there should be a corresponding restrict entry for each server entry.
In the following example, an administrator has inserted # characters to “comment out” an existing NTP entry, and then added a new entry:
#server 22.214.171.124 iburst
#restrict 126.96.36.199 mask 255.255.255.255 nomodify notrap nopeer noquery
server 10.102.29.160 iburst
restrict 10.102.29.160 mask 255.255.255.255 nomodify notrap nopeer noquery
5. If the /nsconfig directory does not contain a file named rc.netscaler, create the file.
6. Add the following entry to /nsconfig/rc.netscaler: /bin/sh /etc/ntpd_ctl full_start
This entry starts the ntpd service, checks the ntp.conf file, and logs messages in the /var/log directory.
This process runs every time the NetScaler is restarted.
7. Restart the NetScaler appliance to enable clock synchronization. Or, to start the time synchronization process without restarting the appliance, enter the following commands at the shell prompt: