Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11g RAC add a Node process

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Experimental scenario:

Two-node RAC, hostname is db1, db2, now you need to add db2.

This paper is the whole process of adding nodes after deleting nodes in the previous article. View the Oracle 11g R2 RAC process of deleting a node.

This example is done just after the node is deleted. If it is a new node, you need to follow the Oracle 11g RAC installation process to configure environment variables and other early installation and configuration information. The full text is operated by character interface or graphical interface.

This article assumes that relevant issues such as network communications, users, environment variables, and storage have been configured, and only need to install the previous process of GRID,Oracle.

1. Grid user on node 1, check node 2 pre-environment check

[root@db1 ~] # cat / etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.0.6 db1

192.168.0.7 db2

192.168.0.8 db1-vip

192.168.0.9 db2-vip

10.10.10.10 db1-priv1

20.20.20.10 db1-priv2

10.10.10.20 db2-priv1

20.20.20.20 db2-priv2

192.168.0.10 scan-cluster

# su-grid

$cluvfy stage-pre nodeadd-n db2-fixup-fixupdir / tmp-verbose

The process is skipped, and if NTP or / etc/resolv.conf occurs, it can be ignored according to the actual environment.

This step must be done to understand some unreasonable configuration and installation environment of the server environment. After the modification is completed, check passed appears.

Because the hostname has been changed, the grid user trust relationship between the two nodes needs to be rebuilt

2. Oracle, grid user equivalent configuration

Confirmation of equivalence, actions that must be done:

Su-grid

Date;ssh db1 date

Date;ssh db2 date

Su-oracle

Date;ssh db1 date

Date;ssh db2 date

If the equivalence cannot be passed, you can execute the following command to perform the equivalence operation:

/ u01/app/11.2.0/grid/deinstall/sshUserSetup.sh-user grid-hosts db1 db2-noPromptPassphrase

/ u01/app/11.2.0/grid/deinstall/sshUserSetup.sh-user oracle-hosts db1 db2-noPromptPassphrase

3. The user modifies the addNode.sh script in node 1 grid

If there is a small problem in the environment that will fail, it can be ignored during the graphical interface installation. It cannot be directly ignored here, and the addNode.sh file needs to be modified.

[grid@db1 ~] $vi $ORACLE_HOME/oui/bin/addNode.sh

#! / bin/sh

OHOME=/u01/app/11.2.0/grid

INVPTRLOC=$OHOME/oraInst.loc

EXIT_CODE=0

ADDNODE= "$OHOME/oui/bin/runInstaller-addNode-invPtrLoc $INVPTRLOC ORACLE_HOME=$OHOME $*"

If ["$IGNORE_PREADDNODE_CHECKS" = "Y"-o!-f "$OHOME/cv/cvutl/check_nodeadd.pl"]

Then

$ADDNODE

EXIT_CODE=$?

Else

CHECK_NODEADD= "$OHOME/perl/bin/perl $OHOME/cv/cvutl/check_nodeadd.pl-pre ORACLE_HOME=$OHOME $*"

$CHECK_NODEADD

EXIT_CODE=$?

Add EXIT_CODE=0 to the following line

If [$EXIT_CODE-eq 0]

Then

$ADDNODE

EXIT_CODE=$?

Fi

Fi

Exit $EXIT_CODE

4. Grid user executes add node on db1 node

# su-grid

$ORACLE_HOME/oui/bin/addNode.sh "CLUSTER_NEW_NODES= {db2}"CLUSTER_NEW_VIRTUAL_HOSTNAMES= {db2-vip}"

Performing pre-checks for node addition

Checking node reachability...

Node reachability check passed from node "db1"

Checking user equivalence...

User equivalence check passed for user "grid"

Checking CRS integrity...

Clusterware version consistency passed

CRS integrity check passed

Checking shared resources...

Checking CRS home location...

"/ u01/app/11.2.0/grid" is shared

Shared resources check for node addition passed

Checking node connectivity...

Checking hosts config file...

Verification of the hosts config file successful

Check: Node connectivity for interface "eth0"

Node connectivity passed for interface "eth0"

TCP connectivity check passed for subnet "192.168.0.0"

Check: Node connectivity for interface "eth3"

Node connectivity passed for interface "eth3"

TCP connectivity check passed for subnet "20.20.20.0"

Check: Node connectivity for interface "eth2"

Node connectivity passed for interface "eth2"

TCP connectivity check passed for subnet "10.10.10.0"

Checking subnet mask consistency...

Subnet mask consistency check passed for subnet "192.168.0.0".

Subnet mask consistency check passed for subnet "20.20.20.0".

Subnet mask consistency check passed for subnet "10.10.10.0".

Subnet mask consistency check passed.

Node connectivity check passed

Checking multicast communication...

Checking subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0"...

Check of subnet "192.168.0.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "20.20.20.0" for multicast communication with multicast group "230.0.1.0"...

Check of subnet "20.20.20.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0"...

Check of subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0" passed.

Check of multicast communication passed.

Total memory check passed

Available memory check passed

Swap space check failed

Check failed on nodes:

Db2,db1

Free disk space check passed for "db2:/u01/app/11.2.0/grid,db2:/tmp"

Free disk space check passed for "db1:/u01/app/11.2.0/grid,db1:/tmp"

Check for multiple users with UID value 501 passed

User existence check passed for "grid"

Run level check passed

Hard limits check passed for "maximum open file descriptors"

Soft limits check passed for "maximum open file descriptors"

Hard limits check passed for "maximum user processes"

Soft limits check passed for "maximum user processes"

System architecture check passed

Kernel version check passed

Kernel parameter check passed for "semmsl"

Kernel parameter check passed for "semmns"

Kernel parameter check passed for "semopm"

Kernel parameter check passed for "semmni"

Kernel parameter check passed for "shmmax"

Kernel parameter check passed for "shmmni"

Kernel parameter check passed for "shmall"

Kernel parameter check passed for "file-max"

Kernel parameter check passed for "ip_local_port_range"

Kernel parameter check passed for "rmem_default"

Kernel parameter check passed for "rmem_max"

Kernel parameter check passed for "wmem_default"

Kernel parameter check passed for "wmem_max"

Kernel parameter check passed for "aio-max-nr"

Package existence check passed for "make"

Package existence check passed for "binutils"

Package existence check passed for "gcc (x86x64)"

Package existence check passed for "libaio (x86x64)"

Package existence check passed for "glibc (x86x64)"

Package existence check passed for "compat-libstdc++-33 (x86x64)"

Package existence check passed for "elfutils-libelf (x86x64)"

Package existence check passed for "elfutils-libelf-devel"

Package existence check passed for "glibc-common"

Package existence check passed for "glibc-devel (x86x64)"

Package existence check passed for "glibc-headers"

Package existence check passed for "gcc-c++ (x86x64)"

Package existence check passed for "libaio-devel (x86x64)"

Package existence check passed for "libgcc (x86x64)"

Package existence check passed for "libstdc++ (x86x64)"

Package existence check passed for "libstdc++-devel (x86x64)"

Package existence check passed for "sysstat"

Package existence check passed for "pdksh"

Package existence check passed for "expat (x86x64)"

Check for multiple users with UID value 0 passed

Current group ID check passed

Starting check for consistency of primary group of root user

Check for consistency of root user's primary group passed

Checking OCR integrity...

OCR integrity check passed

Checking Oracle Cluster Voting Disk configuration...

Oracle Cluster Voting Disk configuration check passed

Time zone consistency check passed

Starting Clock synchronization checks using Network Time Protocol (NTP)...

NTP Configuration file check started...

NTP Configuration file check passed

No NTP Daemons or Services were found to be running

PRVF-5507: NTP daemon or service is not running on any node but NTP configuration file exists on the following node (s):

Db2,db1

Clock synchronization check using Network Time Protocol (NTP) failed

User "grid" is not part of "root" group. Check passed

Checking consistency of file "/ etc/resolv.conf" across nodes

File "/ etc/resolv.conf" does not have both domain and search entries defined

Domain entry in file "/ etc/resolv.conf" is consistent across nodes

Search entry in file "/ etc/resolv.conf" is consistent across nodes

PRVF-5636: The DNS response time for an unreachable node exceeded "15000" ms on following nodes: db1,db2

File "/ etc/resolv.conf" is not consistent across nodes

Checking integrity of name service switch configuration file "/ etc/nsswitch.conf"...

Check for integrity of name service switch configuration file "/ etc/nsswitch.conf" passed

Checking VIP configuration.

Checking VIP Subnet configuration.

