How to change the date, time, or time zone of a vApp-based vRealize Operations Manager node
search cancel

How to change the date, time, or time zone of a vApp-based vRealize Operations Manager node

book

Article ID: 324901

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

In a vRealize Operations Manager vApp-based cluster, you want to change the system date, time, or time zone of a node after vRealize Operations Manager has been installed and configured. All cluster nodes should use the same settings.

Note: If the cluster communicates with a valid NTP server, the settings supplied by the NTP server overwrite your changes.

Environment

VMware vRealize Operations Manager 6.0.x

Resolution

To change the date, time, or time zone, follow these steps.
  1. Use the vRealize Operations Manager administrator interface to take the node offline.
  2. Log in to the console of each node in the vRealize Operations Manager cluster.
  3. Determine the time zone that was selected during installation by entering the following command.
    grep "vamitimezone" /opt/vmware/etc/vami/ovfEnv.xml
  4. If the time zone needs to be different, determine what time zones are available by browsing the /usr/share/zoneinfo/ directory and subdirectories.
    ls /usr/share/zoneinfo/
    ls /usr/share/zoneinfo/America/

    The directories might reveal an available time zone such as the following example:
    America/Los_Angeles
  5. Set the new time zone by running the following command. Substitute a time zone that you found when browsing the directories, for example:
    /opt/vmware/share/vami/vami_set_timezone_cmd America/Los_Angeles
  6. Restart the node.
  7. Update the date and time by running the hwclock command.
    For example, set the date and time to December 31 2015 6:00 PM by running the following commands:
    hwclock --set --date="12/31/2015 18:00:00"
    hwclock --hctosys
    date # Used to verify the time was correctly set
  8. Restart the node.
  9. Use the vRealize Operations Manager administrator interface to bring the node online.

Additional Information

For translated versions of this article, see: