配置NTP服务器以及解决RAC安装过程的报错PRVF-5439 : NTP daemon does not have slewing option "-x"

配置NTP服务器

配置NTPserver

clock -w
hwclock -s
这两个命令是把设置的时间写到硬件时间中去(也就是CMOS里面的时间)

修改 /etc/ntp.conf文件

修改配置允许局域网内机器与该服务器进行时间同步
将下面语句::
 restrict default kod nomodify notrap nopeer noquery
 修改为::         
 restrict default nomodify

加入:restrict 192.168.6.0 mask 255.255.255.0 -- 让192.168.6网段上的机器能和本机做时间同步
 
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10

这两行需要,这是让本机的ntpd和本地硬件时间同步 


配置NTP client



PRVF-5436 : The NTP daemon running on one or more nodes lacks the slewing option "-x"  - Cause:  NTP daemon on one or more nodes lacked slewing option.  - Action:  Shut down and restart the NTP daemon after setting the slewing option as follows: For Linux, edit /etc/sysconfig/ntpd and add -x to the command line option. For SUSE Linux, edit /etc/sysconfig/ntp and add -x to the OPTIONS variable. For AIX, edit /etc/rc.tcpip and add -x to the command line option. For HP-UX, edit /etc/rc.config.d/netdaemons and add -x to the command line option. For Solaris release 10 or earlier, edit /etc/inet/ntp.conf and add 'slewalways yes' and 'disable pll' to the file. For Solaris release 11 and higher, logon as root user and issue command: /usr/sbin/svccfg -s svc:/network/ntp:default setprop config/slew_always = true to change the setting, then refresh the service by issuing: svcadm refresh svc:/network/ntp:default

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值