- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- daylight saving time & NTP
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
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-19-2009 11:47 PM
тАО05-19-2009 11:47 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2009 11:55 PM
тАО05-19-2009 11:55 PM
Re: daylight saving time & NTP
just reconfigure the NTP server if it is locally configured to synchronize from localhost clock.
this will reflect in all clients.
thanks
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 12:12 AM
тАО05-20-2009 12:12 AM
Re: daylight saving time & NTP
NTP works on UTC so it doesn't care about DST.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 12:58 AM
тАО05-20-2009 12:58 AM
SolutionEach computer that uses NTP time synchronization *must* have correct timezone and DST settings locally, otherwise NTP won't work as designed.
In HP-UX, this means the TZ environment variable (from /etc/TIMEZONE) must be set to a value that has a DST specifier, and /usr/lib/tztab must have the correct DST definition for that timezone value. /usr/lib/tztab is a simple text file: you can read it to find out the choices.
If the correct definition does not exist yet in your /usr/lib/tztab, you can wait for HP to provide patches (for supported HP-UX versions) or edit the file yourself: the format description is available with the "man tztab" command.
It is also possible (although inconvenient) to include the entire timezone+DST specification in the TZ environment variable: please see the TZ variable description in "man environ".
Most Unix programs always convert all time values internally to Unix timestamps, which are based on UTC. The timestamp is then converted back to human-readable form on output. If a program works like this, the DST time shift is not an issue for it: the timestamps will always be consistent and non-ambiguous.
When it's time to add or remove one hour because of DST, it only affects the translation between the machine-readable timestamps and human-readable time values, nothing else. This allows the programs to run uninterrupted with no need for special handling for DST.
The Unix system clock runs internally in UTC time: it is *not* supposed to add or remove hours because of DST.
Trying to handle DST by manipulating the system clock instead of providing correct timezone+DST definitions is not recommended, as it requires all time-sensitive applications to be shut down for DST transitions.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2009 07:05 PM
тАО05-24-2009 07:05 PM
Re: daylight saving time & NTP
Thanks for the ellaborate info. I have 20 server that takes time from the NTP server. I guess, i have to change time zone info in all 20 servers then. I though there was some mechanism in ntp server itself to reflect the time shifting in all client machines.
Anyway thanks again guys for your answere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2009 07:10 PM
тАО05-24-2009 07:10 PM
Re: daylight saving time & NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2009 09:24 PM
тАО05-24-2009 09:24 PM
Re: daylight saving time & NTP
You have to change tztab(4) and TZ if this is a new timezone.
>Maybe sometime in near future HP will give a patch to include BST (Bangladesh Standard Time) and to reflect daylight saving mode.
Has your company made a specific request to HP to add this enhancement?
Do you have an official URL where the date AND time of the transitions are listed?