1826861 Members
3008 Online
109705 Solutions
New Discussion

Clock Change

 
SOLVED
Go to solution
AL_3001
Regular Advisor

Clock Change

Hello Friends,
What all needs to be taken into consideration before the clock change. We will be stopping the sap and oracle prior to the change. Also, ntp is not running on one of the servers, how to start it. Are we required to make change to the /etc/ntp.conf file. In short, im not clear about NTP. Kindly help with your inputs. Thanks
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: Clock Change

What clock change? Something for DST?
You don't need to do anything, it's automatic, unless you installed a new tztab patch.
Scp_1
Advisor

Re: Clock Change

If you want to change date or time, pls check for cronjobs at first with crontab -l and "at" jobs. Also ensure data integrity of files shared through NFS.
James R. Ferguson
Acclaimed Contributor

Re: Clock Change

Hi:

NTP works in UTC (GMT). Localtime is a +- offset from UTC defined by your TZ setting. The advancing step of epoch seconds does not change. What changes is the TZ delta that is applied to the UTC time --- a smaller or larger offset as defined by the rules of your timezone and the point in the calendar at which you are.

Configuring NTP is very straightforward:

http://docs.hp.com/en/B2355-90774/ch04.html

For time sources, I urge you to see:

http://www.pool.ntp.org/

Regards!

...JRF...
piyush mathiya
Trusted Contributor
Solution

Re: Clock Change

Hi Ashish,
First I just want to confirm that the impact of time modification.

1) It will effect the "make" command which is responsible to create time stamp of a new file creation or modification of file.

2) Cron will effect, if you rise up the time, i.e. current time is 9:00 and you are changing 9:00 to 9:30, cron will start all processes stimulatingly which is configured between this period. if you rise down the time, i.e. current time is 9:30 and you are changing 9:30 to 9:00 then it will wait for 30 minutes, all cron will not execute while it will reach to it's original time that menace 9:30.

3) it will effect an incremental backup, so if your data will depend on incremental backup then you have to take full backup again.

4) If you are using NFS, then also you will face some problem while creating files on client server.

Then also you want to change date and time then you can configure NTP by changing /etc/ntp.conf file.
Still you want more steps how to configure NTP or how to change date and time then give me acknowledges.

Regards,
Piyush Mathiya
Bill Hassell
Honored Contributor

Re: Clock Change

It's very important to understand that Daylight Saving never changes the system time kept by HP-UX. The current time in HP-UX is this command:

date -u

Since HP-UX (and Unix in general) is designed to handle virtually *ANY* timezone rules, there is nothing to do, certainly you do not need to change the system time. The only exception is where your local timezone is not listed in the file /usr/lib/tztab. What timezone are you in and what does this command show:

echo $TZ


Bill Hassell, sysadmin
Volker Borowski
Honored Contributor

Re: Clock Change

Well,

as far as SAP is concerned, there is a recomendation in a DST SAPNET-Note (#7414) to bring the system down during the switch.

So you already decided the safe way.

As far as NTP is concerned, since you do not run it, you do not need to do anything.

Make sure, that you re-login user orasid after the switch and validate the timezone (variable $TZ). Restart the oracle listener.

Make sure, that you re-login user sidadm on all applicationservers and do the same check and check the correct time in addition.
TZ and locale time reported by date should be the same on all application servers.
Then start SAP again.

Volker
AL_3001
Regular Advisor

Re: Clock Change

Thanks for your inputs.