Check for VIP Subnet configuration passed.

Checking VIP reachability

Check for VIP reachability passed.

Pre-check for node addition was unsuccessful on all the nodes.

Starting Oracle Universal Installer...

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

Oracle Universal Installer, Version 11.2.0.4.0 Production

Copyright (C) 1999, 2013, Oracle. All rights reserved.

Performing tests to see whether nodes db2 are available

... 100% Done.

.

Cluster Node Addition Summary

Global Settings

Source: / u01/app/11.2.0/grid

New Nodes

Space Requirements

New Nodes

Db2

/: Required 7.34GB: Available 34.97GB

Installed Products

Product Names

Oracle Grid Infrastructure 11g 11.2.0.4.0

Java Development Kit 1.5.0.51.10

Installer SDK Component 11.2.0.4.0

Oracle One-Off Patch Installer 11.2.0.3.4

Oracle Universal Installer 11.2.0.4.0

Oracle RAC Required Support Files-HAS 11.2.0.4.0

Oracle USM Deconfiguration 11.2.0.4.0

Oracle Configuration Manager Deconfiguration 10.3.1.0.0

Enterprise Manager Common Core Files 10.2.0.4.5

Oracle DBCA Deconfiguration 11.2.0.4.0

Oracle RAC Deconfiguration 11.2.0.4.0

Oracle Quality of Service Management (Server) 11.2.0.4.0

Installation Plugin Files 11.2.0.4.0

Universal Storage Manager Files 11.2.0.4.0

Oracle Text Required Support Files 11.2.0.4.0

Automatic Storage Management Assistant 11.2.0.4.0

Oracle Database 11g Multimedia Files 11.2.0.4.0

Oracle Multimedia Java Advanced Imaging 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

Oracle Multimedia Locator RDBMS Files 11.2.0.4.0

Oracle Core Required Support Files 11.2.0.4.0

Bali Share 1.1.18.0.0

Oracle Database Deconfiguration 11.2.0.4.0

Oracle Quality of Service Management (Client) 11.2.0.4.0

Expat libraries 2.0.1.0.1

Oracle Containers for Java 11.2.0.4.0

Perl Modules 5.10.0.0.1

Secure Socket Layer 11.2.0.4.0

Oracle JDBC/OCI Instant Client 11.2.0.4.0

Oracle Multimedia Client Option 11.2.0.4.0

LDAP Required Support Files 11.2.0.4.0

Character Set Migration Utility 11.2.0.4.0

Perl Interpreter 5.10.0.0.2

PL/SQL Embedded Gateway 11.2.0.4.0

OLAP SQL Scripts 11.2.0.4.0

Database SQL Scripts 11.2.0.4.0

Oracle Extended Windowing Toolkit 3.4.47.0.0

SSL Required Support Files for InstantClient 11.2.0.4.0

SQL*Plus Files for Instant Client 11.2.0.4.0

Oracle Net Required Support Files 11.2.0.4.0

Oracle Database User Interface 2.2.13.0.0

RDBMS Required Support Files for Instant Client 11.2.0.4.0

RDBMS Required Support Files Runtime 11.2.0.4.0

XML Parser for Java 11.2.0.4.0

Oracle Security Developer Tools 11.2.0.4.0

Oracle Wallet Manager 11.2.0.4.0

Enterprise Manager plugin Common Files 11.2.0.4.0

Platform Required Support Files 11.2.0.4.0

Oracle JFC Extended Windowing Toolkit 4.2.36.0.0

RDBMS Required Support Files 11.2.0.4.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.5

Deinstallation Tool 11.2.0.4.0

Oracle Java Client 11.2.0.4.0

Cluster Verification Utility Files 11.2.0.4.0

Oracle Notification Service (eONS) 11.2.0.4.0

Oracle LDAP administration 11.2.0.4.0

Cluster Verification Utility Common Files 11.2.0.4.0

Oracle Clusterware RDBMS Files 11.2.0.4.0

Oracle Locale Builder 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

Buildtools Common Files 11.2.0.4.0

HAS Common Files 11.2.0.4.0

SQL*Plus Required Support Files 11.2.0.4.0

XDK Required Support Files 11.2.0.4.0

Agent Required Support Files 10.2.0.4.5

Parser Generator Required Support Files 11.2.0.4.0

Precompiler Required Support Files 11.2.0.4.0

