Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3058853
  • 博文数量: 206
  • 博客积分: 3409
  • 博客等级: 中校
  • 技术积分: 4066
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-24 10:21
个人简介

● ITPUB名人堂嘉宾 ● ChinaUnix社区博客专家 ● ChinaUnix社区Oracle板块版主 ● 优酷网认证音乐牛人:EricGuitar ● SDOUG 核心成员 ●E-mail:gaoqiangdba@163.com

文章分类

全部博文(206)

文章存档

2021年(11)

2020年(7)

2019年(7)

2016年(5)

2015年(36)

2014年(23)

2013年(15)

2012年(23)

2011年(61)

2010年(18)

分类: Oracle

2012-03-04 21:38:01

    



在VMWare Server 1.0.8中安装Oracle RAC时, 碰到到了PRKC-1002错误:

WARNING: Error while copying directory /u01/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1002 : All the submitted commands did not execute successfully]

到Oracle技术支持找到了问题的原因如何解决:

Cause

This is because the date on the local node is higher than the date on the remote node(s). 

Solution

To fix this, set the times of the nodes to be the same.  You can do this with "ntpupdate " to sync the dates.

就是解决时间同步后即可. 尽管我安装VMWare的tools之后,并勾选vmware-toolbox的Miscellaneous Options选项,但节点1的时间还是比节点2的快十几秒. 参考了一下《大话Oracle RAC》这本书, 决定选用NTP服务来使时间同步. 刚开始我是用节点1来做NTP服务的,但做完后发现节点1的时间还是比节点2的快几秒,为了保守起见, 我用节点2来做NTP服务.

在节点2用root用记编辑/etc/ntp.conf,加入下面这段

## add for rac
server 127.127.1.0 
fudge  127.127.1.0 stratum 11
driftfile /var/lib/ntp/drift
broadcastdelay 0.008

然后在节点1用root用记编辑/etc/ntp.conf,加入下面这段

## add for rac
server 192.168.1.131 prefer
driftfile /var/lib/ntp/drift
broadcastdelay 0.008

#注意是127.127.1.0而不是127.0.0.1,还有就是192.168.1.131 是节点一的IP地址

然后在两个节点执行下面的命令使NTP服务启动

/etc/init.d/ntpd start

若这样还不可以,那就要把安装数据库的节点1的时间调得比节点2慢点



阅读(5183) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~