[Oracle RAC 12.1 Installation on Oracle Linux 6.7 (ISCSI + ASM)]: Configuration of time synchronization services
Time setup
| Server: | rac1, rac2, storage |
Make changes to the ntpd parameters file
# vi /etc/sysconfig/ntpd
replace
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g"
with
# Drop root to id 'ntp:ntp' by default.
# OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g"
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid -g"
# chkconfig --level 345 ntpd on
# service ntpd restart
| Server: | rac1 |
# cd /etc
# cp ntp.conf ntp.conf.bak
# vi ntp.conf
Leave only:
server rac1-priv-storage
restrict rac1-priv-storage mask 255.255.255.255 nomodify notrap noquery
# service ntpd restart
| Server: | rac2 |
# cd /etc
# cp ntp.conf ntp.conf.bak
# vi ntp.conf
Leave only:
server rac2-priv-storage
restrict rac2-priv-storage mask 255.255.255.255 nomodify notrap noquery
# service ntpd restart
Check:
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
rac1-priv-stora .INIT. 16 u - 64 0 0.000 0.000 0.000
# ntpq -pn