AIX6.1下重新添加oracle11gRAC坏掉的节点,

错误一:

bash-3.2$ ./addNode.sh -silent "CLUSTER_NEW_NODES={db2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={db2-vip}" "CLUSTER_NEW_PRIVATE_NODE_NAMES={db2-priv}"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4352 MB    Passed
Oracle Universal Installer, Version 11.2.0.1.0 Production
Copyright (C) 1999, 2009, Oracle. All rights reserved.


Performing tests to see whether nodes db2 are available
............................................................... 100% Done.

Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured.
SEVERE:Error ocurred while retrieving node numbers of the existing nodes. Please check if clusterware home is properly configured.

解决办法:
bash-3.2$ ./runInstaller.sh -silent -updateNodeList ORACLE_HOME=$ORACLE_HOME "CLUSTER_NODES=db1"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4352 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /grid/app/oraInventory
'UpdateNodeList' was successful.




错误二:


....
....
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: ORACLE_HOME is not settable, hence not setting the value
INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
INFO: passing params to cf done
INFO: done saving info by cf
INFO: Updating files in Oracle home '/grid/app/11.2.0' to remote nodes 'db2'.
INFO: List of files to be excluded from:crs/install/install.excl
SEVERE: Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support :

"/grid/app/oraInventory/logs/addNodeActions2016-05-18_02-56-22PM.log"
"/grid/app/oraInventory/logs/oraInstall2016-05-18_02-56-22PM.err"
"/grid/app/oraInventory/logs/oraInstall2016-05-18_02-56-22PM.out"
INFO: User Selected: Yes/OK

解决办法:
修改/grid/app/11.2.0/oui/oraparam.ini文件的JRE_MEMORY_OPTIONS参数:
#JRE_MEMORY_OPTIONS=" -mx96m"
JRE_MEMORY_OPTIONS=" -mx2000m"



错误三:在新添加节点上执行root脚本报错
bash-3.2# /grid/app/11.2.0/root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /grid/app/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2016-05-18 18:13:51: Parsing the host name
2016-05-18 18:13:51: Checking for super user privileges
2016-05-18 18:13:51: User has super user privileges
Using configuration parameter file: /grid/app/11.2.0/crs/install/crsconfig_params
Creating trace directory
CRS is already configured on this node for crshome=0
Cannot configure two CRS instances on the same cluster.
Please deconfigure before proceeding with the configuration of new home.

解决办法:
bash-3.2# /grid/app/11.2.0/crs/install/roothas.pl -delete -force -verbose
2016-05-18 18:33:49: Checking for super user privileges
2016-05-18 18:33:49: User has super user privileges
2016-05-18 18:33:49: Parsing the host name
Using configuration parameter file: /grid/app/11.2.0/crs/install/crsconfig_params
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Delete failed, or completed with errors.
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
dd: /grid/app/11.2.0/cdata/db2.olr: A file or directory in the path name does not exist.




添加新节点

bash-3.2$ ./addNode.sh -silent "CLUSTER_NEW_NODES={db2}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={db2-vip}" "CLUSTER_NEW_PRIVATE_NODE_NAMES={db2-priv}"
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 4352 MB    Passed
Oracle Universal Installer, Version 11.2.0.1.0 Production
Copyright (C) 1999, 2009, Oracle. All rights reserved.


Performing tests to see whether nodes db2 are available
............................................................... 100% Done.

...
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
   Source: /grid/app/11.2.0
   New Nodes
Space Requirements
   New Nodes
      db2
         /grid: Required 13.18GB : Available 10.73GB
Installed Products
   Product Names
      Oracle Grid Infrastructure 11.2.0.1.0
      Sun JDK 1.5.0.10.0
      Installer SDK Component 11.2.0.1.0
      Oracle One-Off Patch Installer 11.2.0.0.2
      Oracle Universal Installer 11.2.0.1.0
      Oracle Configuration Manager Deconfiguration 10.3.1.0.0
      Enterprise Manager Common Core Files 10.2.0.4.2
      Oracle DBCA Deconfiguration 11.2.0.1.0
      Oracle RAC Deconfiguration 11.2.0.1.0
      Oracle Quality of Service Management (Server) 11.2.0.1.0
      Installation Plugin Files 11.2.0.1.0
      Universal Storage Manager Files 11.2.0.1.0
      Oracle Text Required Support Files 11.2.0.1.0
      Automatic Storage Management Assistant 11.2.0.1.0
      Oracle Database 11g Multimedia Files 11.2.0.1.0
      Oracle Multimedia Java Advanced Imaging 11.2.0.1.0
      Oracle Globalization Support 11.2.0.1.0
      Oracle Multimedia Locator RDBMS Files 11.2.0.1.0
      Bali Share 1.1.18.0.0
      Expat libraries 2.0.1.0.1
      Oracle Database Deconfiguration 11.2.0.1.0
      Oracle Quality of Service Management (Client) 11.2.0.1.0
      Perl Modules 5.10.0.0.1
      Oracle Containers for Java 11.2.0.1.0
      Perl Interpreter 5.10.0.0.1
      Secure Socket Layer 11.2.0.1.0
      Oracle JDBC/OCI Instant Client 11.2.0.1.0
      Oracle Multimedia Client Option 11.2.0.1.0
      LDAP Required Support Files 11.2.0.1.0
      Character Set Migration Utility 11.2.0.1.0
      Oracle Extended Windowing Toolkit 3.4.47.0.0
      PL/SQL Embedded Gateway 11.2.0.1.0
      OLAP SQL Scripts 11.2.0.1.0
      Database SQL Scripts 11.2.0.1.0
      SSL Required Support Files for InstantClient 11.2.0.1.0
      Oracle Net Required Support Files 11.2.0.1.0
      SQL*Plus Files for Instant Client 11.2.0.1.0
      RDBMS Required Support Files for Instant Client 11.2.0.1.0
      Oracle Database User Interface 2.2.13.0.0
      RDBMS Required Support Files Runtime 11.2.0.1.0
      Enterprise Manager Minimal Integration 11.2.0.1.0
      XML Parser for Java 11.2.0.1.0
      Oracle Security Developer Tools 11.2.0.1.0
      Oracle Wallet Manager 11.2.0.1.0
      Enterprise Manager plugin Common Files 11.2.0.1.0
      Platform Required Support Files 11.2.0.1.0
      Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
      RDBMS Required Support Files 11.2.0.1.0
      Oracle Ice Browser 5.2.3.6.0
      Oracle Help For Java 4.2.9.0.0
      Enterprise Manager Common Files 10.2.0.4.2
      Deinstallation Tool 11.2.0.1.0
      Oracle Java Client 11.2.0.1.0
      Cluster Verification Utility Files 11.2.0.1.0
      Oracle Notification Service (eONS) 11.2.0.1.0
      Oracle LDAP administration 11.2.0.1.0
      Cluster Verification Utility Common Files 11.2.0.1.0
      Oracle Clusterware RDBMS Files 11.2.0.1.0
      Oracle Locale Builder 11.2.0.1.0
      Oracle Globalization Support 11.2.0.1.0
      Buildtools Common Files 11.2.0.1.0
      Oracle RAC Required Support Files-HAS 11.2.0.1.0
      SQL*Plus Required Support Files 11.2.0.1.0
      XDK Required Support Files 11.2.0.1.0
      Agent Required Support Files 10.2.0.4.2
      Parser Generator Required Support Files 11.2.0.1.0
      Precompiler Required Support Files 11.2.0.1.0
      Installation Common Files 11.2.0.1.0
      Oracle Core Required Support Files 11.2.0.1.0
      Oracle JDBC/THIN Interfaces 11.2.0.1.0
      Required Support Files 11.2.0.1.0
      Oracle Multimedia Locator 11.2.0.1.0
      Oracle Multimedia 11.2.0.1.0
      HAS Common Files 11.2.0.1.0
      Assistant Common Files 11.2.0.1.0
      HAS Files for DB 11.2.0.1.0
      PL/SQL 11.2.0.1.0
      Oracle Recovery Manager 11.2.0.1.0
      Oracle Notification Service 11.2.0.0.0
      Oracle Database Utilities 11.2.0.1.0
      SQL*Plus 11.2.0.1.0
      Oracle Netca Client 11.2.0.1.0
      Oracle Net 11.2.0.1.0
      Oracle JVM 11.2.0.1.0
      Oracle Internet Directory Client 11.2.0.1.0
      Oracle Net Listener 11.2.0.1.0
      Cluster Ready Services Files 11.2.0.1.0
      Oracle Database 11g 11.2.0.1.0
-----------------------------------------------------------------------------


Instantiating scripts for add node (Wednesday, May 18, 2016 5:32:57 PM CST)
.                                                                 1% Done.
Instantiation of add node scripts complete

Copying to remote nodes (Wednesday, May 18, 2016 5:33:18 PM CST)
...............................................................................................                                 96% Done.
Home copied to new nodes

Saving inventory on nodes (Wednesday, May 18, 2016 6:09:14 PM CST)
.                                                               100% Done.
Save inventory complete
WARNING:
The following configuration scripts need to be executed as the "root" user in each cluster node.
/grid/app/11.2.0/root.sh #On nodes db2
To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts in each cluster node
    
The Cluster Node Addition of /grid/app/11.2.0 was successful.
Please check '/tmp/silentInstall.log' for more details.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30373263/viewspace-2106722/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30373263/viewspace-2106722/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值