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



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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。
经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 经导师精心指导并认可、获 98 分的毕业设计项目!【项目资源】:微信小程序。【项目说明】:聚焦计算机相关专业毕设及实战操练,可作课程设计与期末大作业,含全部源码,能直用于毕设,经严格调试,运行有保障!【项目服务】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值