Installation Common Files 11.2.0.4.0

Required Support Files 11.2.0.4.0

Oracle JDBC/THIN Interfaces 11.2.0.4.0

Oracle Multimedia Locator 11.2.0.4.0

Oracle Multimedia 11.2.0.4.0

Assistant Common Files 11.2.0.4.0

Oracle Net 11.2.0.4.0

PL/SQL 11.2.0.4.0

HAS Files for DB 11.2.0.4.0

Oracle Recovery Manager 11.2.0.4.0

Oracle Database Utilities 11.2.0.4.0

Oracle Notification Service 11.2.0.3.0

SQL*Plus 11.2.0.4.0

Oracle Netca Client 11.2.0.4.0

Oracle Advanced Security 11.2.0.4.0

Oracle JVM 11.2.0.4.0

Oracle Internet Directory Client 11.2.0.4.0

Oracle Net Listener 11.2.0.4.0

Cluster Ready Services Files 11.2.0.4.0

Oracle Database 11g 11.2.0.4.0

Instantiating scripts for add node (Wednesday, December 30, 2015 11:31:50 AM CST)

. 1% Done.

Instantiation of add node scripts complete

Copying to remote nodes (Wednesday, December 30, 2015 11:31:54 AM CST)

. 96% Done.

Home copied to new nodes

