Contact Support

Customers who viewed this article also viewed

banner icon

Identify Changes in NetScaler build files with

File Integrity Monitoring

Learn More Watch Video
CTX205005 {{tooltipText}}

NetScaler : How to change Timezones on the NetScaler using CLI

Applicable Products

  • NetScaler

Objective

By default, Time zone of NetScaler is GMT (Greenwich MeanTime). This can be modified to the local time zone for the ease of NetScaler admin.




Instructions

1 . To check the time zone of the NetScaler, run the command "date" under shell :

root@NETSCALER90# date
Wed Dec 30 06:48:57 GMT 2015

Please notice that the above output shows the time zone is "GMT"

2. To find the list of all the geographical locations as per the local zone, run the command :

root@NETSCALER90# cd /usr/share/zoneinfo/
root@NETSCALER90# ls -l
drwxr-xr-x 2 root wheel 1024 Jul 14 19:14 Africa
drwxr-xr-x 6 root wheel 2560 Jul 14 19:14 America
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 Antarctica
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 Arctic
drwxr-xr-x 2 root wheel 1536 Jul 14 19:14 Asia
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 Atlantic
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 Australia
-r--r--r-- 1 root wheel 2102 Jul 14 19:14 CET
-r--r--r-- 1 root wheel 2294 Jul 14 19:14 CST6CDT
-r--r--r-- 1 root wheel 1876 Jul 14 19:14 EET
-r--r--r-- 1 root wheel 118 Jul 14 19:14 EST
-r--r--r-- 1 root wheel 2294 Jul 14 19:14 EST5EDT
drwxr-xr-x 2 root wheel 1024 Jul 14 19:14 Etc
drwxr-xr-x 2根轮1536年7月14日19:14欧洲
-r--r--r-- 1 root wheel 255 Jul 14 19:14 Factory
-r--r--r-- 6 root wheel 118 Jul 14 19:14 GMT
-r--r--r-- 1 root wheel 119 Jul 14 19:14 HST
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 Indian
-r--r--r-- 1 root wheel 2102 Jul 14 19:14 MET
-r--r--r-- 1 root wheel 118 Jul 14 19:14 MST
-r--r--r-- 1 root wheel 2294 Jul 14 19:14 MST7MDT
-r--r--r-- 1 root wheel 2294 Jul 14 19:14 PST8PDT
drwxr-xr-x 2 root wheel 1024 Jul 14 19:14 Pacific
drwxr-xr-x 2 root wheel 512 Jul 14 19:14 SystemV
-r--r--r-- 1 root wheel 1873 Jul 14 19:14 WET
-r--r--r-- 2 root wheel 3519 Jul 14 19:14 posixrules
-r--r--r-- 1 root wheel 20043 Jul 14 19:14 zone.tab

3. To change the Zone from GMT to IST, copy the zoneinfo to /etc/localtime :
root@NETSCALER90# cp /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

4. Check the updated zone of the NetScaler appliance, running the "date" command under shell :

root@NETSCALER90# date
Wed Dec 30 12:19:21 IST 2015

Note :
Likewise, Time Zone of NetScaler can be changed from any zone to any other time zone.


Additional Resources

https://support.citrix.com/article/CTX120666

Share this page