Professional Documents
Culture Documents
RAC 10g R2, How To Add A Node Using Database Control: Index
RAC 10g R2, How To Add A Node Using Database Control: Index
Index Steps In Brief ............................................................................................................................................................................................................... 2 Pre-Rac Install: OS install and Hardware preparation................................................................................................................................................. 2 Install Oracle Clusterware on the new node ................................................................................................................................................................ 3 Install Oracle RDBMS and ASM Home on the new node ........................................................................................................................................ 10 Configure the Listener on the new Node ................................................................................................................................................................... 14 Create an ASM Instance on the new node. ................................................................................................................................................................ 16 Create a Database Instance on the new node. ............................................................................................................................................................ 21 END of the Procedure................................................................................................................................................................................................ 27
www.oracle.com
Steps In Brief
Pre-Rac Install: OS install and Hardware preparation Install Oracle Clusterware on the new node Install Oracle RDBMS on the new node Add a Database Instance to the Cluster on the new node with Database Control.
www.oracle.com
www.oracle.com
www.oracle.com
www.oracle.com
www.oracle.com
www.oracle.com
The OUI will recognise the existing nodes and ask you to enter the new node name. Enter the 'short' node names for public, private and VIP node names of the new node. E.g. node3, node3-priv,node3-vip The OUI will copy the clusterware software to node3 and at the end will ask you to run few scripts as the 'root' user on node1 and node3. Make sure that you run the scripts on the correct node as specified. Please run the scripts one after another. The following steps need to be done on node1: Login as the Oracle user cat $CRS_HOME/opmn/conf/ons.config The above command will output the remote port along with other config info. E.g. 6200. You need to use this port in the following command. $CRS_HOME/bin/racgons add_config node3:6200
www.oracle.com
www.oracle.com
www.oracle.com
The installer will copy the database software to node3 and will ask you to run root.sh at the end. Run it on the correct node as specified.
www.oracle.com
Once Finished until this point repeat for the ASM home.
www.oracle.com
www.oracle.com
www.oracle.com
The above steps will add a listener on node3 with the name LISTENER_node3.
The following steps need to be done on node1: Login as the Oracle user and set the environment to ASM home. $ORACLE_HOME/bin/dbca
Choose Node 3
www.oracle.com
www.oracle.com
www.oracle.com
Select 'racdb' (or whatever the cluster database name you have) as the database and enter the sys username/password at the bottom of the screen.
It will display the existing instances. Click next and on the following screen enter racdb3 as the instance name and choose node3. This will create a database instance (racdb3 onnode3). During creation it will ask if the ASM instance should be extended to node3. You need to choose 'Yes'.
www.oracle.com
The following steps need to be done from Enterprise Manager Database Console: Connect to Enterprise Manager as SYS Choose Administration
www.oracle.com
www.oracle.com
www.oracle.com
And then press on the add instance link, this will show the job log
www.oracle.com
The log is displayed, to refresh it go back and forth from the previous step
www.oracle.com
Checkup of RAC status using crs_stat t HA Resource ----------ora.racdba.db ora.racdba.racdba1.inst ora.racdba.racdba2.inst ora.racdba.racdba3.inst ora.vmractest1.ASM1.asm ora.vmractest1.LISTENER_VMRACTEST1.lsnr ora.vmractest1.gsd ora.vmractest1.ons ora.vmractest1.vip ora.vmractest2.ASM2.asm ora.vmractest2.LISTENER_VMRACTEST2.lsnr ora.vmractest2.gsd ora.vmractest2.ons ora.vmractest2.vip ora.vmractest3.ASM3.asm ora.vmractest3.LISTENER_VMRACTEST3.lsnr ora.vmractest3.gsd ora.vmractest3.ons ora.vmractest3.vip Target -----ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE State ----ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE
on on on on on on on on on on on on on on on on on on on
vmractest1 vmractest1 vmractest2 vmractest3 vmractest1 vmractest1 vmractest1 vmractest1 vmractest1 vmractest2 vmractest2 vmractest2 vmractest2 vmractest2 vmractest3 vmractest3 vmractest3 vmractest3 vmractest3
{oracle} /home/oracle [vmractest1.] > sqlplus system@racdba3 SQL*Plus: Release 10.2.0.2.0 - Production on Thu Jun 8 13:36:39 2006 Copyright (c) 1982, 2005, Oracle. All Rights Reserved. Enter password:
www.oracle.com Alejandro Vargas Principal Support Consultant
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, Real Application Clusters, OLAP and Data Mining options SQL> select instance_name from v$instance;
INSTANCE_NAME ---------------racdba3 SQL> select instance_name from gv$instance; INSTANCE_NAME ---------------racdba1 racdba2 racdba3 END of the Procedure.
www.oracle.com