Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

9

主题
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.

解析又是正常的,就是安装的时候过不去



2#
发表于 2014-3-12 14:49:33
解析又是正常的,就是安装的时候过不去

安装的时候报错了?包什么错误?

回复 只看该作者 道具 举报

3#
发表于 2014-3-12 16:15:14
什么意思,是在安装中的 检测页面过不去? 上个图吧 ,安装的时候有一些错误是可以忽略的。

回复 只看该作者 道具 举报

4#
发表于 2014-4-30 23:54:11
这个是可以忽略的

回复 只看该作者 道具 举报

5#
发表于 2014-5-2 13:23:37
You must configure passwordless SSH separately for each Oracle software installation owner that you intend to use for installation
注意SSH,相关教程可以百度或google一下

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 03:37 , Processed in 0.046548 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569