- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- trying to syn time using ntpdate
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
тАО10-26-2003 02:43 PM
тАО10-26-2003 02:43 PM
I'm trying to used ntpdate to syn hpux 11 server's time with a workstation running on hpux 10.20. However i have noticed that there is always an hour difference even though i try to reverse the role of both the machine(hpux 11 and hpux 10.20). Is there any difference between hpux 11 and hpux 10.20. if so..how can i work around with this...
Oliver
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 03:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 03:17 PM
тАО10-26-2003 03:17 PM
Re: trying to syn time using ntpdate
thanks for the reply...just realised that hpux 10.20 is using sst-7 and the other one sst-8.. so how can i go abt making the change to make it the same..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2003 03:25 PM
тАО10-26-2003 03:25 PM
Re: trying to syn time using ntpdate
# export TZ=sst-7
or
# export TZ=sst-8
whichever is correct. With the use of the TZ (timezone) variable you are not changing the time (which is kept in UTC anyway) but just changing the way it is displayed. If you look at the time on both machines, you should see that they are in sync, except for the hour, which will change based on your TZ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 08:45 AM
тАО10-28-2003 08:45 AM
Re: trying to syn time using ntpdate
And don't forget to fix the above change in the file /etc/TIMEZONE, otherwise the change of the timezone value will not survive a reboot !
BR,
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 12:27 PM
тАО10-28-2003 12:27 PM
Re: trying to syn time using ntpdate
BTW: using ntpdate is *NOT* recommended to sync computers. It will jump the time rather than slew the time and can create missing seconds during the day. Go to http://ntp.org and Dr. David Mills will warn against this crude technique. To setup proper NTP services, add your NTP servers (always, always use 3 to 8 references for your local time server) to /etc/ntp.conf after verifying you can contact them using ntpq -p server_name. Then edit /etc/rc.config.d/netdaemons to specify the bootup ntpdate source (ntpdate on bootup is OK) and turn on XNTPD.
Bill Hassell, sysadmin