AIX 安装 RAC 错误集锦(7)--- CRS清理

AIX RAC  CRS安装错误案例

环境:

操作系统: AIX 5.3.8

集群软件: CRS 10.2.0.1

数据库:   Oracle 10.2.0.1


1、案例


在一台安装过crsaix 节点上重新安装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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值