为了账号安全,请及时绑定邮箱和手机立即绑定

Oracle 11g RAC 添加新节点及故障解决案例

标签:
Oracle


Oracle 11g RAC 添加新节点及故障解决案例

系统环境:

操作系统:RedHat EL55

集群:      Oracle 11g GI

Oracle:   Oracle 11gR2

一、配置新的节点

1.首先按照其他节点进行 系统基本参数配置

2.添加hosts到所有节点 并完成用户等效性配置 (grid,oracle)2个用户

二、添加GRID节点

以grid用户登录

静默方式 完成grid节点添加

# su - grid

[grid@node1 ]$ cd $ORACLE_HOME/oui/bin

[grid@node1 bin]$ ./addNode.sh "CLUSTER_NEW_NODES={node3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-vip}"

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 5951 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 256    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 node2,node3 are available

............................................................... 100% Done.

-----------------------------------------------------------------------------

Cluster Node Addition Summary

Global Settings

  Source: /oracle/app/product/11.2.0/grid

  New Nodes

Space Requirements

  New Nodes

     node3

        /oracle: Required 4.30GB : Available 17.29GB

Installed Products

  Product Names

     Oracle Grid Infrastructure 11.2.0.1.0

     Sun JDK 1.5.0.17.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

     Oracle Core Required Support Files 11.2.0.1.0

     Bali Share 1.1.18.0.0

     Oracle Database Deconfiguration 11.2.0.1.0

     Oracle Quality of Service Management (Client) 11.2.0.1.0

     Expat libraries 2.0.1.0.1

     Oracle Containers for Java 11.2.0.1.0

     Perl Modules 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

     Perl Interpreter 5.10.0.0.1

     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

     Oracle Extended Windowing Toolkit 3.4.47.0.0

     SSL Required Support Files for InstantClient 11.2.0.1.0

     SQL*Plus Files for Instant Client 11.2.0.1.0

     Oracle Net Required Support Files 11.2.0.1.0

     Oracle Database User Interface 2.2.13.0.0

     RDBMS Required Support Files for Instant Client 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

     Required Support Files 11.2.0.1.0

     Oracle JDBC/THIN Interfaces 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

     PL/SQL 11.2.0.1.0

     HAS Files for DB 11.2.0.1.0

     Oracle Recovery Manager 11.2.0.1.0

     Oracle Database Utilities 11.2.0.1.0

     Oracle Notification Service 11.2.0.0.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 (Monday, July 30, 2012 3:47:59 PM CST)

.                                                                 1% Done.

Instantiation of add node scripts complete

Copying to remote nodes (Monday, July 30, 2012 3:48:06 PM CST)

...............................................................................................                                 96% Done.

Home copied to new nodes

Saving inventory on nodes (Monday, July 30, 2012 3:55:37 PM CST)

.                                                               100% Done.

Save inventory complete

WARNING:A new inventory has been created on one or more nodes in this session. However, it has not yet been registered as the central inventory of this system.

To register the new inventory please run the script at '/oracle/app/oraInventory/orainstRoot.sh' with root privileges on nodes 'node3'.

If you do not register the inventory, you may not be able to update or patch the products you installed.

The following configuration scripts need to be executed as the "root" user in each cluster node.

/oracle/app/oraInventory/orainstRoot.sh #On nodes node3

/oracle/app/product/11.2.0/grid/root.sh #On nodes node3

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 /oracle/app/product/11.2.0/grid was successful.

Please check '/tmp/silentInstall.log' for more details.

在node3上运行脚本

[root@node3 ~]# /oracle/app/oraInventory/orainstRoot.sh

Creating the Oracle inventory pointer file (/etc/oraInst.loc)

Changing permissions of /oracle/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /oracle/app/oraInventory to oinstall.

The execution of the script is complete.

[root@node3 ~]# /oracle/app/product/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:

   ORACLE_OWNER= grid

   ORACLE_HOME=  /oracle/app/product/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

  Copying dbhome to /usr/local/bin ...

  Copying oraenv to /usr/local/bin ...

  Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

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.

2012-07-30 16:19:25: Parsing the host name

2012-07-30 16:19:25: Checking for super user privileges

2012-07-30 16:19:25: User has super user privileges

Using configuration parameter file: /oracle/app/product/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

LOCAL ADD MODE

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

Adding daemon to inittab

CRS-4123: Oracle High Availability Services has been started.

ohasd is starting

ADVM/ACFS is not supported on oraclelinux-release-5-8.0.2

CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node node1, number 1, and is terminating

An active cluster was found during exclusive startup, restarting to join the cluster

CRS-2672: Attempting to start 'ora.mdnsd' on 'node3'

