This article describes how to manually set the time on a NetScaler appliance if the date command does not work.
To change the time on a NetScaler appliance, use the date command with the +val (value) parameter followed by the full date and time.
date +val YYMMDDHHMM
where:
YY = Year
MM = Month
DD = Day
HH = Hour
MM = Minutes
Complete the following steps to manually set the time on a NetScaler appliance:
Switch to the shell prompt in the command line interface of the appliance:
> shell root@ns#
The following command is an example. In this scenario the NetScaler appliance must be set to 10:13 am on May 22, 2009. If the command is entered correctly, "val" will be displayed.
root@ns# date +val 0905221013 val
Enter the date command to verify the date and time. The current date and time is then displayed.
root@ns# date Fri May 22 10:13:02 EDT 2009