AIX 安装 RAC 无法发现节点(再续)

简介:

                         AIX 安装 RAC 无法发现节点(再续)


在节点上运行root.sh 时,出现以下错误:


[root@aix213 /]#/u01/crs_1/root.sh


WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured


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.

assigning default private interconnect name aix213 for node 1.

assigning default private interconnect name aix214 for node 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: aix213 aix213 aix213

node 2: aix214 aix214 aix214

clscfg: Arguments check out successfully.


----这里主机显示应该是:(节点名    私有ip节点名    主机名)


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.

Adding daemons to inittab

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

       aix213

CSS is inactive on these nodes.

       aix214

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons


修改root.sh 配置文件:


[root@aix213 /]#vi /u01/crs_1/install/rootconfig


"/u01/crs_1/install/rootconfig" [Read only] 1013 lines, 32409 characters

#!/bin/sh

#

# rootconfig.sh for Oracle CRS homes

#

#    This is run once per node during the Oracle CRS install.

#    This script does the following:

#    1) Stop if any GSDs are running from 9.x oracle homes

#    2) Initialize new OCR device or upgrade the existing OCR device

#    3) Setup OCR for running CRS stack

#    4) Copy the CRS init script to init.d for init process to start

#    5) Start the CRS stack

#    6) Configure NodeApps if CRS is up and running on all nodes

#

# NOTE: Use sample paramfile in $ORA_CRS_HOME/srvm/admin/paramfile.sample for

#       setting CRS parameters

# The following commands need to be run before Oracle Cluster Registry is

# populated.

# This is run during CRS installation and not during RAC

#!/bin/sh

#

# rootconfig.sh for Oracle CRS homes

#

#    This is run once per node during the Oracle CRS install.

#    This script does the following:

#    1) Stop if any GSDs are running from 9.x oracle homes

#    2) Initialize new OCR device or upgrade the existing OCR device

#    3) Setup OCR for running CRS stack

#    4) Copy the CRS init script to init.d for init process to start

#    5) Start the CRS stack

#    6) Configure NodeApps if CRS is up and running on all nodes

#

# NOTE: Use sample paramfile in $ORA_CRS_HOME/srvm/admin/paramfile.sample for

#       setting CRS parameters

# The following commands need to be run before Oracle Cluster Registry is

# populated.

# This is run during CRS installation and not during RAC


SILENT=false

ORA_CRS_HOME=/u01/crs_1

CRS_ORACLE_OWNER=oracle

CRS_DBA_GROUP=oinstall

CRS_VNDR_CLUSTER=true

CRS_OCR_LOCATIONS=/dev/rrac_ocr

CRS_CLUSTER_NAME=crs

CRS_HOST_NAME_LIST=aix213,1,aix214,2

CRS_NODE_NAME_LIST=aix213,1,aix214,2

CRS_PRIVATE_NAME_LIST=aix213-priv,,aix214-priv,    

----这里出现错误


应该改为:

CRS_PRIVATE_NAME_LIST=aix213-priv,1,aix214-priv, 2


CRS_LANGUAGE_ID='AMERICAN_AMERICA.WE8ISO8859P1'

CRS_VOTING_DISKS=/dev/rrac_vote

CRS_NODELIST=aix213,aix214

CRS_NODEVIPS='aix213/aix213-vip/255.255.255.0/en0,aix214/aix214-vip/255.255.255.0/en0'


修改后,重新运行root.sh

[root@aix213 /]#/u01/crs_1/root.sh


WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured


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: aix213 aix213-priv aix213

node 2: aix214 aix214-priv aix214

----显示正常

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.

Adding daemons to inittab

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

       aix213

CSS is inactive on these nodes.

       aix214

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons.

[root@aix213 /]#











本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1363776,如需转载请自行联系原作者
目录
相关文章
|
2月前
rac 节点驱逐
rac 节点驱逐
11 0
|
3月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
28 3
|
12月前
|
Oracle 关系型数据库 数据库
RAC中,控制文件的快照文件必须能够被所有节点的数据实例访问到 ORA-00245
RMAN在使用控制文件备份的时候,备份开始点需要最新的检查点信息以及文件头信息。
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
622 0
|
Oracle 关系型数据库
oracle rac 添加节点常用命令
rac 添加节点常用命令
69 0
|
Shell Linux
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
245 0
|
Oracle 关系型数据库 Linux
|
Oracle 关系型数据库 数据库
|
存储 文字识别 Oracle
神龙RAC节点1无法启动问题处理
神龙Oracle rac由于空间问题希望扩容根目录,扩容失败,导致相关的asm磁盘组多路径映射出现问题导致集群挂起,之后进行集群恢复过程处理
758 0
神龙RAC节点1无法启动问题处理
|
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.
1935 0