Setting up Slewing NTP option in Linux

While installing Oracle RAC, DBA's may get below error:

Network Time Protocol (NTP) - This task verifies cluster time sychronization on clusters that use Betwork Time Protocol (NTP)
List of errors:

-PRVF-5439: NTP daemon does not have slewing option "-x" set on node xxxx



To fix this error, Slewing needs to be configured.



Stop ntpd daemon using the following command.

[root@workstation ~]# service ntpd stop
Shutting down ntpd: [ OK ]
[root@workstation ~]#



Edit /etc/sysconfig/ntpd file. Usually the file looks as given below.

[root@vcsnode1 sysconfig]# cat ntpd
# Drop root to id ‘ntp:ntp’ by default.
OPTIONS=”-u ntp:ntp -p /var/run/ntpd.pid”

# Set to ‘yes’ to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no
[root@vcsnode1 sysconfig]#


Edit the file and add “-x” to ”OPTIONS=”-u ntp:ntp -p /var/run/ntpd.pid”" line befor e”-u”
After editing the file, the contents should look like given below

[root@vcsnode1 sysconfig]# cat ntpd
# Drop root to id ‘ntp:ntp’ by default.
OPTIONS=”-x -u ntp:ntp -p /var/run/ntpd.pid”

# Set to ‘yes’ to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no
[root@vcsnode1 sysconfig]#


Start ntpd daemon using the following command

[root@VCSNode2 ~]# service ntpd start
Starting ntpd: [ OK ]
[root@VCSNode2 ~]#


Ask the DBA to install/proceed to configure Oracle Cluster

Comments

Popular posts from this blog

28 Names of Srimati Radha Rani (Hindi/Odia/English)