You can use an NTP server seat time server and select a node as a time server,
Because the NTP service does not occupy much resources, I chose the Rac1 node seat time server.
Rac1:
[[Email protected] etc] # Cat/etc/NTP. conf
Server 127.127.1.0 # local clock
Fudge 127.127.1.0 stratum 10
Driftfile/var/lib/NTP/drift
Broadcast 0.008
Start the service
[[Email protected] etc] #/etc/init. d/ntpd start
Starting ntpd: [OK]
Modify startup
[[Email protected] etc] # chkconfig ntpd on
Rac2:
[[Email protected] ~] # Cat/etc/NTP. conf
Server 192.168.0.10 prefer
Broadcastclient 0.008 # broadcast Client
Driftfile/var/lib/NTP/drift
[[Email protected] etc] #/etc/init. d/ntpd start
Starting ntpd: [OK]
[[Email protected] etc] # chkconfig ntpd on
Verification:
[[Email protected] etc] # ntpq-P
Remote refID st t when poll reach delay offset Jitter
========================================================== ==============================================
Local (0). locl. 10 L 26 64 3 0.000 0.000 0.001
[[Email protected] etc] # ntpq-P
Remote refID st t when poll reach delay offset Jitter
========================================================== ==============================================
Rac1. init. 16 U 60 64 0 0.000 0.000 0.000
Simple NTP Configuration