Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
odt
Author: Michael Ahrens, SUN Microsystems GmbH
SUN Microsystems
GmbH
Oracle RAC on Sun Cluster and QFS
Page 1 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Table of Contents
Table of Contents......................................................................................................................................................2
Document Info...........................................................................................................................................................4
Content..............................................................................................................................................................4
Hardware Installation................................................................................................................................................5
Architecture.......................................................................................................................................................5
Drawing.............................................................................................................................................................5
Solaris Installation.....................................................................................................................................................6
Solaris 10 u1......................................................................................................................................................6
Setup slvm.........................................................................................................................................................6
EIS-CD..............................................................................................................................................................7
QFS 4.5..............................................................................................................................................................7
Cluster Installation....................................................................................................................................................8
SunCluster 3.1U4..............................................................................................................................................8
Setup IPMP groups on all nodes for all public network interfaces.................................................................11
Modify NVRAM parameter:...........................................................................................................................12
Create Users and Groups.................................................................................................................................12
Check SSH daemon.........................................................................................................................................12
Setup SSH for oracle.......................................................................................................................................12
Setup userenv for oracle..................................................................................................................................13
Install the RAC/OPS Service from the CD.....................................................................................................14
Install udlm......................................................................................................................................................14
Workaround Bug.............................................................................................................................................15
Set kernel parameters......................................................................................................................................17
Create cluster resourcegroup for rac...............................................................................................................17
Create multi-owner disk set.............................................................................................................................18
Configure QFS software on all nodes.............................................................................................................19
Create global mountpoint and vfstab entries on all nodes..............................................................................20
Create cluster resourcegroup for qfs...............................................................................................................20
Last Systemanalyse.........................................................................................................................................22
Prepare Oracle Installation......................................................................................................................................23
Share staging area............................................................................................................................................23
Mount staging area..........................................................................................................................................23
Perform cluster check......................................................................................................................................23
Install Clusterware 10.2.0.1.....................................................................................................................................24
Run installer from ora-rac-3............................................................................................................................24
Running vipca.................................................................................................................................................34
Check Cluster Status.......................................................................................................................................40
Install crsstat.sh...............................................................................................................................................41
Install Database Home 10.2.0.1..............................................................................................................................42
Run installer from ora-rac-3............................................................................................................................42
Install Management Agent......................................................................................................................................51
Run installer from ora-rac-3............................................................................................................................51
Install Patchset 10.2.0.2 on CRS Home..................................................................................................................60
Stop all oracle processes.................................................................................................................................60
Install binaries.................................................................................................................................................60
Restart Custerware..........................................................................................................................................65
Install Patchset 10.2.0.2 on DB Home....................................................................................................................66
Install binaries.................................................................................................................................................66
Install Interim Patch 5117016 on DB Home...........................................................................................................71
Install with opatch...........................................................................................................................................71
Create Database ZDA..............................................................................................................................................74
Run DBCA......................................................................................................................................................74
Cluster Optimiziation..............................................................................................................................................78
Apply Brownout Patches.................................................................................................................................78
Set the CSS misscount to match the service level...........................................................................................78
Run CSS in Real Time....................................................................................................................................78
Set the check_interval for VIP addresses........................................................................................................78
Optimize VIP Failover............................................................................................................................................80
Adjusting Listener Configuration....................................................................................................................80
Page 2 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Addendum...............................................................................................................................................................82
Metalink Note 284752.1..................................................................................................................................82
Metalink Note 294430.1..................................................................................................................................83
Metalink Note 294430.1..................................................................................................................................89
Page 3 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Document Info
Content
This is an installation summary of the installation and patch process of the RAC environment. It is
based on the official procuct documentation provided by SUN and Oracle and cannot replace those doc-
uments. The OS and Clusterinstallation was strongly based on EIS done.
Page 4 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Hardware Installation
Architecture
The cluster is based on two SF440 with 4 CPU's, 16GB RAM and 4 internal Disks. The internaldisks
are mirrored with SLVM. Two disks are used for the OS and the other two are used for Oracle. Oracle
will not be installed on shared disks because of the rolling upgrade capability. The shared disks are luns
from a SAN and they are mirrored with SLVM/OBAN, filesystem is QFS 4.5. The clusterinterconnect
is realized with four switched gigabitethernet connections.
Drawing
4 x Interconnect
Storage A Storage B
Page 5 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Solaris Installation
Solaris 10 u1
Solaris 10 u1 SUNWCXall is installed.
• Do not forget the 512Mb (SC3.1 strikly recommended) partition for /globaldevices
Mirrored by SLVM, on every clusternode another metadevicename for this filesystem must be used.
ora-rac-3 d30
ora-rac-4 d35
• For SVM reserve slice 7 with 32MB (EIS recommendation) for metaDB/replicas.
• Ensure that the SAN Foundation Suite packages are installed and patched. (SAN is necessary for fibre
server/storage)
logout,login
Setup slvm
#cat /etc/lvm/md.tab
mddb1 -c 3 /dev/dsk/c3t0d0s7
d10 -m d11
d11 1 1 /dev/dsk/c3t0d0s0
d12 1 1 /dev/dsk/c3t1d0s0
d20 -m d21
d21 1 1 /dev/dsk/c3t0d0s1
d22 1 1 /dev/dsk/c3t1d0s1
d30 -m d31
d31 1 1 /dev/dsk/c3t0d0s6
d32 1 1 /dev/dsk/c3t1d0s6
Page 6 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
EIS-CD
QFS 4.5
cd /tmp/qfs_packages
pkgadd -d .
choose both qfs packages
install Patch: 122807-04
Page 7 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Cluster Installation
SunCluster 3.1U4
Configure /etc/inet/hosts.
127.0.0.1 localhost
192.168.10.238 ora-rac-4-1
192.168.10.237 ora-rac-4-2
192.168.10.215 ora-rac-3
172.16.193.1 ora-rac-3-priv
192.168.10.223 ora-rac-3-vip
192.168.10.217 ora-rac-4 loghost ora-rac-4.
172.16.193.2 ora-rac-4-priv
192.168.10.239 ora-rac-4-vip
defaultrouter = 192.168.10.254
When using supported network adapters which use the *ce* driver for private transport, insert into file
/etc/system:
set ce:ce_taskq_disable=1
Page 8 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Configure
You should do this in a startscript. You can use S68nettune from EIS-DVD.
See also SRDB 73036
Copy the SunCluster Software from the EIS-DVD to the disk and bunzip and untar this file.
/cdrom/eisdvd/suninternal/progs/SunCluster/3.1_U4/suncluster_sc31u4_sparc_EIS
.tar.bz2
Edit XML-File and remove the Explorer entries, because within the software is a very old version of the
explorer.
vi ./suncluster_sc31u4_sparc/Solaris_sparc/.install/config/PPXMLS/SunCluster.xml
Remove following entries:
<forward_dependency id="Explorer" base_point_product_id="Explorer"
topology_category="Host-Based" subcomp_refs="Explorer">
<description>"Explorer is required for NC to be installed"</description>
<lowest_compat_version_noupgrade>
<versionInfo versionNo="4.2"/>
</lowest_compat_version_noupgrade>
</forward_dependency>
Explorer,
Page 9 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Install Sun Cluster patches: Note the structure under .../sun2/patch/SunCluster3.x/ ..3.1 (containing
sub-directories, 8, 9, 10, 9_x86, 10_x86) ..agents (containing sub-directories common, 8, 9, 10,
10_x86)
Page 10 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Setup IPMP groups on all nodes for all public network interfaces.
At least you need one test IP for each network adapter and one production IP for each IPMP group. e.g:
IPMP group active-active with interfaces ce0 and ce4 with one physical IP.
ora-rac-3
Entry of /etc/hostname.ce0 :
ora-rac-3-1 netmask + broadcast + group ipmp0 up \
addif ora-rac-3 netmask + broadcast + deprecated -failover up
Entry of /etc/hostname.ce4 :
ora-rac-3-2 netmask + broadcast + group ipmp0 deprecated -failover up
ora-rac-4
Entry of /etc/hostname.ce0 :
ora-rac-4-1 netmask + broadcast + group ipmp0 up \
addif ora-rac-3 netmask + broadcast + deprecated -failover up
Entry of /etc/hostname.ce4 :
ora-rac-4-2 netmask + broadcast + group ipmp0 deprecated -failover up
Notes:
• Do not use test IP for normal applications
• Test IP for all adapters in the same IPMP group must belong to a single IP subnet
• You need an addtional IP for each logical host.
Page 11 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
See later in this document for qfs. Create all mountpoints on all nodes.
Add global and logging option in /etc/vfstab if you use UFS.
Page 12 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 13 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
export ORACLE_SID
export ORACLE_HOME
EDITOR=vi
export EDITOR
if [ -t 0 ]; then
stty intr ^C
fi
# stty erase ^?
alias sql='sqlplus / as sysdba'
alias crsi='/oracle/product/crs/bin/crs_stat -t'
alias xxx=". ~/set_oracle_env.sh"
alias oh='cd $ORACLE_HOME'
alias al='vi /oracle/admin/ZDA/bdump/alert_${ORACLE_SID}.log'
echo "Tip: Enter xxx to change your current setting"
Install udlm
Remark: Don't use the version from the EIS DVD, for Oracle 10G the asynchronous version is re-
quired, on the EIS DVD is only the synchronous version available. See chapter „Prepair Oracle Installa-
tion“ for the Installationmedias.
#cd /install/oracle/stage/cl/racpatch
#uncompress ORCLudlm.tar.Z;tar xf ORCLudlm.tar
#pkgadd -d .
#The following packages are available:
1 ORCLudlm Oracle UNIX Distributed Lock Manager
(sparc) Dev Release 06/11/04, 64bit 3.3.4.8 reentrant, async libskgxn2.so
Page 14 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Workaround Bug
The OUI may fail if it does not find ssh and scp binaries in /usr/local/bin.
mkdir -p /usr/local/bin
ln -s /usr/bin/ssh /usr/local/bin/ssh
ln -s /usr/bin/scp /usr/local/bin/scp
If you use Solaris Secure Shell (sshd) with enabled X11 forwarding and udlm you should read Sun Al-
ert 57428.
Configure 'udlm.port' and 'udlm.num_ports' in /opt/SUNWudlm/etc/udlm.conf
# Modified by rac_udlm_init on Tue May 9 09:14:16 CEST 2006
#
# ident "@(#)udlm.conf.template 1.5 03/04/15 SMI"
#
# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This file has been created by SUNW.rac_udlm resource type
# callback programs.
#
# Please do not edit this file.
#
udlm.oracle.config.file : /etc/opt/SUNWcluster/conf/udlm.conf
udlm.schedclass : RT
udlm.schedpriority : 11
udlm.port : 7000
udlm.num_ports : 32
udlm.failfastmode : panic
udlm.start_timeout : 100
udlm.step1_timeout : 100
udlm.step2_timeout : 100
udlm.step3_timeout : 100
udlm.step4_timeout : 100
udlm.step5_timeout : 100
udlm.abort_timeout : 325
#
udlm.resource_name : rac_udlm_rs
udlm.resource_group_name : rac_rg
#
Page 15 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
udlm.nodes : ${cluster.number.nodes}
#
#
udlm.clustname : boschpoc
udlm.server.0.hname : 172.16.193.1
udlm.server.1.hname : 172.16.193.2
udlm.server.2.hname : ${cluster.node.2.hahost}
udlm.server.3.hname : ${cluster.node.3.hahost}
udlm.server.4.hname : ${cluster.node.4.hahost}
udlm.server.5.hname : ${cluster.node.5.hahost}
udlm.server.6.hname : ${cluster.node.6.hahost}
udlm.server.7.hname : ${cluster.node.7.hahost}
udlm.server.8.hname : ${cluster.node.8.hahost}
udlm.server.9.hname : ${cluster.node.9.hahost}
udlm.server.10.hname : ${cluster.node.10.hahost}
udlm.server.11.hname : ${cluster.node.11.hahost}
udlm.server.12.hname : ${cluster.node.12.hahost}
udlm.server.13.hname : ${cluster.node.13.hahost}
udlm.server.14.hname : ${cluster.node.14.hahost}
udlm.server.15.hname : ${cluster.node.15.hahost}
#
# Relate CMM steps to UDLM steps
#
# Format:
# ucmm.timeout.<stepname>.<component order> : <value>
#
#
ucmm.timeout.cmmstep2.05 : ${udlm.step1_timeout}
ucmm.timeout.cmmstep4.05 : ${udlm.step2_timeout}
ucmm.timeout.cmmstep5.05 : ${udlm.step3_timeout}
ucmm.timeout.cmmstep6.05 : ${udlm.step4_timeout}
ucmm.timeout.cmmstep7.05 : ${udlm.step5_timeout}
ucmm.timeout.cmmstart.05 : ${udlm.start_timeout}
ucmm.timeout.cmmabort.05 : ${udlm.abort_timeout}
ucmm.timeout.cmmstop.05 : ${udlm.stop_timeout}
Page 16 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
* Oracle settings *
set noexec_user_stack=1
set rlim_fd_cur=8192
• end of Oracle settings *
Page 17 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 18 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
• Edit /etc/opt/SUNWsamfs/hosts.sharedrac
ora-rac-3 clusternode1-priv 1 - server
ora-rac-4 clusternode2-priv 2 -
• Edit /etc/opt/SUNWsamfs/hosts.sharedfs
ora-rac-3 clusternode1-priv 1 -
ora-rac-4 clusternode2-priv 2 - server
• Edit /etc/opt/SUNWsamfs/samfs.cmd
notrace
fs = sharedrac
nosam
forcedirectio
sync_meta=1
mh_write
qwrite
nstreams=1024
stripe=1
rdlease=300
wrlease=300
aplease=300
fs = sharedfs
sync_meta=1
nstreams=1024
stripe=1
Page 19 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
#samd config
Use sam-fsd command for validation
vi /etc/vfstab
sharedrac - /oradata samfs - no shared
sharedfs - /oraarch samfs - no shared
#mount sharedrac
#mount sharedfs
# cd /opt/SUNWsamfs/sc/bin
# vi scqfs_boot.hacked
#!/bin/ksh
my_host=`uname -n`
while true;
do
scstat -g | grep rac_svm | grep $my_host | read r rn h status statmsg
if [ $status = "Online" ]; then break;
else sleep 10; fi
done
exec /opt/SUNWsamfs/sc/bin/scqfs_init $*
# chmod 755 scqfs_boot.hacked
# mv scqfs_boot scqfs_boot_org
# ln -s scqfs_boot.hacked scqfs_boot
# scrgadm -a -t SUNW.qfs
Page 20 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
# scswitch -Z -g qfs_rac_rg
# scrgadm -a -g qfs_arch_rg -h ora-rac-4,ora-rac-3
# scrgadm -a -g qfs_arch_rg -t SUNW.qfs -j qfs_arch_rs -x \
QFSFileSystem=/oraarch
# scswitch -Z -g qfs_arch_rg
If you are not able to register SUNW.qfs then create the link:
# cd /usr/cluster/lib/rgm/rtreg
# ln -s /opt/SUNWsamfs/sc/etc/SUNW.qfs
Page 21 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Last Systemanalyse
explorer
cd /opt/SUNWexplo/output/explorer*
/cdrom/eis-dvd/sun/tools/explominer/explominer
Page 22 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 23 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 24 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 25 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 26 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 27 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 28 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 29 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 30 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 31 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 32 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 33 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
The given interface(s), "ce0" is not public. Public interfaces should be used
to configure virtual IPs.
Running vipca
>> ora-rac-3 as root
/oracle/product/db/bin/vipca
Page 34 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 35 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 36 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 37 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 38 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 39 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 40 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Install crsstat.sh
Because of the unreadable output of „crs_stat -t“ setup a wrapper for crs_stat.
mkdir /oracle/tools
vi /oracle/tools/crsstat.sh
#!/usr/bin/ksh
#
# Sample 10g CRS resource status query script
#
# Description:
# - Returns formatted version of crs_stat -t, in tabular
# format, with the complete rsc names and filtering keywords
# - The argument, $RSC_KEY, is optional and if passed to the script, will
# limit the output to HA resources whose names match $RSC_KEY.
# Requirements:
# - $CRS_HOME should be set in your environment
RSC_KEY=$1
QSTAT=-u
AWK=/usr/xpg4/bin/awk
# Table header:echo ""
$AWK \
'BEGIN {printf "%-45s %-10s %-18s\n", "HA Resource", "Target", "State";
printf "%-45s %-10s %-18s\n", "-----------", "------", "-----";}'
# Table body:
$CRS_HOME/bin/crs_stat $QSTAT | $AWK \
'BEGIN { FS="="; state = 0; }
$1~/NAME/ && $2~/'$RSC_KEY'/ {appname = $2; state=1};
state == 0 {next;}
$1~/TARGET/ && state == 1 {apptarget = $2; state=2;}
$1~/STATE/ && state == 2 {appstate = $2; state=3;}
state == 3 {printf "%-45s %-10s %-18s\n", appname, apptarget, appstate; state=0;}'
Output of crsstat.sh
Page 41 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 42 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 43 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 44 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 45 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 46 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 47 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 48 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 49 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 50 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 51 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 52 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 53 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 54 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 55 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Password: oracle1
Page 56 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 57 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 58 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 59 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Install binaries
Login as oracle on ora-rac-3
Set and export DISPLAY
Page 60 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 61 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 62 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 63 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 64 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Restart Custerware
As root (on every node)
/etc/init.d/init.crs start
Page 65 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Install binaries
./runInstaller
Page 66 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 67 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 68 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 69 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 70 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 71 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 72 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Change /etc/init.d/init.crsd:
>> ora-rac-3 and ora-rac-4 as user root
from: exec $ORA_CRS_HOME/bin/crsd $BOOTFLAG $*
to : exec newtask $ORA_CRS_HOME/bin/crsd $BOOTFLAG $*
Page 73 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Run DBCA
>> ora-rac-3
/oracle/product/db/bin/dbca
Page 74 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 75 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 76 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Password: oracle
Page 77 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Cluster Optimiziation
Overview and best practices for setting up a "zero brownout" configuration to achieve maximum high
availability. More info in note 369101.1.
Page 78 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 79 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
After:
LISTENER_ORA-RAC-3 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 192.168.10.215)
(PORT = 1521)
(IP = FIRST))
(ADDRESS =
(PROTOCOL = TCP)
(HOST = ora-rac-3-vip)
(PORT = 1521)
(IP = FIRST))
)
)
[...]
Page 80 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
After:
LISTENER_ORA-RAC-4 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 192.168.10.217)
(PORT = 1521)
(IP = FIRST))
(ADDRESS =
(PROTOCOL = TCP)
(HOST = ora-rac-4-vip)
(PORT = 1521)
(IP = FIRST))
)
)
[...]
Page 81 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Addendum
Page 82 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 83 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 84 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 85 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 86 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 87 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 88 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 89 of 90
Document: Installation_RAC10GR2_QFS.odt
Author: Michael Ahrens, SUN Microsystems GmbH
Page 90 of 90