CRS-2676: Start of 'ora.mdnsd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.gipcd' on 'node3'

CRS-2676: Start of 'ora.gipcd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'node3'

CRS-2676: Start of 'ora.gpnpd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node3'

CRS-2676: Start of 'ora.cssdmonitor' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'node3'

CRS-2672: Attempting to start 'ora.diskmon' on 'node3'

CRS-2676: Start of 'ora.diskmon' on 'node3' succeeded

CRS-2676: Start of 'ora.cssd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.ctssd' on 'node3'

CRS-2676: Start of 'ora.ctssd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.asm' on 'node3'

CRS-2676: Start of 'ora.asm' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.crsd' on 'node3'

CRS-2676: Start of 'ora.crsd' on 'node3' succeeded

CRS-2672: Attempting to start 'ora.evmd' on 'node3'

CRS-2676: Start of 'ora.evmd' on 'node3' succeeded

clscfg: EXISTING configuration version 5 detected.

clscfg: version 5 is 11g Release 2.

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

node3     2012/07/30 16:22:09     /oracle/app/product/11.2.0/grid/cdata/node3/backup_20120730_162209.olr

Preparing packages for installation...

cvuqdisk-1.0.7-1

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

Updating inventory properties for clusterware

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 5951 MB    Passed

The inventory pointer is located at /etc/oraInst.loc

The inventory is located at /oracle/app/oraInventory

'UpdateNodeList' was successful.

三、以oracle用户登录,添加Oracle节点

 静默方式 完成oracle节点添加

# su - oracle

[oracle@node1 ]$ cd $ORACLE_HOME/oui/bin

