Operating System - OpenVMS
1748210 Members
4270 Online
108759 Solutions
New Discussion юеВ

Re: Time synchronization in a cluster

 
SOLVED
Go to solution

Time synchronization in a cluster

Hi,

I have the following problem in my cluster (built from two Alpha server, node A and node B):
- NTP is enabled on both nodes
- both nodes should get the time from our timeserver.
- node B gets the time, node A not
I now have a time difference of about 5 minutes between node A and node B.

What dis I wrong, or what can I do to get rid of the problem ???
Any hint is greatly appreciated.

Regards,
Karl-Heinz
19 REPLIES 19
Oswald Knoppers_1
Valued Contributor

Re: Time synchronization in a cluster

You can do the following:

$ @sys$manager:tcpip$define_commands

and then

$ ntpq -pn

and

$ ntptrace -n

Then check for any differences.

Oswald
marsh_1
Honored Contributor

Re: Time synchronization in a cluster

hi,

are there any differences in the config files in sys$specific:[tcpip$ntp] ?

Re: Time synchronization in a cluster

Oswald and Mike,

the TCPIP$NTP.CONF files are identical on both systems (see attachment)

The result from the mentioned commands are:
$ NODE_B>ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
*10.20.96.171 .hopf. 1 u 669 1024 377 10.697 -2.318 0.618

$ NODE_B>ntptrace -n
127.0.0.1: stratum 2, offset 0.000000, synch distance 0.03075
10.20.96.171: stratum 1, offset -0.000395, synch distance 0.00224, refid 'hopf'

$ NODE_A>ntpq -pn
No association ID's returned

$ NODE_A>ntptrace -n
127.0.0.1: stratum 16, offset -0.000488, synch distance 1.19597
0.0.0.0: *Not Synchronized*

Regards, Karl-Heinz
Oswald Knoppers_1
Valued Contributor

Re: Time synchronization in a cluster

So node A apparently cannot contact 10.20.96.171. Can you ping this address from node a? Or do a:

$ traceroute -n 10.20.96.171

Oswald
marsh_1
Honored Contributor

Re: Time synchronization in a cluster

hi,

any firewalls in the way ?

Re: Time synchronization in a cluster

Hi,

no firewalls, traceroute works :
$ NODE_A>traceroute -n 10.20.96.171
traceroute to 10.20.96.171 (10.20.96.171): 1-30 hops, 38 byte packets
1 193.26.202.65 2.93 ms 1.95 ms 1.95 ms
2 193.26.200.1 9.76 ms 9.76 ms 9.76 ms
3 193.26.203.10 10.7 ms 9.76 ms 10.7 ms
4 10.1.200.250 10.7 ms 11.7 ms 10.7 ms
5 10.20.96.171 11.7 ms 10.7 ms 12.6 ms

Regards,
Karl-Heinz
marsh_1
Honored Contributor

Re: Time synchronization in a cluster

can nodea resolve that host name mentioned in the conf file and is there anything in the log ?

Re: Time synchronization in a cluster

This is the output of a ping command:
$ NODE_A>tcpip ping timenet.eur.ad.sag
PING timenet.eur.ad.sag (10.20.96.171): 56 data bytes
64 bytes from 10.20.96.171: icmp_seq=0 ttl=124 time=17 ms
64 bytes from 10.20.96.171: icmp_seq=1 ttl=124 time=14 ms
64 bytes from 10.20.96.171: icmp_seq=2 ttl=124 time=33 ms
64 bytes from 10.20.96.171: icmp_seq=3 ttl=124 time=12 ms


----timenet.eur.ad.sag PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 12/19/33 ms

Looks fine, which log file do you mean ?
Karl-Heinz
Oswald Knoppers_1
Valued Contributor

Re: Time synchronization in a cluster

sys$specific:[tcpip$ntp]tcpip$ntp_run.log is the logfile.

Oswald