- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: time change
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 03:30 AM
тАО05-23-2008 03:30 AM
time change
I have a lot of hp9000 running hpux 11.11 & 11.23 situated in Morroco.
We have concerned by the change of summer timme at 1st June 00:00 to 01:00.
What do you suggest me :change the system time or just the timezone(TZ=WAT0).(Note that tztab is not updated for Morroco).
Other question:What is the impact on the running processes(database and applications)during the modification.Shall we stop all processes before change?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 03:56 AM
тАО05-23-2008 03:56 AM
Re: time change
Do not change your system time. Use an appropriate TZ (timezone) setting as defined in '/usr/lib/tztab'.
In addition, implement NTP to synchronize yuor server's with a reliable external time source.
NTP works in UTC (GMT). Time always advances. It is your definition of *local* time that can change --- the positive or negative offset from UTC. This is what the 'TZ' variable is designed to do based on the rules defined in '/usr/lib/tztab'. See the manpages for 'tztab(4)' and for 'cron' [particularly the section titled "Spring and Autumn Time Transitions"].
For example:
# TZ=UTC date
Wed May 23 11:55:53 UTC 2008
# TZ=EST5EDT date
Wed May 23 07:55:55 EDT 2008
# TZ=EST-10EDT date
Wed May 23 21:55:58 EST 2008
Thus, every process could have its own idea of what constitutes the correct time. Do *not* increment or decrement the real time on your server without stopping critical processes like databases!
Moving time forward is generally benign. Moving time backwards can cause havoc with a database.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 04:15 AM
тАО05-23-2008 04:15 AM
Re: time change
I understand that we must stop all process before change.
I don't use Ntp and i want to automate the change on all servers by using the file tztab,here is the lines added for testing:
WAT0WATDST
47 14 22 5 2002-2040 4 WATDST-1
59 8 18-25 5 2008 5 WAT0
and TZ=WAT0WATDST in /etc/TIMEZONE.
the first line works fine,but when i want to go back the second line doesn't work.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 04:40 AM
тАО05-23-2008 04:40 AM
Re: time change
Either your post scrambed something or your 'tzlib' format is wrong. Please re-examine the 'tzlib' manpages and/or the '/usr/lib/tztab' file.
Once you have correctly modified the file, you should plan a reboot sometime before the new rules will apply. In this way, all processes will have a chance to read and cache the new rules.
If I recall correctly, once you have modified your 'tztab' any application of a standard 'tzlib' patch wiht 'swinstall' will *not* overlay your version, but rather leave the new version in the ' /usr/newconfig/etc' directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 04:58 AM
тАО05-23-2008 04:58 AM
Re: time change
WAT0WATDST
47 14 22 5 2002-2040 4 WATDST-1
59 08 18-25 5 2008 5 WAT0
>and TZ=WAT0WATDST in /etc/TIMEZONE.
>the first line works fine, but when i want to go back the second line doesn't work.
These transition times are sure odd. Do you have a link to some official document that mentions the exact times of the changes?
Friday May 22 at 14:47 on 2002 thru 2040.
(This is wrong.)
Stop on Sat May 18-25 at 0859 only in 2008.
This range is also wrong.
This is full of undocumented format errors. See:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1225597
You should also test this with Clay's dst.pl script:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1231438
>JRF: Either your post scrambled something or your tztab format is wrong. Please re-examine the tztab manpages and/or the /usr/lib/tztab file.
It doesn't look too scrambled, just hard to read and incorrect. Unfortunately tztab(4) doesn't have enough info.
>once you have modified your tztab any application of a standard tztab patch with swinstall will *not* overlay your version, but rather leave the new version in the /usr/newconfig/etc directory.
Right, see:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1214435
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2008 08:12 AM
тАО05-23-2008 08:12 AM
Re: time change
I'll try to correct the entry in tztab file
best regards