搭建rac时,安装grid之前,检查环境,发现如图告警超时:
PRVF-5636 : The DNS response time for an unreachable node exceeded “15000” ms on following nodes: dominic2,dominic1
问题解决办法:
yum install bind
1、修改DNS服务器的/etc/named.conf文件,添加fil “/dev/null”;信息即可。
zone “.” IN {
type hint;
// file “named.ca”;
file “/dev/null”;
2、在RAC节点主机分别添加如下参数:
[root@rac2 ~]# vi /etc/resolv.conf
–search prudentwoo.com
nameserver 202.96.134.133
nameserver 192.168.3.254
options rotate
options timeout:2
options attempts:5
我的没有配置DNS服务,直接通过/etc/hosts 下绑定, 最后在/etc/resolv.conf 下添加如图参数,检测通过:
eg:
Check default user file creation mask
Node Name Available Required Comment
martin02 0022 0022 passed
martin01 0022 0022 passed
Result: Default user file creation mask check passed
Checking consistency of file “/etc/resolv.conf” across nodes
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
martin02 failed
martin01 passed
PRVF-5636 : The DNS response time for an unreachable node exceeded “15000” ms on following nodes: martin02
File “/etc/resolv.conf” is not consistent across nodes
Check: Time zone consistency
Result: Time zone consistency check passed
Pre-check for cluster services setup was unsuccessful on all the nodes.
修改后:
Result: Default user file creation mask check passed
Checking consistency of file “/etc/resolv.conf” across nodes
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
martin02 passed
martin01 passed
The DNS response time for an unreachable node is within acceptable limit on all nodes
File “/etc/resolv.conf” is consistent across nodes
Check: Time zone consistency
Result: Time zone consistency check passed