=20 Hi All =20 Does anyone have implemented AIX ““Network Time Protocol”” NTP for = Server/Client time synchronization? =20 Regards Muhammad Jawaid Naz=20 Manager Systems Administration =20 Central Depository Company of Pakistan Ltd. 8th Floor, Karachi Stock Exchange Building Stock Exchange Road, Karachi 74000 =20

Thanks Eravimangalath,
It’s working now, Is there a way to change the value of ‘sanity limit’
Just curious .
Again, Thanks for all your help.

Regards,
Victory

Hi Eravimangalath,

I did try the following command :
stopsrc -s xntpd
ntpdate

Thanks for the information, I did ‘ntpq -p’ continuously and saw that
the ‘when’ count reaches the ‘poll’ value and it reset back.
BUT the time did not synchronizing.
Something wrong here …

Notes: The original date was set ‘Fri Jun 27 10:39:12 EDT 2003’
after the ‘when’ count reaches the ‘poll’
The real date suppose to be ‘Fri Jun 27 16:12:12 EDT 2003’
It’s never updated .

Regards,
Victory

Sorry, it was my mistake
When xntpd daemon is running, ‘ntpq -p’ came back

ntpq -p

remote refid st t when poll reach delay offset
disp

==
128.250.36.2 .GPS. 1 u 21 64 3 335.42 -5.602
7875.53

Regards,
Victory

Hello,

When I do:
‘ntpdate 128.250.36.2’ then it came back
27 Jun 14:41:01 ntpdate[5482]: step time server 128.250.36.2 offset
86940.680598sec

BUT when I do ‘ntpq -p’ it came back
ntpq: read: A remote host refused an attempted connect operation.

Regards,
Victory E-mail: victorytran@hotmail.com

I did set up on my client machine per John Dunn suggestion , The xntpd =
daemon never get update
my time BUT the ntpdate work fine, Anyone know why ???
and how often the system get synchronization with ntp server ???
The following is what I configured on my AIX client box:

ntp.conf look like :=20

broadcastclient no
server 128.250.36.2
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

startsrc -s xntpd

Regards,

Victorytt

=20

Ok, here is how I got it to work.

ntp.conf on the server(F40) providing the time

broadcastclient no
peer 127.127.1.0 #LOCAL CLOCK
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

Then

startsrc -s xntpd

On client

ntp.conf look like :=20

broadcastclient no
server F40
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

startsrc -s xntpd

Add entries to inittab to start xntpd on boot up.

John

I have tried the same as mentioned, but didn’t succeeded, following =
message was occurred.

( 13 Nov 09:41:08 ntpdate [22762]: no server suitable for =
synchronization found )

Muhammad Jawaid Naz=20
Email: jawaid_naz@cdcpak.com

dear rajesh

Use vmstat

usage : # vmstat 2 6

2–time intervel in sec
6-number of listing

regards
Ratheesh

Dear Friend,

How to find the CPU usage and Memory (Real & Paging) for AIX 4.3.3.?

Regards,

Rajesh

Is there a NTP Server running in this server (F40) ?? This server needs =
to be running the xntpd daemon.=20

You can try the F40 ip address instead of server name. Also, you can =
comment the lines driftfile and tracefile.

Regards.

-----Mensagem original-----
De: John Dunn via ibm-aix-l [mailto:ibm-aix-l@OpenITx.com]
Enviada em: ter=E7a-feira, 12 de novembro de 2002 07:19
Para: Petrius Ferreira
Assunto: [ibm-aix-l] RE: RES: RE: NTP configuration.

Stay ahead with UNIX news - http://www.ittoolbox.com/i/unx.asp

Thanks

I get the error=20
“ntpdate[28940]: no server suitable for synchronization found” when I =
run

ntpdate F40

F40 is another AIX box I want to get the time from

my /etc/ntc.conf file looks like :

server F40
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

What am I doing wrong?

Do I need to do anything on the F40 machine?

John

sorry, only touch /etc/ntp.drift :-&

<><><><><><><><><><><><><><><><>
Regards:Romeo Ninov
<><><><><><><><><><><><><><><><>

“Romeo Ninov via ibm-aix-l”

try first exec:
touch >/etc/ntp.drift

“John Dunn via ibm-aix-l”

Thanks

I get the error
“ntpdate[28940]: no server suitable for synchronization found” when I run

ntpdate F40

F40 is another AIX box I want to get the time from

my /etc/ntc.conf file looks like :

server F40
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace

What am I doing wrong?

Do I need to do anything on the F40 machine?

John

NTP is a protocol, and is included with AIX, and usually with most open =
source OS’es. We just cron the ntpdate command as often as we think it =
is necessary. Hourly is good for us…

If you want to configure a client, just change the line “server” in the =
/etc/ntp.conf:

server “host_to_syncronize_with”=20

Then start the daemon: startsrc -s xntpd.

Before doing this, execute the following comnand: ntpdate =
“host_to_syncronize_with”

Regards

-----Mensagem original-----
De: John Dunn via ibm-aix-l [mailto:ibm-aix-l@OpenITx.com]
Enviada em: segunda-feira, 11 de novembro de 2002 11:45
Para: Petrius Ferreira
Assunto: [ibm-aix-l] RE: NTP configuration.

Stay ahead with UNIX news - http://www.ittoolbox.com/i/unx.asp

IS NTP opensource or part of AIX?

John

IS NTP opensource or part of AIX?

John