Cross synchronization NTP not working
Hi,
I have Red Hat 5.5 on 2 units (hub-omu1a, hub-omu1b) Synchronization should be cross: hub-omu1a ---> hub-omu1b hub-omu1b ---> hub-omu1a 1. Configure /etc/ntp.conf (equal for each unit) Code:
requestkey 1 Code:
[root@hub-omu1a /etc/init.d]# ntpq -p Code:
[root@hub-omu1b /etc/init.d]# ntpq -p thanks |
You may want to re-think what you're doing just a little -- let's say that you have a reference source, be that a radio clock, GPS, stratum 2 server somewhere electrically close to you, it might be useful to assign your hub-omu1a as your primary time server, serving time to your network (in this case hub-omu1b). If the two hubs are electrically close (as in connected to the same LAN), hub-omu1b will synchronize to hub-omu1a before it will ever synchronize to an outside time source and hub_omu1a has no reason whatsoever to synchronize to hub_omu1b (it's kind of like audio feedback doing that).
Your /etc/ntp.conf for hub-omu1a would use three servers (more is overkill, less isn't always useful), the first being a dedicated time source (if you have one; e.g., a radio clock or GPS), and two additional pool servers (or just three pool servers if you don't have a dedicated time source), something like this: Code:
server 127.127.1.0 # local clock You then want to serve time to hub-omu1b (or, for that matter to your entire LAN) from hub-omu1a) -- it's useful to assign fixed-IP addresses to your servers rather than relying on DHCP to not drop a lease. Your /etc/ntp.conf file on hub-omu1b would look like Code:
server 127.127.1.0 # local clock Might work better for you that way. Hope this helps some. |
All times are GMT -5. The time now is 10:43 PM. |