Operating System - HP-UX
1748122 Members
3461 Online
108758 Solutions
New Discussion юеВ

Re: NTP server as windows XP and HPUX machien client

 
saqi
Advisor

NTP server as windows XP and HPUX machien client

Dear All,
I have one problem, I want to configure NTP server on windows XP or some windows machine. And my unix machines would be clients. Two of my HPUX machines are running in cluster. Please help.

Thanking you in advance.

Saqi!
7 REPLIES 7
Bharat Katkar
Honored Contributor

Re: NTP server as windows XP and HPUX machien client

Hi Saqi,
I haven't worked on NTP but see if the thread below helps.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=550229

Regards,
You need to know a lot to actually know how little you know
saqi
Advisor

Re: NTP server as windows XP and HPUX machien client

Katkar,
That thread don't fulfill my requirement. Any one else please help me.

Saqi.
Bill Hassell
Honored Contributor

Re: NTP server as windows XP and HPUX machien client

First, see if the Windows box is running a compatible NTP service *and* will allow your HP-UX system to obtain the time:

ntpq -p winXP_name

If you get a response that shows the WinXP's source for it's timesync, then that box is ready to be used as an NTP source. Edit the file: /etc/ntp.conf (which is full of comments). Put the WinXP's name (or IP) address in this file. This document will help understand NTP:

http://docs.hp.com/en/B2355-90147/ch07s01.html?btnPrev=%AB%A0prev

Then edit the file: /etc/rc.config.d/netdaemons to turn on NTP and also specify the name or IP address of the default NTP server (used as the system boots up). Then start xntpd with:

/sbin/init.d/xntpd start

and check syslog for NTP status messages.


Bill Hassell, sysadmin
Brian Miller_9
Occasional Advisor

Re: NTP server as windows XP and HPUX machien client

Windows doesn't actually implement the NTP protocol in its servers. It implements SNTP (simple NTP). If you want to use Windows as your NTP servers for HP-UX, you'll need to purchase a 3rd party NTP program.

Christen C. Lofland
New Member

Re: NTP server as windows XP and HPUX machien client

Do what Bill Hassell said. Try it. I sync time on my Linux boxes using Windows servers all the time.

As for getting XP to be a time server, Google for "windows xp ntp server" I found several good articles. I could post them and give advice, but I think that would belong in an XP forum.
Florian Heigl (new acc)
Honored Contributor

Re: NTP server as windows XP and HPUX machien client

Windows' NTP server is a minimal implementation, actually SNTP, it's only used for time syncronisation to the level Kerberos needs.

You will have to get an implemention of NTPv4 for windows, if You really want to go this route.

otoh You can still try it.

have a look at the registry setting at:
http://www.gude.info/english/main-windows-ntp.htm

(they also offer quite good ntp-timesources, i.e. GPS based ones with very good timekeeping functions)
yesterday I stood at the edge. Today I'm one step ahead.
Bill Thorsteinson
Honored Contributor

Re: NTP server as windows XP and HPUX machien client

Windows NTP implementation only check the
time 3 times a day according to the
information I have.

If you are running a cluster you want a good
time source. You may also want to peer
the HPUX machines, and use the same
server(s) for both.

Being an ntp server has a very low overhead.
On a low powered machine it runs a couple of
minutes a week, including client overhead.
I would recommend using one or three of
your UNIX servers (HPUX, linux, or other) as
server. Dedicate an old 486 running linux
if you have to. A base Debiain install with
ntp-server should do it.

You may already have some good time sources.
I find routers often offer NTP services, as
do DNS servers.