Feb 27 2017

Set Nutanix AHV Timezone

A question I have received multiple times since Nutanix released their hypervisor AHV, formerly known as Acropolis Hypervisor, is how to set correct time zone.
I have already covered how to set correct time zone for the Nutanix Controller Virtual Machine (CVM) and the Nutanix Cluster in the Create & Configure Nutanix Cluster via command line blog post.

There is a Nutanix KB, Number 3849 that covers the steps to set AHV time zone so either read the KB, published 1 month ago, or follow the below steps where i take advantage of the newly, from AOS 5.0, CVM command hostssh.

  • Verify exiting AHV time zone configuration by running the below command from any CVM in the Nutanix cluster
    • hostssh date
  • Find the time zone of your choice by list the available once via the below command from any CVM in the Nutanix Cluster
    • ssh root@ ls -l /usr/share/zoneinfo

      As you can see there are both files which you can use and directories/folders where you can get additional time zone configuration options.
  • I use the below command syntax to configure AHV time zone and in the below example I’ll set it to Europe -> Stockholm
  • The command form the previous step will give you an output similar to the below so just verify the time and time zone is correct and you’re good to go.

If you want to verify the linux symlink you can run the below command from any CVM in the Nutanix cluster

  • The expected output from the above command is something similar to the below (depends on the your time zone configuration)


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">