step by step installation of rac on ibm aix rs6000
TRANSCRIPT
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 1/32
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 2/32
= Basic Cluster Administration
$ !epa!in& fo! the Installation of RAC
0. Con+i1ure the shared dis3s and >4I! preinstallation tas3s
0. Con+i1ure the shared dis3s
0 >4I! preinstallation tas3s
0 >sin1 the Oracle >niversal Installer +or Real Application Clusters
00 Create a RAC 2atabase usin1 the Oracle 2atabase Con+i1uration Assistant
2$ A"iniste!in& Real Appliation Clste!s Instanes
8$ Refe!enes
%$ Confi&!in& the Clste!s a!"wa!e
%$% Minial a!"wa!e list / Syste Re9i!eents
*or a two node cluster the +ollowin1 would be a minimum recommended hardware list
Chec3 the RAC$IB AI! certi+ication matri +or RAC updates on currently supported hardware$so+tware
%$%$% a!"wa!e
IBM se!*e!s - two IB servers capable o+ runnin1 AI! '00 or :7 ;'bit
o! IBM o! thi!"-pa!ty sto!a&e p!o"ts. Clste! inte!onnets. +li netwo!;s. Swith
options. Meo!y. swap < C1 !e9i!eents onslt with the ope!atin& syste *en"o! o!
ha!"wa!e *en"o!$
Meo!y. swap < C1 !e9i!eents
%ach server must have a minimum o+ :.b o+ memory, at least .9b swap space or twice the physical memory whichever is 1reater
To determine system memory use?-
$ /usr/sbin/lsattr -E -l sys0 -a realmem
To determine swap space use?-
$ /usr/sbin/lsps -a
;'-bit processors are re/uired
%$%$7 Softwa!e
6hen usin1 IB AI! '00?
"AC#$%& CR ''
Only RA6 7o1ical 8olumes (Raw 2evices) +or 2atabase *iles supported
Oracle &erver %nterprise %dition @i Release . (@.) or @i Release (@)
6hen usin1 IB AI! :. (:7)?
*or 2atabase *iles residin1 on RA6 7o1ical 8olumes (Raw 2evices)?
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 3/32
"AC#$%& CR ''
*or 2atabase +iles residin1 on #arallel *ilesystem (9#*&)?
"AC#$%& '' ("AC#$CR is not re/uired)
9#*& .:
IB #atch #T*. and IB patch I0'@.=or
IB #atch #T*.0
Oracle &erver %nterprise %dition @i Release (@)
Oracle &erver %nterprise %dition @i +or AI! '00 and :7 are in separate C2 pac3sand include Real Application Cluster (RAC)
%$%$ athes
The IB Cluster nodes mi1ht re/uire patches in the +ollowin1 areas?
IB AI! Operatin1 %nvironment patches
&tora1e +irmware patches or microcode updates
#atchin1 considerations?
a3e sure all cluster nodes have the same patch levels
2o not install any +irmware-related patches without /uali+ied assistance
Always obtain the most current patch in+ormation
Read all patch R%A2% notes care+ully
*or a list o+ re/uired operatin1 system patches chec3 the sources in 4ote ..:0=. and contact IBcorporation +or additional patch re/uirements
To see all currently installed patches use the +ollowin1 command?= /s!/s+in/instfi4 -i
To veri+y installation o+ a speci+ic patch use?
= /s!/s+in/instfi4 -i*; >athn+e!?
e1? = /s!/s+in/instfi4 -i*; I@0#7
%$7 Installin& 5is; A!!ays
*ollow the procedures +or an initial installation o+ the dis3 enclosures or arrays, prior to installin1 the IB
AI! operatin1 system environment and "AC# so+tware #er+orm this procedure in conunction with the procedures in the "AC# +or AI! '!. Installation 9uide and your server hardware manual
%$ Installin& Clste! Inte!onnet an" +li Netwo!; a!"wa!e
The cluster interconnect and public networ3 inter+aces do not need to be con+i1ured prior to the "AC#
installation but must be con+i1ured and available be+ore the cluster can be con+i1ured
I+ not already installed, install host adapters in your cluster nodes *or the procedure on installin1 host
adapters, see the documentation that shipped with your host adapters and node hardware Install the
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 4/32
transport cables (and optionally, transport unctions), dependin1 on how many nodes are in your
cluster?
A cluster with more than two nodes re/uires two cluster transport unctions These transport unctions
are %thernet-based switches (customer-supplied)
ou install the cluster so+tware and con+i1ure the interconnect a+ter you have installed all other hardware
7$ C!eatin& a Clste!
7$% IBM ACM/S Softwa!e Installation
The "AC#$%& '!! installation and con+i1uration process is completed in several maor steps The1eneral process is?
install hardware
install the IB AI! operatin1 system so+tware
install the latest IB AI! maintenance level and re/uired patches
install "AC#$%& '!! on each node
install "AC#$%& re/uired patches
con+i1ure the cluster topolo1y
synchroni5e the cluster topolo1y
con+i1ure cluster resources
synchroni5e cluster resources
*ollow the instructions in the "AC# +or AI! '!! Installation 9uide +or detailed instructions on insallin1the re/uired "AC# pac3a1es The re/uired$su11ested pac3a1es include the +ollowin1?
clusteradtesclientdemos
clusteradtesclientinclude
clusteradtesserverdemos
clusterclvmrte "AC# +or AI! Concurrent
clustercspoccmds "AC# C&#OC commands
clustercspocdsh "AC# C&#OC dsh and perl
clustercspocrte "AC# C&#OC Runtime Commands
clusteresclientlib %& Client 7ibraries
clusteresclientrte %& Client Runtime
clusteresclientutils %& Client >tilities
clusteresclvmrte %& +or AI! Concurrent Access
clusterescspoccmds %& C&#OC CommandsD
clusterescspocdsh %& C&#OC dsh and perl
clusterescspocrte %& C&#OC Runtime Commands
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 5/32
clustereshcrte %& "C 2aemon
clusteresserverdia1 %& &erver 2ia1s
clusteresserverevents %& &erver %vents
clusteresserverrte %& Base &erver Runtime
clusteresserverutils %& &erver >tilities
clusterhcrte "AC# "C 2aemon
clusterms1%nE>&cspoc "AC# C&#OC essa1es - >&
clusterms1enE>&cspoc "AC# C&#OC essa1es - >&
clusterms1enE>&esclient
clusterms1enE>&esserver
clusterms1enE>&haview "AC# "A8iew essa1es - >&
clustervsmes %& 8& Con+i1uration >tility
clusterclvmrte "AC# +or AI! Concurrent clusteresclientrte %& Client Runtime
clusteresclvmrte %& +or AI! Concurrent Access
clustereshcrte %& "C 2aemon
clusteresserverevents %& &erver %vents
clusteresserverrte %& Base &erver Runtime
clusteresserverutils %& &erver >tilities
clusterhcrte "AC# "C 2aemon
clustermanenE>&clientdata clustermanenE>&cspocdata
clustermanenE>&esdata %& an #a1es - >& %n1lish
clustermanenE>&serverdata
rsctbasichacmp R&$; Cluster Technolo1y
rsctbasicrte R&$; Cluster Technolo1y
rsctbasicsp R&$; Cluster Technolo1y
rsctclientshacmp R&$; Cluster Technolo1y
rsctclientsrte R&$; Cluster Technolo1y
rsctclientssp R&$; Cluster Technolo1y
rsctbasicrte R&$; Cluster Technolo1y
ou can veri+y the installed "AC# so+tware with the Fclveri+yF command
G $usr$sbin$cluster$dia1$clveri+y
At the Fclveri+yDF prompt enter Fso+twareF then at the Fclveri+yso+twareDF prompt enter FlppF ou should
see a messa1e similar to?
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 6/32
Chec3in1 AI! +iles +or "AC# +or AI!-speci+ic modi+ications
$etc$inittab not con+i1ured +or "AC# +or AI!
I+ I# Address Ta3eover is con+i1ured, or the Cluster ana1er is to be started on boot, then $etc$inittab
must contain the proper "AC# +or AI! entries
Command completed--------- "it Return To Continue ---------
Contact IB support i+ there were any +ailure messa1es or problems eecutin1 the Fclveri+yF command
7$7 Confi&!in& the Clste! Topolo&y
>sin1 the Fsmit hacmpF command?
sit hap
Note: The +ollowin1 is an eample o+ a 1eneric "AC# con+i1uration to be used as an eample only &eethe "AC# installation and plannin1 documentation +or speci+ic eamples All /uestions concernin1 the
con+i1uration o+ your cluster should be directed to IB &upport This con+i1uration does not include an
eample o+ a I# ta3eover networ3 FsmitF +astpaths are bein1 used to navi1ate the Fsmit hacmpF con+i1urationmenus %ach one o+ these con+i1uration screens are obtainable +rom Fsmit hacmpF All con+i1uration is done
+rom one node and then synchroni5ed to the other participatin1 nodes
Add the cluster de+inition?
&mit "AC# -D Cluster Con+i1uration -D Cluster Topolo1y -D Con+i1ure Cluster -D Add a Cluster
2e+inintion
*astpath?
sit Donfi&Dlste!$a""
Add a Cluster 2e+inition
Type or select values in entry +ields
#ress %nter A*T%R ma3in1 all desired chan1es
H%ntry *ields 4OT%? Cluster ana1er >&T B% R%&TART%2
in order +or chan1es to be ac3nowled1ed
E Clste! I5 F0G
E Clste! Nae Flste!%G
The FClste! I5F and FClste! NaeF are arbitrary The FClste! I5F must be a valid number between
and @@@@@ and the FClste! NaeF can be any alpha strin1 up to 0 characters in len1th
Con+i1urin1 4odes?
&mit "AC# -D Cluster Con+i1uration -D Cluster Topolo1y -D Con+i1ure 4odes -D Add Cluster 4odes
*ast#ath?
sit Donfi&Dno"es$a""
Add Cluster NodesType or select values in entry fields.Press Enter AFTE ma!in" all desired
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 7/32
c#an"es.
Entry Fields%* Node Names[node1 node2]
FNo"e NaesF should be the hostnames o+ the nodes They must be alpha numeric and contain no more than0 characters All nodes participatin1 in the cluster must be entered on this screen separated by a space
4et to be con+i1ured is the networ3 adapters This eample will utili5e two ethernet adapters on each node
as well as one R&0 serial port on each node +or heartbeat
No"e Nae a""!essI 3a+el
(/et/hosts)Type
node. .@.;J. node.srvc service
.@.;J.. node.stby standby
$dev$tty serial
node .@.;J nodesrvc service
.@.;J. nodestby standby
$dev$tty serial
The +ollowin1 screens are con+i1uration settin1s needed to con+i1ure the above networ3s into the cluster
con+i1uration?
&mit "AC# -D Cluster Con+i1uration -D Cluster Topolo1y -D Con+i1ure 4odes -D Add an Adapter
*ast#ath?
sit Donf&Da"apte!s$a""
Add an Adapter
Type or select values in entry fields.Press Enter AFTER main! all desired c"an!es.
[Entry Fields]* Adapter #P $a%el[node1srvc]
* Net&or Type[et"er] '* Net&or Name[ipa] '* Net&or Attri%utepublic '* Adapter Functionservice ' Adapter &dentifier%
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 8/32
Adapter 'ard(are Address
% Node Name[node1] '
It is important to note that the FA"apte! I 3a+elF must match what is in the F$etc$hostsF +ile otherwise the
adapter will not map to a valid I# address and the cluster will not synchroni5e The FNetwo!; NaeF is an
arbitrary name +or the networ3 con+i1uration All the adapters in this ether con+i1uration should have thesame FNetwo!; NaeF This name is used to determine what adapters will be used in the event o+ an adapter
+ailure
Add an Adapter
Type or select values in entry fields.Press Enter AFTER main! all desired c"an!es.
[Entry Fields]* Adapter #P $a%el[node1st%y]* Net&or Type[et"er] '
* Net&or Name[ipa] '* Net&or Attri%utepublic '* Adapter Functionstand%y ' Adapter &dentifier% Adapter 'ard(are Address% Node Name[node1] '
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 9/32
A"" an A"apte!
Type o! selet *ales in ent!y fiel"s$
!ess nte! ATR a;in& all "esi!e" han&es$
Fnt!y iel"sG
E A"apte! I 3a+el Fno"e7s!*GE Netwo!; Type Fethe!G H
E Netwo!; Nae FipaG H
E Netwo!; Att!i+te public H
E A"apte! ntion se!*ie H
Adapter Identi+ier H Adapter "ardware Address H
No"e Nae Fno"e7G H
A"" an A"apte!
Type o! selet *ales in ent!y fiel"s$!ess nte! ATR a;in& all "esi!e" han&es$
Fnt!y iel"sG
E A"apte! I 3a+el Fno"e7st+yG
E Netwo!; Type Fethe!G H
E Netwo!; Nae FipaG H
E Netwo!; Att!i+te public H
E A"apte! ntion stan"+y H
Adapter Identi+ier H
Adapter "ardware Address H
No"e Nae Fno"e7G H
The +ollowin1 is the serial con+i1uration? Add an Adapter
Type or select values in entry fields.Press Enter AFTER main! all desired c"an!es.
[Entry Fields]* Adapter #P $a%el[node1(tty]* Net&or Type[rs2)2] '* Net&or Name
[serial] '* Net&or Attri%uteserial '* Adapter Functionservice ' Adapter #dentifier[devtty+] Adapter 'ard(are Address% Node Name
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 10/32
[node1] '
Add an Adapter
Type or select values in entry fields.Press Enter AFTER main! all desired c"an!es.
[Entry Fields]* Adapter #P $a%el[node2(tty]* Net&or Type[rs2)2] '* Net&or Name[serial] '* Net&or Attri%uteserial '* Adapter Function
service ' Adapter #dentifier[devtty+] Adapter 'ard(are Address% Node Name[node2] '
&ince this is not on the same networ3 as the ethernet cards the FNetwo!; NaeF is di++erent The same nameis used +or the networ3 name
>se Fsmit m3ttyF to con+i1ure the R&0 adapters?
sit ;tty
Add a TT)
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
T*P%Entry Fields% TT) typetty
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 11/32
TT) interfacers+,+ escriptionAsync#ronous Terminal Parent adaptersa0* P,RT num%er[+] ' Ena%le $,-#Ndisa%le ' A rate100% 2 PA&T)none% 2 &T3 per c#aracter4% 2 Number of 3T*P &T35% 2 T&6E before advancin" to ne7t port settin"0% 28
TE6&NA9 typedumb% F9*: C*NT*9 to be used7on% 26*E...,5%
Be sure that Fna+le 3'INF is set to the de+ault o+ FdisableF The F'RT n+e!F is the value that is to
be used in the $dev$ttG where FF is the port number &o i+ you de+ined this as F0F the device would be
F$dev$ttyF
7$ Synh!oniin& the Clste! Topolo&y
A+ter the topolo1y is con+i1ured it needs to be synchroni5ed The synchroni5ation per+orms topolo1y sanitychec3s as well as pushes the con+i1uration data to each o+ the nodes in the cluster con+i1uration *or the
synchroni5ation to wor3 user e/uivalence must be con+i1ured +or the root user There is several ways to do
this One way would be to create a FrhostsF +ile on each node in the F$F directory
%ample o+ a FrhostsF +ile?
node1 root node2 roote sure permissions on t#e ;/.r#osts; file is 100.
c"mod /++ .r"ostsse a remote command suc# as ;rcp; to test e<uivalence from eac# node= From node5= rcp etc!roup node20tmp Frome node+= rcp etc!roup node10tmp
8iew your IB operatin1 system documentation +or more in+ormation or contact IB support i+ you have
any /uestions or problems settin1 up user e/uivalence +or the root user
&mit "AC# -D Cluster Con+i1uration -D Cluster Topolo1y -D &ynchroni5e Cluster Topolo1y
*ast#ath?
sit onfi&h;$"ialo&
3ync#roni>e Cluster Topolo"y
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 12/32
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
T*P%Entry Fields%
#!nore luster erification Errors3[No] '* Emulate or Actual3[Actual] '
Note= *nly t#e local node?s default confi"uration files !eep t#e c#an"es you ma!e for topolo"y AE emulation. *nce you run your emulation@ to restore t#e ori"inal confi"uration rat#er t#an runnin" an actual AE@ run t#e 36&T command@ ;estore 3ystem efault Confi"uration from Active Confi"uration.;
:e recommend t#at you ma!e a snaps#ot before runnin" an emulation@ ust in case uncontrolledcluster events #appen durin" emulation.
N*TE= &f t#e Cluster 6ana"er is active on t#is node@ sync#roni>in" t#e Cluster Topolo"y (ill cause t#e Cluster 6ana"er to ma!e any c#an"es ta!e effect once t#e sync#roni>ation #as successfully completed.*TT*6%
7$2 Confi&!in& Clste! Reso!es
In a RAC con+i1uration only one resource 1roup is re/uired This resource 1roup is a concurrent 1roup +orthe shared volume 1roup The +ollowin1 are the steps to add a concurrent resource 1roup +or a shared volume1roup?
*irst there needs to be a volume 1roup that is shared between the nodes
SAR5 3'ICA3 J'31M MANAR . SAR5 C'NC1RRNT 5ISKS ( N' JS5 )
The two instances o+ the same cluster database have a concurrent access on the same eternal dis3s This is
real concurrent access and not a shared one li3e in the 8&2 environment Because several instances access atthe same time the same +iles and data, loc3s have to be mana1ed These loc3s, at the C78 layer (includin1
memory cache), are mana1ed by "AC#
.) Chec3 i+ the tar1et dis3s are physically lin3ed to the two machines o+ the cluster, and seen by both
Type the lsp* command on both machines
4ote ? the hdis3 number can be di++erent, dependin1 on the others nodes dis3 con+i1urations >se the second+ield o+ the output (#8id) o+ lspv to be sure you are dealin1 with the same physical dis3 +rom two hosts
Althou1h hdis3 inconsistency may not be a problem IB su11ests usin1 1host dis3s to ensure hdis3 numbers
match between the nodes Contact IB +or +urther in+ormation on this topic
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 13/32
7$2$% C!eate *ole &!ops to +e sha!e" on!!ently on one no"e
G sit *&
&elect FA"" a Jole !opF
Type or select values in entry +ields
Add a Bolume roup
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
Entry Fields% ,$45E -R,4P name[oracle(v!] P"ysical partition 6#7E in me!a%ytes)2 '* P896#A$ ,$45E names["dis:] '
Activate volume !roup A4T,5AT#A$$9no ' at system restart3 olume -roup 5A;,R N45<ER[:=] ' reate - oncurrent apa%le3yes ' Auto>varyon in oncurrent 5ode3no '
The F@SICA3 J'31M naesF must be physical dis3s that are shared between the nodes 6e do not
want the volume 1roup automatically activated at system startup because "AC# activates it Also FAto-
*a!yon in Con!!ent Mo"eLF should be set to FnoF because "AC# varies it on in concurrent mode
ou must choose the maor number to be sure the volume 1roups have the same maor number in all the
nodes (attention, be+ore choosin1 this number, you must be sure its +ree on all the nodes)
To chec3 all de+ined maor number, type?
= ls al /"e*/E
crw-rw---- . root system :=, Au1 .0?0@ $dev$oracleEv1
The maor number +or oracleEv1 volume 1roup is := %nsure that := is available on all the other nodes and is
not used by another device I+ it is +ree then ma3e use o+ the same on all nodes
On this volume 1roup, create all the lo1ical volumes and +ile systems you need +or the cluster database
7$2$7 C!eate Sha!e" RA 3o&ial Joles if not sin& S$ See setion 7$2$6 fo!"etails a+ot S$
m3lv -yKdbDnameDcntrl5D550mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDcntrl+D550mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDsystemD00mK -wKnK -sKnK -rKnK usupportEv1 .0 hdis3:
m3lv -yKdbDnameDusersD5+0mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDdrsysD0mK -wKnK -sKnK -rKnK usupportEv1 0 hdis3:
m3lv -yKdbDnameDtoolsD5+mK -wKnK -sKnK -rKnK usupportEv1 . hdis3:
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 14/32
m3lv -yKdbDnameDtempD500mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDundotbs5D,5+mK -wKnK -sKnK -rKnK usupportEv1 . hdis3:
m3lv -yKdbDnameDundotbs+D,5+mK -wKnK -sKnK -rKnK usupportEv1 . hdis3:
m3lv -yKdbDnameDlo"55D5+0mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDlo"5+D5+0mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDlo"+5D5+0mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:m3lv -yKdbDnameDlo"++D5+0mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDind7D0mK -wKnK -sKnK -rKnK usupportEv1 0 hdis3:
m3lv -yKdbDnameDc(mliteD500m? -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
m3lv -yKdbDnameDe7ampleD510mK -wKnK -sKnK -rKnK usupportEv1 : hdis3:
m3lv -yKdbDnameDoemrepoD+0mK -wKnK -sKnK -rKnK usupportEv1 . hdis3:
m3lv -yKdbDnameDspfileDGmK -wKnK -sKnK -rKnK usupportEv1 . hdis3:
m3lv -yKdbDnameDsrvmconfD500mK -wKnK -sKnK -rKnK usupportEv1 ' hdis3:
&ubstitute your database name in place o+ the FdbEnameF value 6hen the volume 1roup was created a
partition si5e o+ 0 me1abytes was used The seventh +ield is the number o+ partitions that ma3e up the +ile so
+or eample i+ FdbDnameDcntrl5D550m; needs to be 550 me"abytes (e (ould need partitions.
T#e ra( partitions are created in t#e ;/dev; directory and it is t#e c#aracter devices
t#at (ill be used. T#e ;;l* -yd%(name(cntrl1(11+m -wn -sn -!n sppo!tD*& 2 h"is;8F
creates two +iles?
/"e*/"+DnaeDnt!l%D%%0
/"e*/!"+DnaeDnt!l%D%%0
Chan1e the permissions on the character devices so the so+tware owner owns them?
hown o!ale:"+a /"e*/!"+DnaeE
7$2$ Ipo!t the Jole !op on to the 'the! No"es
>se Fimportv1F to import the oracleEv1 volume 1roup on all o+ the other nodes
On the +irst machine, type?
= *a!yoff*& o!aleD*&
On the other nodes, import the de+inition o+ the volume 1roup usin1 Fsit *&F ?
&elect FIpo!t a Jole !opF
Type or select values in entry +ields
#ress %nter A*T%R ma3in1 all desired chan1es
&mport a Bolume roup
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
Entry Fields% ,$45E -R,4P name[oracle(v!]* P896#A$ ,$45E name["dis:] ' olume -roup 5A;,R N45<ER
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 15/32
[:=] ' 5ae t"is - oncurrent apa%le3no ' 5ae default varyon of - oncurrent3no '
It is possible that the physical volume name (hdis3) could be di++erent on each node Chec3 the #8I2 o+ the
dis3 usin1 Flsp*F, and be sure to pic3 the hdis3 that has the same #8I2 as the dis3 used to create the volume1roup on the +irst node Also ma3e sure the same maor number is used as well This number has to be
unde+ined on all the nodes The FMa;e "efalt *a!yon of J Con!!entLF option should be set to FnoFThe volume 1roup was created concurrent capable so the option FMa;e this J Con!!ent Capa+leLF can
be le+t at FnoF The command line +or importin1 the volume 1roup a+ter varyin1 it o++ on the node where the
volume 1roup was or1inally created on would be?
= ipo!t*& -J>aOo! ? -y >*&nae? h "is;
= h*& -an >*&nae?
= *a!yoff*& >*&nae?
A+ter importin1 the volume 1roup onto each node be sure to chan1e the ownership o+ the character devices to
the so+tware owner? hown o!ale:"+a /"e*/!"+DnaeE
7$2$2 A"" a Con!!ent Clste! Reso!e !op
The shared resource in this eample is ForacleEv1F To create the concurrent resource 1roup that will mana1e
ForacleEv1F do the +ollowin1?
&mit "AC# -D Cluster Con+i1uration -D Cluster Resources -D 2e+ine Resource 9roups -D Add a Resource9roup
*ast#ath?
sit Da""D&!p
Add a esource roup
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
Entry Fields%* Resource -roup Name[s"ared(v!]* Node Relations"ipconcurrent '* Participatin! Node Names[node1 node2] '
The FReso!e !op NaeF is arbitrary and is used when selectin1 the resource 1roup +or con+i1uration
Because we are con+i1urin1 a shared resources the FNo"e RelationshipF is FconcurrentF meanin1 a 1roup o+nodes that will share the resource Fa!tiipatin& No"e NaesF is a space separated list o+ the nodes that
will be sharin1 the resource
7$2$8 Confi&!e the Con!!ent Clste! Reso!e !op
Once the resource 1roup is added it can then be con+i1ured with?
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 16/32
&mit "AC# -D Cluster Con+i1uration -D Cluster Resources -D Chan1e$&how Resources +or a Resource
9roup
*ast#ath?
sit Df&D!es$selet
Confi"ure esources for aesource roup
Type or select values in entry fields.Press Enter AFTE ma!in" all desiredc#an"es.
T*P%Entry Fields% Resource -roup Nameconcurrent(!roup Node Relations"ipconcurrent
Participatin! Node Namesopc%ai?1 opc%ai?2
3ervice &P label% 2 Filesystems% 2 Filesystems Consistency C#ec!fsc! 2 Filesystems ecovery 6et#odse<uential 2 Filesystems to E7port% 2 Filesystems to NF3 mount
% 2 Bolume roups% 2 oncurrent olume !roups[oracle(v!] ' Ra& @is P#@s[+++1B/e%C+e%%=] ' A&H Connections 3ervice% 2 A&H Fast Connect 3ervices% 2 Application 3ervers% 2
'i"#ly Available Communication 9in!s% 2 6iscellaneous ata% &nactive Ta!eover Activatedfalse 2 ,,, is! Fencin" Activatedfalse 2 33A is! Fencin" Activatedfalse 2
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 17/32
Filesystems mounted before &P confi"uredfalse 2*TT*6%
4ote that the settin1s +or FReso!e !op NaeF, FNo"e RelationshipF and Fa!tiipatin& No"e NaesF
comes +rom the data entered in the previous menu FCon!!ent Jole &!opsF needs to be a pre-created
volume 1roup on shared stora1e The FRaw 5is; JI5sF are the physical volumes I2s +or each o+ the dis3sthat ma3e up the FCon!!ent Jole &!opsF It is important to note that you a resource 1roup mana1e
multiple concurrent resources In such a case separate each volume 1roup name with a space Also, the FRaw
5is; JI5sF will be a space delimited list o+ all the physical volume I2s that ma3e up the concurrentvolume 1roup list Alternatively each volume 1roup can be con+i1ured in its own concurrent resource 1roup
7$2$6 C!eatin& a!allel ilesystes (S)
6ith AI! :. (:7) you can also place your +iles on 9#*& (RA6 7o1ical 8olumes are not a re/uirement o+
9#*&) In this case
create 9#*& capable o+ holdin1 all re/uired 2atabase *iles, Control+iles and 7o1+iles
7$8 Synh!oniin& the Clste! Reso!es
A+ter con+i1urin1 the resource 1roup a resource synchroni5ation is needed
&mit "AC# -D Cluster Con+i1uration -D Cluster Resources -D &ynchroni5e Cluster Resources
*ast#ath?
sit lsynno"e$"ialo&
Type or select values in entry fields.Press Enter AFTE ma!in" all desiredc#an"es.
T*P%Entry Fields%
&"nore Cluster Berification ErrorsINo% 2 n/Confi"ure Cluster esourcesI)es% 2J Emulate or ActualIActual% 2
Note= *nly t#e local node?s defaultconfi"uration files !eep t#e c#an"es you ma!e for resourceAE emulation. *nce you run your emulation@ to restore t#e ori"inal confi"uration rat#ert#an runnin" an actual AE@ run t#e 36&Tcommand@ ;estore 3ystem efault Confi"uration fromActive Confi"uration.; :e recommend t#at you ma!e a snaps#otbefore runnin" an emulation@ ust in case
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 18/32
uncontrolled cluster events #appen durin" emulation.*TT*6%
<ust 3eep the de+aults
7$6 Poinin& No"es Into the Clste!
A+ter the cluster topolo1y and resources are con+i1ured the nodes can oin the cluster It is important to start
one node at a time unless usin1 C-&#OC (Cluster-&in1le #oin1 o+ Control) *or more in+ormation on usin1
C-&#OC consult IBKs "AC# speci+ic documentation The use o+ C-&#OC will not be covered in thisdocument
&tart cluster services by doin1 the +ollowin1?
&mit "AC# -D Cluster &ervices -D &tart Cluster &ervices
*ast#ath?
sit lsta!t$"ialo&
Type or select values in entry fields.
Press Enter AFTE ma!in" all desiredc#an"es.
Entry Fields%* 6tart no&D on system restart or %ot"no& '
<R,A@A6T messa!e at startup3false ' 6tartup luster $oc 6ervices3false ' 6tartup luster #nformation @aemon3
true '
&ettin1 FSta!t now. on syste !esta!t o! +othF to FnowF will start the "AC# daemons immediately
F!esta!tF will update the F$etc$inittabF with an entry to start the daemons at reboot and F+othF will do eactly
that, update the F$etc$inittabF and start the daemons immediately FBR'A5CAST essa&e at sta!tpL Q
can either be Ft!eF or FfalseF I+ set to Ft!eF wall type messa1e will be displayed when the node is oinin1
the cluster FSta!tp Clste! 3o; Se!*iesLF should be set to FfalseF +or a RAC con+i1uration &ettin1 this
parameter to Ft!eF will prevent the cluster +rom wor3in1 but the added daemon is not used I+ FclstatF is
1oin1 to be used to to monitor the cluster the F&tartup Cluster In+ormation 2aemonLF will need to be set toFt!eF
8iew the F$etc$hacmpoutF +ile +or startup messa1es 6hen you see somethin1 similar to the +ollowin1 it is
sa+e to start the cluster services on the other nodes?May 7 0#:%:2 JNT C'M3T5: no"eDpDoplete no"e%
6hen oinin1 nodes into the cluster the other nodes will report a success+ul oin in their F$tmp$hacmpoutF
+iles?
May 7 0#:2:%% JNT C'M3T5: no"eDpDoplete no"e%
7$ Basi Clste! A"inist!ation
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 19/32
The F$tmp$hacmpoutF is the best place to loo3 +or cluster in+ormation FclstatF can also be used to veri+y
cluster health The FclstatF pro1ram can ta3e a while to update with the latest cluster in+ormation and at timesdoes not wor3 at all Also you must have the FSta!tp Clste! Info!ation 5aeonLF set to Ft!eF when
startin1 cluster services >se the +ollowin1 command to start FclstatF?
/s!/es/s+in/lste!/lstat
clstat - 'AC6P for A&HCluster 3tatus 6onitor
---------------------------------------------
Cluster= cluster5 K0LTue Mul + 04=,4=01 ET +00+ 3tate= PNodes= + 3ub3tate= 3TA9E Node= node5 3tate= P &nterface= node5 K0L
Address= 5+.514.0.5 3tate= P
Node= node+ 3tate= P &nterface= node+ K0LAddress= 5+.514.0.+ 3tate= P
One other way to chec3 the cluster status is by /ueryin1 the FsnmpdF daemon with Fsnmpin+oF?
/s!/s+in/snpinfo - &et -o /s!/es/s+in/lste!/hap$"efs -* Clste!S+state$0
This should return F0F?lste!S+State$0 7
I+ other values are returned +rom any node consult your IB "AC# documentation or contact IBsupport
ou can 1et a /uic3 view o+ the "AC# speci+ic daemons with?
&mit "AC# -D Cluster &ervices -D &how Cluster &ervices
C*66AN3TAT3
Command= * stdout= yes
stderr= no
efore command completion@ additionalinstructions may appear belo(.
3ubsystem roupP& 3tatus clstrm"rE3 cluster++000 active
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 20/32
clinfoE3 cluster+5, active clsmu7pdE3 cluster5,+ active clloc!dE3 loc!inoperative clresm"rdE3++0 active
Sta!tin& < Stoppin& Clste! No"es
To Ooin an" e*it no"es f!o the lste! se:
&mit "AC# -D Cluster &ervices -D &tart Cluster &ervices
&ee section ; +or more in+ormation on oinin1 a node into the cluster
>se the +ollowin1 to evict a node +rom the cluster?
&mit "AC# -D Cluster &ervices -D &top Cluster &ervices
*ast#ath?
sit lstop$"ialo&
3top Cluster3ervices
Type or select values in entry fields.Press Enter AFTE ma!in" all desired c#an"es.
Entry Fields%* 6top no&D on system restart or %ot"no& '
<R,A@A6T cluster s"utdo&n3true '* 6"utdo&n mode!raceful ' K"raceful or "raceful (it#ta!eover@ forcedL
&ee section ; FPoinin& No"es Into the Clste!Q +or and eplanation o+ FStop now. on syste !esta!t o!
+othF and FBR'A5CAST lste! sht"ownLF The F&hutdown modeF determines whether or not resources
are 1oin1 to move between nodes i+ a shutdown occurs Ffo!e"F is new with ''. o+ "AC# and will leaveapplications runnin1 that are controlled by "AC# events when the shutdown occurs F&!aeflF will brin1
everythin1 down but cascadin1 and rotatin1 resources are not switched where as with F&!aefl with
ta;eo*e!F these resources will be switched at shutdown3o& iles fo! ACM/S
All cluster recon+i1uration in+ormation durin1 cluster startup and shutdown 1oes into the F$tmp$hacmpoutF
$0 !epa!in& fo! the installation of RAC
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 21/32
The Real Application Clusters installation process includes +our maor tas3s
Con+i1ure the shared dis3s and >4I! preinstallation tas3s
Run the Oracle >niversal Installer to install the Oracle@i %nterprise %dition and the Oracle@i Real
Application Clusters so+tware
Create and con+i1ure your database$% Confi&!e the sha!e" "is;s an" 1NIX p!einstallation tas;s
$%$% Confi&!e the sha!e" "is;s
Real Application Clusters re/uires that all each instance be able to access a set o+ un+ormatted devices on a
shared dis3 subsystem i+ 9#*& is not bein1 used These shared dis3s are also re+erred to as raw devices I+your plat+orm supports an Oracle-certi+ied cluster +ile system, however, you can store the +iles that Real
Application Clusters re/uires directly on the cluster +ile system
Note: I+ you are usin1 #arallel *ilesystem (9#*&), however, you can store the +iles that Real ApplicationClusters re/uires
directly on the cluster +ile system M
The Oracle instances in Real Application Clusters write data onto the raw devices to update the control +ile,
server parameter +ile, each data+ile, and each redo lo1 +ile All instances in the cluster share these +iles
The Oracle instances in the RAC con+i1uration write in+ormation to raw devices de+ined +or?
The control +ile
The sp+ileora
%ach data+ile
%ach O47I4% redo lo1 +ile
&erver ana1er (&R8) con+i1uration in+ormation
It is there+ore necessary to de+ine raw devices +or each o+ these cate1ories o+ +ile The Oracle 2atabaseCon+i1uration Assistant (2BCA) will create a seed database epectin1 the +ollowin1 con+i1uration?
Raw Joleile
SieSaple ile Nae
&&T% tablespace'
bdbDnameDra(DsystemD00m
>&%R& tablespace.
bdbDnameDra(DusersD5+0m
T%# tablespace.
bdbDnameDra(DtempD500m
>42OTB& tablespace
per instance
0.
bdbDnameDra(Dundotbs7D,5+m
C67IT% tablespace . dbDnameDra(Dc(mliteD500m
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 22/32
b
%!A#7%.;
bdbDnameDra(De7ampleD510m
O%R%#O bdbDnameDra(DoemrepoD+0m
I42! tablespace = b dbDnameDra(Dind7D0m
TOO7& tablespace . b dbDnameDra(DtoolsD5+m
2R&& tablespace @ b dbDnameDra(DdrsysD0m
*irst control +ile..
b
dbDnameDra(Dcontrolfile5D550m
&econd control +ile..
b
dbDnameDra(Dcontrolfile+D550m
Two O47I4% redo lo1
+iles per instance
.
b
dbDnameDt#readDlo"numberD5+0m
sp+ileora : b dbDnameDra(DspfileDGm
srvmcon+i1.b
dbDnameDra(DsrvmconfD500m
4ote? Automatic >ndo ana1ement re/uires an undo tablespace per instance there+ore you would re/uire a
minimum o+ tablespaces as described above By +ollowin1 the namin1 convention described in the tableabove, raw partitions are identi+ied with the database and the raw volume type (the data contained in the raw
volume) Raw volume si5e is also identi+ied usin1 this method
4ote? In the sample names listed in the table, the strin1 dbEname should be replaced with the actual databasename, thread is the thread number o+ the instance, and lo1number is the lo1 number within a thread
On the node +rom which you run the Oracle >niversal Installer, create an A&CII +ile identi+yin1 the raw
volume obects as shown above The2BCA re/uires that these obects eist durin1 installation and database creation 6hen creatin1 the A&CII
+ile content +or the obects, name them
usin1 the +ormat?
databaseEobectNrawEdeviceE+ileEpath
6hen you create the A&CII +ile, separate the database obects +rom the paths with e/uals (N) si1ns as shownin the eample below?
system5O/dev/rdbDnameDsystemD00mspfile5O/dev/rdbDnameDspfileDGmusers5O/dev/rdbDnameDusersD5+0mtemp5O/dev/rdbDnameDempD500mundotbs5O/dev/rdbDnameDundotbs5D,5+mundotbs+O/dev/rdbDnameDundotbs+D,5+me7ample5O/dev/rdbDnameDe7ampleD510m
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 23/32
c(mlite5O/dev/rdbDnameDc(mliteD500mind75O/dev/rdbDnameDind7D0mtools5O/dev/rdbDnameDtoolsD5+mdrsys5O/dev/rdbDnameDdrsysD0mcontrol5O/dev/rdbDnameDcntrl5D550mcontrol+O/dev/rdbDnameDcntrl+D550mredo5D5O/dev/rdbDnameDlo"55D5+0m
redo5D+O/dev/rdbDnameDlo"5+D5+0mredo+D5O/dev/rdbDnameDlo"+5D5+0mredo+D+O/dev/rdbDnameDlo"++D5+0m
ou must speci+y that Oracle should use this +ile to determine the raw device volume names by settin1 the
+ollowin1 environment variable where +ilename
is the name o+ the A&CII +ile that contains the entries shown in the eample above?
csh?
setenv @<A(RA(,NF#- filename
!s#@ bas# or s#=
@<A(RA(,NF#-filenameG e?port @<A(RA(,NF#-
$%$7 1NIX !einstallation Steps
4ote? In addition, you can run the install#repsh script provided in 4ote .J@:;. which catches most uni
environment problems
A+ter con+i1urin1 the raw volumes, per+orm the +ollowin1 steps prior to installation as root user?
A"" the '!ale 1SR
a3e sure you have an osdba 1roup de+ined in the /etc/"roup +ile on all nodes o+ your cluster To
desi1nate an osdba 1roup name and 1roup number and osoper 1roup durin1 installation, these 1roup
names must be identical on all nodes o+ your >4I! cluster that will be part o+ the Real Application
Clusters database The de+ault >4I! 1roup name +or the osdba and osoper 1roups is dba There alsoneeds be an oinstall 1roup which the so+tware owner should have as its primary 1roup A typical entrywould there+ore loo3 li3e the +ollowin1?
d%a001+10oracleoinstall001+20rootDoracle
The +ollowin1 is an eample o+ the command used to create the FdbaF 1roup with a 1roup I2 o+
F..F?
;&!op -A i"%0% se!so!ale "+a
Create an oracle account on each node so that the account?
Is a member o+ the osdba 1roup (dba in this eample)
"as oinstall as its primary 1roup
Is used only to install and update Oracle so+tware
"as write permissions on remote directories
The +ollowin1 is an eample o+ the smit command used to create the ForacleF user?
&mit -D &ecurity >sers -D >sers -D Add a >ser
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 24/32
*astpath?
sit ;se!
Type or select values in entry fields.Press Enter AFTE ma!in" all desiredc#an"es.
T*P%Entry Fields%* 4ser NA5E[oracle] 4ser #@[1+1] A@5#N#6TRAT#E 46ER3false ' Primary -R,4P[oinstall] ' roup 3ET% 2 A6&N&3TAT&BE *P3% 2 *9E3% 2 Anot#er user can 3 T* 3EItrue 2 3 *P3A99% 2 8,5E directory["omeoracle] #nitial PR,-RA5[%ins"] ser &NF*6AT&*N%
EHP&AT&*N date K66##mmyyL0%
4ote that the primary 1roup is not FdbaF The FuseF o+ FoinstallF is optional but recommended *or more
in+ormation on the use o+ the FoinstallF 1roup see the ? Oracle@i Installation 9uide Release (@!!!) +or>4I! &ystems? AI!-Based &ystems, Compa/ Tru;' >4I!, "# @ &eries "#->!, 7inu Intel and &un
&#ARC &olaris documentation
Create a mount point directory on each node to serve as the top o+ your Oracle so+tware directorystructure so that?
The name o+ the mount point on each node is identical to that on the initial node
The oracle account has read, write, and eecute privile1es
On the node +rom which you will run the Oracle >niversal Installer, set up user e/uivalence by
addin1 entries +or all nodes in the cluster, includin1 the local node, to the rhosts +ile o+ the oracleaccount, or the /etc/#osts.e<uiv +ile
As oracle account user, chec3 +or user e/uivalence +or the oracle account by per+ormin1 a remote
lo1in (rlo"in) to each node in the cluster
As oracle account user, i+ you are prompted +or a password, you have not 1iven the oracle account
the same attributes on all nodes ou must
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 25/32
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 26/32
Is oracle the uni user that will be installin1 Oracle &o+twareL y or n
y%nter the uni 1roup that will be used durin1 the installation
2e+ault? dba
dba
%nter 7ocation where you will be installin1 Oracle
2e+ault? $u.$app$oracle$product$oracle@i
[email protected] Operatin1 &ystem is AI!
9atherin1 in+ormation #lease wait
Chec3in1 uni user
user test passed
Chec3in1 uni umas3 umas3 test passed
Chec3in1 uni 1roup >ni 9roup test passed
Chec3in1 emory &wapemory test passed
$tmp test passed
Chec3in1 +or a cluster
AI! Cluster test
Cluster has been detectedou have cluster members con+i1ured and are curently up
4o cluster warnin1s detected
#rocessin1 3ernel parameters #lease waitRunnin1 Pernel #arameter Report
Chec3 the report +or Pernel parameter veri+ication
Completed
$tmp$OracleEInstall#repEReport has been 1enerated
#lease review this report and resolve all issues be+ore attemptin1 to install the Oracle 2atabase &o+tware
$7 1sin& the '!ale 1ni*e!sal Installe! fo! Real Appliation Clste!s
*ollow these procedures to use the Oracle >niversal Installer to install the Oracle %nterprise %dition and the
Real Application Clusters so+tware Oracle@i is supplied on multiple C2-RO dis3s 2urin1 the installation
process it is necessary to switch between the C2-RO& O>I will mana1e the switchin1 between C2s *orthe latest RAC$IB certi+ication matri see here
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 27/32
To install the Oracle &o+tware, per+orm the +ollowin1?
7o1in as the root user and mount the +irst C2-RO i+ installin1 +rom C2-RO
# mount -rv cdrfs /dev/cd0 /cdrom
%ecute the FrootpreshF shell script on the C2-RO mount point or the location o+ 2is3. i+
installin1 +rom a dis3 sta1e &ee the Oracle@i Installation 9uide Release (@!!!) +or >4I!
&ystems? AI!-Based &ystems, Compa/ Tru;' >4I!, "# @ &eries "#->!, 7inu Intel and &un&#ARC &olaris documentation +or more in+ormation on creatin1 dis3 sta1es
# /<Location_Of_Install_Media>/rootpre.sh 7o1in as the oracle user and eecute the FrunInstallerF &ee Q4ote?.:0@;.D i+ you eperience
problems startin1 the runInstaller
$ /<Location_Of_Install_Media>/runInstaller
At the O>I 6elcome screen, clic3 Ne4t
A prompt will appear +or the Inventory 7ocation (i+ this is the +irst time that O>I has been run on thissystem) This is the base directory into which O>I will install +iles The Oracle Inventory de+initioncan be +ound in the +ile /et/o!aInst$lo Clic3 'K
8eri+y the >4I! 1roup name o+ the user who controls the installation o+ the Oracle@i so+tware I+ an
instruction to run /tmp/orainstoot.s# appears, the pre-installation steps were not completed
success+ully Typically, the /var/opt/oracle directory does not eist or is not writeable by oracle
Run /tmp/orainstoot.s# to correct this, +orcin1 Oracle Inventory +iles, and others, to be written to
the *AC9ED'*6E directory Once a1ain this screen only appears the +irst time Oracle@i products are
installed on the system Clic3 Ne4t
The *ile 7ocation window will appear 5o N'T chan1e the &ource +ield The 2estination +ield
de+aults to the *AC9ED'*6E environment variable Clic3 Ne4t
&elect the #roducts to install In this eample, select the '!ale#i Se!*e! then clic3 Ne4t
&elect the installation type Choose the nte!p!ise "ition option The selection on this screen re+ers
to the installation operation, not the database con+i1uration The net screen allows +or a customi5eddatabase con+i1uration to be chosen Clic3 Ne4t
&elect the con+i1uration type In this eample you choose the Advanced Con+i1uration as this option
provides a database that you can customi5e, and con+i1ures the selected server products &elect
Cstoie" and clic3 Ne4t
&elect the other nodes on to which the Oracle R2B& so+tware will be installed It is not necessaryto select the node on which the O>I is currently runnin1 Clic3 Ne4t
Identi+y the raw partition in to which the Oracle@i Real Application Clusters (RAC) con+i1urationin+ormation will be written It is recommended that this raw partition is a minimum o+ .B in si5e
An option to >p1rade or i1rate an eistin1 database is presented 2o N'T select the radio button
The Oracle i1ration utility is not able to up1rade a RAC database, and will error i+ selected to do so
The &ummary screen will be presented Con+irm that the RAC database so+tware will be installed and
then clic3 Install The O>I will install the Oracle@i so+tware on to the local node, and then copy this
in+ormation to the other nodes selected
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 28/32
Once Install is selected, the O>I will install the Oracle RAC so+tware on to the local node, and then
copy so+tware to the other nodes selected earlier This will ta3e some time 2urin1 the installation process, the O>I does not display messa1es indicatin1 that components are bein1 installed on other
nodes - I$O activity may be the only indication that the process is continuin1
$ C!eate a RAC 5ata+ase sin& the '!ale 5ata+ase Confi&!ation Assistant
The Oracle 2atabase Con+i1uration Assistant (2BCA) will create a database +or you (+or an eample o+
manual database creation see 2atabase Creation in Oracle@i RAC) The 2BCA creates your database usin1
the optimal +leible architecture (O*A) This means the 2BCA creates your database +iles, includin1 thede+ault server parameter +ile, usin1 standard +ile namin1 and +ile placement practices The primary phases o+
2BCA processin1 are?-
8eri+y that you correctly con+i1ured the shared dis3s +or each tablespace (+or non-cluster +ile system plat+orms)
Create the database
Con+i1ure the Oracle networ3 services
&tart the database instances and listenersOracle Corporation recommends that you use the 2BCA to create your database This is because the 2BCA
precon+i1ured databases optimi5e your environment to ta3e advanta1e o+ Oracle@i +eatures such as the server
parameter +ile and automatic undo mana1ement The 2BCA also enables you tode+ine arbitrary tablespaces as part o+ the database creation process &o even i+ you have data+ile
re/uirements that di++er +rom those o++ered in one o+ the 2BCA templates, use the 2BCA ou can also
eecute user-speci+ied scripts as part o+ the database creation process
The 2BCA and the Oracle 4et Con+i1uration Assistant also accurately con+i1ure your Real Application
Clusters environment +or various Oracle hi1h availability +eatures and cluster administration tools
2BCA will launch as part o+ the installation process, but can be run manually by eecutin1 the
command dbca +rom the $*AC9ED'*6E/bin directory on >4I! plat+orms The RAC 6elcome #a1edisplays Choose '!ale Clste! 5ata+ase option and select Ne4t
The Operations pa1e is displayed Choose the option C!eate a 5ata+ase and clic3 Ne4t
The 4ode &election pa1e appears &elect the nodes that you want to con+i1ure as part o+ the RAC
database and clic3 Ne4t I+ nodes are missin1 +rom the 4ode &election then per+orm clusterwaredia1nostics by eecutin1 the $*AC9ED'*6E/bin/lsnodes -v command and analy5in1 its output
Re+er to your vendorKs clusterware documentation i+ the output indicates that your clusterware is not
properly installed Resolve the problem and then restart the 2BCA
The 2atabase Templates pa1e is displayed The templates other than 4ew 2atabase include data+iles
Choose New 5ata+ase and then clic3 Ne4t
The Show 5etails button provides in+ormation on the database template selected
2BCA now displays the 2atabase Identi+ication pa1e %nter the lo+al 5ata+ase Nae and '!ale
Syste I"entifie! (SI5) The 9lobal 2atabase 4ame is typically o+ the +orm namedomain, +or
eample y"+$s$o!ale$o while the &I2 is used to uni/uely identi+y an instance (2BCA shouldinsert a su11ested &I2, e/uivalent to name. where name was entered in the 2atabase 4ame +ield) In
the RAC case the &I2 speci+ied will be used as a pre+i +or the instance number *or eample,
M@5B, would become M@5B%. M@5B7 +or instance . and respectively
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 29/32
The 2atabase Options pa1e is displayed &elect the options you wish to con+i1ure and then choose
Ne4t Note? I+ you did not choose 4ew 2atabase +rom the 2atabase Template pa1e, you will not seethis screen
The Additional database Con+i1urations button displays additional database +eatures a3e sure both
are chec3ed and clic3 'K
&elect the connection options desired +rom the 2atabase Connection Options pa1e Note? I+ you didnot choose 4ew 2atabase +rom the 2atabase Template pa1e, you will not see this screen Clic3 Ne4t
2BCA now displays the Initiali5ation #arameters pa1e This pa1e comprises a number o+ Tab +ields
odi+y the Meo!y settin&s i+ desired and then select the ile 3oations tab to update in+ormation
on the Initiali5ation #arameters +ilename and location Then clic3 Ne4t
The option C!eate pe!sistent initialiation pa!aete! file is selected by de+ault I+ you have a
cluster +ile system, then enter a file syste nae, otherwise a !aw "e*ie nae +or the location o+
the server parameter +ile (sp+ile) must be entered Then clic3 Ne4t
The button ile 3oation Ja!ia+les displays variable in+ormation Clic3 'K
The button All Initialiation a!aete!s displays the Initiali5ation #arameters dialo1 bo This bo presents values +or all initiali5ation parameters and indicates whether they are to be included in thesp+ile to be created throu1h the chec3 bo, included ($4) Instance speci+ic parameters have an
instance value in the instance column Complete entries in the All Initialiation a!aete!s pa1e
and select Close Note? There are a +ew eceptions to what can be altered via this screen %nsure allentries in the Initiali5ation #arameters pa1e are complete and select Ne4t
2BCA now displays the 5ata+ase Sto!a&e 6indow This pa1e allows you to enter +ile names +or
each tablespace in your database
The +ile names are displayed in the 5atafiles +older, but are entered by selectin1 the Ta+lespaes
icon, and then selectin1 the tablespace obect +rom the epanded tree Any names displayed here can
be chan1ed A con+i1uration +ile can be used, see section 0., (pointed to by the environmentvariable CADA:DC*NF&) Complete the database stora1e in+ormation and clic3 Ne4t
The 5ata+ase C!eation 'ptions pa1e is displayed %nsure that the option C!eate 5ata+ase ischec3ed and clic3 inish
The 5BCA Sa!y window is displayed Review this in+ormation and then clic3 'K
Once the &ummary screen is closed usin1 the OP option, 2BCA be1ins to create the databaseaccordin1 to the values speci+ied
A new database now eists It can be accessed via Oracle &7#7>& or other applications desi1ned to wor3with an Oracle RAC database
2$0 A"iniste!in& Real Appliation Clste!s Instanes
Oracle Corporation recommends that you use &R8CT7 to administer your Real Application Clusters
database environment &R8CT7 mana1es con+i1urationin+ormation that is used by several Oracle tools *or eample, Oracle %nterprise ana1er and the Intelli1ent
A1ent use the con+i1uration in+ormation that
&R8CT7 1enerates to discover and monitor nodes in your cluster Be+ore usin1 &R8CT7, ensure that your9lobal &ervices 2aemon (9&2) is runnin1 a+ter you con+i1ure your database To use &R8CT7, you must
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 30/32
have already created the con+i1uration in+ormation +or the database that you want to administer ou must
have done this either by usin1 the Oracle 2atabase Con+i1uration Assistant (2BCA), or by usin1 the srvctl
add command as described below
I+ this is the +irst Oracle@i database created on this cluster, then you must initiali5e the clusterwide &R8
con+i1uration *irstly, create or edit the +ile /var/opt/oracle/srvConfi".loc +ile and add the entry
srvconfi"DlocOpat#Dnamewhere the path name is a small cluster-shared raw volume e1$ vi varoptoraclesrvonfi!.locsrvconfi"DlocO/dev/rracDsrvconfi"D500m
Then eecute the +ollowin1 command to initiali5e this raw volume (4ote? This cannot be run while the 1sd is
runnin1 #rior to @i Release you will need to 3ill the$re$..J$bin$ process to stop the 1sd +rom runnin1 *rom @i Release use the 1sdctl stop command)?
$ srvconfi! >init
The +irst time you use the &R8CT7 >tility to create the con+i1uration, start the 9lobal &ervices 2aemon(9&2) on all nodes so that &R8CT7 can access
your clusterKs con+i1uration in+ormation Then eecute the srvctl add command so that Real Application
Clusters 3nows what instances belon1 to your cluster usin1 the +ollowin1 synta?
For Oracle RAC v9.0.1:
&s"
&uccess+ully started the daemon on the local node
s!*tl a"" "+ -p "+Dnae -o o!aleDhoe
Then +or each instance enter the command +rom either node?
s!*tl a"" instane -p "+Dnae -i si" -n no"e
To display the con+i1uration details +or, eample, databases racdb.$, on nodes racnode.$ with instancesracinst.$ run?-
s!*tl onfi&
racdb.racdb
s!*tl onfi& -p !a"+%racnode. racinst.
racnode racinst
s!*tl onfi& -p !a"+% -n !ano"e%
racnode. racinst.
%amples o+ startin1 and stoppin1 RAC +ollow?-
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 31/32
s!*tl sta!t -p !a"+%
Instance success+ully started on node? racnode
7isteners success+ully started on node? racnode
Instance success+ully started on node? racnode.
7isteners success+ully started on node? racnode.
s!*tl stop -p !a"+7
Instance success+ully stopped on node? racnodeInstance success+ully stopped on node? racnode.
7istener success+ully stopped on node? racnode
7istener success+ully stopped on node? racnode.
s!*tl stop -p !a"+% -i !ainst7 -s inst
Instance success+ully stopped on node? racnode
s!*tl stop -p !a"+% -s inst
#RPO-0: ? Instance is already stopped on node? racnode
Instance success+ully stopped on node? racnode.
For Oracle RAC v9.2.0+:
&s"tl sta!t
&uccess+ully started the daemon on the local node
s!*tl a"" "ata+ase -" "+Dnae -o o!aleDhoe F- "oainDnaeG F-s spfileG
Then +or each instance enter the command?
s!*tl a"" instane -" "+Dnae -i si" -n no"e
To display the con+i1uration details +or, eample, databases racdb.$, on nodes racnode.$ with instances
racinst.$ run?-
s!*tl onfi&
racdb.racdb
s!*tl onfi& -p !a"+% -n !ano"e%
racnode. racinst. $u.$app$oracle$product$@.
s!*tl stats "ata+ase -" !a"+%
Instance racinst. is runnin1 on node racnode.Instance racinst is runnin1 on node racnode
8/12/2019 Step by Step Installation of RAC on IBM AIX RS6000
http://slidepdf.com/reader/full/step-by-step-installation-of-rac-on-ibm-aix-rs6000 32/32
%amples o+ startin1 and stoppin1 RAC +ollow?-
s!*tl sta!t "ata+ase -" !a"+7
s!*tl stop "ata+ase -" !a"+7
s!*tl stop instane -" !a"+% -i !ainst7
s!*tl sta!t instane -" !a"+% -i !ainst7
&s"tl stat
9&2 is runnin1 on local node
&s"tl stop
*or +urther in+ormation on srvctl and 1sdctl see the Oracle@i Real Application Clusters Administrationmanual
8$0 Refe!enes
4ote? .J0=. - AI!? uic3 &tart 9uide - @. R2B& Installation
4ote? ..@. - AI!? uic3 &tart 9uide - @ R2B& Installation
4ote? ==0';. - Overview o+ "AC# Classic and $ or "AC#$%&
4ote?.0=JJ. - 2atabase Creation in Oracle@i RAC
4ote?.J0'J. - Raw 2evices and Cluster *ilesystems 6ith Real Application Clusters
RAC$IB AI! certi+ication matri Oracle@i Real Application Clusters Installation and Con+i1uration Release . (@.)
Oracle@i Real Application Clusters Concepts
Oracle@i Real Application Clusters Administration
Oracle@i Real Application Clusters 2eployment and #er+ormance
Oracle@i Installation 9uide +or Compa/ Tru;', "ewlett-#ac3ard "#>!, IB-AI!, 7inu, and &un
&olaris-based systems
Oracle@i Release 4otes