- 最后登录
- 2016-9-23
- 在线时间
- 16 小时
- 威望
- 0
- 金钱
- 79
- 注册时间
- 2013-3-13
- 阅读权限
- 10
- 帖子
- 34
- 精华
- 0
- 积分
- 0
- UID
- 968
|
1#
发表于 2014-3-12 13:49:38
|
查看: 4142 |
回复: 4
./runcluvfy.sh stage -pre crsinst -fixup -n rac1,rac2 -verbose
运行命令,在DNS报错
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 file "/etc/resolv.conf" to make sure that only one search entry is defined
All nodes have one search entry defined in file "/etc/resolv.conf"
Checking all nodes to make sure that search entry is "localdomain" as found on node "rac2"
All nodes of the cluster have same value for 'search'
Checking DNS response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
rac2 failed
rac1 failed
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac2,rac1
File "/etc/resolv.conf" is not consistent across nodes
节点1的/etc/hosts文件
[root@rac1 ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
#public
192.168.56.101 rac1.localdomain rac1
192.168.56.102 rac2.localdomain rac2
#private
10.10.10.1 rac1-priv.localdomain rac1-priv
10.10.10.2 rac2-priv.localdomain rac2-priv
#virtual
192.168.56.201 rac1-vip.localdomain rac1-vip
192.168.56.202 rac2-vip.localdomain rac2-vip
#scan
192.168.56.92 scan.localdomain scan
这个是节点2的hosts文件
[root@rac2 ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
#public
192.168.56.101 rac1.localdomain rac1
192.168.56.102 rac2.localdomain rac2
#private
10.10.10.1 rac1-priv.localdomain rac1-priv
10.10.10.2 rac2-priv.localdomain rac2-priv
#virtual
192.168.56.201 rac1-vip.localdomain rac1-vip
192.168.56.202 rac2-vip.localdomain rac2-vip
#scan
192.168.56.92 scan.localdomain scan
节点1的resolv.conf文件
[root@rac1 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 192.168.56.92
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
节点2的resolv.conf文件
[root@rac2 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search localdomain
nameserver 192.168.56.92
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
[root@rac2 ~]#
[root@rac1 ~]# ping -c 3 192.168.56.92
PING 192.168.56.92 (192.168.56.92) 56(84) bytes of data.
64 bytes from 192.168.56.92: icmp_seq=1 ttl=64 time=0.890 ms
64 bytes from 192.168.56.92: icmp_seq=2 ttl=64 time=1.00 ms
64 bytes from 192.168.56.92: icmp_seq=3 ttl=64 time=0.368 ms
--- 192.168.56.92 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.368/0.753/1.002/0.277 ms
[root@rac2 ~]# ping -c 3 192.168.56.92
PING 192.168.56.92 (192.168.56.92) 56(84) bytes of data.
64 bytes from 192.168.56.92: icmp_seq=1 ttl=64 time=0.396 ms
64 bytes from 192.168.56.92: icmp_seq=2 ttl=64 time=0.550 ms
64 bytes from 192.168.56.92: icmp_seq=3 ttl=64 time=0.439 ms
--- 192.168.56.92 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.396/0.461/0.550/0.069 ms
[root@rac2 ~]#
[root@rac1 ~]# nslookup scan
Server: 192.168.56.92
Address: 192.168.56.92#53
Name: scan.localdomain
Address: 192.168.56.92
[root@rac1 ~]# nslookup scan.localdomain
Server: 192.168.56.92
Address: 192.168.56.92#53
Name: scan.localdomain
Address: 192.168.56.92
[root@rac1 ~]# nslookup 192.168.56.92
Server: 192.168.56.92
Address: 192.168.56.92#53
92.56.168.192.in-addr.arpa name = scan.localdomain.
解析又是正常的,就是安装的时候过不去
|
|