PRVF-5439 : NTP daemon does not have slewing option "-x"
来源:互联网 发布:股票实时行情数据接口 编辑:程序博客网 时间:2024/06/07 19:55
针对这个问题,在METALINK文章《保持 RAC 群集环境稳定当前必须要做的 11 件事 [ID 1525819.1]》文章中有如下描述:
11. 使用 slewing 选项实施 NTP
适用平台: 所有 Linux 和 Unix 平台。
原因: 如果没有 slewing 选项,在时间差异超过特定(取决于平台)阈值时,NTP 将向前或向后调整系统时钟。大幅度向后调整时间会导致 Clusterware 以为错过了签到,从而发生节点驱逐的情况。出于此原因,我们强烈建议将 NTP 配置调整为 slewing time (加快或减慢)时钟时间以同步时间,以防止此类驱逐情况的发生。有关如何在您的平台上实施 NTP 时间调整的更多信息,请参考平台特定的 RAC 与 Oracle Clusterware 最佳实践和初学者指南文档(见下文)。
AIX平台:
2.11 Network Time Protocol Setting
Oracle Clusterware requires the same time zone setting on all cluster nodes. During installation, the installation process picks up the time zone setting of the Grid installation owner on the node where OUI runs, and uses that on all nodes as the default TZ setting for all processes managed by Oracle Clusterware. This default is used for databases, Oracle ASM, and any other managed processes.
You have two options for time synchronization: an operating system configured network time protocol (NTP), or Oracle Cluster Time Synchronization Service. Oracle Cluster Time Synchronization Service is designed for organizations whose cluster servers are unable to access NTP services. If you use NTP, then the Oracle Cluster Time Synchronization daemon (ctssd) starts up in observer mode. If you do not have NTP daemons, then ctssd starts up in active mode and synchronizes time among cluster members without contacting an external time server.
Note:
Before starting the installation of Oracle Grid Infrastructure, Oracle recommends that you ensure the clocks on all nodes are set to the same time.If you have NTP daemons on your server but you cannot configure them to synchronize time with a time server, and you want to use Cluster Time Synchronization Service to provide synchronization service in the cluster, then deactivate and deinstall the NTP.
To disable the NTP service, run the following command as the root user
# stopsrc -s xntpd
When the installer finds that the NTP protocol is not active, the Cluster Time Synchronization Service is installed in active mode and synchronizes the time across the nodes. If NTP is found configured, then the Cluster Time Synchronization Service is started in observer mode, and no active time synchronization is performed by Oracle Clusterware within the cluster.
To confirm that ctssd is active after installation, enter the following command as the Grid installation owner:
$ crsctl stat resource ora.ctssd -t -init
If you are using NTP, and you prefer to continue using it instead of Cluster Time Synchronization Service, then you need to modify the NTP initialization file to enable slewing, which prevents time from being adjusted backward. Restart the network time protocol daemon after you complete this task.
To do this on AIX, configure the XNTP daemon to start at each system restart by editing the file /etc/rc.tcpip:
Open the /etc/rc.tcpip file, and locate the following line:
start /usr/sbin/xntpd "$src_running"
Change the line to the following:
start /usr/sbin/xntpd "$src_running" "-x"
Save the file.
To enable XNTP after it has been disabled, enter the following command on each cluster member node:
# startsrc -s xntpd -a "-x"参考文章:《Oracle® Grid Infrastructure Installation Guide
Linux平台:
2.11 Network Time Protocol Setting
Oracle Clusterware requires the same time zone setting on all cluster nodes. During installation, the installation process picks up the time zone setting of the Grid installation owner on the node where OUI runs, and uses that on all nodes as the default TZ setting for all processes managed by Oracle Clusterware. This default is used for databases, Oracle ASM, and any other managed processes.
You have two options for time synchronization: an operating system configured network time protocol (NTP), or Oracle Cluster Time Synchronization Service. Oracle Cluster Time Synchronization Service is designed for organizations whose cluster servers are unable to access NTP services. If you use NTP, then the Oracle Cluster Time Synchronization daemon (ctssd) starts up in observer mode. If you do not have NTP daemons, then ctssd starts up in active mode and synchronizes time among cluster members without contacting an external time server.
Note:
Before starting the installation of Oracle Grid Infrastructure, Oracle recommends that you ensure the clocks on all nodes are set to the same time.If you have NTP daemons on your server but you cannot configure them to synchronize time with a time server, and you want to use Cluster Time Synchronization Service to provide synchronization service in the cluster, then deactivate and deinstall the NTP.
To deactivate the NTP service, you must stop the existing ntpd service, disable it from the initialization sequences and remove the ntp.conf file. To complete these step on Oracle Linux, and Asianux systems, run the following commands as the root user
# /sbin/service ntpd stop# chkconfig ntpd off# rm /etc/ntp.conf
or, mv /etc/ntp.conf to /etc/ntp.conf.org.
Also remove the following file:
/var/run/ntpd.pid
This file maintains the pid for the NTP daemon.
When the installer finds that the NTP protocol is not active, the Cluster Time Synchronization Service is installed in active mode and synchronizes the time across the nodes. If NTP is found configured, then the Cluster Time Synchronization Service is started in observer mode, and no active time synchronization is performed by Oracle Clusterware within the cluster.
To confirm that ctssd is active after installation, enter the following command as the Grid installation owner:
$ crsctl check ctss
If you are using NTP, and you prefer to continue using it instead of Cluster Time Synchronization Service, then you need to modify the NTP configuration to set the -x flag, which prevents time from being adjusted backward. Restart the network time protocol daemon after you complete this task.
To do this, on Oracle Linux, Red Hat Linux, and Asianux systems, edit the /etc/sysconfig/ntpd file to add the -x flag, as in the following example:
# Drop root to id 'ntp:ntp' by default.PTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"# Set to 'yes' to sync hw clock after successful ntpdateSYNC_HWCLOCK=no# Additional options for ntpdateNTPDATE_OPTIONS=""
Then, restart the NTP service.
# /sbin/service ntp restart
On SUSE systems, modify the configuration file /etc/sysconfig/ntp with the following settings:
NTPD_OPTIONS="-x -u ntp"
Restart the daemon using the following command:
# service ntp restart参考文章:《
11g Release 2 (11.2) for Linux
请在实施的时候注意该问题!
- PRVF-5439 : NTP daemon does not have slewing option "-x"
- PRVF-5439: NTP daemon does not have slewing option “-x” set on node
- 配置NTP服务器以及解决RAC安装过程的报错PRVF-5439 : NTP daemon does not have slewing option "-x"
- PRVF-5439: NTP daemon&…
- PRVF-5486 : The NTP Daemon On The Indicated Nodes Is Not Using UDP Port 123 (文档 ID 1378412.1)
- PRVG-11074 : Private network interface "name" on node "node" does not have MONITOR option set
- PRVF-5439 : NTP d…
- The user running validate, does not have permissions to create computer objects in the 'x.com
- DataDindow does not have UPDATE capability
- Your host does not have synchronized TSCs
- xcode 5 does not have gcc
- Animator does not have an AnimatorController
- application does not have sufficient geolocation permissions
- Docker daemon 无法启动: does not match with stored UUID
- Why does sizeof(x++) not increment x?
- 从 "specified with /SECTION option does not exist" 说开
- ORA-01720: grant option does not exist for 'xxx.xxxx'
- 【ORA-01720】grant option does not exist for 'string.string'
- Canvas模仿微信红包照片
- Windows winsock2 SPI使用
- Android之传感器(二)加速度传感器
- 理解Java对象序列化
- BTP职业网球赛(二分+并查集)
- PRVF-5439 : NTP daemon does not have slewing option "-x"
- nodejs处理图片的中间件node-images
- JUnit 标签执行顺序解析
- win8.1和win10 loadrunner安装与破解问题总结
- exec(): 0509-036 Cannot load program $CRS_HOME/bin/ocrconfig.bin because
- HOG SVM 车辆检测
- 单田芳评书
- viewpagerindicator使用方法(一)
- 截取小数位数