Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1586645.1
Update Date:2013-09-27
Keywords:

Solution Type  Technical Instruction Sure

Solution  1586645.1 :   How To Configure Timezone For Any Exalogic Compute Node  


Related Items
  • Exalogic Elastic Cloud X3-2 Hardware
  •  
Related Categories
  • PLA-Support>Eng Systems>Exalogic/OVCA>Oracle Exalogic>MW: Exalogic Core
  •  


how to configure the timezone for any compute node in exalogic environent, this document is generic for non-exalogic environment too.

In this Document
Goal
Solution


Created from <SR 3-7826076011>

Applies to:

Exalogic Elastic Cloud X3-2 Hardware - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

How to change the timezone of the Exalogic compute nod?

By default when the Exalogic environment is handed over to the customer from the ACS engineer. it is usually configured with East coast timings:

[root@elorl03cn01 ~]# date
Tue Sep 24 01:08:39 EDT 2013

 

Solution

 

The  time zone can be changed by following the steps below:

1) First locate the desired timezone from the available time zone /usr/share/zoneinfo.  In this example, we are trying to change the timezone of the compute node to IST.

[root@elorl03cn01 zoneinfo]# cd /usr/share/zoneinfo
[root@elorl03cn01 zoneinfo]# ls
Africa Asia Canada Cuba EST Factory GMT0 Hongkong Iran Japan Mexico Navajo Poland PRC ROK Universal W-SU
America Atlantic CET EET EST5EDT GB GMT-0 HST iso3166.tab Kwajalein Mideast NZ Portugal PST8PDT Singapore US zone.tab
Antarctica Australia Chile Egypt Etc GB-Eire GMT+0 Iceland Israel Libya MST NZ-CHAT posix right Turkey UTC Zulu
Arctic Brazil CST6CDT Eire Europe GMT Greenwich Indian Jamaica MET MST7MDT Pacific posixrules ROC UCT WET

So we have to select Calcutta under Asia directory

/usr/share/zoneinfo/Asia
[root@elorl03cn01 Asia]# ls -lrt Calcutta
-rw-r--r-- 2 root root 265 Aug 9 2010 Calcutta
[root@elorl03cn01 Asia]# pwd
/usr/share/zoneinfo/Asia

2) Take the back up of the existing configured timezone

mv /etc/localtime /etc/localtime.bakup

3) Then copy the desired time zone to localtime.

cp /usr/share/zoneinfo/Asia/Calcutta /etc/localtime

4) Then re-start the ntpd service

[root@elorl03cn01 Asia]# /etc/init.d/ntpd status
ntpd (pid 29365) is running...
[root@elorl03cn01 etc]# /etc/init.d/ntpd restart
Shutting down ntpd: [ OK ]
Starting ntpd: [ OK ]

5) Verify the timezone; it should have been changed to IST

[root@elorl03cn01 Asia]# date
Tue Sep 24 11:03:11 IST 2013

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback