Add a Node to Oracle RAC (11gR2)
Basic Installation (11gR2 RAC) is done using - - -
The only difference is among node names:
Venus (1st node name) instead of ol5-112-rac1
Jupiter (2nd node name) instead of ol5-112-rac2
Saturn (3rd node name) is the new node which will be added into already running 11gR2 RAC
What do i pre-assume on new node i.e. on Saturn :
Similar swap, temp, limits.conf settings, kernel settings, ntp must be off, etc.
Same directory structure as on previous running nodes,
Same users, group’s configuration as on previous running nodes,
Update /etc/hosts file on each node adding entries for new node "Saturn", so that it would look like –
127.0.0.1 localhost.localdomain localhost
10.131.XXX.163 venus.localdomain Venus
10.131.XXX.221 jupiter.localdomain Jupiter
10.131.XXX.101 saturn.localdomain Saturn
192.168.1.103 venus-priv.localdomain venus-priv
192.168.1.104 jupiter-priv.localdomain jupiter-priv
192.168.1.105 saturn-priv.localdomain saturn-priv
10.131.XXX.211 venus-vip.localdomain venus-vip
10.131.XXX.222 jupiter-vip.localdomain jupiter-vip
10.131.XXX.102 saturn-vip.localdomain saturn-vip
10.131.XXX.247 scan1.localdomain scan1
and previously it was :
127.0.0.1 localhost.localdomain localhost
10.131.XXX.163 venus.localdomain Venus
10.131.XXX.221 jupiter.localdomain Jupiter
192.168.1.103 venus-priv.localdomain venus-priv
192.168.1.104 jupiter-priv.localdomain jupiter-priv
10.131.XXX.211 venus-vip.localdomain venus-vip
10.131.XXX.222 jupiter-vip.localdomain jupiter-vip
10.131.XXX.247 scan1.localdomain scan1
ASM must be configured and "#oracleasm listdisks" command on Saturn must show the the same disks used by Venus, Jupiter.
Configure secure shell for oracle user on all nodes
From oracle_home/oui/bin on Venus -
./runSSHSetup.sh -user oracle -hosts "jupiter saturn" -advanced -exverify
Verify New Node (HWOS)
From grid_home on Venus
$GRID_HOME/bin/cluvfy stage -post hwos -n saturn > /u02/hwos.log
From grid_home on Venus
$GRID_HOME/bin/cluvfy comp peer -refnode venus -n saturn -orainv oinstall -osdba dba -verbose > /u02/comppeer.log
From grid_home on Venus
$GRID_HOME/bin/cluvfy stage -pre nodeadd -n saturn -fixup -verbose > /u02/fixup.log
Extend Clusterware
[oracle@venus bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={saturn}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={saturn-vip}"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 4000 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 jupiter,saturn are available
............................................................... 100% Done.
.
-----------------------------------------------------------------------------
Cluster Node Addition Summary
Global Settings
Source: /u01/app/11.2.0/grid
New Nodes
Space Requirements
New Nodes
Saturn
/u01: Required 3.81GB : Available 13.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 (Wednesday, December 11, 2013 4:14:32 PM IST)
. 1% Done.
Instantiation of add node scripts complete
Copying to remote nodes (Wednesday, December 11, 2013 4:14:35 PM IST)
............................................................................................... 96% Done.
Home copied to new nodes
Saving inventory on nodes (Wednesday, December 11, 2013 4:19:42 PM IST)
. 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/app/oraInventory/orainstRoot.sh' with root privileges on nodes 'Saturn'.
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.
/u01/app/oraInventory/orainstRoot.sh #On nodes Saturn
/u01/app/11.2.0/grid/root.sh #On nodes Saturn
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.
[oracle@venus bin]$
From root user on Saturn :::
[root@saturn 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.
From root user on Saturn :::
[root@saturn oraInventory]# cd /u01/app/11.2.0/grid/
[root@saturn grid]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/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.
2013-12-11 16:25:04: Parsing the host name
2013-12-11 16:25:04: Checking for super user privileges
2013-12-11 16:25:04: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_p
arams
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
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node Venus, number 1, and is terminating
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'Saturn'
CRS-2677: Stop of 'ora.cssdmonitor' on 'Saturn' succeeded
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'Saturn'
CRS-2676: Start of 'ora.mdnsd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'Saturn'
CRS-2676: Start of 'ora.gipcd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'Saturn'
CRS-2676: Start of 'ora.gpnpd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'Saturn'
CRS-2676: Start of 'ora.cssdmonitor' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'Saturn'
CRS-2672: Attempting to start 'ora.diskmon' on 'Saturn'
CRS-2676: Start of 'ora.diskmon' on 'Saturn' succeeded
CRS-2676: Start of 'ora.cssd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'Saturn'
CRS-2676: Start of 'ora.ctssd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'Saturn'
CRS-2676: Start of 'ora.drivers.acfs' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'Saturn'
CRS-2676: Start of 'ora.asm' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'Saturn'
CRS-2676: Start of 'ora.crsd' on 'Saturn' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'Saturn'
CRS-2676: Start of 'ora.evmd' on 'Saturn' 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.
Saturn 2013/12/11 16:27:34 /u01/app/11.2.0/grid/cdata/Saturn/backup_20131211_162734.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 4000 MB Passed
The inventory pointer is located at /etc./oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
[root@saturn grid]#
If successful, clusterware daemons, the listener, the ASM instance, etc. should be started
[oracle@saturn ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[oracle@saturn ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.DATA.dg ora....up.type 0/5 0/ ONLINE ONLINE Jupiter
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE Jupiter
ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE Venus
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE Jupiter
ora.eons ora.eons.type 0/3 0/ ONLINE ONLINE Jupiter
ora.gsd ora.gsd.type 0/5 0/ OFFLINE OFFLINE
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE Jupiter
ora....ER.lsnr application 0/5 0/0 ONLINE ONLINE Jupiter
ora....ter.gsd application 0/5 0/0 OFFLINE OFFLINE
ora....ter.ons application 0/3 0/0 ONLINE ONLINE Jupiter
ora....ter.vip ora....t1.type 0/0 0/0 ONLINE ONLINE Jupiter
ora....network ora....rk.type 0/5 0/ ONLINE ONLINE Jupiter
ora.oc4j ora.oc4j.type 0/5 0/0 OFFLINE OFFLINE
ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE Jupiter
ora.rac.db ora....se.type 0/2 0/1 ONLINE ONLINE Venus
ora....ry.acfs ora....fs.type 0/5 0/ ONLINE ONLINE Jupiter
ora....SM3.asm application 0/5 0/0 ONLINE ONLINE Saturn
ora....RN.lsnr application 0/5 0/0 ONLINE ONLINE Saturn
ora.saturn.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.saturn.ons application 0/3 0/0 ONLINE ONLINE Saturn
ora.saturn.vip ora....t1.type 0/0 0/0 ONLINE ONLINE Saturn
ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE Venus
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE Venus
ora....US.lsnr application 0/5 0/0 ONLINE ONLINE Venus
ora.venus.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.venus.ons application 0/3 0/0 ONLINE ONLINE Venus
ora.venus.vip ora....t1.type 0/0 0/0 ONLINE ONLINE Venus
[oracle@saturn ~]$ olsnodes -n
Venus 1
Jupiter 2
Saturn 3
[oracle@saturn ~]$ srvctl status asm -a
ASM is running on jupiter,saturn,venus
ASM is enabled.
[oracle@saturn ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2796
Available space (kbytes) : 259324
ID : 390546971
Device/File Name : +DATA
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user
[oracle@saturn ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 8ff64908f13f4f36bfc8a6b23003a378 (ORCL:DISK1) [DATA]
Located 1 voting disk(s).
Verify New Node (NEW NODE POST)
[oracle@venus u02]$ $GRID_HOME/bin/cluvfy stage -post nodeadd -n saturn -verbose > /u02/clusterpost.log
Extend Oracle Database Software
Run “addNode.sh”
[oracle@venus ~]$ . ./db.env
[oracle@venus ~]$ cd $ORACLE_HOME
[oracle@venus db_1]$ cd oui/bin/
[oracle@venus bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={saturn}"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 3319 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 jupiter,saturn 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
Saturn
/u01: Required 3.61GB : Available 10.42GB
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 (Wednesday, December 11, 2013 4:50:31 PM IST)
. 1% Done.
Instantiation of add node scripts complete
Copying to remote nodes (Wednesday, December 11, 2013 4:50:36 PM IST)
........................
............... 96% Done.
Home copied to new nodes
Saving inventory on nodes (Wednesday, December 11, 2013 4:58:27 PM IST)
. 100% Done.
Save inventory complete
WARNING:
The following configuration scripts need to be executed as the "root" user in each cluster node.
/u01/app/oracle/product/11.2.0/db_1/root.sh #On nodes Saturn
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@venus bin]$
From root user on Saturn :::
[root@saturn db_1]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1
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]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
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.
[root@saturn db_1]#
Change ownership of ‘oracle’
AT VENUS $ORACLE_HOME/bin/:
[oracle@venus bin]$ ls -lrt oracle
-r-sr-s--x 1 oracle dba 173515905 Dec 6 23:14 oracle
AT SATURN $ORACLE_HOME/bin/:
[oracle@saturn bin]$ ls -lrt oracle
-r-sr-s--x 1 oracle oinstall 173515905 Dec 11 16:56 oracle
The end-goal is to have the permissions of the ‘oracle’ binary match the other nodes in the cluster.
So …
[oracle@saturn bin]$ chgrp dba $ORACLE_HOME/bin/oracle
[oracle@saturn bin]$ chmod 6751 $ORACLE_HOME/bin/oracle
[oracle@saturn bin]$ ./cluvfy comp admprv -o db_config -d $ORACLE_HOME -n venus,jupiter,saturn -verbose > $ORACLE_HOME/admprv.log
Database Configuration Assistant — GUI Method instead of (and not) SRVCTL — Command-Line Method
Follow the same steps at :
Check the status of new instance :
[oracle@venus ~]$ srvctl status instance -d RAC -i RAC1
Instance RAC1 is running on node Venus
[oracle@venus ~]$ srvctl status instance -d RAC -i RAC2
Instance RAC2 is running on node Jupiter
[oracle@venus ~]$ srvctl status instance -d RAC -i RAC3
Instance RAC3 is running on node Saturn
[oracle@saturn ~]$ . ./grid.env
[oracle@saturn ~]$ srvctl status database -d rac -v
Instance RAC2 is running on node Jupiter
Instance RAC3 is running on node Saturn
Instance RAC1 is running on node Venus
[oracle@saturn ~]$
[oracle@venus ~]$ . ./db.env
[oracle@venus ~]$ export ORACLE_SID=RAC1
[oracle@venus ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Dec 11 18:47:00 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select inst_id, instance_name, status,to_char(startup_time, 'DD-MON-YYYY HH24:MI:SS') as "START_TIME" from gv$instance order by inst_id;
INST_ID INSTANCE_NAME STATUS START_TIME
---------- ---------------- ------------ -----------------------------
1 RAC1 OPEN 11-DEC-2013 14:53:01
2 RAC2 OPEN 11-DEC-2013 14:52:18
3 RAC3 OPEN 11-DEC-2013 17:53:52
SQL>
========================================================================
Comments
Post a Comment
Oracle DBA Information