Setting up timeserver

Hi All,

I have 2 AIX Servers 5.2 @ 2 different sites, namely Server A & B. I would like to set Server A as the master time server and B as the client. It is possible through LAN but now i have difficulty implementing it through WAN.

Appreciate if AIX's guru's can lend a helping hand to me.

Thanx

I really need more information about the problems you have through a WAN link. Because if it worked over a LAN it will work over a WAN as long as the NTP client knows where the NTP server actually is. What is in the middle? A router perhaps?

yup, there's a router in the middle. A simple structure is Svr A (10.0.0.1) <--> (NAT IP) <--> router (WAN) <--> (NAT IP) <--> Svr B (192.0.0.1). When i Ping using the hostname, it replied.

  1. I've started # startsrc -s xntpd (on both Svr)
  2. I've started # startsrc -s timed -a "-M" on the client server
  3. Edited ntp.conf -- put in timeserver Svr A

thats about it of what i've done.

Thanx in advance

Have you port forwarding set up on the router to pass data on the NTP port 123? It might be the problem but I am not sure that it is!

all the port in the router had been opened. It's kinda of a straight forward router without no rules or restrictions. Whenever i issue command from client Svr B # setclock A. The result would be connect : a remote host did not respond within the timeout period .

I have just had another look at you reply and noticed you have both xntpd and timed running. You do not need both so stop timed. On you ntp server where is it getting its sync time from? Or are you just concerned with a time syncd network? Could you also send me a copy of the conf files from both machines, that is ntp.conf, ntp.drift, and if there is anything in ntp.trace that as well. Please send them to johnf@caltec.co.uk and I will have a look at them.