move CVM to GMT?

  • 16 April 2015
  • 4 replies

Badge +3
Any thoughts about moving the CVM to a non-daylight saving timezone We typically use the GMT timezone of Atlantic/Reykjavik.

4 replies

Userlevel 2
Badge +10
You can change the timezone withthe following command:
ncli cluster set-timezone timezone=cluster_timezone**Replace cluster_timezone with the timezone of the cluster, timezones are defined in /usr/share/zoneinfo (for example, America/Los_Angeles, Europe/London, Asia/Tokyo).
Badge +3
Hi, Thanks for the reply. If i make this adjustment, will all future nodes added to the cluster inherit this timezone setting automatically?
Userlevel 2
Badge +10
In NOS, zookeeper should enforce the CVM to acquire the timezone when a new node is added.
I am not sure it does not in previous versions, so a cluster could be running with CVMs in different timezones, but as long as the epoch time matches there is no problem in functionality. NCC will display a Warning if this condition is found.
Userlevel 4
Badge +18
Adding to f3rm1n post, I have observed that upgrade of NOS on CVM resets the timezone.