chrony lan - OT -

Bob Goodwin bobgoodwin at wildblue.net
Sun Jan 4 23:44:44 UTC 2015


On 01/04/15 18:01, Ed Greshko wrote:
>> But I could have two crony/NTP servers no? In addition to box10 I could make box7 an ntp server and list both in the clients configuration file? That doesn't seem problematic or am I missing something?
>> >
>> >
> Yes, you can have multiple "server" lines in the config file.  And, if you want, you can use the FQDN and configure your DNS to serve IP addresses in a round-robin fashion.
>
With the following config.:

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 192.168.1.10
# server 0.rhel.pool.ntp.org iburst
# server 1.rhel.pool.ntp.org iburst
# server 2.rhel.pool.ntp.org iburst
# server 3.rhel.pool.ntp.org iburst

I see:

[root at box48 bobg]# chronyc sources
210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^? box10                         0   6     0   10y     +0ns[   +0ns] 
+/-    0ns

Which looks like it's not working? The "?" must mean something?

I've tried disabling firewalld and selinux, neither appears to be 
causing a problem.

I've done:

systemctl restart  chronyd.service

and then:

[root at box48 bobg]# systemctl status  chronyd.service
chronyd.service - NTP client/server
    Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
    Active: active (running) since Sun 2015-01-04 18:23:09 EST; 18min ago
   Process: 17861 ExecStartPost=/usr/libexec/chrony-helper 
add-dhclient-servers (code=exited, status=0/SUCCESS)
   Process: 17858 ExecStart=/usr/sbin/chronyd -u chrony $OPTIONS 
(code=exited, status=0/SUCCESS)
  Main PID: 17860 (chronyd)
    CGroup: /system.slice/chronyd.service
            └─17860 /usr/sbin/chronyd -u chrony

Jan 04 18:23:09 box48 chronyd[17860]: chronyd version 1.29.1 starting
Jan 04 18:23:09 box48 chronyd[17860]: Linux kernel major=3 minor=10 patch=0
Jan 04 18:23:09 box48 chronyd[17860]: hz=100 shift_hz=7 
freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 
max_tick_bias=1000 shift_pll=2
Jan 04 18:23:09 box48 chronyd[17860]: Frequency 38.039 +/- 0.463 ppm 
read from /var/lib/chrony/drift
Jan 04 18:23:09 box48 systemd[1]: Started NTP client/server.

And I still can't tell from any of this if it's working. I'm in over my 
head here ...

Bob

-- 
http://www.qrz.com/db/W2BOD
box10  Fedora-21/64bit Linux/XFCE



More information about the users mailing list