Saving inventory on nodes (Wednesday, December 30, 2015 11:36:18 AM 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'/ u01 with root privileges on nodes db2'. appUnigram oraInventoryhand orainstRoot.sh'Inventor'Root

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 new cluster node. Each script in the list below is followed by a list of nodes.

/ u01/app/oraInventory/orainstRoot.sh # On nodes db2

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

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

Follow the prompts to execute the following script on node 2:

[root@db2 ~] # / u01/app/oraInventory/orainstRoot.sh

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

Changing permissions of / u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

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

The execution of the script is complete.

[root@db2 ~] # / u01/app/11.2.0/grid/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= / u01/app/11.2.0/grid

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

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

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 script.

Now product-specific root actions will be performed.

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

Creating trace directory

User ignored Prerequisites during installation

Installing Trace File Analyzer

OLR initialization-successful

Adding Clusterware entries to upstart

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

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

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.

Preparing packages for installation...

Cvuqdisk-1.0.9-1

Configure Oracle Grid Infrastructure for a Cluster... Succeeded

View grid startup:

5. Log in as oracle user

Complete the addition of oracle nodes in oracle silence

# su-oracle

$ORACLE_HOME/oui/bin/addNode.sh-silent "CLUSTER_NEW_NODES= {db2}"

Performing pre-checks for node addition

Checking node reachability...

Node reachability check passed from node "db1"

Checking user equivalence...

User equivalence check passed for user "oracle"

WARNING:

Node "db2" already appears to be part of cluster

Pre-check for node addition was successful.

Starting Oracle Universal Installer...

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

Oracle Universal Installer, Version 11.2.0.4.0 Production

Copyright (C) 1999, 2013, Oracle. All rights reserved.

Performing tests to see whether nodes db2 are available

... 100% Done.

.

Cluster Node Addition Summary

Global Settings

Source: / u01/app/oracle/product/11.2.0/db_1

New Nodes

Space Requirements

New Nodes

Db2

/: Required 4.94GB: Available 28.56GB

Installed Products

Product Names

Oracle Database 11g 11.2.0.4.0

Java Development Kit 1.5.0.51.10

Installer SDK Component 11.2.0.4.0

Oracle One-Off Patch Installer 11.2.0.3.4

Oracle Universal Installer 11.2.0.4.0

Oracle USM Deconfiguration 11.2.0.4.0

Oracle Configuration Manager Deconfiguration 10.3.1.0.0

Oracle DBCA Deconfiguration 11.2.0.4.0

Oracle RAC Deconfiguration 11.2.0.4.0

Oracle Database Deconfiguration 11.2.0.4.0

Oracle Configuration Manager Client 10.3.2.1.0

Oracle Configuration Manager 10.3.8.1.0

Oracle ODBC Driverfor Instant Client 11.2.0.4.0

LDAP Required Support Files 11.2.0.4.0

SSL Required Support Files for InstantClient 11.2.0.4.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.4.0

Oracle Database Vault J2EE Application 11.2.0.4.0

Oracle Label Security 11.2.0.4.0

Oracle Data Mining RDBMS Files 11.2.0.4.0

Oracle OLAP RDBMS Files 11.2.0.4.0

Oracle OLAP API 11.2.0.4.0

Platform Required Support Files 11.2.0.4.0

Oracle Database Vault option 11.2.0.4.0

Oracle RAC Required Support Files-HAS 11.2.0.4.0

SQL*Plus Required Support Files 11.2.0.4.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.4.0

Oracle SQL Developer 11.2.0.4.0

Oracle Application Express 11.2.0.4.0

XDK Required Support Files 11.2.0.4.0

RDBMS Required Support Files for Instant Client 11.2.0.4.0

SQLJ Runtime 11.2.0.4.0

Database Workspace Manager 11.2.0.4.0

RDBMS Required Support Files Runtime 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

Exadata Storage Server 11.2.0.1.0

Provisioning Advisor Framework 10.2.0.4.3

Enterprise Manager Database Plugin-- Repository Support 11.2.0.4.0

Enterprise Manager Repository Core Files 10.2.0.4.5

Enterprise Manager Database Plugin-- Agent Support 11.2.0.4.0

Enterprise Manager Grid Control Core Files 10.2.0.4.5

Enterprise Manager Common Core Files 10.2.0.4.5

Enterprise Manager Agent Core Files 10.2.0.4.5

RDBMS Required Support Files 11.2.0.4.0

Regexp 2.1.9.0.0

Agent Required Support Files 10.2.0.4.5

Oracle 11g Warehouse Builder Required Files 11.2.0.4.0

Oracle Notification Service (eONS) 11.2.0.4.0

Oracle Text Required Support Files 11.2.0.4.0

Parser Generator Required Support Files 11.2.0.4.0

Oracle Database 11g Multimedia Files 11.2.0.4.0

Oracle Multimedia Java Advanced Imaging 11.2.0.4.0

Oracle Multimedia Annotator 11.2.0.4.0

Oracle JDBC/OCI Instant Client 11.2.0.4.0

Oracle Multimedia Locator RDBMS Files 11.2.0.4.0

Precompiler Required Support Files 11.2.0.4.0

Oracle Core Required Support Files 11.2.0.4.0

Sample Schema Data 11.2.0.4.0

Oracle Starter Database 11.2.0.4.0

Oracle Message Gateway Common Files 11.2.0.4.0

Oracle XML Query 11.2.0.4.0

XML Parser for Oracle JVM 11.2.0.4.0

Oracle Help For Java 4.2.9.0.0

Installation Plugin Files 11.2.0.4.0

Enterprise Manager Common Files 10.2.0.4.5

Expat libraries 2.0.1.0.1

Deinstallation Tool 11.2.0.4.0

Oracle Quality of Service Management (Client) 11.2.0.4.0

Perl Modules 5.10.0.0.1

JAccelerator (COMPANION) 11.2.0.4.0

Oracle Containers for Java 11.2.0.4.0

Perl Interpreter 5.10.0.0.2

Oracle Net Required Support Files 11.2.0.4.0

Secure Socket Layer 11.2.0.4.0

Oracle Universal Connection Pool 11.2.0.4.0

Oracle JDBC/THIN Interfaces 11.2.0.4.0

Oracle Multimedia Client Option 11.2.0.4.0

Oracle Java Client 11.2.0.4.0

Character Set Migration Utility 11.2.0.4.0

Oracle Code Editor 1.2.1.0.0I

PL/SQL Embedded Gateway 11.2.0.4.0

OLAP SQL Scripts 11.2.0.4.0

Database SQL Scripts 11.2.0.4.0

Oracle Locale Builder 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

SQL*Plus Files for Instant Client 11.2.0.4.0

Required Support Files 11.2.0.4.0

Oracle Database User Interface 2.2.13.0.0

Oracle ODBC Driver 11.2.0.4.0

Oracle Notification Service 11.2.0.3.0

XML Parser for Java 11.2.0.4.0

Oracle Security Developer Tools 11.2.0.4.0

Oracle Wallet Manager 11.2.0.4.0

Cluster Verification Utility Common Files 11.2.0.4.0

Oracle Clusterware RDBMS Files 11.2.0.4.0

Oracle UIX 2.2.24.6.0

Enterprise Manager plugin Common Files 11.2.0.4.0

HAS Common Files 11.2.0.4.0

Precompiler Common Files 11.2.0.4.0

Installation Common Files 11.2.0.4.0

Oracle Help for the Web 2.0.14.0.0

Oracle LDAP administration 11.2.0.4.0

Buildtools Common Files 11.2.0.4.0

Assistant Common Files 11.2.0.4.0

Oracle Recovery Manager 11.2.0.4.0

PL/SQL 11.2.0.4.0

Generic Connectivity Common Files 11.2.0.4.0

Oracle Database Gateway for ODBC 11.2.0.4.0

Oracle Programmer 11.2.0.4.0

Oracle Database Utilities 11.2.0.4.0

Enterprise Manager Agent 10.2.0.4.5

SQL*Plus 11.2.0.4.0

Oracle Netca Client 11.2.0.4.0

Oracle Multimedia Locator 11.2.0.4.0

Oracle Call Interface (OCI) 11.2.0.4.0

Oracle Multimedia 11.2.0.4.0

Oracle Net 11.2.0.4.0

Oracle XML Development Kit 11.2.0.4.0

Oracle Internet Directory Client 11.2.0.4.0

Database Configuration and Upgrade Assistants 11.2.0.4.0

Oracle JVM 11.2.0.4.0

Oracle Advanced Security 11.2.0.4.0

Oracle Net Listener 11.2.0.4.0

Oracle Enterprise Manager Console DB 11.2.0.4.0

HAS Files for DB 11.2.0.4.0

Oracle Text 11.2.0.4.0

Oracle Net Services 11.2.0.4.0

Oracle Database 11g 11.2.0.4.0

Oracle OLAP 11.2.0.4.0

Oracle Spatial 11.2.0.4.0

Oracle Partitioning 11.2.0.4.0

Enterprise Edition Options 11.2.0.4.0

Instantiating scripts for add node (Wednesday, December 30, 2015 11:52:47 AM CST)

. 1% Done.

Instantiation of add node scripts complete

Copying to remote nodes (Wednesday, December 30, 2015 11:52:51 AM CST)

. 96% Done.

Home copied to new nodes

Saving inventory on nodes (Wednesday, December 30, 2015 11:58:27 AM CST)

. 100% Done.

Save inventory complete

WARNING:

The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.

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

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

Execute under Node 2.

6. Log in to dbca as an oracle user on db1 to complete the orinstance addition

# su-oracle

$dbca-silent-addInstance-nodeList db2-gdbName orcl-instanceName orcl2-sysDBAUserName sys-sysDBAPassword oracle123

Note: nodelist hostname, instanceName is instance name, and gdbName is cluster database name

Performing pre-checks for node addition

Checking node reachability...

Node reachability check passed from node "db1"

Checking user equivalence...

User equivalence check passed for user "oracle"

WARNING:

Node "db2" already appears to be part of cluster

Pre-check for node addition was successful.

Starting Oracle Universal Installer...

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

Oracle Universal Installer, Version 11.2.0.4.0 Production

Copyright (C) 1999, 2013, Oracle. All rights reserved.

Performing tests to see whether nodes db2 are available

... 100% Done.

.

Cluster Node Addition Summary

Global Settings

Source: / u01/app/oracle/product/11.2.0/db_1

New Nodes

Space Requirements

New Nodes

Db2

/: Required 4.94GB: Available 28.56GB

Installed Products

Product Names

Oracle Database 11g 11.2.0.4.0

Java Development Kit 1.5.0.51.10

Installer SDK Component 11.2.0.4.0

Oracle One-Off Patch Installer 11.2.0.3.4

Oracle Universal Installer 11.2.0.4.0

Oracle USM Deconfiguration 11.2.0.4.0

Oracle Configuration Manager Deconfiguration 10.3.1.0.0

Oracle DBCA Deconfiguration 11.2.0.4.0

Oracle RAC Deconfiguration 11.2.0.4.0

Oracle Database Deconfiguration 11.2.0.4.0

Oracle Configuration Manager Client 10.3.2.1.0

Oracle Configuration Manager 10.3.8.1.0

Oracle ODBC Driverfor Instant Client 11.2.0.4.0

LDAP Required Support Files 11.2.0.4.0

SSL Required Support Files for InstantClient 11.2.0.4.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.4.0

Oracle Database Vault J2EE Application 11.2.0.4.0

Oracle Label Security 11.2.0.4.0

Oracle Data Mining RDBMS Files 11.2.0.4.0

Oracle OLAP RDBMS Files 11.2.0.4.0

Oracle OLAP API 11.2.0.4.0

Platform Required Support Files 11.2.0.4.0

Oracle Database Vault option 11.2.0.4.0

Oracle RAC Required Support Files-HAS 11.2.0.4.0

SQL*Plus Required Support Files 11.2.0.4.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.4.0

Oracle SQL Developer 11.2.0.4.0

Oracle Application Express 11.2.0.4.0

XDK Required Support Files 11.2.0.4.0

RDBMS Required Support Files for Instant Client 11.2.0.4.0

SQLJ Runtime 11.2.0.4.0

Database Workspace Manager 11.2.0.4.0

RDBMS Required Support Files Runtime 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

Exadata Storage Server 11.2.0.1.0

Provisioning Advisor Framework 10.2.0.4.3

Enterprise Manager Database Plugin-- Repository Support 11.2.0.4.0

Enterprise Manager Repository Core Files 10.2.0.4.5

Enterprise Manager Database Plugin-- Agent Support 11.2.0.4.0

Enterprise Manager Grid Control Core Files 10.2.0.4.5

Enterprise Manager Common Core Files 10.2.0.4.5

Enterprise Manager Agent Core Files 10.2.0.4.5

RDBMS Required Support Files 11.2.0.4.0

Regexp 2.1.9.0.0

Agent Required Support Files 10.2.0.4.5

Oracle 11g Warehouse Builder Required Files 11.2.0.4.0

Oracle Notification Service (eONS) 11.2.0.4.0

Oracle Text Required Support Files 11.2.0.4.0

Parser Generator Required Support Files 11.2.0.4.0

Oracle Database 11g Multimedia Files 11.2.0.4.0

Oracle Multimedia Java Advanced Imaging 11.2.0.4.0

Oracle Multimedia Annotator 11.2.0.4.0

Oracle JDBC/OCI Instant Client 11.2.0.4.0

Oracle Multimedia Locator RDBMS Files 11.2.0.4.0

Precompiler Required Support Files 11.2.0.4.0

Oracle Core Required Support Files 11.2.0.4.0

Sample Schema Data 11.2.0.4.0

Oracle Starter Database 11.2.0.4.0

Oracle Message Gateway Common Files 11.2.0.4.0

Oracle XML Query 11.2.0.4.0

XML Parser for Oracle JVM 11.2.0.4.0

Oracle Help For Java 4.2.9.0.0

Installation Plugin Files 11.2.0.4.0

Enterprise Manager Common Files 10.2.0.4.5

Expat libraries 2.0.1.0.1

Deinstallation Tool 11.2.0.4.0

Oracle Quality of Service Management (Client) 11.2.0.4.0

Perl Modules 5.10.0.0.1

JAccelerator (COMPANION) 11.2.0.4.0

Oracle Containers for Java 11.2.0.4.0

Perl Interpreter 5.10.0.0.2

Oracle Net Required Support Files 11.2.0.4.0

Secure Socket Layer 11.2.0.4.0

Oracle Universal Connection Pool 11.2.0.4.0

Oracle JDBC/THIN Interfaces 11.2.0.4.0

Oracle Multimedia Client Option 11.2.0.4.0

Oracle Java Client 11.2.0.4.0

Character Set Migration Utility 11.2.0.4.0

Oracle Code Editor 1.2.1.0.0I

PL/SQL Embedded Gateway 11.2.0.4.0

OLAP SQL Scripts 11.2.0.4.0

Database SQL Scripts 11.2.0.4.0

Oracle Locale Builder 11.2.0.4.0

Oracle Globalization Support 11.2.0.4.0

SQL*Plus Files for Instant Client 11.2.0.4.0

Required Support Files 11.2.0.4.0

Oracle Database User Interface 2.2.13.0.0

Oracle ODBC Driver 11.2.0.4.0

Oracle Notification Service 11.2.0.3.0

XML Parser for Java 11.2.0.4.0

Oracle Security Developer Tools 11.2.0.4.0

Oracle Wallet Manager 11.2.0.4.0

Cluster Verification Utility Common Files 11.2.0.4.0

Oracle Clusterware RDBMS Files 11.2.0.4.0

Oracle UIX 2.2.24.6.0

Enterprise Manager plugin Common Files 11.2.0.4.0

HAS Common Files 11.2.0.4.0

Precompiler Common Files 11.2.0.4.0

Installation Common Files 11.2.0.4.0

Oracle Help for the Web 2.0.14.0.0

Oracle LDAP administration 11.2.0.4.0

Buildtools Common Files 11.2.0.4.0

Assistant Common Files 11.2.0.4.0

Oracle Recovery Manager 11.2.0.4.0

PL/SQL 11.2.0.4.0

Generic Connectivity Common Files 11.2.0.4.0

Oracle Database Gateway for ODBC 11.2.0.4.0

Oracle Programmer 11.2.0.4.0

Oracle Database Utilities 11.2.0.4.0

Enterprise Manager Agent 10.2.0.4.5

SQL*Plus 11.2.0.4.0

Oracle Netca Client 11.2.0.4.0

Oracle Multimedia Locator 11.2.0.4.0

Oracle Call Interface (OCI) 11.2.0.4.0

Oracle Multimedia 11.2.0.4.0

Oracle Net 11.2.0.4.0

Oracle XML Development Kit 11.2.0.4.0

Oracle Internet Directory Client 11.2.0.4.0

Database Configuration and Upgrade Assistants 11.2.0.4.0

Oracle JVM 11.2.0.4.0

Oracle Advanced Security 11.2.0.4.0

Oracle Net Listener 11.2.0.4.0

Oracle Enterprise Manager Console DB 11.2.0.4.0

HAS Files for DB 11.2.0.4.0

Oracle Text 11.2.0.4.0

Oracle Net Services 11.2.0.4.0

Oracle Database 11g 11.2.0.4.0

Oracle OLAP 11.2.0.4.0

Oracle Spatial 11.2.0.4.0

Oracle Partitioning 11.2.0.4.0

Enterprise Edition Options 11.2.0.4.0

Instantiating scripts for add node (Wednesday, December 30, 2015 11:52:47 AM CST)

. 1% Done.

Instantiation of add node scripts complete

Copying to remote nodes (Wednesday, December 30, 2015 11:52:51 AM CST)

. 96% Done.

Home copied to new nodes

Saving inventory on nodes (Wednesday, December 30, 2015 11:58:27 AM CST)

. 100% Done.

Save inventory complete

WARNING:

The following configuration scripts need to be executed as the "root" user in each new cluster node. Each script in the list below is followed by a list of nodes.

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

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

[oracle@db1 ~] $

[oracle@db1 ~] $id

Uid=502 (oracle) gid=501 (oinstall) groups=501 (oinstall), 502,503 (oper), 506 (asmdba)

[oracle@db1] $dbca-silent-addInstance-nodeList db2-gdbName orcl-instanceName orcl2-sysDBAUserName sys-sysDBAPassword oracle123

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 "/ u01/app/oracle/cfgtoollogs/dbca/orcl/orcl.log" for further details.

7. Verify that the db2 node is added

On the reserved db1 node:

(1) verify whether the database has been added

[grid@db1] $crsctl status resource-t

NAME TARGET STATE SERVER STATE_DETAILS

Local Resources

Ora.CRS.dg

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.DATA.dg

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.LISTENER.lsnr

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.RECOVERY.dg

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.asm

ONLINE ONLINE db1 Started

ONLINE ONLINE db2 Started

Ora.gsd

OFFLINE OFFLINE db1

OFFLINE OFFLINE db2

Ora.net1.network

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.ons

ONLINE ONLINE db1

ONLINE ONLINE db2

Ora.registry.acfs

ONLINE ONLINE db1

ONLINE ONLINE db2

Cluster Resources

Ora.LISTENER_SCAN1.lsnr

1 ONLINE ONLINE db1

Ora.cvu

1 ONLINE ONLINE db1

Ora.db1.vip

1 ONLINE ONLINE db1

Ora.db2.vip

1 ONLINE ONLINE db2

Ora.oc4j

1 ONLINE ONLINE db1

Ora.orcl.db

1 ONLINE ONLINE db1 Open

2 ONLINE ONLINE db2 Open

Ora.scan1.vip

1 ONLINE ONLINE db1

(2) View an example of an activity:

Here, the operation of adding and removing nodes is complete.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report