NTP Sync and Time Zone Information Not Correct on NetScaler SVM

NTP Sync and Time Zone Information Not Correct on NetScaler SVM

book

Article ID: CTX214715

calendar_today

Updated On:

Description

NTP sync does not work and zone information never gets changed on NetScaler SVM.

Resolution

1) To verify and make sure the NTP sync from SVM works, we made the following changes. 
• Adding a NTP server (restarts the ntpd service)
• Enabling the NTP synchronization (restarts the ntpd service)

2) We manually started the ntpd service:
root@netscaler-sdx ~]# service ntpd restart 
Shutting down ntpd: [ OK ] 
ntpd: Synchronizing with time server: [ OK ] 
Starting ntpd: [ OK ] 

After this change we observed that SVM is showing the correct time. 

3) On looking at the XenServer we observed that it is shows a different time zone. We proceeded with the following approach 
#rm –rf /etc/localtime 
root@netscaler-sdx ~]# ln -s /usr/share/zoneinfo/Australia/Perth /etc/localtime 

After this change we observed that XenServer was showing PDT. 
On further investigation of zoneinfo file we could see that Perth was having PDT mentioned. Since we were not able to copy the zoneinfo file from outside we decided to link the zoneinfo of Singapore which follows the same timezone of the localtime file. 
root@netscaler-sdx ~]# ln -s /usr/share/zoneinfo/Singapore /etc/localtime

Permanent fix will be a XenServer upgrade


Problem Cause

The zoneinfo file is corrupted.

Issue/Introduction

NTP sync does not work and zone information never gets changed on NetScaler SVM.