- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: local time
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
Forums
Discussions
Discussions
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
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
04-05-2004 02:44 AM
04-05-2004 02:44 AM
all my HP-UX mashines. A few days ago our
time was changed 1 hour low. So I have changed a time with "date" on my mashines.
So today 2-3 of them was changed his own time
by itselves. Other mashines keep their time. So I need again to re-change time. Please help me to control local time.
My Time Zone is GMT+2.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 02:51 AM
04-05-2004 02:51 AM
Re: local time
Have you tried setting up NTP to do this.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/58-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/58-toc.html&searchterms=NTP&queryid=20040405-085110
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:02 AM
04-05-2004 03:02 AM
Re: local time
make sure to have al systems with timezone set correctly:
# echo $TZ
EET-2EETDST
# cat /etc/TIMEZONE
TZ=EET-2EETDST
export TZ
After that you can set the same time on systems as Sanjay suggested, that is NTP.
HTH.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:04 AM
04-05-2004 03:04 AM
Re: local time
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=500591
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:15 AM
04-05-2004 03:15 AM
Solution1) Use NTP to synchronize the UTC times among all the boxes (as well as the rest of the world). Read the NTP_Primer.txt in /usr/share/doc; it will take you through the entire setup process.
2) You have different timeszone settings (or different /usr/lib/tztab settings. Make sure that /etc/TIMEZONE are the same and make sure that the entries in /usr/lib/tztab for your timezone is the same across all machines.
You should also note that the machine really has no concept of timezones -- all of them simply count seconds since Jan 1, 1970. NTP's job is to keep that second count accurate and consistant. NTP can do that easily to a few milliseconds but the TZ setting could be specific to a given user. It's not unusual to have several TZ settings in effect on the same machine. After all, users could be logging in to the same machine from all over the world. TZ only effects how the time is displayed; not how it is stored internally.