Oracle11g RAC安装GI时会遇到INS-06006报错处理过程

Oracle11g RAC 安装GI时会遇到以下INS-06006报错,根据提示猜测可能是grid用户之间互信出了问题,排查发现互信正常,但问题依旧。

查看MOS文档,发现了一个bug 17580744,文档编号为1597212.1

根据描述,与报错完全一致,原因为/etc/hosts文件中主机名为大写,或者IP与主机名对应时用的多个名字

下面是错误的写法

$ grep RACNODE /etc/hosts
10.0.0.101 RACNODE1.US.ORACLE.COM RACNODE1
10.0.0.102 RACNODE2.US.ORACLE.COM RACNODE2

该问题会出现在11.2.0.4版本的GI安装时,任意操作系统都会遇到

------------cause-----------

Upper or mixed case hostname being used, this is being investigated in  bug 17580744

Duplicates:

BUG 17666448  - INS-06006 OCCURS IF HOSTNAME IS IN CAPITAL LETTERS FOR GI INSTALLATION

BUG 17675476  - PASSWORDLESS SSH CONNECTIVITY NOT SET UP BETWEEN THE FOLLOWING NODES

------------solution-----------

The bug is fixed in 12.1.0.2

The workaround is to either allow OUI or manually ( note 300548.1 ) setup ssh user equivalence for the installing user, then in command line window, ensure ssh doesn't prompt for password for both real hostname and lower case hostname. 

For example:

$ ssh  RACNODE1  date                     ====>> real hostname for node1
Fri Nov 8 10:01:03 PST 2013      
$ ssh racnode1 date                     ====>> lower case hostname for node1
Fri Nov 8 10:01:04 PST 2013
$ ssh RACNODE2 date
Fri Nov 8 10:01:05 PST 2013
$ ssh racnode2 date
Fri Nov 8 10:01:06 PST 2013

 

In the case of upgrade, the alternate workaround is to update inventory to set to lower case nodename instead of real hostname:

$ <OLD_GI_HOME>/oui/bin/runInstaller -updateNodelist ORACLE_HOME=<OLD_GI_HOME> "CLUSTER_NODES={racnode1,racnode2}" CRS=true

Note in above command it's racnode1,racnode2 in lower case despite the hostname is upper case. 

 

In addition, verify if there is a mismatch in Hostname Definition (Case Sensitivity) between DNS & /etc/hosts. For example: lower case in DNS & upper case in /etc/hosts OR vice-versa etc.

3. 解决过程

1. 将主机名的大写字母改成小写

#hostname xx

#vi /etc/sysconfig/network

更改

HOSTNAME=xx

2. 更改/etc/hosts文件内容




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26964624/viewspace-2564428/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26964624/viewspace-2564428/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值