最近测试需要,在VMWARE上安装10g RAC,在安装CRS时,报如下错误:
2个节点间的SSH等效性已经配置了,并且测试过了。 瞅着屏幕 思考了几分钟,发现我这次与往常的一点点不一样,这次我的主机名是有域名的,如我的/etc/hosts文件为:
[root@amto04 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 amto04.ligledba.com amto04 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost
#Public
192.168.1.9 amto04.ligledba.com amto04
192.168.1.10 amto05.ligledba.com amto05
#Virtual
192.168.1.11 amto04-vip.ligledba.com amto04-vip
192.168.1.12 amto05-vip.ligledba.com amto05-vip
#Private
192.168.10.123 amto04-priv.ligledba.com amto04-priv
192.168.10.124 amto05-priv.ligledba.com amto05-priv
我仅在2个节点执行了如下命令:
ssh amto04 date
ssh amto04-priv date
ssh amto05 date
ssh amto05-priv date
而没有在2个节点上执行如下命令:
[oracle@amto05 app]$ ssh amto04.ligledba.com date
The authenticity of host 'amto04.ligledba.com (192.168.1.9)' can't be established.
RSA key fingerprint is 1a:34:88:bc:82:22:85:ac:48:0f:fa:18:4a:32:95:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'amto04.ligledba.com' (RSA) to the list of known hosts.
Mon Feb 25 20:28:05 CST 2013
[oracle@amto05 app]$ ssh amto04-priv.ligledba.com date
The authenticity of host 'amto04-priv.ligledba.com (192.168.10.123)' can't be established.
RSA key fingerprint is 1a:34:88:bc:82:22:85:ac:48:0f:fa:18:4a:32:95:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'amto04-priv.ligledba.com' (RSA) to the list of known hosts.
Mon Feb 25 20:28:13 CST 2013
[oracle@amto05 app]$ ssh amto05.ligledba.com date
The authenticity of host 'amto05.ligledba.com (192.168.1.10)' can't be established.
RSA key fingerprint is 1a:34:88:bc:82:22:85:ac:48:0f:fa:18:4a:32:95:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'amto05.ligledba.com' (RSA) to the list of known hosts.
Mon Feb 25 20:28:19 CST 2013
[oracle@amto05 app]$ ssh amto05-priv.ligledba.com date
The authenticity of host 'amto05-priv.ligledba.com (192.168.10.124)' can't be established.
RSA key fingerprint is 1a:34:88:bc:82:22:85:ac:48:0f:fa:18:4a:32:95:59.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'amto05-priv.ligledba.com' (RSA) to the list of known hosts.
Mon Feb 25 20:28:26 CST 2013
在2个节点均执行后,问题解决!