EBS to Cloud: Change Compute Classic instance Timezone

Hi Everyone!

I was encountering the timezone problem on  Compute Classic Instance. It was showing UTC timezone by default.

[opc@ovaqlofincmgr2 ~]$ sudo su -
[root@ovaqlofincmgr2 ~]# date
Fri Jan 19 22:05:57 UTC 2018


[root@ovaqlofincmgr2 ~]# unlink /etc/localtime
[root@ovaqlofincmgr2 ~]# ln -s /usr/share/zoneinfo/America/Phoenix  /etc/localtime
[root@ovaqlofincmgr2 ~]#

[root@ovaqlofincmgr2 ~]# date
Fri Jan 19 15:05:57 MST 2018
[root@ovaqlofincmgr2 ~]#


In order to change that I have logged in as root to the concurrent manager server as OPC user and ran few commands. Voila!! It started showing Phoenix timezone. 

These steps should be applicable for both IaaS and Paas.

This was not requiring any server shutdown. Change was quick and immediate. Let us meet in another Cloud article. 

1 comment:

Suresh Lakshmanan said...

MOS note "Correcting The Timezone on an Oracle Linux Based IaaS or PaaS Instance (Doc ID 2198208.1)" gives the steps to do the timezone on IaaS and Paas.