Operating System - HP-UX
1847848 Members
2689 Online
104021 Solutions
New Discussion

Re: date/time syncing on workstations with server

 
SOLVED
Go to solution
Stacey Lyons
Occasional Contributor

date/time syncing on workstations with server

Is there a cut and dry way to implement date/time syncing on workstations with a server a) upon boot up and b)every hour after that?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: date/time syncing on workstations with server

Hi Stacey:

I'd simply setup 'xntpd' (usually known simply as NTP -- Network Time Protoco)l. A very good guide to this is found in chapter-7 of "Installing and Administering Internet Services":

http://docs.hp.com/hpux/onlinedocs/B2355-90147/B2355-90147.html

Regards!

...JRF...


melvyn burnard
Honored Contributor

Re: date/time syncing on workstations with server

yes, use ntp
man xntpd for more info

Also documented in the manuals at:
http://docs.hp.com
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Marcin Wicinski
Trusted Contributor

Re: date/time syncing on workstations with server

Hi,

Simple ntp config guide:

1. sync to an external clock on the net, this is the simplest way. All you need to do is add the entry
server
to the file /etc/ntp.conf (copy the example file /etc/ntp.conf.example to /etc/ntp.conf first then edit it)
Then start the xntpd deamon by editing /etc/rc.config.d/netdaemons and changing the parameter
export XNTPD=1
then start it with; /sbin/init.d/xntpd start

2. Sync one of your MC/SG nodes to itself, then sync the other to this node, then set them up as peers. This is a bit more complicated than the above. If you cant sync to an internet clock then I can send you the config files to do this (the /etc/ntp.conf files for both nodes).

You can read more about ntp on the man page for xntpd.

Later,
Marcin Wicinski