RAC 10gr2 Guide
-
Upload
ankush-kumar -
Category
Documents
-
view
233 -
download
0
Transcript of RAC 10gr2 Guide
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 1/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 1 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Document InformationDocument Owner: eTeam DBA
Prepared by: KarthikDocument Version No.: V.01.00.00
Preparation Date: August 11th, 2006
ReviewersName Position
Version HistoryVersion No. Version Date Revised by Description FilenameV.01.00.01 08/11/06 Initial Document
Creation
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 2/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 2 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Document Information...................................................................................................1
Reviewers.....................................................................................................................1
Version History .............................................................................................................1
RAC Architecture Overview ..........................................................................................4
System Requirements...................................................................................................5Storage Foundation........................................................................................................................................... 5
EMC Shared Storage and I/O Fencing........................................................................................................... 5
Private and Virtual IP’s ................................................................................................................................... 5
ifconfig -a on d1sol5...................................................................................................................................6ifconfig -a on d1sol6...................................................................................................................................6
UNIX Preinstallation Steps .............................................................................................................................. 7
Create Oracle User and Group .................................................................................................................. 7
Configure Secure Shell -SSH.....................................................................................................................7
Configure rsh ............................................................................................................................................. 8
Set Environment variables ......................................................................................................................... 8
Configure Kernel Resources ...................................................................................................................... 9
Before the Installation .................................................................................................................................... 11
Pre-Install checks for 10gR2 RDBMS (10.2.x) - SUN Solaris Platforms ................................................... 11
Copying SFRAC Libraries to /opt/ORCLcluster/lib ................................................................................... 12
Creating $CRS_HOME on each node......................................................................................................12
Create volumes for CRS and VOTE disk on shared disk ......................................................................... 12
Modify the CVM service group (main.cf) to add CRS resources............................................................... 13
Final Checkup before installing CRS and Oracle Binaries....................................................................... 14
Installing CRS for Oracle 10g........................................................................................................................ 14
Installing the Oracle 10g Binaries ................................................................................................................. 35
After Oracle Binary Installation.................................................................................................................... 52
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 3/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 3 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Copying and Verifying IPC and VCSMM libraries..................................................................................... 52
Verifying ODM library............................................................................................................................... 52
Adding Oracle 10g Patches 10.2.0.2 .............................................................................................................. 53
Adding patch 10.2.0.2 to CRS.................................................................................................................. 53
Unzip the file ............................................................................................................................................ 53
Set the Environment Variables.................................................................................................................53
Stop all Oracle processes ........................................................................................................................ 53
Adding patch 10.2.0.2 to Oracle Binaries ................................................................................................. 64
Post Installation ....................................................................................................................................... 76
Mandatory Patch for 10.2.0.2................................................................................................................... 78
main.cf with CRS resources......................................................................................................................... 1 18
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 4/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 4 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
RAC Architecture Overview
Oracle Real Application Clusters (RAC) allows Oracle Database to run any packaged or custom application,
unchanged across a set of clustered servers. This provides the highest levels of availability and the most flexiblescalability. If a clustered server fails, Oracle continues running on the remaining servers. In addition, when youneed more processing power, simply add another server without taking users offline. To keep costs low, eventhe highest-end systems can be built out of standardized, commodity parts.
Oracle Real Application Clusters provides a foundation for Oracle’s Enterprise Grid Computing Architecture.Oracle RAC technology enables a low-cost hardware platform to deliver the highest quality of service thatrivals and exceeds the levels of availability achieved by the most expensive, mainframe SMP computers. Bydramatically reducing administration costs and providing new levels of administration flexibility, Oracle isenabling the enterprise Grid environment.
Real Application Clusters run on top of a hardware cluster. A cluster is a group of independent servers (nodes)that cooperate as a single system. The primary cluster components are processor nodes, a cluster interconnect,and a shared storage subsystem. The nodes share access to the storage subsystem and resources that managedata, but they do not physically share main memory in their respective nodes. Oracle cluster database combinesthe memory in the individual nodes to provide a single view of the distributed cache memory for the entiredatabase system. A node can be made up of multiple processors. Each node has its own dedicated systemmemory as well as its own operating system and database instance.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 5/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 5 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
System Requirements
Please consult with the infrastructure team on the requirements for Sun servers, EMC Storage, Cluster
Interconnects, Public networks, Switch options, Memory, Swap and CPU. Moreover, check the RAC/Veritas onSun certification matrix for RAC updates on currently supported hardware/software in Metalink.
Before the installation of Oracle 10g RAC on Solaris 10, make sure following components has been installedand configured appropriately.
Storage Foundation
Installed Veritas Storage foundation for Oracle Real Application Cluster (SFRAC 4.1 packages with MP1) andClustering configured on all Nodes that are part of the Cluster.
EMC Shared Storage and I/O Fencing
Verify that the shared disk arrays support SCSI-3 persistent reservations and I/O fencing.Three types of shared storage required
1. Data disks to store shared data, created based on the file system layout,2. CRS disks to store OCR and VOTE volumes and Directories3. Coordinator disks for I/O fencing, at least three-coordinator disk possibly smallest LUN’s on
different disk arrays to resolve potential split-brain conditions and prevent data corruption.
Private and Virtual IP’s
Apart from host IP, make sure a public virtual IP exist on public NIC and a private IP address on the Private NIC. Refer to page 44 and 47 on Release Notes: VERITAS Storage Foundation 4.1 for Oracle RACMaintenance Pack 1 Document id 280145 regarding creation of Private and Public IP address.
Hostname Host IP Virtual IP Private IPd1sol5 192.168.201.203 d1sol5-virt-192.168.201.193 d1sol5-priv-10.10.10.1d1sol6 192.168.201.204 d1sol6-virt-192.168.201.194 d1sol6-priv10.10.10.2
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 6/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 6 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
ifconfig -a on d1sol5
ifconfig -a on d1sol6
ip for VeritasCluster
Public Virtual ip onPublic NIC
Private ip on Private NIC
Public Virtual ip onPublic NIC
Private ip on Private NIC
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 7/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 7 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
UNIX Preinstallation Steps
Create Oracle User and Group
Logon as root and Create a local group (dba and oinstall) and local user (oracle)# groupadd -g 201 dba# groupadd -g 202 oinstall# useradd -c "Oracle Software Owner" -g dba -G oinstall -u 201 -m -d /export/home/oracle -s /bin/kshoracle
Create a password for user oracle# passwd oracle
To verify the oracle account,# id oracle
Verifying that the User nobody Exists# id nobody
Configure Secure Shell -SSH
From each node, logon as oracle$ mkdir ~/.ssh$ chmod 755 ~/.ssh$ /usr/bin/ssh-keygen -t rsa
Cut and paste the following line separately$ /usr/bin/ssh-keygen -t dsa
From the first node (d1sol5) ONLY, logged in as oracle (copy the local account's keys so that ssh to the localnode will work):
$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
Now copy the keys to the other node (d1sol6) so that we can ssh to the remote node without being prompted for a password.
$ ssh oracle@d1sol6 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
(Run each of them separately. SSH will prompt for the oracle password each time and if the commands are pasted at the same time, the other commands will be lost when the first one flushes the input buffer prior to prompting for the password.)
$ ssh oracle@d1sol6 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 8/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 8 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
$ chmod 644 ~/.ssh/authorized_keys$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys$ ssh oracle@d1sol5 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
$ ssh oracle@d1sol5 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys$ chmod 644 ~/.ssh/authorized_keys
As oracle on the node where the Oracle 10 g Release 2 software will be installed (d1sol5)$ exec /usr/bin/ssh-agent $SHELL$ /usr/bin/ssh-add
To Test$ ssh d1sol6 date
Should connect to the remote host without password prompt, If not refer to Metalink and Oracle Document for further information on setting up the ssh.
Configure rsh
Make sure that the user Oracle can rsh between the nodes without having to use or confirm a password. VeritasVxfentsthdw command requires “+” in /.rhosts file . If not, in the user oracle account directory/export/home/oracle, create a .rhosts file that includes a plus character(“+”) in the first line. On Node1 (d1sol5)create a sample test.txt file and copy the file to node2 (d1sol6). Logon to node2 (d1sol6) and check if the fileexists. This tests both rsh and rcp services.
$ touch test.txt$ rcp test.txt d1sol6:/tmp$ rsh d1sol6$ ls -al /tmp/test.txt$ rm /tmp/test.txt$ rm test.txt
Set Environment variables
Edit .profile file in /export/home/oracle directory and add following lines, save itORACLE_BASE=/opt/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/10g/db_1; export ORACLE_HOMECRS_HOME=$ORACLE_BASE/product/10g/crs; export CRS_HOMELD_LIBRARY_PATH_64=$ORACLE_HOME/lib:$CRS_HOME/lib; export LD_LIBRARY_PATH_64LD_LIBRARY_PATH=$ORACLE_HOME/lib32; export LD_LIBRARY_PATHCLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib; export CLASSPATHORACLE_TERM=xterm; export ORACLE_TERMPATH=$ORACLE_HOME/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/bin::/usr/lib/vxvm/bin:/opt/VRTSvxfs/sbin:/opt/VRTSvcs/bin:/
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 9/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 9 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
opt/VRTS/bin:/opt/VRTSvcs/rac/bin:/opt/VRTSob/bin:/etc:/opt/EMCpower/bin/sparcv9:/etc/emc/bin:/usr/dt/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/etc:/usr/openwin/bin:.; export PATH
EDITOR=vi; export EDITORset -o vistty istripstty erase ^Humask 022export umaskulimit -n 8192 >/dev/null 2>&1ulimit -s 32768 >/dev/null 2>&1PS1=`hostname`':$PWD[$ORACLE_SID]$ 'ULIMIT=999999999999999export ULIMITHISTSIZE=1000
export HISTSIZEHISTFILE=/var/userlog/`who am i|cut -f1 -d' '`.logexport HISTFILEalias h=historyORAENV_ASK=NOMAIL=/usr/mail/${LOGNAME:?}
Configure Kernel Resources
Prior to Solaris 10, the System V IPC resources, consisting primarily of shared memory, message queues, andsemaphores, were set in the /etc/system file and reconfiguration needs a reboot. In Solaris 10 it is no longer
requires changes in the /etc/system file. Instead, it uses the resource control facility. For more information, refer to “8.2 Appendix-2 Setting System V IPC kernel parameters” in Metalink Doc ID: 317257.1
Parameter Value Solaris 10 ResourceControl
Default Value
set shmsys:shminfo_shmmax 18446744073709551615 project.max-shm-memory 1/4 of physical memoryset shmsys:shminfo_shmmin 1 N/Aset shmsys:shminfo_shmmni 256 project.max-shm-ids 128set semsys:seminfo_semmni 0x1002 project.max-sem-ids 128set semsys:seminfo_semmns 0x7631 N/Aset semsys:seminfo_semmnu 0x7631 Obsolete
set semsys:seminfo_semopm 4096 project.max-sem-ops 512set semsys:seminfo_semvmx 32767 Obsoleteset shmsys:shminfo_shmseg 256 N/A
set semsys:seminfo_semmap 0x7631 Obsoleteset semsys:seminfo_semmsl 4096 project.max-sem-nsems 512set semsys:seminfo_semume 512 Obsolete
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 10/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 10 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Before moving further, please refer to Bug No 5237047 regarding INCORRECT SYSTEMREQUIREMENTS FOR SOLARIS 10 in Metalink
On each node, logon as root
# projadd -U oracle -G dba -c "OracleProject" -p 201 user.oracle# projmod -s -K "project.max-shm-memory=(priv,10g,deny)" user.oracle# projmod -s -K "project.max-shm-ids=(priv,256,deny)" user.oracle# projmod -s -K "project.max-sem-ids=(priv,4096,deny)" user.oracle# projmod -s -K "project.max-sem-ops=(priv,4096,deny)" user.oracle# projmod -s -K "project.max-sem-nsems=(priv,4096,deny)" user.oracle
To set UDP parameters to 65536 bytes, write a startup script in /etc/init.d
# cd /etc/init.d# touch udp_rac# chmod 775 udp_rac# vi udp_rac---------------------------Script Start-------------------------------------#!/sbin/shcase "$1" in'start')ndd -set /dev/udp udp_xmit_hiwat 65536ndd -set /dev/udp udp_recv_hiwat 65536;;.'state')ndd /dev/udp udp_xmit_hiwatndd /dev/udp udp_recv_hiwat;;.*)echo "Usage: $0 { start | state }"exit 1;;esac---------------------------Script End---------------------------------------
# cd /etc/rc3.d# ln -s /etc/init.d/udp_rac /etc/rc3.d/S86udp_rac
to view/verify the settings logon as oracle and run$ prctl $$
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 11/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 11 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
As the srvctl utility not unable to get the right SHM related settings using prctl/projmod, Add following entriesto /etc/system file and reboot the servers. For more information, Please refer to Metalink Doc id 367442.1
forceload: sys/semsysforceload: sys/shmsysset shmsys:shminfo_shmmax=18446744073709551615set shmsys:shminfo_shmmin=1set shmsys:shminfo_shmmni=256set semsys:seminfo_semmni=0x1002set semsys:seminfo_semmns=0x7631set semsys:seminfo_semmnu=0x7631set semsys:seminfo_semopm=4096set semsys:seminfo_semvmx=32767set shmsys:shminfo_shmseg=256set semsys:seminfo_semmap=0x7631set semsys:seminfo_semmsl=4096
set semsys:seminfo_semume=512
set tune_t_fsflushr=30set autoup=900set rlim_fd_max=65536set rlim_fd_cur=32768set sq_max_size=0set tcp:tcp_conn_hash_size=8192
Reboot the servers
ulimit settings, following command will display the current ulimit settings:
$ ulimit -a
If needed add following entries to the .profile for oracle to reset stack and nofiles valuesulimit -n 4096 >/dev/null 2>&1ulimit -s 32768 >/dev/null 2>&1
Before the Installation
Pre-Install checks for 10gR2 RDBMS (10.2.x) - SUN Solaris Platforms Refer to Doc ID: 334567.1
Logon as Oracle$ cd /ora/scr/preinstall$ tar xvf sun_10gR2_hcve_rdbms_091705.tar
Set the oracle environment variables, ORACLE_HOME$ perl validate.pl 10gR2_rdbms_solaris_hcve_091705.txt
Or validate 10gR2_rdbms_solaris_hcve_091705.txt
Please review the log files and rectify the components that failed the test.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 12/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 12 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Copying SFRAC Libraries to /opt/ORCLcluster/lib
Logon as root and Copy SFRAC libraries to enable RAC recognize the cluster environment
# cp /opt/VRTSvcs/rac/lib/libskgxn2_64.so /opt/ORCLcluster/lib/libskgxn2.so
Creating $CRS_HOME on each node
CRS and Oracle Binaries will be installed locally on each server. Make sure $CRS_HOME is under $ORACLE_BASE.
Make directories for ORACLE_BASE is /opt/oracleCRS_HOME is /opt/oracle/product/10g/crsORACLE_HOME is /opt/oracle/product/10g/db_1
Create volumes for CRS and VOTE disk on shared disk
Create OCR and VOTE-disk volumes and directories on the cluster file system. Assume that emcpower13s2 isthe allocated LUN, execute following commands as root on one of the node (d1sol5)# vxdg -s init crs_oradg emcpower13s2
# vxassist -g crs_oradg make crs_vol 200M# vxvol -g crs_oradg startall# mkfs -F vxfs /dev/vx/rdsk/crs_oradg/crs_vol
On both nodes (d1sol5 and d1sol6)# mkdir /ora_crs# mount -F vxfs -o cluster /dev/vx/dsk/crs_oradg/crs_vol /ora_crs# chown oracle:dba /ora_crs# chmod 755 /ora_crs
On one node (d1sol5), logon as oracle$ cd /ora_crs
$ mkdir CRS_OCR$ mkdir VOTE-disk
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 13/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 13 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Modify the CVM service group (main.cf) to add CRS resources.
Refer to the Modified main.cf in the appendix
Log into one of the nodes in the cluster (d1sol5) as root# haconf -dump makero# hastop -all -force# cd /etc/VRTSvcs/conf/config# cp main.cf main.orig# vi main.cf
Include the following entries,
At the beginning of the fileinclude “PrivNIC.cf”
And in CVM service groupCFSMount crs_ora_mnt (
MountPoint = "/ora_crs"BlockDevice = "/dev/vx/dsk/crs_oradg/crs_vol")
CVMVolDg crs_voldg (CVMDiskGroup = crs_oradgCVMVolume = { crs_vol }CVMActivation = sw)
PrivNIC ora_priv (Device = { ipge2 = 0, ipge3 = 1 }Address @d1sol5 = "10.10.10.1"Address @d1sol6 = "10.10.10.2"NetMask = "255.255.255.0")
And in dependenciescrs_ora_mnt requires crs_voldgcrs_ora_mnt requires vxfsckdcrs_voldg requires cvm_clus
Save and Close main.cf Verify the syntax
# hacf –verify /etc/VRTSvcs/conf/configCopy main.cf to the second node (d1sol6)now start VCS in all nodes
#hastartAnd check the VCS status
#hastatus –summ
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 14/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 14 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
All added resources should be online on both the nodes
Final Checkup before installing CRS and Oracle Binaries
Logon as oracle1. Check ssh config for local node and remote node2. Use prctl $$ to check the semaphores values3. Check the Oracle user profile settings4. Get host ip, public virtual ip and it’s interface, private ip and it’s interface name.5. Bring down the ip on public virtual interface (as root) # ifconfig ipge0:2 down6. Create volumes and directories for CRS and VOTE disk 7. CRS resources added to the veritas cluster main.cf and restart SFRAC8. Copied SFRAC libskgxn2_64.so9. Check the DISPLAY environmental variable, run xclock and verify10.
Installing CRS for Oracle 10g
Make sure all required software is under /ora/scr directory.
Logon to node1 (d1sol5) as Oracle
$ cd /ora/scr/crs$ ./runInstaller
Use ./runInstaller –ignoreSysPrereqs to ignore the prerequisites
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 15/139
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 16/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 16 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 17/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 17 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Change the Name to CRS_HOME and path to /opt/oracle/product/10g/crs
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 18/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 18 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 19/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 19 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Click Edit and modify Virtual hostnames (d1sol5_vip to d1sol5_virt and d1sol6_vip t d1sol6_virt) tomatch the names in /etc/hosts
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 20/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 20 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
ipge0 is the public nic, so click Edit and change ipge0 interface type to Public
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 21/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 21 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 22/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 22 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 23/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 23 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 24/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 24 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 25/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 25 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Don’t click the OK button now. Run the scripts one by one on each node, configure Virtual ip’s using vipca andthen comeback and click OK
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 26/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 26 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Logon as root on node1 (d1sol5) and run# /opt/oracle/oraInventory/orainstRoot.shand# /opt/oracle/product/10g/crs/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 27/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 27 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Logon as root on 2 nd node (d1sol6) and run# /opt/oracle/oraInventory/orainstRoot.shand# /opt/oracle/product/10g/crs/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 28/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 28 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Make sure CSS is active on both the nodes
At the end of the script, we might receive following error messages saying “ipge0 is not public”
Running vipca(silent) for configuring nodeappsThe given interface(s), "ipge0" is not public. Public interfaces should be usedto configure virtual IPs.
This is a known issues with vipca, Refer to page 60 of Release Notes: VERITAS Storage Foundation 4.1 for Oracle RAC Maintenance Pack 1 Document id 280145 . please invoke vipca manually
root@d1sol6 # cd /oracle/product/10g/crs/binroot@d1sol6 # ./vipca
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 29/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 29 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 30/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 30 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 31/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 31 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Enter Virtual IP alias name, d1sol5-virt.campd.local, press tab remaining column values will be filledautomatically
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 32/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 32 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 33/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 33 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Click OK after running the scripts and vipca
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 34/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 34 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 35/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 35 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Installing the Oracle 10g Binaries
Log on as oracle$ cd /ora/scr/db$ ./runInstaller
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 36/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 36 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 37/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 37 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Select Custom
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 38/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 38 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Change Name to ORACLE_HOME and Path to /opt/oracle/product/10g/db_1
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 39/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 39 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 40/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 40 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 41/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 41 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 42/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 42 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Ignore the OUI finding in the area of “noexec_user_stack for the Solaris 10 OS (Refer Metalink 377679.1 )
Checking for noexec_user_stack=1; found no entry.Failed <<<<Check complete. The overall result of this check is: Failed <<<<
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 43/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 43 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 44/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 44 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 45/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 45 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 46/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 46 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 47/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 47 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Don’t click OK now
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 48/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 48 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Logon as root on node1 (d1sol5) and run# /opt/oracle/product/10g/db_1/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 49/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 49 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Logon as root on node1 (d1sol6) and run#/opt/oracle/product/10g/db_1/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 50/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 50 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 51/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 51 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 52/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 52 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
After Oracle Binary Installation
Copying and Verifying IPC and VCSMM libraries
Logon as oracle and copy$ cp /opt/VRTSvcs/rac/lib/libskgxp102_64.so $ORACLE_HOME/lib/libskgxp10.so
Verifying ODM library
Login as Oracle user $ cd /opt/oracle/product/10g/db_1/lib$ mv /opt/oracle/product/10g/db_1/lib/libodm10.so
/opt/oracle/product/10g/db_1/lib/libodm10.so.old$ ln -s /usr/lib/sparcv9/libodm.so libodm10.so$ ls -al /opt/oracle/product/10g/db_1/lib/libodm10.so(makesure owner is oracle)
On d1sol5
On d1sol6
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 53/139
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 54/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 54 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
On d1sol5# /etc/init.d/init.crs stop
On d1sol6# /etc/init.d/init.crs stop
Make sure there is no Oracle processes running$ ps -ef|grep oracle|grep -v grep
Log in as the Oracle user on node1 (d1sol5)
Start Oracle Universal Installer $ cd /ora/scr/patch/10.2.0.2/Disk1$ ./runInstaller
On the Welcome screen, click Next .
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 55/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 55 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 56/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 56 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Change the Name to CRS_HOME and Path to /opt/oracle/product/10g/crs
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 57/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 57 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 58/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 58 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 59/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 59 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Don’t click on Exit
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 60/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 60 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Don’t click on Exit
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 61/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 61 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Login as root on d1sol5 and run# /opt/oracle/product/10g/crs/bin/crsctl stop crs# /opt/oracle/product/10g/crs/install/root102.sh
To Check is crs is stopped# ps -ef|grep d.bin
Refer to Metalink Doc id 358258.1 regarding crsctl stop crs, Failure 15 At Css Context Initialization WhenShutting Down Crs
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 62/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 62 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Login as root on node 2 (d1sol6) and run# /opt/oracle/product/10g/crs/bin/crsctl stop crs# /opt/oracle/product/10g/crs/install/root102.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 63/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 63 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Click Exit now, after running the scripts as root user
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 64/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 64 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Adding patch 10.2.0.2 to Oracle Binaries
Login as Oracle User
Stop all Oracle Processes
On d1sol5$ srvctl stop nodeapps -n d1sol5
On d1sol6$ srvctl stop nodeapps -n d1sol6
Login as root User
Shut down the Oracle Clusterware process by entering the following command on all nodes as the root user:
On d1sol5# /etc/init.d/init.crs stop
On d1sol6# /etc/init.d/init.crs stop
Make sure there is no Oracle processes running# ps -ef|grep oracle|grep -v grep
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 65/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 65 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Log in as the oracle user on node1(d1sol5)
Start Oracle Universal Installer $ cd /ora/scr/patch/10.2.0.2/Disk1$ ./runInstaller
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 66/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 66 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 67/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 67 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Enter Name as ORACLE_HOME and Path as /opt/oracle/product/10g/db_1
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 68/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 68 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 69/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 69 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 70/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 70 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 71/139
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 72/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 72 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Login as root on d1sol5 and run# /opt/oracle/product/10g/db_1/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 73/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 73 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Login as root on d1sol5 and run# /opt/oracle/product/10g/db_1/root.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 74/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 74 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 75/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 75 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 76/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 76 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Post Installation
During patchset installation, all new files and directories are created with restricted access, by default. Users or third party applications with a different group identifier from that of the database, which try to access client-sideutilities or libraries in the database home, will see permission errors when trying to access these files or directories. Perform the following steps to change the permissions:Change your directory to:
$ cd $ORACLE_HOME/install
Run changePerm.sh and specify the patched server Oracle home location, before accessing client-side utilitiesor libraries in the database home. For RAC home, we need to run this script on all the nodes.
Login as OracleOn d1sol5
$ cd /opt/oracle/product/10g/db_1/install$ ./changePerm.sh
Look for errors in /tmp/changePerm_err.log and resolve it.# chown oracle:dba externaljob.ora# chmod 644 externaljob.ora
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 77/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 77 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
On d1sol6$ cd /opt/oracle/product/10g/db_1/install$ ./changePerm.sh
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 78/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 78 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Mandatory Patch for 10.2.0.2
After installing 10.2.0.2 apply the mandatory patch for ( bug 5117016 ) for incorrectly located in$ORACLE_HOME/RDBMS/LIB/
For more information, Refer Metalink Doc id 5117016.8
This patch is applicable only on the server side. Ensure all the processes started out of the ORACLE_HOMEare being shutdown prior to applying this patch using srvctl , on every node
$ srvctl stop nodeapps -n d1sol5$ srvctl stop nodeapps -n d1sol6
To apply the patch, unzip the PSE container file:$ unzip p5117016_10202_SOLARIS64.zip
Set your current directory to the directory where the patch is located$ cd /ora/scr/patch/5117016
Ensure that the directory containing the opatch script appears in the $PATH, then run the following commandon every node
$ $ORACLE_HOME/OPatch/opatch apply -local
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 79/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 79 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
On d1sol5
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 80/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 80 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
On d1sol6
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 81/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 81 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Check the inventory$ $ORACLE_HOME/OPatch/opatch lsinventory
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 82/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 82 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Oracle® Database Critical Patch Update Release 10.2.0.2 Patch 5225799
Ensure that the Oracle Database installation is the same release for which we are applying this patch. In other words, only apply the Release 10.2.0.2 CPUJul2006 patch to an Oracle Database Release 10.2.0.2.Review Section 4, "Known Issues" before proceeding with this installation.
1. Shut down the instance on one node (d1sol5)
2. Shut down all nodeapps services on the node (d1sol5) in step 1:$ srvctl stop nodeapps -n d1sol5
Apply patch on the node (d1sol5) in step 1
3. Set current directory to the directory where the patch is located and then run OPatch by entering thefollowing command:
$ cd /ora/scr/patch/cpu/5225799$ORACLE_HOME/OPatch/opatch apply OPatch.SKIP_VERIFY=true
(We need to specify OPatch.SKIP_VERIFY=true. For more information please refer to 353150.1 - OPatchFailing Validation Phase When Archiving Really Did Not Fail )
4. If there are errors, refer to Section 4, "Known Issues".
Start all nodeapps services on the node in step 1:
$ srvctl start nodeapps -n d1sol5
Shut down the instance on the next node.Repeat steps 1-6 on all the nodes in the cluster.Check the opatch inventory
Logon as root and start crs on both nodes# /etc/init.d/init.crs start
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 83/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 83 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Check the inventory$ $ORACLE_HOME/OPatch/opatch lsinventory
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 84/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 84 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Creating the Oracle Database
CRS should be running
To check crs daemon running or not$CRS_HOME/bin/crs_stat
Create the mount points and directories for the Oracle Database
Login as root and
# mkdir /hapdb
# cd /hapdb# mkdir archive flashdb data1 index1 redo1 redo2 redocopy system temp# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_archive_vol /hapdb/archive# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_flashdb_vol /hapdb/flashdb# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_data1_vol /hapdb/data1# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_index1_vol /hapdb/index1# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_redo1_vol /hapdb/redo1# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_redo2_vol /hapdb/redo2# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_redocopy_vol /hapdb/redocopy# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_system_vol /hapdb/system# mount -F vxfs -o cluster /dev/vx/dsk/ora_dg1/ora_temp_vol /hapdb/temp# chown -R oracle:dba archive flashdb data1 index1 redo1 redo2 redocopy system temp
Verify all file system exist and owner is Oracle
Default template is already created for this database. So Copy hapdb.dbt to/opt/oracle/product/10g/db_1/assistants/dbca/templates. If not select Custom or General Purpose databasetemplate
Before creating the database using dbca, configure LISTENER using netca.$ netca
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 85/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 85 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 86/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 86 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 87/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 87 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 88/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 88 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 89/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 89 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 90/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 90 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Creating 10g database using dbcaLogon as Oracle
$ dbca
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 91/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 91 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 92/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 92 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 93/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 93 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 94/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 94 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
If hapdb template is not available select Custom Database option
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 95/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 95 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 96/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 96 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 97/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 97 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 98/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 98 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 99/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 99 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 100/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 100 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 101/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 101 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 102/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 102 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 103/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 103 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 104/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 104 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 105/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 105 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 106/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 106 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Click on All Initialization Parameters and Change the location for all dump (a/b/c/udump) init. parameters
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 107/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 107 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 108/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 108 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 109/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 109 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 110/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 110 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 111/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 111 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 112/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 112 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 113/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 113 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 114/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 114 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 115/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 115 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
After creating the database, check spfile is in /hapdb/system/admin/pfile/ directory if not$ cd $ORACLE_HOME/dbs
Change the location of spfile in inithapdb1.ora to SPFILE='/hapdb/system/admin/pfile/spfilehapdb.ora'
And move the file from /hapdb/data1/hapdb to /hapdb/system/admin/pfile/(No issue when used a different template, not hapdb_new )
To check the status
root@d1sol6 # /opt/oracle/product/10g/crs/bin/crs_stat -tName Type Target State Host------------------------------------------------------------ora....L5.lsnr application ONLINE ONLINE d1sol5ora.d1sol5.gsd application ONLINE ONLINE d1sol5ora.d1sol5.ons application ONLINE ONLINE d1sol5ora.d1sol5.vip application ONLINE ONLINE d1sol5ora....L6.lsnr application ONLINE ONLINE d1sol6ora.d1sol6.gsd application ONLINE ONLINE d1sol6ora.d1sol6.ons application ONLINE ONLINE d1sol6ora.d1sol6.vip application ONLINE ONLINE d1sol6
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 116/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 116 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
ora.hapdb.db application ONLINE ONLINE d1sol5ora....b1.inst application ONLINE ONLINE d1sol5ora....b2.inst application ONLINE ONLINE d1sol6
To check the service status$ srvctl status service –d hapdb
Configure the CVM and Oracle Service Groups for Oracle 10g
Log into one of the nodes in the cluster (d1sol5) as root# haconf -dump makero# hastop -all -force# cd /etc/VRTSvcs/conf/config# cp main.cf main.before10gdb# vi main.cfRefer to the Modified and final main.cf in the appendix
Save and Close main.cf Verify the syntax
# hacf –verify /etc/VRTSvcs/conf/configCopy main.cf to the second node (d1sol6)now start VCS in all nodes
#hastartAnd check the VCS status
#hastatus –summAll added resources should be online on both the nodes
If voting is disk unavailable, server will be rebooted every few minutes, to avoid the reboot disable the crs# /etc/init.d/init.crs disable
Correct the issue and reenable it and reboot the server
# /etc/init.d/init.crs enable# rebootIf Veritas Agent is used for Detail Monitoring (Secondary monitoring) then
create user vcsmonidentified by vcsmondefault tablespace TOOLStemporary tablespace TEMPquota 500K on TOOLS
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 117/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 117 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
/grant create session to vcsmon/create table vcsmon. vcstable_d1sol5 ( tstamp date )
/insert into vcsmon. vcstable_d1sol5 ( tstamp ) values ( SYSDATE )/create table vcsmon. vcstable_d1sol6 ( tstamp date )/insert into vcsmon. vcstable_d1sol6 ( tstamp ) values ( SYSDATE )/
To scp and unzip the files
root@D1SOL5 # scp 10gr2_cluster_sol.cpio.gz root@d1sol6:/opt/oracle/software/crs/10gr2_cluster_sol.cp 100%|*******************************************************************************************| 368 MB 00:51root@D1SOL5 # gunzip 10gr2_cluster_sol.cpio.gzroot@D1SOL5 # cpio -idmv <10gr2_cluster_sol.cpio
Stopping CRS Before Stopping VCS in Oracle 10g Clusters
In SFRAC clusters with Oracle 10g, stop the CRS daemons before using the hastop -allcommand to stop VCS. The required sequence of commands is:1. Stop Oracle on each node:
# hagrp -offline oracle_group -sys -system_name2. Stop the CRS daemons on each node:
# /etc/init.d/init.crs stop3. Stop VCS. From one node, type:# hastop -all
After 10.2.0.2 patchset is installed, RDBMS crashes with internal errors on remote nodesDoc id 365851.1
1. Ensure all instances are shut down2. Manually copy $ORACLE_HOME/rdbms/lib/libknlopt.a from the local node to all remote nodes .3. Relink Oracle on all remote nodes
eg: cd $ORACLE_HOME/rdbms/libmake -f ins_rdbms.mk ioracle
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 118/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 118 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
main.cf with CRS resources
include "types.cf"include "CFSTypes.cf"include "CVMTypes.cf"include "OracleTypes.cf"include "PrivNIC.cf"
cluster d1sol-c (UserNames = { admin = IhiAhcHeiDiiGqiChf }ClusterAddress = "192.168.201.192"Administrators = { admin }CredRenewFrequency = 0UseFence = SCSI3HacliUserLevel = COMMANDROOTCounterInterval = 5)
system d1sol5 ()
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 119/139
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 120/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 120 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Parallel = 1AutoStartList = { d1sol5, d1sol6 })
CFSMount crs_ora_mnt (MountPoint = "/ora_crs"BlockDevice = "/dev/vx/dsk/crs_oradg/crs_vol")
CVMVolDg crs_voldg (CVMDiskGroup = crs_oradgCVMVolume = { crs_vol }CVMActivation = sw)
PrivNIC ora_priv (
Device = { ipge2 = 0, ipge3 = 1 }Address @d1sol5 = "10.10.10.1"Address @d1sol6 = "10.10.10.2"NetMask = "255.255.255.0")
CFSQlogckd qlogckd (Critical = 0)
CFSfsckd vxfsckd ()
CVMCluster cvm_clus (CVMClustName = d1sol-cCVMNodeId = { d1sol5 = 0, d1sol6 = 1 }CVMTransport = gabCVMTimeout = 200)
CVMVxconfigd cvm_vxconfigd (Critical = 0CVMVxconfigdArgs = { syslog })
crs_ora_mnt requires crs_voldgcrs_ora_mnt requires vxfsckdcrs_voldg requires cvm_cluscvm_clus requires cvm_vxconfigdqlogckd requires cvm_clusvxfsckd requires qlogckd
// resource dependency tree
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 121/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 121 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
//// group cvm// {// CFSMount crs_ora_mnt
// {// CVMVolDg crs_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {
// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// }// PrivNIC ora_priv// }
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 122/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 122 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
main.cf with CVM and Oracle Service Groups and without the Oracle Agent
include "types.cf"include "CFSTypes.cf"include "CVMTypes.cf"include "OracleTypes.cf"include "PrivNIC.cf"
cluster d1sol-c (UserNames = { admin = IhiAhcHeiDiiGqiChf, vcsop = GjkIjgJgjRkd }ClusterAddress = "192.168.201.192"Administrators = { admin }Operators = { vcsop }CredRenewFrequency = 0UseFence = SCSI3
HacliUserLevel = COMMANDROOTCounterInterval = 5)
system d1sol5 ()
system d1sol6 ()
group ClusterService (SystemList = { d1sol5 = 0, d1sol6 = 1 }
AutoStartList = { d1sol5, d1sol6 }OnlineRetryLimit = 3OnlineRetryInterval = 120)
IP webip (Device = ipge0Address = "192.168.201.192"NetMask = "255.255.255.0")
NIC csgnic (Device = ipge0)
NotifierMngr ntfr (SmtpServer = "160.0.10.50"SmtpRecipients = { "[email protected]" = Warning })
VRTSWebApp VCSweb (
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 123/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 123 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
Critical = 0AppName = vcsInstallDir = "/opt/VRTSweb/VERITAS"TimeForOnline = 5
RestartLimit = 3)
VCSweb requires webipwebip requires csgnic
// resource dependency tree//// group ClusterService// {// VRTSWebApp VCSweb
// {// IP webip// {// NIC csgnic// }// }// NotifierMngr ntfr// }
group cvm (SystemList = { d1sol5 = 0, d1sol6 = 1 }AutoFailOver = 0Parallel = 1AutoStartList = { d1sol5, d1sol6 })
Application cssd (Critical = 0StartProgram = "/opt/VRTSvcs/rac/bin/cssd-online"StopProgram = "/opt/VRTSvcs/rac/bin/cssd-offline stopcrs"CleanProgram = "/opt/VRTSvcs/rac/bin/cssd-clean"MonitorProgram = "/opt/VRTSvcs/rac/bin/cssd-monitor"OnlineRetryLimit = 20)
CFSMount crs_ora_mnt (MountPoint = "/ora_crs"BlockDevice = "/dev/vx/dsk/crs_oradg/crs_vol")
CFSMount hapdb_archive_mnt (Critical = 0MountPoint = "/hapdb/archive"
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 124/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 124 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
BlockDevice = "/dev/vx/dsk/ora_dg1/ora_archive_vol")
CFSMount hapdb_data1_mnt (
Critical = 0MountPoint = "/hapdb/data1"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_data1_vol")
CFSMount hapdb_flashdb_mnt (Critical = 0MountPoint = "/hapdb/flashdb"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_flashdb_vol")
CFSMount hapdb_index1_mnt (
Critical = 0MountPoint = "/hapdb/index1"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_index1_vol")
CFSMount hapdb_redo1_mnt (Critical = 0MountPoint = "/hapdb/redo1"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redo1_vol")
CFSMount hapdb_redo2_mnt (Critical = 0MountPoint = "/hapdb/redo2"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redo2_vol")
CFSMount hapdb_redocopy_mnt (Critical = 0MountPoint = "/hapdb/redocopy"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redocopy_vol")
CFSMount hapdb_system_mnt (Critical = 0MountPoint = "/hapdb/system"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_system_vol")
CFSMount hapdb_temp_mnt (Critical = 0MountPoint = "/hapdb/temp"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_temp_vol")
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 125/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 125 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
CFSQlogckd qlogckd (Critical = 0)
CFSfsckd vxfsckd ()
CVMCluster cvm_clus (CVMClustName = d1sol-cCVMNodeId = { d1sol5 = 0, d1sol6 = 1 }CVMTransport = gabCVMTimeout = 200)
CVMVolDg crs_voldg (
CVMDiskGroup = crs_oradgCVMVolume = { crs_vol }CVMActivation = sw)
CVMVolDg hapdb_archive_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_archive_vol }CVMActivation = sw)
CVMVolDg hapdb_data1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_data1_vol }CVMActivation = sw)
CVMVolDg hapdb_flashdb_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_flashdb_vol }CVMActivation = sw)
CVMVolDg hapdb_index1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_index1_vol }CVMActivation = sw)
CVMVolDg hapdb_redo1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redo1_vol }CVMActivation = sw)
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 126/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 126 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
CVMVolDg hapdb_redo2_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redo2_vol }
CVMActivation = sw)
CVMVolDg hapdb_redocopy_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redocopy_vol }CVMActivation = sw)
CVMVolDg hapdb_system_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_system_vol }
CVMActivation = sw)
CVMVolDg hapdb_temp_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_temp_vol }CVMActivation = sw)
CVMVxconfigd cvm_vxconfigd (Critical = 0CVMVxconfigdArgs = { syslog })
PrivNIC ora_priv (Device = { ipge2 = 0, ipge3 = 1 }Address @d1sol5 = "10.10.10.1"Address @d1sol6 = "10.10.10.2"NetMask = "255.255.255.0")
crs_ora_mnt requires crs_voldgcrs_ora_mnt requires vxfsckdcrs_voldg requires cvm_cluscssd requires crs_ora_mntcssd requires hapdb_archive_mntcssd requires hapdb_data1_mntcssd requires hapdb_flashdb_mntcssd requires hapdb_index1_mntcssd requires hapdb_redo1_mntcssd requires hapdb_redo2_mntcssd requires hapdb_redocopy_mntcssd requires hapdb_system_mntcssd requires hapdb_temp_mnt
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 127/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 127 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
cssd requires ora_privcvm_clus requires cvm_vxconfigdhapdb_archive_mnt requires hapdb_archive_voldghapdb_archive_mnt requires vxfsckd
hapdb_archive_voldg requires cvm_clushapdb_data1_mnt requires hapdb_data1_voldghapdb_data1_mnt requires vxfsckdhapdb_data1_voldg requires cvm_clushapdb_flashdb_mnt requires hapdb_flashdb_voldghapdb_flashdb_mnt requires vxfsckdhapdb_flashdb_voldg requires cvm_clushapdb_index1_mnt requires hapdb_index1_voldghapdb_index1_mnt requires vxfsckdhapdb_index1_voldg requires cvm_clushapdb_redo1_mnt requires hapdb_redo1_voldghapdb_redo1_mnt requires vxfsckd
hapdb_redo1_voldg requires cvm_clushapdb_redo2_mnt requires hapdb_redo2_voldghapdb_redo2_mnt requires vxfsckdhapdb_redo2_voldg requires cvm_clushapdb_redocopy_mnt requires hapdb_redocopy_voldghapdb_redocopy_mnt requires vxfsckdhapdb_redocopy_voldg requires cvm_clushapdb_system_mnt requires hapdb_system_voldghapdb_system_mnt requires vxfsckdhapdb_system_voldg requires cvm_clushapdb_temp_mnt requires hapdb_temp_voldghapdb_temp_mnt requires vxfsckdhapdb_temp_voldg requires cvm_clusqlogckd requires cvm_clusvxfsckd requires qlogckd
// resource dependency tree//// group cvm// {// Application cssd// {// CFSMount crs_ora_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 128/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 128 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
// }// CVMVolDg crs_voldg// {// CVMCluster cvm_clus
// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_archive_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus
// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_archive_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_data1_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_data1_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_index1_mnt
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 129/139
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 130/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 130 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
// }// CVMVolDg hapdb_redo2_voldg// {// CVMCluster cvm_clus
// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_redocopy_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus
// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_redocopy_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_system_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_system_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CFSMount hapdb_temp_mnt
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 131/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 131 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd
// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_temp_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd
// }// }// }// CFSMount hapdb_flashdb_mnt// {// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// CVMVolDg hapdb_flashdb_voldg// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// }// PrivNIC ora_priv// }// }
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 132/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 132 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
main.cf with CVM and Oracle Service Groups and with the Oracle Agent (make sure table required for detail monitoring is already created)include "types.cf"include "CFSTypes.cf"include "CVMTypes.cf"include "OracleTypes.cf"include "PrivNIC.cf"
cluster d1sol-c (UserNames = { admin = IhiAhcHeiDiiGqiChf }ClusterAddress = "192.168.201.192"Administrators = { admin }CredRenewFrequency = 0UseFence = SCSI3HacliUserLevel = COMMANDROOTCounterInterval = 5)
system d1sol5 (
)system d1sol6 (
)
group ClusterService (SystemList = { d1sol5 = 0, d1sol6 = 1 }AutoStartList = { d1sol5, d1sol6 }OnlineRetryLimit = 3OnlineRetryInterval = 120)
IP webip (Device = ipge0Address = "192.168.201.192"NetMask = "255.255.255.0")
NIC csgnic (Device = ipge0)
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 133/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 133 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
NotifierMngr ntfr (SmtpServer = "160.0.10.50"SmtpRecipients = { "[email protected]" = Warning })
VRTSWebApp VCSweb (Critical = 0AppName = vcsInstallDir = "/opt/VRTSweb/VERITAS"TimeForOnline = 5RestartLimit = 3)
VCSweb requires webipwebip requires csgnic
// resource dependency tree//// group ClusterService// {// VRTSWebApp VCSweb// {// IP webip// {// NIC csgnic// }// }// NotifierMngr ntfr// }
group cvm (SystemList = { d1sol5 = 0, d1sol6 = 1 }AutoFailOver = 0Parallel = 1AutoStartList = { d1sol5, d1sol6 })
Application cssd (Critical = 0StartProgram = "/opt/VRTSvcs/rac/bin/cssd-online"StopProgram = "/opt/VRTSvcs/rac/bin/cssd-offline stopcrs"CleanProgram = "/opt/VRTSvcs/rac/bin/cssd-clean"MonitorProgram = "/opt/VRTSvcs/rac/bin/cssd-monitor"OnlineRetryLimit = 20)
CFSMount crs_ora_mnt (MountPoint = "/ora_crs"
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 134/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 134 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
BlockDevice = "/dev/vx/dsk/crs_oradg/crs_vol")
CFSQlogckd qlogckd (
Critical = 0)
CFSfsckd vxfsckd ()
CVMCluster cvm_clus (CVMClustName = d1sol-cCVMNodeId = { d1sol5 = 0, d1sol6 = 1 }CVMTransport = gabCVMTimeout = 200)
CVMVolDg crs_voldg (CVMDiskGroup = crs_oradgCVMVolume = { crs_vol }CVMActivation = sw)
CVMVxconfigd cvm_vxconfigd (Critical = 0CVMVxconfigdArgs = { syslog })
PrivNIC ora_priv (Device = { ipge2 = 0, ipge3 = 1 }Address @d1sol5 = "10.10.10.1"Address @d1sol6 = "10.10.10.2"NetMask = "255.255.255.0")
crs_ora_mnt requires crs_voldgcrs_ora_mnt requires vxfsckdcrs_voldg requires cvm_cluscssd requires crs_ora_mntcssd requires ora_privcvm_clus requires cvm_vxconfigdqlogckd requires cvm_clusvxfsckd requires qlogckd
// resource dependency tree//// group cvm// {// Application cssd
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 135/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 135 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
// {// CFSMount crs_ora_mnt// {// CVMVolDg crs_voldg
// {// CVMCluster cvm_clus// {// CVMVxconfigd cvm_vxconfigd// }// }// CFSfsckd vxfsckd// {// CFSQlogckd qlogckd// {// CVMCluster cvm_clus// {
// CVMVxconfigd cvm_vxconfigd// }// }// }// }// PrivNIC ora_priv// }// }
group hapdb_rac (SystemList = { d1sol5 = 0, d1sol6 = 1 }AutoFailOver = 0Parallel = 1AutoStartList = { d1sol5, d1sol6 })
CFSMount hapdb_archive_mnt (Critical = 0MountPoint = "/hapdb/archive"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_archive_vol")
CFSMount hapdb_data1_mnt (Critical = 0MountPoint = "/hapdb/data1"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_data1_vol")
CFSMount hapdb_flashdb_mnt (Critical = 0MountPoint = "/hapdb/flashdb"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_flashdb_vol")
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 136/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 136 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
CFSMount hapdb_index1_mnt (Critical = 0MountPoint = "/hapdb/index1"
BlockDevice = "/dev/vx/dsk/ora_dg1/ora_index1_vol")
CFSMount hapdb_redo1_mnt (Critical = 0MountPoint = "/hapdb/redo1"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redo1_vol")
CFSMount hapdb_redo2_mnt (Critical = 0MountPoint = "/hapdb/redo2"
BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redo2_vol")
CFSMount hapdb_redocopy_mnt (Critical = 0MountPoint = "/hapdb/redocopy"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_redocopy_vol")
CFSMount hapdb_system_mnt (Critical = 0MountPoint = "/hapdb/system"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_system_vol")
CFSMount hapdb_temp_mnt (Critical = 0MountPoint = "/hapdb/temp"BlockDevice = "/dev/vx/dsk/ora_dg1/ora_temp_vol")
CVMVolDg hapdb_archive_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_archive_vol }CVMActivation = sw)
CVMVolDg hapdb_data1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_data1_vol }CVMActivation = sw)
CVMVolDg hapdb_flashdb_voldg (
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 137/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 137 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
CVMDiskGroup = ora_dg1CVMVolume = { ora_flashdb_vol }CVMActivation = sw)
CVMVolDg hapdb_index1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_index1_vol }CVMActivation = sw)
CVMVolDg hapdb_redo1_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redo1_vol }CVMActivation = sw)
CVMVolDg hapdb_redo2_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redo2_vol }CVMActivation = sw)
CVMVolDg hapdb_redocopy_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_redocopy_vol }CVMActivation = sw)
CVMVolDg hapdb_system_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_system_vol }CVMActivation = sw)
CVMVolDg hapdb_temp_voldg (CVMDiskGroup = ora_dg1CVMVolume = { ora_temp_vol }CVMActivation = sw)
Oracle Ora-hapdb (Sid @d1sol5 = hapdb1Sid @d1sol6 = hapdb2Owner = oracleHome = "/oracle/product/10g/db_1"Pfile @d1sol5 = "/opt/oracle/product/10g/db_1/dbs/inithapdb1.ora"Pfile @d1sol6 = "/opt/oracle/product/10g/db_1/dbs/inithapdb2.ora"EnvFile = "/opt/VRTSvcs/bin/Oracle/envfile"MonScript = "/opt/VRTSvcs/bin/Oracle/SqlTest.pl"
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 138/139
e TEAM Oracle 10g RAC Installation Guide
ADP Confidential Page 138 of 139 Last modified by kappukuttan©2006 Automatic Data Processing, Inc. All Rights Reserved.
DetailMonitor = 1User = vcsmonPword = vcsmonTable @d1sol5 = vcstable_d1sol5
Table @d1sol6 = vcstable_d1sol6)
requires group cvm online local firmOra-hapdb requires hapdb_archive_mntOra-hapdb requires hapdb_data1_mntOra-hapdb requires hapdb_index1_mntOra-hapdb requires hapdb_redo1_mntOra-hapdb requires hapdb_redo2_mntOra-hapdb requires hapdb_redocopy_mntOra-hapdb requires hapdb_system_mntOra-hapdb requires hapdb_temp_mnt
Ora-hapdb requires hapdb_flashdb_mnthapdb_archive_mnt requires hapdb_archive_voldghapdb_data1_mnt requires hapdb_data1_voldghapdb_index1_mnt requires hapdb_index1_voldghapdb_redo1_mnt requires hapdb_redo1_voldghapdb_redo2_mnt requires hapdb_redo2_voldghapdb_redocopy_mnt requires hapdb_redocopy_voldghapdb_system_mnt requires hapdb_system_voldghapdb_temp_mnt requires hapdb_temp_voldghapdb_flashdb_mnt requires hapdb_flashdb_voldg
// resource dependency tree//// group hapdb_rac// {// Oracle Ora-hapdb// {// CFSMount hapdb_archive_mnt// {// CVMVolDg hapdb_archive_voldg// CVMVolDg hapdb_data1_voldg// CVMVolDg hapdb_index1_voldg// CVMVolDg hapdb_redo1_voldg// CVMVolDg hapdb_redo2_voldg// CVMVolDg hapdb_redocopy_voldg// CVMVolDg hapdb_system_voldg// CVMVolDg hapdb_temp_voldg// }// CFSMount hapdb_data1_mnt// CFSMount hapdb_index1_mnt// CFSMount hapdb_redo1_mnt// CFSMount hapdb_redo2_mnt// CFSMount hapdb_redocopy_mnt
8/14/2019 RAC 10gr2 Guide
http://slidepdf.com/reader/full/rac-10gr2-guide 139/139
e TEAM Oracle 10g RAC Installation Guide
// CFSMount hapdb_system_mnt// CFSMount hapdb_temp_mnt// }// CFSMount hapdb_flashdb_mnt
// CVMVolDg hapdb_flashdb_voldg// }