[oracle@node1 bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={node3}"

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 5921 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 node2,node3 are available

............................................................... 100% Done.

-----------------------------------------------------------------------------

Cluster Node Addition Summary

Global Settings

  Source: /oracle/app/oracle/product/11.2.0

  New Nodes

Space Requirements

  New Nodes

     node3

        /oracle: Required 4.05GB : Available 13.96GB

Installed Products

  Product Names

     Oracle Database 11g 11.2.0.1.0

     Sun JDK 1.5.0.17.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

     Oracle DBCA Deconfiguration 11.2.0.1.0

     Oracle RAC Deconfiguration 11.2.0.1.0

     Oracle Database Deconfiguration 11.2.0.1.0

     Oracle Configuration Manager 10.3.1.1.0

     Oracle ODBC Driverfor Instant Client 11.2.0.1.0

     LDAP Required Support Files 11.2.0.1.0

     SSL Required Support Files for InstantClient 11.2.0.1.0

     Bali Share 1.1.18.0.0

     Oracle Extended Windowing Toolkit 3.4.47.0.0

     Oracle JFC Extended Windowing Toolkit 4.2.36.0.0

     Oracle Real Application Testing 11.2.0.1.0

     Oracle Database Vault J2EE Application 11.2.0.1.0

     Oracle Label Security 11.2.0.1.0

     Oracle Data Mining RDBMS Files 11.2.0.1.0

     Oracle OLAP RDBMS Files 11.2.0.1.0

     Oracle OLAP API 11.2.0.1.0

     Platform Required Support Files 11.2.0.1.0

     Oracle Database Vault option 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

     Oracle Display Fonts 9.0.2.0.0

     Oracle Ice Browser 5.2.3.6.0

     Oracle JDBC Server Support Package 11.2.0.1.0

     Oracle SQL Developer 11.2.0.1.0

     Oracle Application Express 11.2.0.1.0

     XDK Required Support Files 11.2.0.1.0

     RDBMS Required Support Files for Instant Client 11.2.0.1.0

     SQLJ Runtime 11.2.0.1.0

     Database Workspace Manager 11.2.0.1.0

     RDBMS Required Support Files 11.2.0.1.0

     Oracle Globalization Support 11.2.0.1.0

     Exadata Storage Server 11.2.0.1.0

     Provisioning Advisor Framework 10.2.0.4.2

     Enterprise Manager Database Plugin -- Repository Support 11.2.0.1.0

     Enterprise Manager Repository Core Files 10.2.0.4.2

     Enterprise Manager Database Plugin -- Agent Support 11.2.0.1.0

     Enterprise Manager Grid Control Core Files 10.2.0.4.2

     Enterprise Manager Common Core Files 10.2.0.4.2

     Enterprise Manager Agent Core Files 10.2.0.4.2

     Agent Required Support Files 10.2.0.4.2

     regexp 2.1.9.0.0

     Parser Generator Required Support Files 11.2.0.1.0

     Oracle 11g Warehouse Builder Required Files 11.2.0.1.0

     Oracle Notification Service (eONS) 11.2.0.1.0

     Oracle Text Required Support Files 11.2.0.1.0

     Precompiler Required Support Files 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 Multimedia Annotator 11.2.0.1.0

     Oracle JDBC/OCI Instant Client 11.2.0.1.0

     Oracle Multimedia Locator RDBMS Files 11.2.0.1.0

     Oracle Core Required Support Files 11.2.0.1.0

     Oracle Help For Java 4.2.9.0.0

     Sample Schema Data 11.2.0.1.0

     Oracle Starter Database 11.2.0.1.0

     Oracle Message Gateway Common Files 11.2.0.1.0

     Oracle XML Query 11.2.0.1.0

     XML Parser for Oracle JVM 11.2.0.1.0

     Expat libraries 2.0.1.0.1

     Installation Plugin Files 11.2.0.1.0

     Enterprise Manager Common Files 10.2.0.4.2

     Perl Modules 5.10.0.0.1

     Deinstallation Tool 11.2.0.1.0

     Oracle Quality of Service Management (Client) 11.2.0.1.0

     Perl Interpreter 5.10.0.0.1

     JAccelerator (COMPANION) 11.2.0.1.0

     Oracle Containers for Java 11.2.0.1.0

     Oracle Code Editor 1.2.1.0.0I

     Oracle Net Required Support Files 11.2.0.1.0

     Secure Socket Layer 11.2.0.1.0

     Oracle Universal Connection Pool 11.2.0.1.0

     Oracle JDBC/THIN Interfaces 11.2.0.1.0

     Oracle Multimedia Client Option 11.2.0.1.0

     Oracle Java Client 11.2.0.1.0

     Character Set Migration Utility 11.2.0.1.0

     Oracle Locale Builder 11.2.0.1.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

     Oracle Globalization Support 11.2.0.1.0

     Required Support Files 11.2.0.1.0

     SQL*Plus Files for Instant Client 11.2.0.1.0

     Oracle ODBC Driver 11.2.0.1.0

     Oracle Database User Interface 2.2.13.0.0

     Oracle Notification Service 11.2.0.0.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

     Cluster Verification Utility Common Files 11.2.0.1.0

     Oracle Clusterware RDBMS Files 11.2.0.1.0

     Oracle UIX 2.2.24.5.0

     Enterprise Manager plugin Common Files 11.2.0.1.0

     HAS Common Files 11.2.0.1.0

     Precompiler Common Files 11.2.0.1.0

     Installation Common Files 11.2.0.1.0

     Oracle Help for the  Web 2.0.14.0.0

     Oracle LDAP administration 11.2.0.1.0

     Buildtools Common Files 11.2.0.1.0

     Assistant Common Files 11.2.0.1.0

     Oracle Recovery Manager 11.2.0.1.0

     PL/SQL 11.2.0.1.0

     Generic Connectivity Common Files 11.2.0.1.0

     Oracle Database Gateway for ODBC 11.2.0.1.0

     Oracle Programmer 11.2.0.1.0

     Oracle Database Utilities 11.2.0.1.0

     Enterprise Manager Agent 10.2.0.4.2

     Oracle Netca Client 11.2.0.1.0

     SQL*Plus 11.2.0.1.0

     Oracle Call Interface (OCI) 11.2.0.1.0

     Oracle Multimedia Locator 11.2.0.1.0

     Oracle Multimedia 11.2.0.1.0

     Oracle Net 11.2.0.1.0

     Database Configuration and Upgrade Assistants 11.2.0.1.0

     Oracle XML Development Kit 11.2.0.1.0

     Oracle JVM 11.2.0.1.0

     Oracle Advanced Security 11.2.0.1.0

     Oracle Internet Directory Client 11.2.0.1.0

     HAS Files for DB 11.2.0.1.0

     Oracle Enterprise Manager Console DB 11.2.0.1.0

     Oracle Net Listener 11.2.0.1.0

     Oracle Text 11.2.0.1.0

     Oracle Net Services 11.2.0.1.0

     Oracle Database 11g 11.2.0.1.0

     Oracle OLAP 11.2.0.1.0

     Oracle Spatial 11.2.0.1.0

     Oracle Partitioning 11.2.0.1.0

     Enterprise Edition Options 11.2.0.1.0

-----------------------------------------------------------------------------

Instantiating scripts for add node (Monday, July 30, 2012 4:29:43 PM CST)

.                                                                 1% Done.

Instantiation of add node scripts complete

Copying to remote nodes (Monday, July 30, 2012 4:29:54 PM CST)

...............................................................................................                                 96% Done.

Home copied to new nodes

Saving inventory on nodes (Monday, July 30, 2012 4:41:24 PM CST)

.                                                               100% Done.

Save inventory complete

WARNING:

The following configuration scripts need to be executed as the "root" user in each cluster node.

/oracle/app/oracle/product/11.2.0/root.sh #On nodes node3

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 /oracle/app/oracle/product/11.2.0 was successful.

Please check '/tmp/silentInstall.log' for more details.

在node3运行脚本

[root@node3 ~]# /oracle/app/oracle/product/11.2.0/root.sh

Running Oracle 11g root.sh script...

The following environment variables are set as:

   ORACLE_OWNER= oracle

   ORACLE_HOME=  /oracle/app/oracle/product/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.

Finished product-specific root actions.

四、以oracle用户登录,添加Instance

 dbca 完成oracle instance添加

[oracle@node1 ]$ cd $ORACLE_HOME/bin

[oracle@node1 bin]$ dbca -silent -addInstance -nodeList node3 -gdbName prod -instanceName prod3 - sysDBAUserName sys -sysDBAPassword oracle

Adding instance

1% complete

2% complete

6% complete

13% complete

20% complete

26% complete

33% complete

40% complete

46% complete

53% complete

66% complete

Completing instance management.

76% complete

100% complete

Look at the log file "/oracle/app/oracle/cfgtoollogs/dbca/prod/prod.log" for further details.

[oracle@node1 bin]$

五、验证节点添加完成

root@node3 ~]# su - grid

