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

来源:互联网 发布:武汉楚知教育 编辑:程序博客网 时间:2024/05/15 12:34

                                                      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 /]#



本文出自 “天涯客的blog” 博客,请务必保留此出处http://tiany.blog.51cto.com/513694/1363776

0 0
原创粉丝点击