今天在练习RAC添加节点,发现了报错,然后就过不去了
Check: Package existence for "pdksh"
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
rac2 missing pdksh-5.2.14 failed
rac3 missing pdksh-5.2.14 failed
Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking DNS response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
rac2 failed
rac3 failed
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac2,rac3
File "/etc/resolv.conf" is not consistent across nodes
因为在RAC安装的时候,这俩都是直接忽略的,这个怎么忽略我不知道,那就走另一条路:解决。
[root@rac1 liming]# rpm -ivh pdksh-5.2.14-36.el5.i386.rpm --force --nodeps
warning: pdksh-5.2.14-36.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ########################################### [100%]
1:pdksh ########################################### [100%]
[root@rac1 liming]# rpm -ivh pdksh-5.2.14-36.el5.x86_64.rpm --force -nodeps
-nodeps: unknown option
[root@rac1 liming]# rpm -ivh pdksh-5.2.14-36.el5.x86_64.rpm --force --nodeps
warning: pdksh-5.2.14-36.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing... ########################################### [100%]
1:pdksh ########################################### [100%]
mv /etc/resolv.conf resolv.conf.conf
这样一来,就感觉好多了。
[grid@rac2 ~]$ tail -1 liming.log
Pre-check for node addition was successful.
预检查搞定!!!