[grid@node3 ~]$ crs_stat -t

Name           Type           Target    State     Host      

------------------------------------------------------------

ora.CRSDG.dg   ora....up.type ONLINE    ONLINE    node1  

ora.DATA_DG.dg ora....up.type ONLINE    ONLINE    node1  

ora....ER.lsnr ora....er.type ONLINE    ONLINE    node1  

ora....N1.lsnr ora....er.type ONLINE    ONLINE    node1  

ora.asm        ora.asm.type   ONLINE    ONLINE    node1  

ora.eons       ora.eons.type  ONLINE    ONLINE    node1  

ora.gsd        ora.gsd.type   OFFLINE   OFFLINE              

ora....network ora....rk.type ONLINE    ONLINE    node1  

ora.oc4j       ora.oc4j.type  OFFLINE   OFFLINE              

ora.ons        ora.ons.type   ONLINE    ONLINE    node1  

ora.scan1.vip  ora....ip.type ONLINE    ONLINE    node1  

ora....SM1.asm application    ONLINE    ONLINE    node1  

ora....C1.lsnr application    ONLINE    ONLINE    node1  

ora....de1.gsd application    OFFLINE   OFFLINE              

ora....de1.ons application    ONLINE    ONLINE    node1  

ora....de1.vip ora....t1.type ONLINE    ONLINE    node1  

ora....SM2.asm application    ONLINE    ONLINE    node2  

ora....C2.lsnr application    ONLINE    ONLINE    node2  

ora....de2.gsd application    OFFLINE   OFFLINE              

ora....de2.ons application    ONLINE    ONLINE    node2  

ora....de2.vip ora....t1.type ONLINE    ONLINE    node2  

ora....SM3.asm application    ONLINE    ONLINE    node3  

ora....C3.lsnr application    ONLINE    ONLINE    node3  

ora....de3.gsd application    OFFLINE   OFFLINE              

ora....de3.ons application    ONLINE    ONLINE    node3  

ora....de3.vip ora....t1.type ONLINE    ONLINE    node3  

ora.prod.db ora....se.type ONLINE    ONLINE    node1  

附:添加节点失败案例

故障现象:

添加节点失败,再次添加出现error

[grid@fengye1 ~]$ cat addnode.sh

cd /u01/11.2.0/grid/oui/bin

./addNode.sh "CLUSTER_NEW_NODES={fengye3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={fengye3-vip}"

[grid@fengye1 ~]$

[grid@fengye1 ~]$ sh addnode.sh

Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3753 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    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 fengye2,fengye3,fengye3 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.

-------解决方法

[grid@fengye1 ~]/u01/11.2.0/grid/crs/utl/rootdeletenode.sh fengye3

执行以下脚本:

[grid@fengye1 ~]$ cat delnode.sh

/u01/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/11.2.0/grid "CLUSTER_NODES={fengye3}" CRS=TRUE  -local

/u01/11.2.0/grid/oui/bin/runInstaller -updateNodeList ORACLE_HOME=/u01/11.2.0/grid "CLUSTER_NODES={fengye1,fengye2}" CRS=TRUE

[grid@fengye1 ~]$

-----再次运行addnode.sh 可以正常添加节点

©著作权归作者所有:来自51CTO博客作者客居天涯的原创作品,如需转载,请注明出处,否则将追究法律责任

Oracle数据库技术


点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消