AIX RAC CRS安装错误案例
环境:
操作系统: AIX 5.3.8
集群软件: CRS 10.2.0.1
数据库: Oracle 10.2.0.1
1、案例
在一台安装过crs的aix 节点上重新安装crs ,出现以下错误:
[root@/aix211]# /u01/crs_1/root.sh
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: aix211 aix211-priv aix211
node 2: aix212 aix212-priv aix212
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 30 seconds.
-------跳过vote disk 的format ,直接启动,系统hang 住
解决方法:
重新卸载crs ,并清理ocr 和 vote disk
[root@/aix211]# cd /u01/crs_1
[root@/u01/crs_1aix211]# rm -rf *
[root@/u01/crs_1aix211]# ls /etc |grep ora
oraInst.loc
oracle
[root@/u01/crs_1aix211]# rm /etc/oraInst.loc
[root@/u01/crs_1aix211]# rm -rf /etc/oracle
[root@/u01/crs_1aix211]# cd
重新配置ocr 和 vote disk 磁盘属性
[root@/aix211]# chown -R oracle:oinstall /u01/crs_1
----- 清理ocr 和 vote disk
[root@/aix211]# dd if=/dev/zero of=/dev/rrac_ocr bs=8192 count=12800
12800+0 records in
12800+0 records out
[root@/aix211]# dd if=/dev/zero of=/dev/rrac_vote bs=8192 count=2560
2560+0 records in
2560+0 records out
[root@/aix211]# ls -l /dev |grep ocr
brw-rw---- 1 oracle dba 80, 1 Nov 15 09:33 rac_ocr
crw-rw---- 1 oracle dba 80, 1 Nov 15 13:48 rrac_ocr
------再次安装crs ,并运行root.sh 脚本,正常
[root@/aix211]# /u01/crs_1/root.sh
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: aix211 aix211-priv aix211
node 2: aix212 aix212-priv aix212
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Now formatting voting device: /dev/rrac_vote
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
aix211
CSS is inactive on these nodes.
aix212
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.
[root@/aix211]#
[root@/softaix211]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.aix211.gsd application ONLINE ONLINE aix211
ora.aix211.ons application ONLINE ONLINE aix211
ora.aix211.vip application ONLINE ONLINE aix211
ora.aix212.gsd application ONLINE ONLINE aix212
ora.aix212.ons application ONLINE ONLINE aix212
ora.aix212.vip application ONLINE ONLINE aix212
本文出自 “天涯客的blog” 博客,请务必保留此出处http://tiany.blog.51cto.com/513694/1377999