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

本文涉及的产品
自定义KV模板,自定义KV模板 500次/账号
企业资质识别,企业资质识别 200次/月
车辆物流识别,车辆物流识别 200次/月
简介:

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










本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1377999,如需转载请自行联系原作者
目录
相关文章
|
文字识别 Oracle 关系型数据库
|
10月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
111 3
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
956 0
|
Shell Linux
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
312 0
|
Oracle 关系型数据库 Shell
RHEL 7.6 安装 Oracle 18c RAC
RHEL 7.6 安装 Oracle 18c RAC第一部分 安装规划 虚拟环境 VirtualBox 6.0 OS 版本 Red Hat Enterprise Linux Server release 7.
1991 0
|
Oracle 关系型数据库 专有云
阿里专有云3.6.1版本云上rac安装节点驱逐问题
阿里专有云云上Oracle rac节点驱逐解决方案
2785 0
|
监控 数据库 数据安全/隐私保护
Cloud Control 13c 13.3安装(三) 监控 grid rac 状态
Cloud Control 13c 13.3 监控 grid rac 状态
2494 0
|
存储 SQL Oracle
请参考rhel7 安装 oracle 18c rac(03 dbca 建立数据库)
rhel7 安装 oracle 18c rac(01 grid软件安装) dbca 建立数据库。
3272 0
|
7月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
165 2