免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1855 | 回复: 4
打印 上一主题 下一主题

如何同步时间? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-24 14:45 |只看该作者 |倒序浏览
用VMware装的redhat AS5做oracle10g RAC,如何以其中一节点作为时间服务端同步双机的时间?如何修改/etc/ntp.conf(按网上找的改的文件有点乱了)?是需要修改服务端的还是都要修改?在linux客户端上执行ntpdate ntp_server_ip这命令是要把哪里改成服务端的IP地址?我太菜了问题有点多

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2009-06-24 14:47 |只看该作者
把ntp_server_ip改成服务端的IP

论坛徽章:
0
3 [报告]
发表于 2009-06-24 22:27 |只看该作者
看我博客里面的一篇讲时间同步的文章

论坛徽章:
0
4 [报告]
发表于 2009-12-29 11:21 |只看该作者
# --- GENERAL CONFIGURATION ---
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
server  127.127.1.0      # local clock
fudge   127.127.1.0 stratum 10

招聘 : 技术支持/维
论坛徽章:
0
5 [报告]
发表于 2010-01-10 12:46 |只看该作者

回复 #1 stccxyjt422 的帖子

你可以在ntp.conf文件里指定ntp server 的IP,然后启动ntpd服务。也可以直接用ntpdate后面接ntp server 来手动同步
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP