Operating System - HP-UX
1844813 Members
1890 Online
110233 Solutions
New Discussion

Using a time server with HP UX

 
Juan Ocasio
Advisor

Using a time server with HP UX

Hey all:

Is there a way to have my HP UX system (v11.00) retrieve it's time from my Win 2K time server?

Thanks

Juan
4 REPLIES 4
John Poff
Honored Contributor

Re: Using a time server with HP UX

Hi,

Sure. It's how we do it here. Just setup xntpd to run and edit your /etc/ntp.conf file to point to your time server. As long as the Windows box does the correct time protocol your HP-UX box won't really care what is running the time server. We've been doing it that way here for several years and it works fine.

JP
Sridhar Bhaskarla
Honored Contributor

Re: Using a time server with HP UX

Hi Juan,

Just setup NTP server on your win2k machine and point the ntp server to win2k on your HP system.

You may have to purchase the software for win2k though.

The config files for NTP on HP are /etc/rc.config.d/netdaemons and /etc/ntp.conf. Once you modify netdamones, start ntp with the command /sbin/init.d/xntpd start and it should start sync'ing up from the winnt server based on configuration in /etc/ntp.conf

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Hassell
Honored Contributor

Re: Using a time server with HP UX

Use SAM to enable NTP (Network Time Protocol). This ASSUMES that your Win2k system is running NTP and not just the Windows domain timekeeping (see http://www.boulder.nist.gov/timefreq/service/pdf/win2000xp.pdf ). See if your Win2k server is runniung NTP and will let you connect:

ntpq -p

If it works OK, just use SAM to enable NTP to sync to the Win2k server.


Bill Hassell, sysadmin
Steven E. Protter
Exalted Contributor

Re: Using a time server with HP UX

Windows NT server's time protocol does not comply with Unix ntp standards.

It simply will not work with Unix.

Beyond that, Windows 2000 and up is better, but there is an ntp add in program that works well with that platform.

http://www.five-ten-sg.com/util/ntp4172.zip

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com