Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Type BULLETIN
Status PUBLISHED
PURPOSE
------The purpose of this note is to provide the user with a document that
can be used as a guide to add a cluster node from an Oracle 10g Real
Applications environment.
SCOPE & APPLICATION
------------------This document can be used by DBAs and support analsyts who need to
either add a cluster node or assist another in adding a cluster
node in a 10g Unix Real Applications environment. If you are on
10gR2 (10.2.0.2 or higher), please refer to the documentation for
more updated steps.
Prerequisite
---------All nodes from initial cluster installation must be available up and running
for adding a new node.
If there is requirement for down node (due to hardware/os problem) to be
replaced with a new node using this addNode procedure then first remove the bad
node using document Note 466975.1 before proceeding with addNode.
ADDING A NODE TO A 10g RAC CLUSTER
---------------------------------The most important steps that need to be followed are;
A.
B.
C.
D.
E.
If the CRS Home is owned by root and you are on a version < 10.1.0.4, change
the ownership of the CRS Home directories on all nodes to the Oracle user
so that OUI can read and write to these directories.
2.
Set the DISPLAY environment variable and run the addNode.sh script from
$ORA_CRS_HOME/oui/bin on one of the existing nodes as the oracle user.
Example:
DISPLAY=ipaddress:0.0; export DISPLAY
cd $ORA_CRS_HOME/oui/bin
./addNode.sh
3.
4.
5.
The "Cluster Node Addition Summary" screen will appear, click next.
6.
The "Cluster Node Addition Progress" screen will appear. You will
then be prompted to run rootaddnode.sh as the root user. First verify
that the CLSCFG information in the rootaddnode.sh script is correct.
It should contain the new public and private node names and node
numbers. Example:
$CLSCFG -add -nn ,2 -pn ,2 -hn ,2
Then run the rootaddnode.sh script on the EXISTING node you ran the
addNode.sh from. Example:
su root
cd $ORA_CRS_HOME
sh -x rootaddnode.sh
Once this is finished, click OK in the dialog box to continue.
7.
At this point another dialog box will appear, this time you are
prompted to run $ORA_CRS_HOME/root.sh on all the new nodes.
If you are on version < 10.1.0.4 then
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN... 6/4/2011
Page 2 of 5
- Locate the highest numbered NEW cluster node using "$ORA_CRS_HOME/bin/olsnodes -n".
- Run the root.sh script on this highest numbered NEW cluster node.
- Run the root.sh script on the rest of the NEW nodes in any order.
For versions 10.1.0.4 and above the root scritps can be run on the NEW
nodes in any order.
Example:
su root
cd $ORA_CRS_HOME
sh -x root.sh
If there are any problems with this step, refer to Note 240001.1
Once this is finished, click OK in the dialog box to continue.
8.
After running the CRS root.sh on all new nodes, as the root user run
$ORA_CRS_HOME/bin/racgons add_config :4948 :4948...
from any node.
9.
10.
C.
Add the Oracle Database software (with RAC option) to the new node.
--------------------------------------------------------------------------1.
2.
3.
4.
The "Cluster Node Addition Summary" screen will appear, click next.
5.
You will
su root
cd $ORACLE_HOME
./root.sh
Once this is finished, click OK in the dialog box to continue.
6.
7.
Cd to the $ORACLE_HOME/bin directory and run the vipca tool with the
new nodelist. Example:
su root
DISPLAY=ipaddress:0.0; export DISPLAY
cd $ORACLE_HOME/bin
./vipca -nodelist ,
8.
9.
10.
11.
You will now see a progress bar creating and starting the new CRS
resources. Once this is finished, click ok, view the configuration
results, and click on the exit button.
12.
eth1/10.10.10.0:cluster_interconnect
D.
Reconfigure listeners for new node.
------------------------------------------1.
Run NETCA on the NEW node to verify that the listener is configured on
the new node. Example:
DISPLAY=ipaddress:0.0; export DISPLAY
netca
2.
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN... 6/4/2011
Page 3 of 5
3.
4.
5.
6.
7.
8.
9.
10.
You may get an error message saying, "The information provided for this
listener is currently in use by another listener...". Click yes to
continue anyway.
11.
12.
13.
Run crs_stat to verify that the listener CRS resource was created.
Example:
cd $ORA_CRS_HOME/bin
./crs_stat
14.
15.
Use crs_stat to confirm that all VIP's, GSD's, ONS's, and listeners are
ONLINE.
E.
Add instances via DBCA. (for databases involving standby see section F first)
--------------------------------------------------------------------1.
Example:
3.
4.
5.
Choose the database you would like to add an instance to and specify
a user with SYSDBA privileges, click next. Click next again...
6.
7.
8.
Review the summary screen, click OK and wait a few seconds for the
progress bar to start.
9.
Allow the progress bar to finish. When asked if you want to perform
another operation, choose "No" to exit DBCA.
10.
To verify success, log into one of the instances and query from
gv$instance, you should now see all nodes.
F.
Adding Instances to Database when there's a standby database in place.
-----------------------------------------------Depending on the current dataguard configuration there are several steps
we need to perform. The steps to perform depend on which cluster we are
adding to the new node to and how many nodes and instances will be on
primary and standby site at the end.
Possible cases are:
1.
a.
b.
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN... 6/4/2011
Page 4 of 5
c.
Add the standby redologs on standby after the database has been
mounted with the new controlfile:
On standby:
alter database add standby logfile thread 3
group 11 ('/u01/oradata/DR/srl_3_11.dbf') size 100m,
group 12 ('/u01/oradata/DR/srl_3_12.dbf') size 100m;
2.
2.1
a.
b.
c.
2.2
a.
b.
c.
On standby (after the database has been mounted with the new controlfile):
alter database add standby logfile thread 3
group 11 ('/u01/oradata/DR/srl_3_11.dbf') size 100m,
group 12 ('/u01/oradata/DR/srl_3_12.dbf') size 100m;
d.
e.
3.
RELATED DOCUMENTS
----------------Oracle Real Application Clusters Administrator's Guide - Chapter 5
Oracle Series/Oracle Database 10g High Availabilty Chapter 5 28-34.
Note 239998.
Note 466975.1
Related
Products
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN... 6/4/2011
Page 5 of 5
Back to top
Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN... 6/4/2011