你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle 10g RAC 添加节点

[日期:2012-12-24] 来源:Linux社区  作者:staricqxyz [字体:大 中 小]

用root用户在racnode3上运行

/u01/app/Oracle/oraInventory/orainstRoot.sh

[root@racnode3 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh 
Changing permissions of /u01/app/oracle/oraInventory to 770. 
Changing groupname of /u01/app/oracle/oraInventory to oinstall. 
The execution of the script is complete 

用root用户在racnode1上运行

/u01/app/oracle/product/10.2.0/crs/install/rootaddnode.sh

[root@racnode1 ~]# /u01/app/oracle/product/10.2.0/crs/install/rootaddnode.sh 
clscfg: EXISTING configuration version 3 detected. 
clscfg: version 3 is 10G Release 2. 
Attempting to add 1 new nodes to the configuration 
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. 
node <nodenumber>: <nodename> <private interconnect name> <hostname> 
node 3: racnode3 racnode3-priv racnode3 
Creating OCR keys for user 'root', privgrp 'root'.. 
Operation successful. 
/u01/app/oracle/product/10.2.0/crs/bin/srvctl add nodeapps -n racnode3 -A racnode3-vip/255.255.0.0/eth0 -o /u01/app/oracle/product/10.2.0/crs 

用root用户在racnode3运行

/u01/app/oracle/product/10.2.0/crs/root.sh

[root@racnode3 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh 
Changing permissions of /u01/app/oracle/oraInventory to 770. 
Changing groupname of /u01/app/oracle/oraInventory to oinstall. 
The execution of the script is complete 
[root@racnode3 ~]# /u01/app/oracle/product/10.2.0/crs/root.sh 
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root 
WARNING: directory '/u01/app/oracle/product' is not owned by root 
WARNING: directory '/u01/app/oracle' is not owned by root 
WARNING: directory '/u01/app' is not owned by root 
No value set for the CRS parameter CRS_OCR_LOCATIONS. Using Values in paramfile.crs 
Checking to see if Oracle CRS stack is already configured 
/etc/oracle does not exist. Creating it now. 
OCR LOCATIONS =  /dev/raw/raw1,/dev/raw/raw2 
OCR backup directory '/u01/app/oracle/product/10.2.0/crs/cdata/crs' does not exist. Creating now 
Setting the permissions on OCR backup directory 
Setting up NS directories 
Oracle Cluster Registry configuration upgraded successfully 
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root 
WARNING: directory '/u01/app/oracle/product' is not owned by root 
WARNING: directory '/u01/app/oracle' is not owned by root 
WARNING: directory '/u01/app' 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: racnode1 racnode1-priv racnode1 
node 2: racnode2 racnode2-priv racnode2 
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 
Expecting the CRS daemons to be up within 600 seconds. 
CSS is active on these nodes. 
    racnode1 
    racnode2 
    racnode3 
CSS is active on all nodes. 
Waiting for the Oracle CRSD and EVMD to start 
Waiting for the Oracle CRSD and EVMD to start 
Oracle CRS stack installed and running under init(1M) 

脚本全部执行后Exit退出

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款