4-Node RAC installation is just like a 2-Node RAC in the fact that we need to prepare 4 nodes in stead of 2 nodes. If the hardware is in place max time required is 3 to 4 hours for a new DB installation.
Steps
1. Check SSH Connectivity among the cluster nodes
2. Check /etc/hosts and add VIP,IP and Interconnect details
3. Ping all the IP's, VIP will not ping at this stage
4. /app/oracle_source/clusterware/cluvfy/runcluvfy.sh stage -post hwos -n node1,node2,node3,node4 -verbose (from root)
ERROR:
Could not find a suitable set of interfaces for VIPs. Can be ignored at this stage
5. /app/oracle_source/clusterware/cluvfy/runcluvfy.sh stage -pre crsinst -n node1,node2,node3,node4 -verbose (from root)
6. Service guard health check
cmruncl -v
cmviewcl
cfscluster status
7. edit /app/oracle_source/clusterware/install/oraparam.ini to avoid version error =
vi /app/oracle_source/clusterware/install/oraparam.ini
HPUX=B.11.23 to HPUX=B.11.31
8. ./runInstaller (For clusterware installation)
9. Create OCR disks (2) and vote disk (3) before proceeding with oracle permission
10. after successful completion run /home/oracle/oraInventory/orainstRoot.sh and
/app/oracle/product/crs/root.sh as appear on screen on all 4 nodes
11. Oracle Cluster Verification Utility will fail.. Leave the screen as it is and open a new session with root and run vipca. After vipca run successfully, retry the previous screen and this time it will be success
12. At this moment, your vip should ping
13. Check on each node for crs and init.d
ps -ef|grep crs and ps -ef|grep init.d
14. Check crs-stat for vip inclusion
[root@xxxm71]:/app/oracle/product/crs/bin>./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....m71.gsd application ONLINE ONLINE xxxm71
ora....m71.ons application ONLINE ONLINE xxxm71
ora....m71.vip application ONLINE ONLINE xxxm71
ora....m72.gsd application ONLINE ONLINE xxxm72
ora....m72.ons application ONLINE ONLINE xxxm72
ora....m72.vip application ONLINE ONLINE xxxm72
ora....m81.gsd application ONLINE ONLINE xxxm81
ora....m81.ons application ONLINE ONLINE xxxm81
ora....m81.vip application ONLINE ONLINE xxxm81
ora....m82.gsd application ONLINE ONLINE xxxm82
ora....m82.ons application ONLINE ONLINE xxxm82
ora....m82.vip application ONLINE ONLINE xxxm82
15. Applying patch 10.2.0.4
cd disk1
./runInstaller
16. run /app/oracle/product/crs/bin/crsctl stop crs and /app/oracle/product/crs/install/root102.sh as instructed by the screen on all nodes as root
17. Check on all nodes for
$ ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.4.0]
$ ./crsctl query crs softwareversion
CRS software version on node [xxxm71] is [10.2.0.4.0]
17. Oracle Software Installation
edit oraparam.ini if required as mentioned in case of clusterware
18. run /app/oracle/product/10.2.0/db_1/root.sh as appeared on screen on all nodes from root
19. Applying 10.2.0.4 patch set
20. run dbca
21. database type > Real application cluster
option > create database
nodes> select all nodes
template>general purpose
db name>
Uncheck configure db with Enterprise manager..can do later
password for sys account
storage> cluster file system
location > use db file location from template
recovery option > enable archiving
edit archive mode parameter> %t_%s_%r.arc and give the location
Uncheck sample schemas
add a service >srv
TAF policy > Basic
memory> 40 % can be changed later
process> 600 for safe, can be changed later
SPfile name>
control file>
db file> change location as you planned
redo log> add 1 more member in each and make at least 512 M size of each member for performance aspect
Create database> FINISH
It will run netca automatically for listener
Database creation completer message !!! Congrats
Cluster database and HA services will run automaticall when click " EXIT"
22. check crs_stat for these additional services
ora.xxxm.db application ONLINE ONLINE xxxm71
ora....m1.inst application ONLINE ONLINE xxxm71
ora....m2.inst application ONLINE ONLINE xxxm72
ora....m3.inst application ONLINE ONLINE xxxm81
ora....m4.inst application ONLINE ONLINE xxxm82
ora....msrv.cs application ONLINE ONLINE xxxm82
ora....sm1.srv application ONLINE ONLINE xxxm71
ora....sm2.srv application ONLINE ONLINE xxxm72
ora....sm3.srv application ONLINE ONLINE xxxm81
ora....sm4.srv application ONLINE ONLINE xxxm82
Congratulations !!! RAC with 4 nodes done without any complexities :)
Next blog is 2-Node RAC with ASM on RHEL-5 (with lot of bugs) till then bye
Sunil
3. Ping all the IP's, VIP will not ping at this stage
4. /app/oracle_source/clusterware/cluvfy/runcluvfy.sh stage -post hwos -n node1,node2,node3,node4 -verbose (from root)
ERROR:
Could not find a suitable set of interfaces for VIPs. Can be ignored at this stage
5. /app/oracle_source/clusterware/cluvfy/runcluvfy.sh stage -pre crsinst -n node1,node2,node3,node4 -verbose (from root)
6. Service guard health check
cmruncl -v
cmviewcl
cfscluster status
7. edit /app/oracle_source/clusterware/install/oraparam.ini to avoid version error =
vi /app/oracle_source/clusterware/install/oraparam.ini
HPUX=B.11.23 to HPUX=B.11.31
8. ./runInstaller (For clusterware installation)
9. Create OCR disks (2) and vote disk (3) before proceeding with oracle permission
10. after successful completion run /home/oracle/oraInventory/orainstRoot.sh and
/app/oracle/product/crs/root.sh as appear on screen on all 4 nodes
11. Oracle Cluster Verification Utility will fail.. Leave the screen as it is and open a new session with root and run vipca. After vipca run successfully, retry the previous screen and this time it will be success
12. At this moment, your vip should ping
13. Check on each node for crs and init.d
ps -ef|grep crs and ps -ef|grep init.d
14. Check crs-stat for vip inclusion
[root@xxxm71]:/app/oracle/product/crs/bin>./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....m71.gsd application ONLINE ONLINE xxxm71
ora....m71.ons application ONLINE ONLINE xxxm71
ora....m71.vip application ONLINE ONLINE xxxm71
ora....m72.gsd application ONLINE ONLINE xxxm72
ora....m72.ons application ONLINE ONLINE xxxm72
ora....m72.vip application ONLINE ONLINE xxxm72
ora....m81.gsd application ONLINE ONLINE xxxm81
ora....m81.ons application ONLINE ONLINE xxxm81
ora....m81.vip application ONLINE ONLINE xxxm81
ora....m82.gsd application ONLINE ONLINE xxxm82
ora....m82.ons application ONLINE ONLINE xxxm82
ora....m82.vip application ONLINE ONLINE xxxm82
15. Applying patch 10.2.0.4
cd disk1
./runInstaller
16. run /app/oracle/product/crs/bin/crsctl stop crs and /app/oracle/product/crs/install/root102.sh as instructed by the screen on all nodes as root
17. Check on all nodes for
$ ./crsctl query crs activeversion
CRS active version on the cluster is [10.2.0.4.0]
$ ./crsctl query crs softwareversion
CRS software version on node [xxxm71] is [10.2.0.4.0]
17. Oracle Software Installation
edit oraparam.ini if required as mentioned in case of clusterware
18. run /app/oracle/product/10.2.0/db_1/root.sh as appeared on screen on all nodes from root
19. Applying 10.2.0.4 patch set
20. run dbca
21. database type > Real application cluster
option > create database
nodes> select all nodes
template>general purpose
db name>
Uncheck configure db with Enterprise manager..can do later
password for sys account
storage> cluster file system
location > use db file location from template
recovery option > enable archiving
edit archive mode parameter> %t_%s_%r.arc and give the location
Uncheck sample schemas
add a service >
TAF policy > Basic
memory> 40 % can be changed later
process> 600 for safe, can be changed later
SPfile name>
control file>
db file> change location as you planned
redo log> add 1 more member in each and make at least 512 M size of each member for performance aspect
Create database> FINISH
It will run netca automatically for listener
Database creation completer message !!! Congrats
Cluster database and HA services will run automaticall when click " EXIT"
22. check crs_stat for these additional services
ora.xxxm.db application ONLINE ONLINE xxxm71
ora....m1.inst application ONLINE ONLINE xxxm71
ora....m2.inst application ONLINE ONLINE xxxm72
ora....m3.inst application ONLINE ONLINE xxxm81
ora....m4.inst application ONLINE ONLINE xxxm82
ora....msrv.cs application ONLINE ONLINE xxxm82
ora....sm1.srv application ONLINE ONLINE xxxm71
ora....sm2.srv application ONLINE ONLINE xxxm72
ora....sm3.srv application ONLINE ONLINE xxxm81
ora....sm4.srv application ONLINE ONLINE xxxm82
Congratulations !!! RAC with 4 nodes done without any complexities :)
Next blog is 2-Node RAC with ASM on RHEL-5 (with lot of bugs) till then bye
Sunil