chaicsd14 发表于 2014-1-26 14:57:18

关于rac的dns

oracle:11.2.0.3
OS:redhat 5.4

环境描述:
准备测试两节点的rac,配置dns用来解析scan ip
dns服务器是192.168.56.101(也就是rac01)


问题描述:
DNS已经能够正确解析,但是用
./runcluvfy.sh stage -pre crsinst -n rac01,rac02 -verbose
检查的时候一直报错

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                  
  ------------------------------------  ------------------------
  rac02                                 failed                  
  rac01                                 passed                  
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac02

File "/etc/resolv.conf" is not consistent across nodes



我的两个节点的/etc/resolv.conf都是一样的$ cat /etc/resolv.conf
nameserver 192.168.56.101dns解析也是成功的:# nslookup
> scanip.localdomain
Server:         192.168.56.101
Address:        192.168.56.101#53

Name:   scanip.localdomain
Address: 192.168.56.122
Name:   scanip.localdomain
Address: 192.168.56.120
Name:   scanip.localdomain
Address: 192.168.56.121请各位老师帮忙看下,这个是什么问题

hzcyhujw 发表于 2014-1-26 15:00:59

记得有一个nslookup 判断时间的参数 这个应该是在解析时超过oracle的默认解析时间了  可以使用心跳作为dns的通道  不过对安装不会有影响

chaicsd14 发表于 2014-1-26 15:22:19

hzcyhujw 发表于 2014-1-26 15:00 static/image/common/back.gif
记得有一个nslookup 判断时间的参数 这个应该是在解析时超过oracle的默认解析时间了  可以使用心跳作为dns ...

对以后的scanip的使用会有影响吗?

chaicsd14 发表于 2014-1-26 15:34:22

判断时间的参数,应该是这个#  time nslookup scanip.localdomain
Server:         192.168.56.101
Address:        192.168.56.101#53

Name:   scanip.localdomain
Address: 192.168.56.122
Name:   scanip.localdomain
Address: 192.168.56.120
Name:   scanip.localdomain
Address: 192.168.56.121


real    0m0.025s
user    0m0.007s
sys     0m0.009s#  time nslookup scanip.localdomain
Server:         192.168.56.101
Address:        192.168.56.101#53

Name:   scanip.localdomain
Address: 192.168.56.121
Name:   scanip.localdomain
Address: 192.168.56.122
Name:   scanip.localdomain
Address: 192.168.56.120


real    0m0.021s
user    0m0.007s
sys     0m0.010s时间好像没有多大的差别啊

Liu Maclean(刘相兵 发表于 2014-1-26 21:21:57

分别在2个节点上
time nslookup  rac02  

chaicsd14 发表于 2014-1-27 10:10:29

Liu Maclean(刘相兵 发表于 2014-1-26 21:21 static/image/common/back.gif
分别在2个节点上
time nslookup  rac02

# time nslookup  rac02
Server:         192.168.56.101
Address:        192.168.56.101#53

Name:   rac02.localdomain
Address: 192.168.56.102


real    0m0.022s
user    0m0.008s
sys     0m0.008s


# time nslookup  rac02
Server:         192.168.56.101
Address:        192.168.56.101#53

Name:   rac02.localdomain
Address: 192.168.56.102


real    0m0.027s
user    0m0.011s
sys     0m0.006s

Liu Maclean(刘相兵 发表于 2014-1-27 21:00:13

忽略 该 cluvfy的警告,直接安装是否有报错?

chaicsd14 发表于 2014-1-30 17:01:02

直接安装的时候不报错了

hzcyhujw 发表于 2014-2-7 13:08:17

貌似两节点的使用/etc/hosts来解析就可以的  不一定一定要dns吧
页: [1]
查看完整版本: 关于rac的dns