[Oracle RAC 12.1 SHARED FILE SYSTEM Installation]: Setting up time synchronization services


Time setup

Server: node1, node2, 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, rac2
# 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

<br/>

# service ntpd restart

Check:

# ntpq -pn
# ntpq -c peers


# 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