Professional Documents
Culture Documents
00
GDMS Date: 9/11/07
Summary:
=============================================================
This presentation will provide detail steps for Oracle DBA and Linux Engineer to
add new node to existing 10gR2 (10.2.0.3) database RAC.
Pre-install checking
Adding an Oracle clusterware home to new nodes using OUI in interactive node
Adding an Oracle home to new nodes using OUI in interactive mode
Reconfigure listener on new node using NETCA
Adding ASM instance to new nodes manually
1
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
11. Ensure $ORACLE_BASE directory exist on new node with correct permission
2
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
Part II: Adding an Oracle Clusterware Home to a New Node Using OUI in Interactive Mode
=============================================================Ensure that you have
successfully installed Oracle Clusterware on at least one node in your cluster environment. To use these
procedures as shown, your $ORA_CRS_HOME environment variable must identify your successfully
installed Oracle Clusterware home.
1. Set the DISPLAY environment variable and run the addNode.sh script
from existing node (node1)
. ./ .profile
DISPLAY=ipaddress:0.0; export DISPLAY
cd $ORA_CRS_HOME/oui/bin
./addNode.sh
3
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
4
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
2.The Oracle Universal Installer (OUI) displays the Node Selection Page
3. Enter the node that you want to add and verify the entries that OUI displays on the Summary Page click
Next.
5
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
4. Monitor the progress of the copy crs home to new node and verify the total size of the CRS
directory
6
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
7
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
a. Run the orainstRoot.sh script on the new node if OUI prompts you to do so.
ausdfsgriddb10:/u01/app/oracle/oraInventory # ./orainstRoot.sh
Changing permissions of /u01/app/oracle/oraInventory to 770.
Changing groupname of /u01/app/oracle/oraInventory to oinstall.
The execution of the script is complete
b. Run the rootaddNode.sh script from the $ORA_CRS_HOME/install/ directory on the node from which
you are running OUI.
ausdfsgriddb01:/u01/app/oracle/product/10.2.0/crs_1/install # ./rootaddnode.sh
clscfg: EXISTING configuration version 3 detected.
8
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
c. Run the root.sh script on the new node from $ORA_CRS_HOME to start Oracle Clusterware on the new
node.
ausdfsgriddb10:/u01/app/oracle/product/10.2.0/crs_1 # ./root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
OCR LOCATIONS = /u02/oradata/ocr1,/u02/oradata/ocr2
OCR backup directory '/u01/app/oracle/product/10.2.0/crs_1/cdata/dfsddeamercrs' does not exist. Creating
now
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: ausdfsgriddb01 ausdfsgriddb01-pn ausdfsgriddb01
node 2: ausdfsgriddb02 ausdfsgriddb02-pn ausdfsgriddb02
node 3: ausdfsgriddb03 ausdfsgriddb03-pn ausdfsgriddb03
node 4: ausdfsgriddb04 ausdfsgriddb04-pn ausdfsgriddb04
9
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
10
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
Done.
6. Verify crs is started on new node and nodeapps are started except for listener, and then exit OUI.
11
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
7. Obtain the remote port identifier, which you need to know for the next step, by running the following
command on the existing node from the $ORA_CRS_HOME/opmn/conf directory:
$ cat $ORA_CRS_HOME/opmn/conf/ons.config
localport=6113
remoteport=6201
loglevel=3
useocr=on
9.From the $ORA_CRS_HOME/bin directory on an existing node, run the Oracle Notification Service
(RACGONS) utility as in the following example where remote_port is the port number from the previous
step and node2 is the name of the node that you are adding:
./racgons add_config New_Node:Remote_Port
Ex:
$ ./racgons add_config ausdfsgriddb10:6201
10. Move the Oracle created S96init.crs script to S11 and chkconfig init.crs off and then back on to ensure
CRS will start properly during a reboot. Finally, reboot the node and confirm. (SE)
12
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
mv /etc/init.d/rc3.d/S96init.crs /etc/init.d/rc3.d/S11init.crs
chkconfig -e init.crs (Now within vi change to on and “:wq”)
chkconfig -e init.crs (Now within vi change to off and “:wq”)
chkconfig -e init.crs (Now within vi change to on and “:wq”)
Part III: Adding an Oracle Home to a New Node Using OUI in Interactive Mode
================================================
Ensure that you have successfully installed Oracle with the Oracle RAC software on at least one node in
your cluster environment. To use these procedures as shown, your $ORACLE_HOME environment
variable must identify your successfully installed Oracle home.
2. When OUI displays the Node Selection Page, select the node to be added and click Next.
13
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
3. Verify the entries that OUI displays on the Summary Page and click Next.
14
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
4.Run the root.sh script on the new node from Oracle_home when OUI prompts you to do so.
15
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
ausdfsgriddb10:/u01/app/oracle/product/10.2.0/db_1 # ./root.sh
Running Oracle10 root.sh script...
16
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
17
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
18
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
19
Dell Confidential Printed 12/7/2021
Printed: 12/07/21
Grid Control Playbook Version: 1.00
GDMS Date: 9/11/07
mv orapw+ASM1 orapw+ASM10
Some steps in the document are specific for Dell Linux standard environment
setup. It may not apply to you.
Reference
=================
Oracle metalink : Doc ID: 10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10
(VIPCA Failures) Note:414163.1
21
Dell Confidential Printed 12/7/2021
Printed: 12/07/21