Operating System - HP-UX
1833461 Members
2847 Online
110052 Solutions
New Discussion

Re: Impact of Timezone change in HPUX 11.23.

 
hpuxadm1
Occasional Advisor

Impact of Timezone change in HPUX 11.23.

Hello All ,
Currently server is running with METDST Timezone. Below is the output from date command"-

Fri Oct 22 11:30:51 METDST 2010

enrty from /etc/TIMEZONE :-

TZ=MET-1METDST
export TZ

I need to change it to CEST ..

CAn it have any impact on runnig applications .
Also can you suggest procedure for same ?

6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Impact of Timezone change in HPUX 11.23.

I honestly don't know if there would be consequences but I fear there might be. I would stop running applications, particularly database apps. To change the TZ, I would run "/sbin/setparms timezone", which will ask you to reboot once it finishes - another hint that applications need to be stopped/started.


Pete

Pete
likid0
Honored Contributor

Re: Impact of Timezone change in HPUX 11.23.

Hi,

As Pete says, the couple of times I have to change the time zone, I have stopped all the running applications, and changed it with the set_parms command and gave it a reboot.

Windows?, no thanks
Dennis Handly
Acclaimed Contributor

Re: Impact of Timezone change in HPUX 11.23.

>I need to change it to CEST.
>Can it have any impact on running applications? Also can you suggest procedure for same?

I would go ahead and change the file.
When do you need to have the changes be effective? Long running processes will not see the changes until they are restarted or you reboot.
vishnu.khandare
Respected Contributor

Re: Impact of Timezone change in HPUX 11.23.

Hi,

Yes U can go ahead to change the timezone by changing it in file.
Yes its having impact on running application.
Before u change u should stop application.
n start after changing timezone.

Procedure to change the timezone, u can change in file or by set_parms timezone it will ask for reboot for active the changes.

Hope this solves ur qery.
Don't forget to assign points.

Regards
Vishnu Khandare

You should deserve before U desire!!!!
SoorajCleris
Honored Contributor

Re: Impact of Timezone change in HPUX 11.23.

Hi,

As everyone suggested you may change that using set_parms or in file.
ofcourse your application/datebase should be stopped. (safe methode)

This will change your current time, according to timezone.

Just check your cron jobs will not be effected by this.

Regards,
Sooraj

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Satish Chalapati
New Member

Re: Impact of Timezone change in HPUX 11.23.

You have to take care of crontab as well. In one of the date change cases i forgot cron and resulted in some issues.