- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to automate automic clock sync.
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
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
05-01-2002 12:25 PM
05-01-2002 12:25 PM
How to automate automic clock sync.
We need a way to automate this in a script and be able to set the clock backwards, if necessary, without having to answer any prompts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 12:31 PM
05-01-2002 12:31 PM
Re: How to automate automic clock sync.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 12:33 PM
05-01-2002 12:33 PM
Re: How to automate automic clock sync.
man xntpd
also and look at
/etc/ntp.conf
/etc/rc.config.d/netdaemons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 12:34 PM
05-01-2002 12:34 PM
Re: How to automate automic clock sync.
You should establish 'ntp' and syncrhonize to an external clock or if that is not possible to one of your own local servers. This is quite simple. The procedure is well described here (in chapter-7 of "Installing and Administering Internet Services"):
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
For a good source of external servers, see:
http://www.eecis.udel.edu/~mills/ntp/clock1.htm
The US Naval Observatory ones are very good candidates.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 12:36 PM
05-01-2002 12:36 PM
Re: How to automate automic clock sync.
You like to take a look at NTP . It is simple to install and here you can create a group of servers which can be adjusted with a standard time source ( external or internal ) .
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90741/B2355-90741_top.html&con=/hpux/onlinedocs/B2355-90741/00/00/67-con.html&toc=/hpux/onlinedocs/B2355-90741/00/00/67-toc.html&searchterms=ntp&queryid=20020501-134411
is a good source for the same.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 12:38 PM
05-01-2002 12:38 PM
Re: How to automate automic clock sync.
NTP Server
----------
o Edit "netdaemons" config file :-
# vi /etc/rc.config.d/netdaemons
....
export XNTPD=1
....
o Check to make sure timezone is correct (file /etc/TIMEZONE).
o Edit /etc/ntp.conf
# vi /etc/ntp.conf
server 127.127.1.1 # Psuedo IP identifies this system as time source
fudge 127.127.1.1 stratum 10 # Stratum 10 means it's not a reliable time source
o Start NTP
# /sbin/init.d/xntpd start
o Check asociation
# /usr/sbin/ntpq -p
NTP Clients
-----------
o The clients which is on the same subnet would have this in their ntp.conf file.
broadcastclient yes
driftfile /etc/ntp.drift
o Touch /etc/ntp.drift file
# touch /etc/ntp.drift
o Run "ntpq" to check status ..
# /usr/sbin/ntpq -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 07:10 PM
05-01-2002 07:10 PM
Re: How to automate automic clock sync.
Use ntpq to query the NTP servers. If it works, the server is visible:
ntpq -p time-nw.nist.gov
Bill Hassell, sysadmin