Citrix NetScaler Administration Guide

6.If the /nsconfig directory does not contain a file named rc.netscaler, create the file.

7.Add the following entry to /nsconfig/rc.netscaler:

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

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.

8.Reboot the NetScaler to enable clock synchronization.

Note:

If you want to start the time synchronization process without restarting the NetScaler, run the following command from the shell prompt:

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

Viewing the System Date and Time

To change the system date and time, you must use the shell interface to the underlying FreeBSD OS. However, to view the system date and time, you can use the NetScaler command line or the configuration utility.

To view the system date and time by using the NetScaler command line

At the NetScaler command prompt, type:

show ns config

Example

> show ns config

NetScaler IP: 10.102.29.170 (mask: 255.255.255.0)

Number of MappedIP(s): 6

Node: Standalone

Global configuration settings:

HTTP port(s):

(none)

Max connections:

0

Max requests per connection:

0

Client IP insertion:

DISABLED

Cookie version:

0

Persistence Cookie Secure Flag:

ENABLED

Min Path MTU:

576

Path MTU entry timeout:

10

FTP Port Range:

0

CR Port Range:

0

Timezone:

GMT+05:30-

129

Page 129
Image 129
Citrix Systems CITRIX NETSCALER 9.3 manual Viewing the System Date and Time, Show ns config Example