Sie sind auf Seite 1von 128

Oracle Real Application Clusters

Installation Guide 12c Release 1 (12.1) for Linux and UNI


!1"##$%12

&epte'(er 2)1*

Oracle Real Application Clusters Installation Guide+ 12c Release 1 (12.1) for Linux and UNI !1"##$%12 Cop,ri-.t / 2)1*+ Oracle and0or its affiliates. All ri-.ts reser1ed. 2ri'ar, Aut.or3 Aparna 4a'at. Contri(utin- Aut.ors3 5ou-las 6illia's+ 7ar8 9auer+ :onat.an Crei-.ton+ :o.n 7c;u-.+ 7ar8us 7ic.ale<ic=+ &atis. 2anc.u'art.,+ :anet &tern Contri(utors3 5a1id Austin+ 7ar8 9auer+ 7ar8 >uller+ 5onald Gra1es+ 2ra8as. :as.nani+ 4e1in :erni-an+ Anees. 4.andel<al+ 9r,n Lle<ell,n+ 7u-.ees 7in.as+ &rini1as 2oo1ala+ &a'pat. Ra1ind.ran+ :anelle &i''ons+ :a'es &piller+ 7alai &talin+ Ric.ard &tro.'+ Ro, &<on-er+ &iu ?a'+ Ara &.a8ian+ :in-ci 6an-+ :a'es 6illia's+ @in- A.an-+ 7ic.ael Aoll Contri(utor3 ?.e 5ata(ase 12c docu'entation is dedicated to 7ar8 ?o<nsend+ <.o <as an inspiration to all <.o <or8ed on t.is release. ?.is soft<are and related docu'entation are pro1ided under a license a-ree'ent containin- restrictions on use and disclosure and are protected (, intellectual propert, la<s. !xcept as expressl, per'itted in ,our license a-ree'ent or allo<ed (, la<+ ,ou 'a, not use+ cop,+ reproduce+ translate+ (roadcast+ 'odif,+ license+ trans'it+ distri(ute+ ex.i(it+ perfor'+ pu(lis.+ or displa, an, part+ in an, for'+ or (, an, 'eans. Re1erse en-ineerin-+ disasse'(l,+ or deco'pilation of t.is soft<are+ unless reBuired (, la< for interopera(ilit,+ is pro.i(ited. ?.e infor'ation contained .erein is su(Cect to c.an-e <it.out notice and is not <arranted to (e error%free. If ,ou find an, errors+ please report t.e' to us in <ritin-. If t.is is soft<are or related docu'entation t.at is deli1ered to t.e U.&. Go1ern'ent or an,one licensin- it on (e.alf of t.e U.&. Go1ern'ent+ t.e follo<in- notice is applica(le3 U.&. GOD!RN7!N? !N5 U&!R&3 Oracle pro-ra's+ includin- an, operatin- s,ste'+ inte-rated soft<are+ an, pro-ra's installed on t.e .ard<are+ and0or docu'entation+ deli1ered to U.&. Go1ern'ent end users are Eco''ercial co'puter soft<areE pursuant to t.e applica(le >ederal AcBuisition Re-ulation and a-enc,%specific supple'ental re-ulations. As suc.+ use+ duplication+ disclosure+ 'odification+ and adaptation of t.e pro-ra's+ includin- an, operatin- s,ste'+ inte-rated soft<are+ an, pro-ra's installed on t.e .ard<are+ and0or docu'entation+ s.all (e su(Cect to license ter's and license restrictions applica(le to t.e pro-ra's. No ot.er ri-.ts are -ranted to t.e U.&. Go1ern'ent. ?.is soft<are or .ard<are is de1eloped for -eneral use in a 1ariet, of infor'ation 'ana-e'ent applications. It is not de1eloped or intended for use in an, in.erentl, dan-erous applications+ includinapplications t.at 'a, create a ris8 of personal inCur,. If ,ou use t.is soft<are or .ard<are in dan-erous applications+ t.en ,ou s.all (e responsi(le to ta8e all appropriate fail%safe+ (ac8up+ redundanc,+ and ot.er 'easures to ensure its safe use. Oracle Corporation and its affiliates disclai' an, lia(ilit, for an, da'a-es caused (, use of t.is soft<are or .ard<are in dan-erous applications. Oracle and :a1a are re-istered trade'ar8s of Oracle and0or its affiliates. Ot.er na'es 'a, (e trade'ar8s of t.eir respecti1e o<ners. Intel and Intel eon are trade'ar8s or re-istered trade'ar8s of Intel Corporation. All &2ARC trade'ar8s are used under license and are trade'ar8s or re-istered trade'ar8s of &2ARC International+ Inc. A75+ Opteron+ t.e A75 lo-o+ and t.e A75 Opteron lo-o are trade'ar8s or re-istered trade'ar8s of Ad1anced 7icro 5e1ices. UNI is a re-istered trade'ar8 of ?.e Open Group. ?.is soft<are or .ard<are and docu'entation 'a, pro1ide access to or infor'ation on content+ products+ and ser1ices fro' t.ird parties. Oracle Corporation and its affiliates are not responsi(le for and expressl, disclai' all <arranties of an, 8ind <it. respect to t.ird%part, content+ products+ and ser1ices. Oracle Corporation and its affiliates <ill not (e responsi(le for an, loss+ costs+ or da'a-es incurred due to ,our access to or use of t.ird%part, content+ products+ or ser1ices.

Contents
2reface ................................................................................................................................................................. xi
Intended Audience...................................................................................................................................... xi 5ocu'entation Accessi(ilit, ..................................................................................................................... xi Related 5ocu'ents ..................................................................................................................................... xi Con1entions ................................................................................................................................................ xii

C.an-es in ?.is Release for Oracle RAC .................................................................................... xiii


C.an-es in Oracle 5ata(ase 12c Release 1 ............................................................................................ xiii

2reinstallation C.ec8list
9efore @ou &tart3 2lannin- @our Installation...................................................................................... 1%1 C.ec8 7, Oracle &upport................................................................................................................. 1%2 C.ec8 Oracle ?ec.nolo-, Net<or8 ................................................................................................ 1%2 Re1ie< Installation &teps for Oracle RAC...................................................................................... 1%2 Re1ie< 5ocu'entation..................................................................................................................... 1%F &elect a &ecurit, Notification Contact ............................................................................................ 1%F Consider Usin- &oft<are Updates Option..................................................................................... 1%G Re1ie< Root ?as8 5ele-ation Options 6it. @our &,ste' Ad'inistrator ............................... 1%G Re1ie< Installation >ixup &cripts 6it. @our &,ste' Ad'inistrator ........................................ 1%G Re1ie< ;o< to Use Cluster Derification Utilit, (CDU)............................................................... 1%G Re1ie< !xistin- Oracle Installations and Up-rade 2lans............................................................ 1%H Consider 7e'or, Allocation and Auto'atic 7e'or, 7ana-e'ent....................................... 1%" Re1ie< Glo(ali=ation ReBuire'ents............................................................................................... 1%# O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste' .................................................. 1%# Re1ie< &er1er ;ard<are and &oft<are ReBuire'ents................................................................ 1%$ Cluster Node 7e'(er ReBuire'ents for Oracle RAC.......................................................... 1%$ Reco''ended for Oracle RAC3 &,ste' Ad'inistrator ?as8s ............................................ 1%$ Additional Options3 &,ste' Ad'inistrators and Dendors ............................................... 1%1) O1er1ie< of &er1er !n1iron'ent Confi-uration....................................................................... 1%1) O1er1ie< of Oracle 9ase and Oracle ;o'e 5irectories ........................................................... 1%1) O1er1ie< of Net<or8 and Internet Confi-uration.................................................................... 1%11 O1er1ie< of Net<or8 Interface Confi-uration ................................................................... 1%11 O1er1ie< of 9ro<ser ReBuire'ents ..................................................................................... 1%12 O1er1ie< of 2latfor'%&pecific &er1er Confi-uration................................................................ 1%12 O1er1ie< of Oracle RAC &tora-e ...................................................................................................... 1%12

iii

A(out Oracle RAC &tora-e and Oracle AC>& ............................................................................ A(out t.e Oracle A&7 5,na'ic Dolu'e 7ana-er ........................................................... General &tora-e Considerations for Oracle RAC ....................................................................... O1er1ie< of Oracle 5ata(ase and Reco1er, >ile Options........................................................ Additional Infor'ation to 2repare for Installation........................................................................ Oracle A&7 is Installed <it. Oracle Grid Infrastructure ......................................................... ;u( Nodes and &.ared Co'ponents of Oracle RAC Installations ......................................... &i'plified Up-rade of ?I7!&?A72 6I?; ?I7! AON! 5ata .............................................. !nsure an !xternal :o(s User Is Created for ;2%U ................................................................. Oracle 5ata(ase 12c Real Application Clusters Release Co'pati(ilit, .................................. Confir'in- Cluster Readiness for Oracle RAC Installation <it. CDU .................................... Installin- Oracle 5ata(ase 12c on &,ste's <it. !xistin- 5ata(ases ........................................ A(out Oracle 5ata(ase 1)- Listener 7i-ration ..............................................................................

1%1* 1%1* 1%1* 1%1F 1%1G 1%1G 1%1G 1%1G 1%1H 1%1H 1%1" 1%1# 1%1#

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters


&electin- a &ecurit, Notification Contact ........................................................................................... 2%1 5o<nloadin- &oft<are Updates ........................................................................................................... 2%2 &electin- an Installation Option ........................................................................................................... 2%* &electin- t.e 5ata(ase ?,pe for Oracle Grid Infrastructure 5eplo,'ents ................................. 2%* C.oosin- t.e Cluster 5ata(ase 7ana-e'ent ?,pe .......................................................................... 2%F &electin- an Installation ?,pe ............................................................................................................... 2%F 2reconfi-ured 5ata(ase ?,pes &upplied <it. Oracle 5ata(ase................................................. 2%F Usin- Ad1anced 5ata(ase Confi-uration...................................................................................... 2%G Installin- Oracle 5ata(ase <it. Ot.er Lan-ua-es........................................................................ 2%G &electin- an Oracle 5ata(ase Confi-uration ?,pe............................................................................ 2%G &electin- a 5ata(ase Na'e .................................................................................................................... 2%G Creatin- 5ata(ase 2ass<ords ................................................................................................................ 2%H Understandin- t.e Actions of OUI and 59CA 5urin- Installation ............................................. 2%H 7ana-in- 5ata(ase &er1ices After Installation............................................................................. 2%" Usin- Oracle Uni1ersal Installer to Install Oracle RAC................................................................... 2%" Usin- Oracle Uni1ersal Installer to Install Oracle RAC One Node ............................................... 2%# Installin- t.e Oracle 5ata(ase Dault Option...................................................................................... 2%$ &tartin- t.e Listener <it. Oracle 5ata(ase Dault Installations .................................................. 2%$ Confi-urin- Oracle 5ata(ase Dault Usin- 59CA ..................................................................... 2%1)

* Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant
Usin- 5ata(ase Confi-uration Assistant <it. Oracle RAC ............................................................ 9enefits of Usin- 5ata(ase Confi-uration Assistant ....................................................................... Auto'atic Listener 7i-ration fro' !arlier Releases........................................................................ Derif,in- ReBuire'ents for 59CA ...................................................................................................... Creatin- an Oracle RAC 5ata(ase <it. 59CA ................................................................................. ?as8s to Co'plete 9efore Usin- 59CA to Create an Oracle RAC 5ata(ase............................ Load &&; 4e,s Into 7e'or, 9efore &tartin- 59CA ............................................................ 5ecide on a Na'in- Con1ention to Use for @our Oracle RAC 5ata(ase.......................... Confi-ure &.ared &tora-e for t.e Oracle RAC 5ata(ase...................................................... Usin- 59CA to Create an Oracle RAC 5ata(ase..........................................................................
i1

*%1 *%2 *%2 *%* *%* *%F *%F *%F *%F *%F

&tartin- 59CA ............................................................................................................................. Cluster 5etection and Node &election <.en Usin- 59CA .................................................. Usin- 59CA to &elect &tora-e to Use 6it. Oracle RAC 5ata(ase ..................................... Usin- 59CA to &pecif, 5ata(ase Initiali=ation 2ara'eters for Oracle RAC ................... Actions 2erfor'ed 9, 59CA for Oracle RAC 5ata(ases..................................................... Usin- 59CA to Confi-ure Oracle RAC One Node ........................................................................... Usin- 59CA to Confi-ure &er1ices on Oracle RAC One Node <it. C59s.............................. Usin- 59CA to Confi-ure Non%C59s ............................................................................................ 5eletin- an Oracle RAC 5ata(ase Usin- 59CA...............................................................................

*%G *%G *%G *%G *%H *%H *%H *%" *%"

Oracle Real Application Clusters 2ostinstallation 2rocedures


ReBuired 2ostinstallation ?as8s ............................................................................................................ &et !xternal :o(s O<ners.ip for Installations on ;2%U ............................................................ Confi-ure Oracle 2roducts ............................................................................................................... Confi-urin- Oracle 5ata(ase Dault ......................................................................................... Confi-urin- Oracle 5ata(ase &ecurit, &ettin-s ..................................................................... Confi-urin- Oracle La(el &ecurit, ........................................................................................... Confi-urin- Oracle 7L 59..................................................................................................... Confi-urin- &tora-e for !xternal ?a(les+ &.ared >iles+ or 5irector, O(Cects .................... Reco''ended 2ostinstallation ?as8s.................................................................................................. &et t.e Oracle User !n1iron'ent Daria(les ................................................................................... Reco'pile all 2L0&IL 'odules ...................................................................................................... &et Up Additional User Accounts.................................................................................................... Run RACc.ec8 Confi-uration Audit ?ool ..................................................................................... Oracle Confi-uration 7ana-er 2ostinstallation Confi-uration for Oracle RAC........................ !na(lin- and 5isa(lin- 5ata(ase Options After Installation........................................................ F%1 F%1 F%2 F%2 F%2 F%2 F%* F%* F%* F%F F%F F%F F%F F%G F%G

G Usin- &er1er 2ools <it. Oracle RAC


2olic,%7ana-ed Clusters and Capacit, 7ana-e'ent ...................................................................... &er1er 2ools and &er1er Cate-ori=ation ......................................................................................... &er1er 2ools and 2olic,%9ased 7ana-e'ent................................................................................. ;o< &er1er 2ools 6or8.................................................................................................................... 5efault &er1er 2ools ......................................................................................................................... ?.e >ree &er1er 2ool................................................................................................................... ?.e Generic &er1er 2ool............................................................................................................. Oracle RAC 5ata(ase and &er1er 2ools .............................................................................................. A(out Creatin- &er1er 2ools for Oracle RAC 5ata(ases................................................................. Oracle RAC One Node and &er1er 2ools............................................................................................. G%1 G%1 G%1 G%2 G%* G%* G%* G%* G%F G%G

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration


Understandin- t.e Confi-ured !n1iron'ent in Oracle RAC......................................................... Understandin- Operatin- &,ste' 2ri1ile-es Groups ...................................................................... Understandin- ?i'e Aone &ettin-s on Cluster Nodes ..................................................................... Understandin- t.e &er1er 2ara'eter >ile for Oracle RAC .............................................................. A(out 259s in Oracle RAC ................................................................................................................... ORA?A9 Confi-uration for Oracle RAC............................................................................................. H%1 H%2 H%* H%* H%* H%F

5ata(ase Co'ponents Created Usin- 5ata(ase Confi-uration Assistant................................... H%G ?a(lespaces and 5ata files ................................................................................................................ H%G Control >iles ........................................................................................................................................ H%G Online Redo Lo- >iles ....................................................................................................................... H%H 7ana-in- Undo ?a(lespaces in Oracle RAC ..................................................................................... H%H Initiali=ation 2ara'eter >iles................................................................................................................. H%H Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases ...................................................... H%" 5ata(ase &er1ices for an Oracle RAC 5ata(ase ............................................................................ H%" Na'in- 7et.ods and Connect 5escriptors................................................................................... H%" !as, Connect Na'in- 7et.od ........................................................................................................ H%# Understandin- &CANs...................................................................................................................... H%# A(out t.e &CAN ......................................................................................................................... H%# &CAN DI2 Addresses ................................................................................................................. H%$ &CAN Listeners ........................................................................................................................... H%$ ;o< to Connect to an Oracle RAC 5ata(ase Usin- &CANs.................................................... H%1) Listener Confi-uration for an Oracle RAC 5ata(ase ................................................................ H%1) &er1ice Re-istration for an Oracle RAC 5ata(ase...................................................................... H%11 ;o< 5ata(ase Connections are Created 6.en Usin- &CANs ................................................ H%12 2erfor'ance >eatures of Oracle Net &er1ices and Oracle RAC ................................................... H%1* Load 9alancin- of Connections to Oracle RAC 5ata(ases ....................................................... H%1* Connection >ailo1er for Oracle RAC 5ata(ases......................................................................... H%1F &.ared &er1er Confi-uration for an Oracle RAC 5ata(ase ...................................................... H%1F Oracle Net &er1ices Confi-uration >iles and 2ara'eters ............................................................. H%1F 5ata(ase Initiali=ation 2ara'eters for 5ata(ase &er1ice Re-istration ................................... H%1F Net &er1ice Na'es and t.e tnsna'es.ora >ile............................................................................ H%1G Net &er1ice Na'es Created (, 59CA ......................................................................................... H%1H Net &er1ice Na'es for 5ata(ase Connections .................................................................... H%1H Net &er1ice Na'es for Instance Connections ...................................................................... H%1" Listener Confi-uration and t.e listener.ora >ile......................................................................... H%1" Local Listener for an Oracle RAC 5ata(ase......................................................................... H%1" Re'ote Listeners for an Oracle RAC 5ata(ase ................................................................... H%1# 7ana-in- 7ultiple Listeners for an Oracle RAC 5ata(ase .............................................. H%1# ;o< Oracle 5ata(ase Uses t.e Listener >ile (listener.ora)................................................ H%1# Net &er1ices 2rofile >ile (sBlnet.ora) ............................................................................................ H%1$

"

Re'o1in- Oracle Real Application Clusters &oft<are


O1er1ie< of 5einstallation 2rocedures............................................................................................... Identif,in- All Instances On a Cluster ................................................................................................ 5einstallin- Oracle RAC &oft<are....................................................................................................... A(out t.e 5einstallation ?ool .......................................................................................................... !xa'ple of Runnin- t.e 5einstall Co''and for Oracle RAC................................................... 5einstallation 2ara'eter >ile !xa'ple for Oracle RAC .............................................................. "%1 "%2 "%2 "%2 "%G "%G

?rou(les.ootin- Oracle Real Application Clusters Installations


?rou(les.ootin- Oracle Real Application Clusters Installations.................................................. A%1 General Installation Issues ............................................................................................................... A%1 Oracle RAC Installation !rror 7essa-es ....................................................................................... A%*

1i

2erfor'in- Cluster 5ia-nostics 5urin- Oracle Cluster<are Installations .............................. Re1ie<in- t.e Lo- of an Installation &ession ............................................................................... Confi-uration Assistant !rrors ....................................................................................................... Confi-uration Assistant >ailures ............................................................................................. Resol1in- Irreco1era(le !rrors Reported (, Confi-uration Assistants ............................ A(out Usin- CDU Cluster ;ealt.c.ec8s After Installation........................................................... Cleanin- Up After a >ailed Installation..............................................................................................

A%* A%F A%F A%G A%G A%G A%H

9 Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases
Usin- 59CA to Generate Installation &cripts for Oracle RAC...................................................... A(out 59CA Noninteracti1e (&ilent) Confi-uration for Oracle RAC ......................................... 59CA Co''ands for Noninteracti1e (&ilent) Confi-uration for Oracle RAC.......................... ;o< Response >iles 6or8..................................................................................................................... Reasons for Usin- &ilent 7ode or Response >ile 7ode.............................................................. Creatin- a 5ata(ase Usin- Oracle A&7 for 5ata(ase >iles........................................................ General 2rocedure for Usin- Response >iles ................................................................................ 2reparin- Response >iles ...................................................................................................................... !ditin- a Response >ile ?e'plate................................................................................................... Recordin- Response >iles ............................................................................................................... Runnin- Oracle Uni1ersal Installer Usin- a Response >ile ........................................................... Die<in- t.e ;elp Infor'ation for OUI ......................................................................................... Runnin- OUI Usin- a Response >ile for Input ............................................................................. 2ostinstallation Confi-uration Usin- Response >iles .................................................................... A(out t.e 2ostinstallation Confi-uration >ile .............................................................................. Creatin- a 2ass<ord Response >ile................................................................................................ Runnin- 2ostinstallation Confi-uration Usin- a Response >ile .............................................. Runnin- Confi-uration Assistants Usin- Response >iles............................................................ Runnin- 5ata(ase Confi-uration Assistant in Response >ile or &ilent 7ode....................... Runnin- Net Confi-uration Assistant Usin- Response >iles .................................................. 9%1 9%2 9%* 9%* 9%F 9%F 9%F 9%G 9%G 9%H 9%" 9%" 9%" 9%# 9%# 9%$ 9%1) 9%1) 9%1) 9%11

5irector, &tructure for Oracle Real Application Clusters !n1iron'ents


Understandin- t.e Oracle RAC 5irector, &tructure ....................................................................... C%1 5irector, &tructures for Oracle RAC................................................................................................... C%1

5 ;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(ase


9ac8in- Up t.e Oracle RAC 5ata(ase................................................................................................ &.uttin- 5o<n Oracle RAC 5ata(ases .............................................................................................. &toppin- All Oracle 2rocesses.............................................................................................................. &toppin- Oracle 5ata(ase 2rocesses 9efore Addin- 2roducts or Up-radin-......................... &toppin- Oracle Cluster<are and Oracle A&7 Instances .......................................................... Usin- CDU to Dalidate Readiness for Oracle RAC Up-rades........................................................ A(out t.e CDU 5ata(ase Up-rade Dalidation Co''and Options ......................................... !xa'ple of Derif,in- &,ste' Up-rade Readiness for Oracle RAC Infrastructure................. Derif,in- &,ste' Readiness for Oracle 5ata(ase Up-rades ...................................................... 5%1 5%1 5%1 5%2 5%2 5%* 5%* 5%F 5%F

1ii

7ana-in- Oracle 5ata(ase 2ort Nu'(ers


A(out 7ana-in- 2orts ........................................................................................................................... !%1 Die<in- 2ort Nu'(ers and Access URL&.......................................................................................... !%1 2ort Nu'(ers and 2rotocols of Oracle Co'ponents ....................................................................... !%2

Index

1iii

ix

List of ?a(les
1J1 1J2 FJ1 HJ1 HJ2 9J1 CJ1 !J1 &upported &tora-e Options for Oracle 5ata(ase and Reco1er, >iles............................. 1%1F O1er1ie< of &,ste' 2reparation for Up-rades or Coexistin- 5ata(ases...................... 1%1# C.opt ?ool Co''and Options for 5ata(ase Options......................................................... F%G Role%Allocated Oracle &,ste' 2ri1ile-es Operatin- &,ste' Groups ................................ H%2 ?a(lespace Na'es Used <it. Oracle Real Application Clusters 5ata(ases ................... H%G Response >iles for Oracle 5ata(ase........................................................................................ 9%G 5irector, &tructure for A &a'ple O>A%Co'pliant !n1iron'ent..................................... C%2 2orts Used in Oracle Co'ponents ......................................................................................... !%2

2reface
Oracle Real Application Clusters Installation Guide for Linux and UNI explains .o< to install and confi-ure Oracle Real Application Clusters (Oracle RAC). 9efore ,ou use t.is -uide+ ,ou 'ust first co'plete an installation of Oracle Cluster<are+ as descri(ed in t.e Oracle Grid Infrastructure Installation Guide for ,our platfor'.

Intended Audience
Oracle Real Application Clusters Installation Guide for Linux and UNI pro1ides data(ase installation infor'ation for data(ase ad'inistrators (59As) <.o install and confi-ure Oracle RAC.

5ocu'entation Accessi(ilit,
>or infor'ation a(out OracleKs co''it'ent to accessi(ilit,+ 1isit t.e Oracle Accessi(ilit, 2ro-ra' <e(site at .ttp300<<<.oracle.co'0pls0topic0loo8upLctxMaccNidMdocacc. Access to Oracle &upport Oracle custo'ers .a1e access to electronic support t.rou-. 7, Oracle &upport. >or infor'ation+ 1isit .ttp300<<<.oracle.co'0pls0topic0loo8upLctxMaccNidMinfo or 1isit .ttp300<<<.oracle.co'0pls0topic0loo8upLctxMaccNidMtrs if ,ou are .earin- i'paired.

Related 5ocu'ents
>or 'ore infor'ation+ refer to t.e follo<in- Oracle resources3 Oracle Real Application Clusters 5ocu'entation 7ost Oracle error 'essa-e docu'entation is onl, a1aila(le in ;?7L for'at. If ,ou onl, .a1e access to t.e Oracle 5ocu'entation 'edia+ t.en (ro<se t.e error 'essa-es (, ran-e. Once ,ou find a ran-e+ use ,our (ro<serKs Efind in pa-eE feature to locate a specific 'essa-e. 6.en connected to t.e Internet+ ,ou can searc. for a specific error 'essa-e usin- t.e error 'essa-e searc. feature of t.e Oracle online docu'entation. Installation Guides
O

Oracle 5ia-nostics 2ac8 Installation Guide Oracle Grid Infrastructure Installation Guide for ,our platfor'

xi

Operatin- &,ste'%&pecific Ad'inistrati1e Guides


O

Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide Oracle 5ata(ase Ad'inistratorKs Reference+ 12c Release 1 (12.1) for UNI &,ste's Oracle 5ata(ase 2latfor' Guide for 7icrosoft 6indo<s

Oracle 5ata(ase 12c Release 1 (12.1) Real Application Clusters 7ana-e'ent


O

Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide Oracle 5ata(ase 2 5a, 59A Oracle !nterprise 7ana-er Real Application Clusters Guide Online ;elp Gettin- &tarted <it. t.e Oracle 5ia-nostics 2ac8

Generic 5ocu'entation
O

Oracle 5ata(ase Ne< >eatures Guide Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide Oracle 5ata(ase Concepts Oracle 5ata(ase Reference

2rinted docu'entation is a1aila(le for sale in t.e Oracle &tore at t.e follo<in<e(site3 .ttps300s.op.oracle.co' ?o do<nload free release notes+ installation docu'entation+ <.ite papers+ or ot.er collateral+ please 1isit t.e Oracle ?ec.nolo-, Net<or8 (O?N). @ou 'ust re-ister online (efore usin- O?NP re-istration is free and can (e done at t.e follo<in- <e(site3 .ttp300<<<.oracle.co'0tec.net<or80index..t'l If ,ou alread, .a1e a userna'e and pass<ord for O?N+ t.en ,ou can -o directl, to t.e docu'entation section of t.e O?N <e(site3 .ttp300<<<.oracle.co'0tec.net<or80indexes0docu'entation0index..t 'l Oracle error 'essa-e docu'entation is a1aila(le onl, in ;?7L. @ou can (ro<se t.e error 'essa-es (, ran-e in t.e 5ocu'entation director, of t.e installation 'edia. 6.en ,ou find a ran-e+ use ,our (ro<serKs searc. feature to locate a specific 'essa-e. 6.en connected to t.e Internet+ ,ou can searc. for a specific error 'essa-e usin- t.e error 'essa-e searc. feature of t.e Oracle online docu'entation.

Con1entions
?.e follo<in- text con1entions are used in t.is docu'ent3
Con1ention (oldface italic 'onospace 7eanin9oldface t,pe indicates -rap.ical user interface ele'ents associated <it. an action+ or ter's defined in text or t.e -lossar,. Italic t,pe indicates (oo8 titles+ e'p.asis+ or place.older 1aria(les for <.ic. ,ou suppl, particular 1alues. 7onospace t,pe indicates co''ands <it.in a para-rap.+ URLs+ code in exa'ples+ text t.at appears on t.e screen+ or text t.at ,ou enter.

xii

C.an-es in ?.is Release for Oracle RAC


?.is c.apter lists c.an-es in Oracle Real Application Clusters Installation Guide.

C.an-es in Oracle 5ata(ase 12c Release 1


?.e follo<in- are c.an-es in Oracle Real Application Clusters Installation Guide for Oracle 5ata(ase 12c Release 1.

Ne< >eatures
O

5ata(ase Up-rade Auto'ation Usin- 59UA ?.ere are t.ree areas t.at are (ein- en.anced for up-rade ease%of%use. >irst+ in t.e pre%up-rade p.ase+ t.e existin- 'anual steps are eli'inated and -i1e 'ore explicit ad1ice or e1en -enerate a fix%up script to find issues identified in t.e pre%up-rade p.ase. &econd+ in t.e post%up-rade p.ase+ t.ere is a post%up-rade .ealt. c.ec8 t.at indicates t.at t.e up-rade <as successful. >inall,+ partner docu'ents (suc. as &A2) and 'aCor custo'er up-rade docu'ents are used to furt.er identif, 'anual steps t.at 'a, (e auto'ated and -enerali=ed to a <ider custo'er (ase. Auto'atin- t.e up-rade process pro1ides 'aCor i'pro1e'ents in usa(ilit, and ease%of%use. ?.ere is also (etter inte-ration of data(ase up-rade <it. Oracle Grid Infrastructure for a cluster and Oracle !nterprise 7ana-er Cloud Control. &ee Oracle 5ata(ase Up-rade Guide.

59CA &upport for 7ultitenant Container 5ata(ase and 2lu--a(le 5ata(ase Confi-urations &tartin- <it. Oracle 5ata(ase 12c Release 1 (12.1)+ Oracle 5ata(ase Confi-uration Assistant (59CA) allo<s ,ou to create eit.er a 'ultitenant container data(ase (C59) or a non%C59. @ou can create t.e C59 <it. =ero+ one+ or 'ore plu--a(le data(ases (259s). @ou can also create a C59 <it. one 259 durin- t.e data(ase installation. &ee Oracle 5ata(ase Ad'inistratorKs Guide.

!n.ance'ents to Cluster ;ealt. 7onitor (C;7) C;7 .as (een en.anced to (e 'ore efficient to support Oracle >lex Clusters i'ple'entations. ?.ese en.ance'ents ensure t.at Oracle >lex Clusters run s'oot.l, <.ile 'ini'i=in- t.e reBuired resources to 'onitor t.e stac8. &ee Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide.

Oracle >lex A&7 &er1ers

xiii

Oracle >lex A&7 ena(les t.e Oracle A&7 instance to run on a separate p.,sical ser1er fro' t.e data(ase ser1ers. 7an, Oracle A&7 instances can (e clustered to support a lar-e nu'(er of data(ase clients. Note t.at Oracle >lex A&7 can appl, to a collection of data(ases+ eac. one a sin-le instance (ut runnin- in a >lex A&7 Cluster. &ee Oracle Auto'atic &tora-e 7ana-e'ent Ad'inistratorKs Guide.
O

Oracle >lex Clusters Oracle >lex Cluster is a ne< concept+ <.ic. Coins to-et.er a traditional closel, coupled cluster <it. a 'odest node count <it. a lar-e nu'(er of loosel, coupled nodes. In order to support 1arious confi-urations t.at can (e esta(lis.ed usint.is ne< concept+ &RDC?L pro1ides ne< co''ands and co''and options to ease t.e installation and confi-uration. &ee Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide.

I21H &upport for 2u(lic Net<or8s Oracle Cluster<are 12c Release 1 (12.1) supports I21H%(ased pu(lic I2 and DI2 addresses. I21H%(ased I2 addresses .a1e (eco'e t.e latest standard for t.e infor'ation tec.nolo-, infrastructure in toda,Ks data centers. 6it. t.is release+ Oracle RAC and Oracle Grid Infrastructure support t.is standard. @ou can confi-ure cluster nodes durin- installation <it. eit.er I21F or I21H addresses on t.e sa'e net<or8. 5ata(ase clients can connect to eit.er I21F or I21H addresses. ?.e &in-le Client Access Na'e (&CAN) listener auto'aticall, redirects client connects to t.e appropriate data(ase listener for t.e I2 protocol of t.e client reBuest. &ee Oracle Grid Infrastructure Installation Guide.

7ultiprocess 7ultit.readed Oracle 5ata(ase &tartin- <it. Oracle 5ata(ase 12c+ Oracle 5ata(ase 'a, use operatin- s,ste' t.reads to allo< resource s.arin- and reduce resource consu'ption. &ee Oracle 5ata(ase Concepts.

Oracle AC>& Auditin- and &upport for I'portin- Auditin- 5ata into Oracle Audit Dault &er1er ?.is feature pro1ides auditin- for Oracle AC>& securit, and encr,ption. In addition+ t.is feature also -enerates an 7L file containin- Oracle AC>& audit trail data <.ic. can (e i'ported (, Oracle Audit Dault &er1er. &ee Oracle Auto'atic &tora-e 7ana-e'ent Ad'inistratorKs Guide.

Oracle !nterprise 7ana-er 5ata(ase !xpress 12c Oracle 5ata(ase 12c introduces Oracle !nterprise 7ana-er 5ata(ase !xpress+ a <e( 'ana-e'ent product (uilt into Oracle 5ata(ase <it.out an, need for special installation or 'ana-e'ent. Usin- Oracle !nterprise 7ana-er 5ata(ase !xpress+ ,ou can perfor' ad'inistrati1e tas8s suc. as 'ana-in- user securit,+ and 'ana-in- data(ase 'e'or, and stora-e. @ou can also 1ie< perfor'ance and status infor'ation a(out ,our data(ase. Note t.at startin- <it. Oracle 5ata(ase 12c+ Oracle !nterprise 7ana-er 5ata(ase Control is deprecated. &ee Oracle 5ata(ase 2 5a, 59A.

2olic,%9ased Cluster 7ana-e'ent and Ad'inistration

xi1

Oracle Grid Infrastructure allo<s runnin- 'ultiple applications in one cluster. Usin- a polic,%(ased approac.+ t.e <or8load introduced (, t.ese applications can (e allocated across t.e cluster usin- a polic,. In addition+ a polic, set ena(les different policies to (e applied to t.e cluster o1er ti'e as reBuired. 2olic, sets can (e defined usin- a <e(%(ased interface or a co''and%line interface. ;ostin- 1arious <or8loads in t.e sa'e cluster .elps to consolidate t.e <or8loads into a s.ared infrastructure t.at pro1ides .i-. a1aila(ilit, and scala(ilit,. Usin- a centrali=ed polic,%(ased approac. allo<s for d,na'ic resource reallocation and prioriti=ation as t.e de'and c.an-es. &ee Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide.
O

&i'plified Oracle 5ata(ase Dault Installation &tartin- <it. Oracle 5ata(ase 12c+ Oracle 5ata(ase Dault is installed (, default as part of t.e Oracle 5ata(ase installation. ;o<e1er+ ,ou can confi-ure+ ena(le+ or disa(le Oracle 5ata(ase Dault after t.e Oracle 5ata(ase installation+ eit.er usin59CA+ or (, runnin- &IL state'ents. &ee Oracle 5ata(ase Dault Ad'inistratorKs Guide.

&upport for &eparation of 5ata(ase Ad'inistration 5uties Oracle 5ata(ase 12c pro1ides support for separation of ad'inistrati1e duties for Oracle 5ata(ase (, introducin- tas8%specific and least%pri1ile-ed ad'inistrati1e pri1ile-es t.at do not reBuire t.e &@&59A ad'inistrati1e pri1ile-e. ?.ese ne< pri1ile-es are3 &@&9AC4U2 for (ac8up and reco1er,+ &@&5G for Oracle 5ata Guard+ and &@&47 for encr,ption 8e, 'ana-e'ent. &ee Oracle 5ata(ase &ecurit, Guide.

Unified 5ata(ase Audit Confi-uration &tartin- <it. Oracle 5ata(ase 12c+ ,ou can create na'ed audit policies. An audit polic, contains a set of audit options+ <.ic. is stored in t.e data(ase as an o(Cect. ?.e ad1anta-e of creatin- a na'ed audit polic, is t.at it reduces t.e nu'(er of co''ands t.at are reBuired to create a data(ase audit polic,+ and it si'plifies t.e i'ple'entation of an audit confi-uration for securit, and co'pliance <it. conditional auditin-. ?.is ne< audit polic, fra'e<or8 is included <it. t.e data(ase installation. &ee Oracle 5ata(ase &ecurit, Guide.

5eprecated >eatures
?.e follo<in- features are deprecated in t.is release+ and 'a, (e desupported in anot.er release. &ee Oracle 5ata(ase Up-rade Guide for a co'plete list of deprecated features in t.is release.
O

5eprecation Announce'ent for Oracle Restart Oracle Restart is a feature pro1ided as part of Oracle Grid Infrastructure. Oracle Restart 'onitors and can restart Oracle 5ata(ase instances+ Oracle Net Listeners+ and Oracle A&7 instances. Oracle Restart is currentl, restricted to 'ana-e sin-le instance Oracle 5ata(ases and Oracle A&7 instances onl,+ and is su(Cect to desupport in future releases. Oracle continues to pro1ide Oracle A&7 as part of t.e Oracle Grid Infrastructure installation for &tandalone and Cluster deplo,'ents.

5eprecation of sin-le%letter &RDC?L co''and%line interface (CLI) options

x1

All &RDC?L co''ands .a1e (een en.anced to accept full%<ord options instead of t.e sin-le%letter options. All ne< &RDC?L co''and options added in t.is release support full%<ord options+ onl,+ and do not .a1e sin-le%letter eBui1alents. ?.e use of sin-le%letter options <it. &RDC?L co''ands 'i-.t (e desupported in a future release.
O

C.an-e for &tandalone 5einstallation ?ool ?.e deinstallation tool is no< inte-rated <it. t.e data(ase installation 'edia. &ee &ection ".*.1+ EA(out t.e 5einstallation ?oolE

5eprecation of %cleanupO9ase ?.e %cleanupO9ase fla- of t.e deinstallation tool is deprecated in t.is release. ?.ere is no replace'ent for t.is fla-.

Oracle !nterprise 7ana-er 5ata(ase Control is replaced (, Oracle !nterprise 7ana-er 5ata(ase !xpress. ?.e deinstall standalone utilit, is replaced <it. a deinstall option usin- Oracle Uni1ersal Installer (OUI).

5esupported >eatures
?.e follo<in- features are no lon-er supported (, Oracle. &ee Oracle 5ata(ase Up-rade Guide for a co'plete list of features desupported in t.is release.
O

Oracle !nterprise 7ana-er 5ata(ase Control CL!ANU2QORACL!Q9A&! propert, re'o1ed and does not support an Oracle (ase re'o1al durin- silent or response file 'ode deinstalls.

Ot.er C.an-es
?.e follo<in- are additional c.an-es in t.e release3
O

Oracle Grid Infrastructure and Oracle Real Application Clusters are not supported for *2%(it .ard<are platfor's. 27ON (process 'onitor) .as (een replaced <it. LR!G (listener re-istration process) to notif, listeners a(out instances+ ser1ices+ .andlers and endpoints.

x1i

1
1

2reinstallation C.ec8list

?.is c.apter is intended for data(ase ad'inistrators to use in consultation <it. s,ste' and stora-e ad'inistrators to coordinate t.e installation and plan t.e tas8s for Oracle Cluster<are+ in preparation for co'pletin- an installation of Oracle Real Application Clusters (Oracle RAC). ?.is c.apter contains t.e follo<in- topics3
O

9efore @ou &tart3 2lannin- @our Installation O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste' O1er1ie< of Oracle RAC &tora-e Additional Infor'ation to 2repare for Installation Confir'in- Cluster Readiness for Oracle RAC Installation <it. CDU Installin- Oracle 5ata(ase 12c on &,ste's <it. !xistin- 5ata(ases

1.1 9efore @ou &tart3 2lannin- @our Installation


?.is section pro1ides a list of tas8s t.at Oracle reco''ends ,ou co'plete (efore startin- Oracle Cluster<are and Oracle RAC installation. 6.et.er ,our location is a data center <it. a lar-e proCect tea' of s,ste' ad'inistrators+ stora-e ad'inistrators+ net<or8 ad'inistrators+ data(ase ad'inistrators+ and t.ird%part, .ard<are and soft<are 1endors+ or ,ou are a proCect tea' of one+ plannin- is i'portant to .elp ensure t.at ,our installation proceeds s'oot.l,. It is (e,ond t.e scope of t.is docu'entation set to ad1ise .o< to deter'ine .ard<are si=in- or capacit, plannin- for ,our installation. Note t.at <it. Oracle Cluster<are and Oracle RAC+ ,ou can add nodes and instances as needed in response to testin-+ or in response to increased <or8loads. Re1ie< and co'plete t.e follo<in- steps as part of ,our installation plan3
O

C.ec8 7, Oracle &upport C.ec8 Oracle ?ec.nolo-, Net<or8 Re1ie< Installation &teps for Oracle RAC Re1ie< 5ocu'entation &elect a &ecurit, Notification Contact Consider Usin- &oft<are Updates Option Re1ie< Root ?as8 5ele-ation Options 6it. @our &,ste' Ad'inistrator Re1ie< Installation >ixup &cripts 6it. @our &,ste' Ad'inistrator Re1ie< ;o< to Use Cluster Derification Utilit, (CDU)

2reinstallation C.ec8list

1%1

9efore @ou &tart3 2lannin- @our Installation

Re1ie< !xistin- Oracle Installations and Up-rade 2lans Consider 7e'or, Allocation and Auto'atic 7e'or, 7ana-e'ent Re1ie< Glo(ali=ation ReBuire'ents

1.1.1 C.ec8 7, Oracle &upport


9efore ,ou decide <.et.er to install Oracle 5ata(ase 12c Release 1 (12.1)+ lo- on to 7, Oracle &upport3 .ttps300support.oracle.co' @ou 'ust re-ister online (efore usin- 7, Oracle &upport. Contact ,our Oracle &ales Representati1e if ,ou do not .a1e a 7, Oracle &upport account.
Note3

?o access certifications for ,our installation3


1. 2.

Lo- on to 7, Oracle &upport. Clic8 t.e Certifications ta(. If ,ou do not see a ta( titled Certifications+ t.en clic8 7ore and select Certifications fro' t.e list. In t.e Certification &earc. fra'e+ select Oracle Real Application Clusters+ select t.e release nu'(er+ and select ,our operatin- s,ste' platfor' on <.ic. ,ou intend to install. 6.en ,ou .a1e co'pleted ,our selections+ clic8 &earc. to -enerate a product certification list for ,our installation.

*.

1.1.2 C.ec8 Oracle ?ec.nolo-, Net<or8


?.e Oracle ?ec.nolo-, Net<or8 (O?N) contains <.ite papers a(out deplo,'ent options+ capacit, plannin-+ (est practices on 1arious N>& platfor's+ and extended clusters deplo,'ents+ <.ic. are not addressed in t.is -uide. @ou can re1ie< a1aila(le papers at t.e follo<in- <e(site3 .ttp300<<<.oracle.co'0-oto0rac In particular+ c.ec8 t.e Oracle RAC ?ec.nolo-ies Certification 7atrix for ,our platfor'3 Linux3 .ttp300<<<.oracle.co'0tec.net<or80data(ase0clusterin-0tec.%-ener ic%linux%ne<%)#H"GF..t'l UNI 3 .ttp300<<<.oracle.co'0tec.net<or80data(ase0clusterin-0tec.%-ener ic%unix%ne<%1HHG#*..t'l

1.1.* Re1ie< Installation &teps for Oracle RAC


Installin- Oracle RAC consists of t.e follo<in- steps3
1.

2repare ser1ers (s,ste'+ users and -roups+ net<or8+ and stora-e ad'inistration)+ as descri(ed in Oracle Grid Infrastructure Installation Guide for ,our platfor'. ?.ese tas8s include t.e follo<in-3
O

Install t.e operatin- s,ste' and install t.e operatin- s,ste' pac8a-es and patc.es to t.e reBuired 1ersion.

1%2 Oracle Real Application Clusters Installation Guide

9efore @ou &tart3 2lannin- @our Installation

Create t.e reBuired -roups+ users+ and soft<are .o'es. &et up t.e do'ain na'e for<ardin- for Grid Na'in- &er1ice (GN&) if ,ou plan to deplo, GN& or 7ulti%Cluster GN&+ and set up t.e net<or8 addresses in t.e 5N& and on t.e ser1er as needed+ dependin- on t.e cluster node t,pe (&tandard+ ;u(+ Leaf) t.at ,ou plan to confi-ure for eac. node. &et up t.e reBuired stora-e. (Optional) &ta-e all of t.e soft<are on one node for installation (t.e Elocal nodeE).

5urin- Oracle Grid Infrastructure installation+ ,ou can select 'ultiple interconnects for pri1ate net<or8 use. ?.is feature is called Redundant Interconnect Usa-e.
Note3

6it. Redundant Interconnect Usa-e+ Oracle Cluster<are can define 'ultiple interfaces to use for t.e cluster interconnect net<or8+ <it.out t.e need of usin- (ondin- or ot.er tec.nolo-ies. 6.en ,ou define 'ultiple interconnects+ eit.er durin- t.e installation inter1ie< or after<ard usin- t.e Oracle Interface Confi-uration (OI>C>G) co''and line utilit,+ Oracle Cluster<are creates fro' one to four .i-.l, a1aila(le I2 (;AI2) addresses. Oracle RAC and Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7) instances use t.ese interconnect addresses to ensure .i-.l, a1aila(le+ load%(alanced interconnect co''unication (et<een nodes.

Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out usin- OI>C>G to 'odif, interconnects+ and Oracle Grid Infrastructure Installation Guide for ,our platfor' for 'ore infor'ation a(out net<or8 confi-uration reBuire'ents
&ee Also3 2.

Install Oracle Grid Infrastructure for a cluster+ <.ic. includes Oracle Cluster<are and Oracle A&7 (s,ste' and stora-e ad'inistration)3 5urin- installation+ >ixup scripts perfor' additional confi-uration of operatins,ste' para'eters+ secure s.ell (&&;) for installation and user en1iron'ent 1aria(les.
O

?o confi-ure Oracle RAC on an Oracle >lex Cluster+ Oracle Grid Infrastructure for a cluster 'ust (e installed and confi-ured in Oracle >lex Clusters 'ode.
Note3
O

@ou 'ust .a1e Oracle Grid Infrastructure installed successfull, (efore ,ou atte'pt to install Oracle RAC. >or Oracle >lex Clusters deplo,'ents+ ,ou cannot install Oracle RAC (inaries on Oracle Auto'atic &tora-e 7ana-e'ent Cluster >ile &,ste' (Oracle AC>&).

*.

Install Oracle RAC (data(ase ad'inistration)3


O

Install Oracle RAC or Oracle RAC One Node. Co'plete t.e postinstallation confi-uration of t.e Oracle RAC data(ase.

2reinstallation C.ec8list

1%*

9efore @ou &tart3 2lannin- @our Installation

1.1.F Re1ie< 5ocu'entation


9efore installin- Oracle RAC+ re1ie< Oracle Grid Infrastructure Installation Guide for ,our operatin- s,ste' platfor' to confir' t.at all cluster 'e'(er nodes are confi-ured <it. reBuired users and -roups+ and t.at t.e s,ste'+ stora-e+ and net<or8 ad'inistrators .a1e co'pleted an, ot.er tas8s reBuired for an Oracle RAC installation. In addition+ re1ie< t.e Release Notes and 7, Oracle &upport (.ttps300support.oracle.co') to ensure t.at ,ou .a1e t.e 'ost current infor'ation a(out s,ste' reBuire'ents and ot.er infor'ation t.at can affect ,our installation. ?.e s'all a'ount of ti'e t.at t.is re1ie< ta8es can sa1e a 'uc. -reater a'ount of ti'e reBuired to trac8 do<n causes of installation errors later. Also+ 1erif, t.at ,ou .a1e t.e 'ost current 1ersion of t.is docu'entP Oracle docu'entation is updated after t.e initial release and posted to t.e follo<in- <e( site3
.ttp300<<<.oracle.co'0tec.net<or80indexes0docu'entation0index..t'l

Oracle reco''ends t.at ,ou install a 6e( (ro<ser on ,our cluster nodes+ (ot. to ena(le Oracle !nterprise 7ana-er and Oracle Application !xpress+ and to access online docu'entation as needed. Online docu'entation is a1aila(le in 25> and ;?7L for'ats.
&ee Also3
O

Oracle 5ata(ase Concepts for an o1er1ie< of Oracle 5ata(ase Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for additional infor'ation a(out Oracle Cluster<are or Oracle RAC confi-uration and deplo,'ent Oracle !nterprise 7ana-er Oracle 5ata(ase 2lu-%in Release Notes

1.1.G &elect a &ecurit, Notification Contact


Oracle issues securit, alerts as needed for 1ulnera(ilit, fixes t.at are deter'ined to (e too critical to <ait for distri(ution in t.e next Critical 2atc. Update. 5urin- installation+ ,ou are as8ed in t.e Confi-ure &ecurit, Updates screen to pro1ide a securit, contact. &elect one of t.e follo<in- options3
O

2ro1ide an e%'ail address to recei1e securit, infor'ation for ,our installation. 2ro1ide a 7, Oracle &upport e%'ail address or account na'e to recei1e securit, infor'ation for ,our installation+ and to enroll ,our s,ste' for &ecurit, Updates. @ou can recei1e infor'ation a(out alerts t.rou-. 7, Oracle &upport.

@ou can c.oose not to pro1ide t.is infor'ation+ (ut Oracle stron-l, reco''ends t.at ,ou confi-ure a securit, notification contact. ?.e infor'ation collected (, &ecurit, Updates is li'ited to confi-uration infor'ation. ?.e data collected does not include personall, identifia(le infor'ation (<it. t.e exception of a local contact na'e in case of trans'ission pro(le's). @ou 'a, still use all licensed Oracle functionalit, if ,ou decline to ena(le &ecurit, Updates. If ,ou prefer not to recei1e securit, notifications+ t.en lea1e all fields in t.e Confi-ure &ecurit, Updates screen (lan8+ and clic8 Next to continue. If ,ou pro1ide ,our 7, Oracle &upport credentials+ t.en &ecurit, Updates auto'aticall, -at.ers confi-uration infor'ation re-ardin- ,our installed Oracle products and uploads it to OracleKs support s,ste's. @ou can access t.e infor'ation it collects t.rou-. ,our 7, Oracle &upport account+ and re1ie< .ealt. c.ec8

1%F Oracle Real Application Clusters Installation Guide

9efore @ou &tart3 2lannin- @our Installation

reco''endations+ patc. reco''endations and ot.er reco''endations for ,our s,ste' in addition to securit, alerts. ?.e Oracle &ecurit, 2olicies pa-e+ <.ic. is a1aila(le fro' t.e follo<in- URL3
&ee Also3

.ttp300<<<.oracle.co'0us0support0assurance0fixin-%po licies0index..t'l

1.1.H Consider Usin- &oft<are Updates Option


Oracle Uni1ersal Installer (OUI) can install patc. updates+ s,ste' reBuire'ent updates for supported operatin- s,ste's+ and ot.er si-nificant updates t.at can ensure t.at ,our installation succeeds. Oracle reco''ends t.at ,ou ena(le t.e &oft<are Updates option on t.e 5o<nload &oft<are Updates screen durininstallation. If ,ou c.oose to ena(le t.e &oft<are Updates option+ t.en ,ou 'ust pro1ide a 1alid 7, Oracle &upport user na'e and pass<ord+ so t.at OUI can do<nload t.e latest updates+ or ,ou 'ust pro1ide a pat. to t.e location of a &oft<are Updates option pac8a-e t.at ,ou .a1e do<nloaded pre1iousl,. In addition+ if ,ou .a1e a prox, real'+ t.en (e prepared to pro1ide t.e destination prox, real'+ and t.e user aut.entication (user na'e and pass<ord) reBuired to aut.enticate access t.rou-. t.at real' to t.e Internet+ so t.at OUI can o(tain soft<are updates. C.ec8 <it. ,our net<or8 ad'inistrator (efore installation if ,ou do not .a1e t.is infor'ation. If ,ou plan to run t.e installation in a secured data center+ t.en ,ou can do<nload updates (efore startin- t.e installation (, startin- OUI on a s,ste' t.at .as Internet access. ?o start OUI to do<nload updates onl,+ enter t.e follo<in- co''and3
R .0runInstaller %do<nloadUpdates

2ro1ide t.e 7, Oracle &upport user na'e and pass<ord+ and pro1ide prox, settin-s if needed. After ,ou do<nload updates+ transfer t.e update file to a director, on t.e ser1er <.ere ,ou plan to run t.e installation.

1.1." Re1ie< Root ?as8 5ele-ation Options 6it. @our &,ste' Ad'inistrator
5urin- installation+ Oracle Uni1ersal Installer (OUI) reBuires ,ou to run scripts <it. superuser (or root) pri1ile-es to co'plete 'an, s,ste' confi-uration tas8s.

1.1.# Re1ie< Installation >ixup &cripts 6it. @our &,ste' Ad'inistrator


5urin- an installation+ OUI detects <.en t.e 'ini'u' reBuire'ents for an installation are not 'et+ and creates s.ell scripts+ called fixup scripts+ to finis. inco'plete s,ste' confi-uration steps. If OUI detects an inco'plete tas8+ t.en it -enerates fixup scripts (runfixup.s.). @ou 'ust run t.ese scripts as root. @ou can run t.e fixup script after ,ou clic8 >ix and C.ec8 A-ain. ?.e fixup script 'odifies (ot. persistent para'eter settin-s and para'eters in 'e'or,+ so ,ou do not need to restart t.e s,ste'+ and can proceed <it. t.e installation.

1.1.$ Re1ie< ;o< to Use Cluster Derification Utilit, (CDU)


@ou can use CDU (efore runnin- OUI to ensure t.at ,our cluster is prepared for an Oracle RAC installation. CDU is incorporated into t.e installer+ so CDU runs <.en ,ou start an Oracle RAC installation. ;o<e1er+ ,ou can use CDU to ensure t.at an,

2reinstallation C.ec8list

1%G

9efore @ou &tart3 2lannin- @our Installation

pac8a-es or confi-uration infor'ation t.at is reBuired for Oracle RAC are in place (efore ,ou (e-in ,our Oracle RAC installation. Oracle pro1ides CDU to perfor' s,ste' c.ec8s in preparation for an installation+ patc. updates+ or ot.er s,ste' c.an-es. In addition+ CDU can -enerate fixup scripts+ <.ic. are scripts run (, t.e root user t.at can c.an-e 'an, 8ernel para'eters to at least t.e 'ini'u' settin-s reBuired for a successful installation. Usin- CDU can .elp s,ste' ad'inistrators+ stora-e ad'inistrators+ and data(ase ad'inistrators to ensure t.at e1er,one .as co'pleted t.e s,ste' confi-uration and preinstallation steps+ so t.at installations+ updates+ or patc.es co'plete successfull,. @ou can o(tain t.e latest 1ersion of CDU at t.e follo<in- URL3 .ttp300<<<.oracle.co'0tec.net<or80data(ase0clusterin-0do<nloads0 c1u%do<nload%.o'epa-e%)$$$"*..t'l If ,ou .a1e a 1endor <.o is perfor'in- .ard<are or operatin- s,ste' confi-uration steps+ t.en as8 t.e 1endor to co'plete t.e rele1ant CDU c.ec8 of t.e cluster after t.e, co'plete t.eir <or8 to ensure t.at ,our s,ste' is confi-ured correctl,. 5ata(ase ad'inistrators s.ould refer to t.e section EConfir'in- Cluster Readiness for Oracle RAC Installation <it. CDUE on pa-e 1%1" to confir' t.at t.eir s,ste' is prepared for installation (efore t.e, start an Oracle RAC installation.

1.1.1) Re1ie< !xistin- Oracle Installations and Up-rade 2lans


If ,ou .a1e an existin- Oracle installation+ t.en docu'ent 1ersion nu'(ers+ patc.es+ and ot.er confi-uration infor'ation+ and re1ie< up-rade procedures for ,our existininstallation. Re1ie< t.e Oracle up-rade docu'entation (efore proceedin- <it. installation+ to decide .o< to proceed. ?o install Oracle RAC 12c Release 1 (12.1)+ ,ou 'ust .a1e Oracle Grid Infrastructure (Oracle Cluster<are and Oracle A&7) 12c Release 1 (12.1) installed on ,our cluster. ?.e Oracle Cluster<are 1ersion 'ust (e eBual to or -reater t.an t.e Oracle RAC 1ersion t.at ,ou plan to install.
&ee Also3

Oracle Grid Infrastructure Installation Guide

>or t.e 'ost current updates and (est practices a(out pre%up-rade+ post%up-rade+ co'pati(ilit,+ and interopera(ilit, discussions+ refer to EOracle Up-rade Co'panionE for t.is release. EOracle Up-rade Co'panionE is a1aila(le t.rou-. Note 1FH22F).1 on 7, Oracle &upport3 .ttps300support.oracle.co'0C&20'ain0articleLc'dMs.o<Nt,peMNO?Nid M1FH22F).1 >or up-rades+ note t.e follo<in-3
O

@ou can .a1e onl, one 1ersion of Oracle Cluster<are runnin- on a cluster at a ti'e. ?.e Oracle Cluster<are 1ersion 'ust (e t.e 'ost recent release of an, soft<are (Oracle Cluster<are+ Oracle 5ata(ase+ Oracle RAC and Oracle Auto'atic &tora-e 7ana-e'ent) runnin- on t.e cluster. 9efore up-radin- ,our data(ase to Oracle 5ata(ase 12c Release 1 (12.1)+ all nodes in t.e cluster 'ust (e up-raded to Oracle Cluster<are and Oracle A&7 12c Release 1 (12.1). @ou can .a1e 'ultiple Oracle .o'es for Oracle 5ata(ases on ,our cluster. ;o<e1er+ t.e Oracle RAC data(ase soft<are in t.ese .o'es 'ust (e fro' a 1ersion t.at is eBual to or (efore t.e 1ersion of Oracle Cluster<are t.at is installedP ,ou cannot .a1e a 1ersion of Oracle 5ata(ase runnin- on Oracle Cluster<are t.at <as released after t.e 1ersion of Oracle Cluster<are t.at ,ou are runnin-.

1%H Oracle Real Application Clusters Installation Guide

9efore @ou &tart3 2lannin- @our Installation

>or exa'ple3 J If ,our ser1ers are runnin- Oracle Grid Infrastructure 12c Release 1 (12.1)+ t.en ,ou can .a1e an Oracle 5ata(ase 12c Release 1 (12.1) sin-le%instance data(ase runnin- on one node+ and separate Oracle RAC 11- Release 1 or 2+ or Oracle RAC 12c Release 1 (12.1) data(ases also runnin- on t.e cluster. @ou cannot .a1e Oracle Grid Infrastructure 11- Release 2 installed on ,our cluster+ and install Oracle RAC 12c Release 1 (12.1).

@ou can use 5ata(ase Up-rade Assistant (59UA) for patc. set up-rades <it. Oracle RAC. @ou can also use 59UA to up-rade (et<een 'aCor point releases of Oracle RAC. >or exa'ple+ ,ou can up-rade fro' Oracle 5ata(ase 11- Release 2 (11.2) to Oracle 5ata(ase 12c Release 1 (12.1). @ou cannot c.an-e t.e o<ner of t.e Oracle 5ata(ase .o'e durin- an up-rade. @ou 'ust use t.e sa'e Oracle soft<are o<ner t.at o<ns t.e existin- Oracle 5ata(ase .o'e. If ,ou are up-radin- an existin- Oracle RAC installation+ t.en ,ou 'ust use t.e sa'e t,pe of Oracle .o'e t.at ,ou .a1e in ,our existin- installation. >or exa'ple+ if ,ou .a1e a s.ared Oracle .o'e in ,our existin- installation+ t.en ,ou 'ust up-rade to a s.ared Oracle .o'e <it. Oracle RAC 12c Release 1 (12.1). &i'ilarl,+ if ,ou .a1e local Oracle .o'es on cluster nodes+ t.en ,ou 'ust up-rade to local Oracle .o'es on cluster nodes.

>or t.e Oracle RAC data(ase (ein- up-raded+ eac. cluster 'e'(er node t.at .osts an instance of t.e data(ase 'ust (e a 'e'(er of t.e up-raded installation. >or exa'ple+ if ,ou .a1e an existin- Oracle RAC data(ase runnin- on a t.ree%node cluster+ t.en ,ou 'ust up-rade Oracle RAC on all t.ree nodes. @ou cannot up-rade onl, t<o nodes of t.e cluster+ and t.en re'o1e t.e t.ird node and instance in t.e up-rade. If ,ou .a1e an, data(ase data stored on RA6 de1ices+ t.en (efore ,ou start Oracle Grid Infrastructure and Oracle RAC installation+ ,ou 'ust use R7AN to cop, t.at data to Oracle A&7 or to anot.er supported file s,ste'. As <it. an, s,ste' c.an-e+ follo< co''on industr, standards for data reco1er, plannin-+ and (ac8 up ,our existin- data(ase (efore up-radin- ,our soft<are.
&ee Also3

Oracle 5ata(ase Up-rade Guide

1.1.11 Consider 7e'or, Allocation and Auto'atic 7e'or, 7ana-e'ent


5urin- a ?,pical installation+ ,ou create ,our data(ase <it. 5ata(ase Confi-uration Assistant (59CA)+ and auto'atic 'e'or, 'ana-e'ent is ena(led. If ,ou c.oose ad1anced installation+ t.en ,ou can eit.er specif, 'e'or, allocation 'anuall,+ or ena(le auto'atic 'e'or, 'ana-e'ent. 6it. auto'atic 'e'or, 'ana-e'ent+ t.e Oracle RAC instances auto'aticall, 'ana-e and tune 'e'or, for ,ou. 6it. auto'atic 'e'or, 'ana-e'ent+ ,ou c.oose a 'e'or, tar-et+ and t.e instance auto'aticall, distri(utes 'e'or, (et<een t.e s,ste' -lo(al area (&GA) and t.e instance pro-ra' -lo(al area (instance 2GA). As 'e'or, reBuire'ents c.an-e+ t.e instance d,na'icall, redistri(utes 'e'or, (et<een t.e &GA and instance 2GA. If ,ou c.oose not to ena(le auto'atic 'e'or, 'ana-e'ent durin- installation+ t.en ,ou can ena(le it after installation. !na(lin- auto'atic 'e'or, 'ana-e'ent after installation in1ol1es a s.utdo<n and restart of t.e data(ase.

2reinstallation C.ec8list

1%"

O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste'

Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out auto'atic 'e'or, 'ana-e'ent
&ee Also3

1.1.12 Re1ie< Glo(ali=ation ReBuire'ents


9efore ,ou start an installation on <.ic. ,ou <ant to support lan-ua-es ot.er t.an !n-lis.+ re1ie< Oracle 5ata(ase Glo(ali=ation &upport Guide. Note t.e follo<in-3
O

Oracle reco''ends t.at ,ou use Unicode AL*2U?># as t.e data(ase c.aracter set. Unicode is t.e uni1ersal c.aracter set t.at supports 'ost of t.e currentl, spo8en lan-ua-es. Unicode also supports 'an, .istorical scripts (alp.a(ets). Unicode is t.e nati1e encodin- of 'an, tec.nolo-ies+ includin- :a1a+ 7L+ ;?7L+ !C7A&cript+ and L5A2. Unicode is ideall, suited for data(ases t.at support t.e Internet and t.e -lo(al econo',.

?.e locale settin- of ,our operatin- s,ste' session deter'ines t.e lan-ua-e of t.e user interface and t.e -lo(ali=ation (e.a1ior for co'ponents suc. as Oracle Uni1ersal Installer+ Oracle Net Confi-uration Assistant+ and 5ata(ase Confi-uration Assistant. ?.e locale settin- also deter'ines t.e -lo(ali=ation (e.a1ior of Oracle 5ata(ase sessions created (, a user application t.rou-. Oracle :59C dri1er+ unless o1erridden (, t.e application. ?.e c.aracter set specified (, t.e NL&QLANG en1iron'ent 1aria(le deter'ines t.e lan-ua-e of t.e user interface and t.e -lo(ali=ation (e.a1ior for co'ponents suc. as &ILS2lus+ exp+ and i'p. ?.is 1aria(le also sets t.e lan-ua-e and territor, used (, t.e client application and t.e data(ase. ?.e 1aria(le also declares t.e c.aracter set for enterin- and displa,in- data (, t.e client application. ?.e NL&QLANG en1iron'ent 1aria(le s.ould reflect t.e settin- of t.e operatins,ste' c.aracter set of t.e client. >or exa'ple+ if t.e data(ase c.aracter set is AL*2U?># and t.e client is runnin- on a 6indo<s operatin- s,ste'+ t.en ,ou s.ould not set t.e NL&QLANG en1iron'ent 1aria(le to AL*2U?># (ecause t.ere are no U?>%# 6IN*2 clients. Instead+ t.e NL&QLANG settin- s.ould reflect t.e code pa-e of t.e client. >or exa'ple+ on an !n-lis. 6indo<s client+ t.e code pa-e is 12G2+ so an appropriate settin- for NL&QLANG is A7!RICANQ A7!RICA.6!#7&6IN12G2. Oracle 5ata(ase Installation Guide for ,our platfor' contains a 'ore co'plete discussion of data(ase c.aracter sets used <it. different lan-ua-es+ and pro1ides furt.er infor'ation a(out installinand confi-urin- Oracle 5ata(ase -lo(ali=ation support.
Note3

1.2 O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste'


Oracle Cluster<are 'ust (e installed successfull, as part of an Oracle Grid Infrastructure for a cluster installation (efore atte'ptin- to install Oracle RAC. If ,ou plan to install Oracle RAC for an Oracle >lex Cluster+ t.en ,ou 'ust .a1e installed Oracle Cluster<are usin- t.e Oracle >lex Cluster option. ?o co'plete installations successfull,+ ensure t.at reBuired .ard<are+ net<or8+ and operatin- s,ste' preinstallation steps for Oracle soft<are are perfor'ed as reBuired. >ailure to co'plete t.e reBuired preinstallation steps is t.e 'ost co''on reason for unsuccessful installations.

1%# Oracle Real Application Clusters Installation Guide

O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste'

9efore Oracle Cluster<are is installed as part of an Oracle Grid Infrastructure for a cluster installation+ ,ou 'ust .a1e co'pleted installin- and confi-urin- C2Us+ 'e'or,+ s.ared stora-e+ local dis8s+ net<or8 cards+ .ost (us adapters+ interconnects+ and an, ot.er net<or8in- or ser1er .ard<are. @ou s.ould also .a1e installed t.e operatin- s,ste'+ and an, reBuired pac8a-es or t.ird%part, soft<are. Re1ie< ,our 1endor docu'entation to co'plete t.ese tas8s+ and if rele1ant+ <or8 <it. ,our 1endor to co'plete t.e Oracle preinstallation steps t.at are listed in t.is docu'ent to confir' t.at t.e 1endor .ard<are and soft<are is correctl, confi-ured. &er1er and net<or8 preparation for installation includes t.e follo<in-3
O

Re1ie< &er1er ;ard<are and &oft<are ReBuire'ents O1er1ie< of &er1er !n1iron'ent Confi-uration O1er1ie< of Oracle 9ase and Oracle ;o'e 5irectories O1er1ie< of Net<or8 and Internet Confi-uration O1er1ie< of 2latfor'%&pecific &er1er Confi-uration

1.2.1 Re1ie< &er1er ;ard<are and &oft<are ReBuire'ents


?.e follo<in- su''ar, of ser1er .ard<are and soft<are confi-uration reBuire'ents and reco''endations <ill ena(le ,ou to prepare for a successful installation of Oracle RAC.

1.2.1.1 Cluster Node 7e'(er ReBuire'ents for Oracle RAC


!ac. node in a cluster reBuires t.e follo<in-3
O

&upported ser1er .ard<are+ includin- processors and s,ste' confi-uration. Re1ie< 7, Oracle &upport (efore startin- an installation on ,our current .ard<are and (efore purc.asin- ne< .ard<are to ensure t.at t.e .ard<are is supported (, Oracle Cluster<are <it. Oracle RAC 12c Release 1 (12.1). Also re1ie< t.e preinstallation c.apters in Oracle Grid Infrastructure Installation Guide for 'ore details a(out t.e supported confi-urations. @ou 'ust use t.e sa'e operatin- s,ste' on eac. node in t.e cluster. Oracle stron-l, reco''ends t.at ,ou use t.e sa'e soft<are confi-urations on eac. node of t.e cluster. Oracle Cluster<are and Oracle RAC do not support .etero-eneous platfor's (eac. ser1er 'ust run t.e sa'e Oracle soft<are (inaries) in t.e sa'e cluster.
Note3

Operatin- s,ste' updates listed in t.e s,ste' reBuire'ents. >or so'e operatin- s,ste's+ Oracle 'a, reBuire updates+ suc. as ser1ice pac8s and indi1idual patc.es. If suc. reBuire'ents exist+ t.en t.e, are stated in t.e Release Notes for a particular release. Refer to ,our operatin- s,ste' 1endor for reBuired operatin- s,ste' updates.

Net<or8 connections reBuired for t.e node t,pe ,ou are confi-urin- (;u( Node or Leaf Node).

1.2.1.2 Reco''ended for Oracle RAC3 &,ste' Ad'inistrator ?as8s


Oracle reco''ends t.e follo<in- tas8s to si'plif, ser1er installation and 'aintenance+ and to pre1ent ser1ice issues3

2reinstallation C.ec8list

1%$

O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste'

Usin- a ti'e protocol+ suc. as Net<or8 ?i'e 2rotocol (N?2)+ to ensure t.at all nodes in t.e cluster use t.e sa'e reference ti'e. 6it. Oracle Cluster<are 12c Release 1 (12.1)+ if N?2 ser1ers are not pro1ided durin- Oracle Grid Infrastructure installation+ t.en t.e Oracle Cluster<are installation ena(les t.e Cluster ?i'e &,nc.roni=ation &er1ice (C?&&). Confi-urin- redundant s<itc.es+ for all cluster si=es. Usin- identical ser1er .ard<are on eac. node+ to si'plif, ser1er 'aintenance. A1oidin- resource contention issues (, not installin- Oracle RAC on a pri'ar, do'ain controller or (ac8up do'ain controller.

1.2.1.* Additional Options3 &,ste' Ad'inistrators and Dendors


After ,ou .a1e set up ser1er .ard<are+ re1ie< EC.ec8in- t.e ;ard<are ReBuire'entsE in Oracle Grid Infrastructure Installation Guide for ,our platfor' to ensure t.at ,our s,ste' .as enou-. RA7+ t.at t.e ?!72 en1iron'ent 1aria(le points to a location t.at .as enou-. a1aila(le space for t.e installation+ and t.at ,our s,ste' 'eets ot.er .ard<are reBuire'ents.

1.2.2 O1er1ie< of &er1er !n1iron'ent Confi-uration


Confi-ure t.e users and user en1iron'ents as descri(ed in t.e preinstallation c.apters of Oracle Grid Infrastructure Installation Guide. ?.ese include t.e follo<in- tas8s3
O

Creatin- operatin- s,ste' users to install Oracle soft<are Confi-urin- t.e Oracle soft<are o<ner user en1iron'ents

1.2.* O1er1ie< of Oracle 9ase and Oracle ;o'e 5irectories


?.e Oracle (ase director, is t.e location <.ere Oracle confi-uration files installed (, a particular Oracle installation o<ner are stored. An Oracle (ase director, can (e used for 'ultiple installations of soft<are (, a -i1en installation o<ner. ?.e Oracle (ase and Oracle .o'e director, structures are different for Oracle 5ata(ase and Oracle Grid Infrastructure for a cluster. 9, default+ t.e Oracle 5ata(ase soft<are (inar, files are installed (, 1ersion and Oracle .o'e na'e in a su(director, of t.e Oracle (ase director,. !1er, Oracle .o'e can .a1e its o<n Oracle (ase. ?.e Oracle Grid Infrastructure for a cluster soft<are (inaries are stored in an Oracle .o'e (t.e Grid .o'e) t.at is outside of t.e Grid Infrastructure installation o<ner Oracle (ase. ?.ere can (e onl, one acti1e Grid .o'e on eac. cluster 'e'(er+ or onl, one acti1e s.ared .o'e+ and it 'ust not (e under t.e Oracle (ase for t.e Grid Infrastructure installation o<ner. ?,picall,+ t.e Oracle (ase pat. is (ased on t.e installation o<ner na'e. If ,ou .a1e separate installation o<ners for t.e Oracle Grid Infrastructure installation and t.e Oracle RAC installation+ t.en ,ou .a1e t<o Oracle (ase pat.s t.at are in accordance <it. Opti'al >lexi(le Arc.itecture (O>A) -uidelines. >or exa'ple+ if t.e user -rid is t.e installation o<ner of t.e Oracle Grid infrastructure installation and t.e user oracle is t.e installation o<ner of t.e Oracle 5ata(ase installation+ t.en ,ou .a1e t<o Oracle (ase directories3
O

u)10app0-rid3 ?.is is t.e Oracle (ase for t.e Grid installation o<ner (-rid)+ <.ic. o<ns t.e Oracle Grid Infrastructure (inaries u)10app0oracle3 ?.is is t.e Oracle (ase for t.e Oracle 5ata(ase installation o<ner (oracle)+ <.ic. o<ns t.e Oracle 5ata(ase (inaries

1%1) Oracle Real Application Clusters Installation Guide

O1er1ie< of &er1er ;ard<are+ Net<or8+ and Operatin- &,ste'

In addition+ ,ou .a1e a Grid .o'e t.at is in a different pat. t.an t.e Oracle (ase pat. for t.e Grid installation o<ner+ and t.e Oracle (ase pat. for t.e Oracle 5ata(ase o<ner3 0u)10app012.1.)0-rid ?.e Grid .o'e pat. is outside of t.e Oracle (ase director, for (ot. t.e Oracle 5ata(ase installation o<ner (oracle) and t.e Oracle Grid Infrastructure o<ner (-rid). ?.e pat. to t.e Grid .o'e (0u)1 and 0u)10app) is o<ned (, root after installation+ so t.e Oracle (ase for installation o<ners s.ould (e created (, s,ste' ad'inistrators+ and -i1en read+ <rite and execute per'issions to t.e Oracle installation o<ner t.at is per'itted to <rite to t.at Oracle (ase. Oracle reco''ends t.at ,ou do not set an Oracle .o'e en1iron'ent 1aria(le+ and instead ena(le OUI to create it. If t.e Oracle (ase pat. is 0u)10app0oracle+ t.en (, default+ OUI creates t.e follo<in- Oracle .o'e pat.3
0u)10app0oracle0product012.1.)0d(.o'eQn

?.e 1aria(le n is t.e Oracle .o'e nu'(er. ?.e first ti'e ,ou create an Oracle .o'e as t.e oracle user+ t.e default Oracle .o'e location is t.e follo<in-3
u)10app0oracle0product012.1.)0d(.o'eQ1

!nsure t.at t.e pat.s t.at ,ou select for Oracle soft<are+ suc. as Oracle .o'e pat.s and t.e Oracle (ase pat.+ use onl, A&CII c.aracters. 9ecause installation user na'es are used (, default for so'e pat.s+ t.is A&CII c.aracter restriction applies to user na'es+ file na'es+ and director, na'es.

1.2.F O1er1ie< of Net<or8 and Internet Confi-uration


@ou 'ust confi-ure eac. ser1er so it can co''unicate <it. t.e ot.er nodes in t.e cluster. Also+ ,ou s.ould confi-ure one or 'ore nodes to access t.e Internet and support a <e( (ro<ser.

1.2.F.1 O1er1ie< of Net<or8 Interface Confi-uration


5urin- t.e installation of Oracle Grid Infrastructure for a cluster+ identif, t.e planned use for -lo(al interface for eac. node+ and pro1ide t.e interface infor'ation reBuired for t.e t,pe of node (;u( Node or Leaf Node) t.at ,ou are confi-urin-. Identif, eac. interface as one of t.e follo<in-3
O

A 2u(lic interface t,pe (used <it. pu(lic I2 addresses and 1irtual I2 addresses) A 2ri1ate interface t,pe (used <it. t.e net<or8s for t.e interconnect (et<een cluster 'e'(er nodes) An A&7 interface t,pe (used for co''unication <it. Oracle A&7 instances on ot.er nodes) An A&7 and 2ri1ate interface t,pe (used for (ot. interconnects (et<een cluster 'e'(er nodes and co''unication <it. Oracle >lex A&7 instances on ot.er nodes) A 5o not use interface t,pe+ <.ic. Oracle Cluster<are and Oracle RAC i-nores

>or exa'ple+ an interface used as a dedicated interface for a net<or8 file s,ste' suc. as N>& s.ould (e 'ar8ed as a 5o not use interface t,pe. @ou confi-ure t.e net<or8 durin- t.e Oracle Grid Infrastructure installationP ,ou do not perfor' additional net<or8 confi-uration durin- an Oracle RAC installation.

2reinstallation C.ec8list 1%11

O1er1ie< of Oracle RAC &tora-e

Oracle Grid Infrastructure Installation Guide for detailed infor'ation a(out net<or8 reBuire'ents
&ee Also3

1.2.F.2 O1er1ie< of 9ro<ser ReBuire'ents


6e( (ro<sers are reBuired to use Oracle !nterprise 7ana-er 5ata(ase !xpress and Oracle !nterprise 7ana-er Cloud Control. 6e( (ro<sers 'ust support :a1a&cript+ and t.e ;?7L F.) and C&& 1.) standards. >or a list of (ro<sers t.at 'eet t.ese reBuire'ents+ see t.e Oracle !nterprise 7ana-er certification 'atrix on 7, Oracle &upport3 .ttps300support.oracle.co'
&ee Also3
OOracle !nterprise 7ana-er Cloud Control 9asic Installation Guide for infor'ation on accessin- t.e Oracle !nterprise 7ana-er certification 'atrix

Oracle !nterprise 7ana-er Oracle 5ata(ase 2lu-%in Release Notes

1.2.G O1er1ie< of 2latfor'%&pecific &er1er Confi-uration


Oracle Cluster<are and Oracle RAC are tested <it. specific operatin- s,ste' 1ersions+ and specific operatin- s,ste' co'ponents. Oracle reBuires t.at ,ou use t.e operatin- s,ste' 1ersions and co'ponents t.at are certified for t.is release. Oracle reco''ends t.at ,ou or ,our s,ste' ad'inistrator re1ie< t.e s,ste' reBuire'ents carefull, in Oracle Grid Infrastructure Installation Guide (efore (e-innininstallation+ to ensure t.at ,our s,ste' 'eets t.ese reBuire'ents. If ,our s,ste' does not 'eet 'ini'u' .ard<are+ operatin- s,ste' 1ersion+ and co'ponent reBuire'ents+ t.en ,our installation 'a, fail to co'plete+ or ot.er errors 'a, de1elop durin- Oracle Cluster<are or Oracle 5ata(ase run ti'e. In addition to t.e standard s,ste' reBuire'ents confi-uration+ deplo,'ent on specific ser1er .ard<are can include additional operatin- s,ste' confi-uration steps. Re1ie< t.e preinstallation c.apter in Oracle Grid Infrastructure Installation Guide+ and c.ec8 t.e 7, Oracle &upport Certif, pa-e to ensure t.at ,ou are a<are of an, additional reBuire'ents or reco''endations for ,our specific .ard<are and platfor' confi-uration.

1.* O1er1ie< of Oracle RAC &tora-e


>or (ot. t.e !nterprise and &tandard !ditions of Oracle RAC+ t.e .ard dis8 reBuire'ents for Oracle 5ata(ase co'ponents include *2 79 reBuired to install :a1a Runti'e !n1iron'ent (:R!) and OUI on t.e dis8 partition <.ere t.e operatin- s,ste' is installed. If sufficient space is not detected+ t.en t.e installation fails and an error 'essa-e appears. ?o install Oracle RAC+ ,ou 'ust confi-ure s.ared stora-e for t.e data(ase files and optionall, t.e reco1er, files. ?.e data(ase fast reco1er, area 'ust (e located on s.ared stora-e. &ee Oracle Grid Infrastructure Installation Guide to re1ie< stora-e options for installation plannin-. &tora-e and s,ste' ad'inistrators can see t.is c.apter to confi-ure stora-e for data(ase files for an Oracle RAC data(ase. Oracle 5ata(ase Ad'inistratorKs Guide for infor'ation a(out reco1er, areas
&ee Also3

1%12 Oracle Real Application Clusters Installation Guide

O1er1ie< of Oracle RAC &tora-e

1.*.1 A(out Oracle RAC &tora-e and Oracle AC>&


Oracle Auto'atic &tora-e 7ana-e'ent Cluster >ile &,ste' (Oracle AC>&) is a 'ultiplatfor'+ scala(le file s,ste'+ and stora-e 'ana-e'ent tec.nolo-, t.at extends Oracle A&7 functionalit, to support custo'er files 'aintained outside of t.e Oracle 5ata(ase. >iles supported (, Oracle AC>& include data(ase and application executa(le files+ trace files+ alert lo-s+ application reports+ 2>IL!s+ and confi-uration files.

1.*.1.1 A(out t.e Oracle A&7 5,na'ic Dolu'e 7ana-er


?.e Oracle A&7 5,na'ic Dolu'e 7ana-er (Oracle A5D7) pro1ides 1olu'e 'ana-e'ent ser1ices for dis8s and a standard dis8 de1ice dri1er interface to clients (users and applications). >ile s,ste's and ot.er dis8%(ased applications issue I0O reBuests to Oracle A5D7 1olu'e de1ices as t.e, <ould to ot.er stora-e de1ices on a 1endor operatin- s,ste'. Oracle A5D7 extends Oracle A&7 (, pro1idin- a dis8 dri1er interface to Oracle A&7 stora-e allocated as Oracle A&7 1olu'e files. @ou can use Oracle A5D7 to create 1irtual dis8s t.at contain file s,ste's. ?.ese file s,ste's contained on Oracle A&7 1olu'es can support files (e,ond Oracle data(ase files+ suc. as executa(le files+ report files+ trace files+ alert lo-s+ and ot.er application data files.

1.*.2 General &tora-e Considerations for Oracle RAC


>or all installations+ ,ou 'ust c.oose t.e stora-e option to use for Oracle RAC data(ase files. @ou do not .a1e to use t.e sa'e stora-e option for eac. file t,pe. Use t.e follo<in- -uidelines <.en c.oosin- t.e stora-e options to use for eac. file t,pe. @ou can c.oose an, co'(ination of t.e supported s.ared stora-e options for eac. file t,pe if ,ou satisf, all reBuire'ents listed for t.e c.osen stora-e options
O

Oracle reco''ends t.at ,ou c.oose Oracle A&7 as t.e s.ared stora-e option for data(ase and reco1er, files. @ou do not .a1e to .a1e an Oracle A&7 instance runnin- on e1er, .u( node in a 9i- Cluster confi-uration+ (ut e1er, .u( node 'ust .a1e direct access to t.e s.ared stora-e. >or &tandard !dition Oracle RAC installations+ Oracle A&7 is t.e onl, supported s.ared stora-e option for data(ase or reco1er, files. If ,ou do not .a1e a stora-e option t.at pro1ides external file redundanc,+ t.en ,ou 'ust confi-ure at least t.ree 1otin- dis8 areas to pro1ide 1otin- dis8 redundanc,. If ,ou intend to use Oracle A&7 <it. Oracle RAC and ,ou did not use Oracle A&7 for t.e Oracle Cluster<are files (Oracle Cluster Re-istr, (OCR) and 1otindis8)+ t.en ,ou 'ust confi-ure one or 'ore Oracle A&7 instances <it. Oracle A&7 Confi-uration Assistant (A&7CA) (efore startin- OUI. Oracle A&7 runs on one ore 'ore .u( nodes in t.e cluster. If ,ou intend to up-rade an existin- Oracle RAC data(ase+ t.en ,ou 'ust ensure t.at ,our s,ste' 'eets t.e follo<in- conditions3 J J OUI and 59CA are run on t.e node <.ere t.e Oracle RAC data(ase instance is located. ?.e Oracle RAC data(ase instance is runnin- on t.e sa'e nodes t.at ,ou intend to 'a8e 'e'(ers of t.e ne< cluster installation. >or exa'ple+ if ,ou .a1e an existin- Oracle RAC data(ase runnin- on a t.ree%node cluster+ t.en ,ou 'ust install t.e up-rade on all t.ree nodes. @ou cannot up-rade onl, t<o nodes of t.e cluster+ re'o1in- t.e t.ird instance in t.e up-rade.

2reinstallation C.ec8list 1%1*

O1er1ie< of Oracle RAC &tora-e

Oracle 5ata(ase Up-rade Guide for infor'ation a(out .o< to prepare for up-radin- an existin- data(ase
&ee Also3

1.*.* O1er1ie< of Oracle 5ata(ase and Reco1er, >ile Options


?.ere are t<o <a,s of storin- Oracle 5ata(ase and reco1er, files3 6.en creatin- a ne< Oracle RAC data(ase usin- OUI+ storindata files and reco1er, files on ra< de1ices (unfor'atted partitions) is not supported. 2lace data files and reco1er, files on a s.ared file s,ste' or on Oracle A&7. If ,ou are up-radin- a data(ase t.at uses ra< de1ices+ t.en t.e, are still supported <it. Oracle 5ata(ase 11Release 2.
Note3

Oracle Auto'atic &tora-e 7ana-e'ent3 Oracle A&7 is an inte-rated+ .i-.%perfor'ance data(ase file s,ste' and dis8 'ana-er for Oracle 5ata(ase files. It perfor's stripin- and 'irrorin- of data(ase files auto'aticall,. >or &tandard !dition Oracle 5ata(ase installations usinOracle RAC+ Oracle A&7 is t.e onl, supported stora-e option.
Note3

A supported s.ared file s,ste'3 &upported file s,ste's include t.e follo<in-3 J 5irect Net<or8 >ile &,ste's Client (5irect N>& Client)3 @ou can confi-ure Oracle 5ata(ase to access N>& ser1ers directl, usin- 5irect N>& Client. 5irect N>& Client supports usin- N>&1*+ N>&1F and N>&1F.1 (excludin- 2arallel N>&) to access t.e N>& ser1er. 5irect N>& Client is an opti'i=ed N>& client t.at pro1ides faster and 'ore scala(le access to N>& stora-e located on NA& stora-e de1ices (accessi(le o1er ?C20I2). 5irect N>& Client is (uilt directl, into t.e data(ase 8ernel and pro1ides faster perfor'ance t.an <.at can (e pro1ided (, t.e operatin- s,ste'Ks N>& dri1er. 6.en accessin- N>& ser1ers+ Oracle 5ata(ase (,passes t.e operatin- s,ste' and -enerates exactl, t.e reBuests it needs (no user confi-uration or tunin- reBuired).

?a(le 1J1 s.o<s t.e stora-e options supported for storin- Oracle 5ata(ase files and Oracle 5ata(ase reco1er, files. Oracle 5ata(ase files include data files+ control files+ redo lo- files+ t.e ser1er para'eter file (&2>IL!)+ and t.e pass<ord file.
?a(le 1J1 &tora-e Option 5ata(ase Oracle A&7 Oracle A&7 Cluster >ile &,ste' (Oracle AC>&) 5irect N>& Client Local stora-e &.ared unfor'atted partitions @es @es @es No No &upported &tora-e Options for Oracle 5ata(ase and Reco1er, >iles >ile ?,pes &upported Reco1er, @es @es @es No No

1%1F Oracle Real Application Clusters Installation Guide

Additional Infor'ation to 2repare for Installation

1.F Additional Infor'ation to 2repare for Installation


?.is section contains additional infor'ation a(out Oracle Cluster<are+ Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7)+ and Oracle RAC+ t.at 'a, (e .elpful for ,our installation plan tea' to read to decide .o< to confi-ure ,our installation. It contains t.e follo<in- topics3
O

Oracle A&7 is Installed <it. Oracle Grid Infrastructure ;u( Nodes and &.ared Co'ponents of Oracle RAC Installations &i'plified Up-rade of ?I7!&?A72 6I?; ?I7! AON! 5ata !nsure an !xternal :o(s User Is Created for ;2%U Oracle 5ata(ase 12c Real Application Clusters Release Co'pati(ilit,

1.F.1 Oracle A&7 is Installed <it. Oracle Grid Infrastructure


In past releases+ Oracle A&7 <as installed as part of t.e Oracle 5ata(ase installation. 6it. Oracle 5ata(ase 11- Release 2 (11.2) and later releases+ Oracle A&7 is part of an Oracle Grid Infrastructure installation. ?o up-rade an existin- Oracle A&7 installation+ ,ou 'ust up-rade Oracle A&7 (, runnin- an Oracle Grid Infrastructure up-rade. If ,ou did not select Oracle A&7 as t.e stora-e option for t.e Oracle Cluster<are files+ t.en ,ou 'ust first use Oracle A&7 Confi-uration Assistant (A&7CA) on one of t.e ;u( Nodes to confi-ure Oracle A&7+ create an Oracle A&7 instance+ and create a dis8 -roup to use for ,our Oracle 5ata(ase stora-e.

1.F.2 ;u( Nodes and &.ared Co'ponents of Oracle RAC Installations


>or Oracle RAC+ ,ou and ,our s,ste' ad'inistrator s.ould note t.at all ;u( Node instances in Oracle RAC en1iron'ents s.are t.e control file+ ser1er para'eter file+ redo lo- files+ and all data files. ?.ese files 'ust (e placed on Oracle A&7+ and all t.e cluster data(ase instances on t.e ;u( Node 'ust .a1e access to t.ese files. !ac. instance also .as its o<n set of redo lo- files. 5urin- failures+ s.ared access to redo lofiles ena(les sur1i1in- instances to perfor' reco1er,. Oracle Auto'atic &tora-e 7ana-e'ent Ad'inistratorKs Guide for 'ore infor'ation a(out ;u( Nodes
&ee Also3

1.F.* &i'plified Up-rade of ?I7!&?A72 6I?; ?I7! AON! 5ata


As part of an installation of Oracle 5ata(ase 12c Release 1 (12.1)+ ti'e =one 1ersion files fro' 1 to 12 are installed in t.e pat. RORACL!Q;O7!0oracore0=oneinfo0. @ou can continue to use t.e current ti'e =one 1ersion or up-rade to t.e latest 1ersion. Oracle reco''ends t.at ,ou up-rade t.e ser1er to t.e latest ti'e =one 1ersion. Up-radin- to a ne< ti'e =one 1ersion 'a, cause existin- ?I7!&?A72 6I?; ?I7! AON! (?&?A) data to (eco'e stale. Usin- t.e ne<l, pro1ided 597&Q5&? 2L0&IL pac8a-es+ ,ou can update t.e ?&?A data transparentl, <it. 'ini'al 'anual procedures and s,ste' do<nti'e. All instances of an Oracle RAC data(ase 'ust use t.e sa'e ti'e =one. ?.e Oracle RAC data(ase ti'e =one defaults to t.e ti'e =one settin- of t.e Oracle Grid Infrastructure Grid user+ except <.en an instance is started <it. &ILS2lus. 6.en ,ou use &ILS2lus+ ,ou 'ust (e sure to use t.e sa'e ti'e =one settin- for t.e data(ase instance t.at is used for Oracle Cluster<are. @ou can c.an-e t.e ti'e =one Oracle

2reinstallation C.ec8list 1%1G

Additional Infor'ation to 2repare for Installation

Cluster<are uses for a data(ase (, usin- t.e follo<in- co''and+ <.ere ti'eQ=one is t.e ti'e =one to <.ic. ,ou <ant to c.an-e3
sr1ctl seten1 data(ase %en1 K?AMti'eQ=oneK

?i'e =one 1ersion files are also installed on t.e clients. &tartin- <it. Oracle 5ata(ase 11- Release 2+ ,ou no lon-er need to up-rade Client ti'e =one files i''ediatel,. Up-rades can (e done at a ti'e <.en it is 'ost con1enient to t.e s,ste' ad'inistrator. ;o<e1er+ t.ere could (e a s'all perfor'ance penalt, <.en client and ser1er use different ti'e =one 1ersions.
&ee Also3
O

Oracle 5ata(ase Up-rade Guide for infor'ation a(out preparin- to up-rade ?&?A data Oracle 5ata(ase Glo(ali=ation &upport Guide for infor'ation a(out .o< to up-rade t.e ti'e =one file and ?&?A data Oracle Call Interface 2ro-ra''erKs Guide for infor'ation a(out perfor'ance effects of clients and ser1ers operatin- <it. different 1ersions of ti'e =one files

1.F.F !nsure an !xternal :o(s User Is Created for ;2%U


If ,ou are installin- Oracle RAC on ;2%U + t.en ensure t.at t.ere is a lo<%pri1ile-ed user created to o<n external Co(s. 9e a<are t.at ,ou 'ust set t.is user as t.e external Co(s user (, lo--in- in as t.e root user and 'odif,in- RORACL!Q ;O7!0rd('s0ad'in0externalCo(.ora after installation. Onl, t.e root user can 'odif, t.is file.

1.F.G Oracle 5ata(ase 12c Real Application Clusters Release Co'pati(ilit,


@ou can install and operate different releases of Oracle 5ata(ase soft<are on t.e sa'e co'puter3
O

If ,ou .a1e Oracle Cluster<are installed and different releases of ot.er Oracle soft<are installed+ t.en t.e Oracle Cluster<are release 'ust (e later t.an or eBual to t.e Oracle 5ata(ase soft<are release. Oracle Cluster<are and Oracle A&7 are (ot. up-raded to 12c Release 1 (12.1) <.en ,ou perfor' an Oracle Grid Infrastructure 12c Release 1 (12.1) installation If ,ou .a1e an existin- Oracle .o'e+ t.en ,ou can create a ne< Oracle .o'e and install Oracle 5ata(ase 12c Release 1 (12.1) into t.e ne< Oracle .o'e. @ou s.ould ensure t.at Oracle Cluster<are is in a separate Oracle Grid Infrastructure .o'e. Oracle Grid Infrastructure for a Cluster installations cannot (e installed in t.e Oracle (ase director, for Oracle 5ata(ase. If ,ou are runnin- Oracle 5ata(ase $i Release 2 Oracle RAC+ and ,ou <ant to continue to use t.at release+ t.en ,ou 'ust run cluster soft<are t.at is co'pati(le <it. t.at release+ suc. as Oracle Cluster 7ana-er or a t.ird part, cluster soft<are. ?o re'o1e t.ird part, cluster soft<are after up-radin- ,our data(ase+ ,ou 'ust first re'o1e t.e t.ird part, cluster soft<are+ and t.en re%install Oracle Cluster<are.
Note3

1%1H Oracle Real Application Clusters Installation Guide

Confir'in- Cluster Readiness for Oracle RAC Installation <it. CDU

If OUI detects a pre1ious data(ase release+ t.en OUI as8s ,ou a(out ,our up-rade preferences. @ou .a1e t.e option to up-rade one of t.e pre1ious release data(ases <it. 59UA or to create a data(ase usin- 59CA. ?.e infor'ation collected durint.is dialo- is passed to 59UA or 59CA after t.e soft<are is installed. If OUI detects a pre1ious Oracle Cluster<are release+ t.en ,ou are as8ed to up-rade t.e existin- Oracle Cluster<are installation. Onl, one Oracle Cluster<are 1ersion can (e acti1e on a ser1er+ and a ser1er 'ust (e a 'e'(er of onl, one cluster. 5o not 'o1e Oracle executa(le files fro' t.e director, in <.ic. t.e, <ere installed to anot.er location. 5oin- so can cause d,na'ic lin8 failures. ?o 'o1e t.e executa(le files to a ne< location+ ,ou 'ust reinstall t.e soft<are.
Note3

@ou cannot install Oracle Grid Infrastructure for a standalone ser1er (Oracle Restart) and t.en install Oracle Grid Infrastructure for a cluster. If ,ou .a1e Oracle Restart installed+ t.en ,ou 'ust re'o1e t.at installation (efore ,ou can install Oracle Grid Infrastructure for a cluster. @ou can run different releases of Oracle 5ata(ase and Oracle A&7. >or exa'ple+ ,ou can use Oracle A&7 12c Release 1 (12.1) <it. an Oracle 5ata(ase 11- Release 2 (11.2) data(ase. ;o<e1er+ ,ou can onl, run an Oracle 5ata(ase 1ersion of a release (efore Oracle Grid Infrastructure 12c on a ;u( Node. @ou cannot run earlier releases on a Leaf Node. 6.en usin- different Oracle A&7 and Oracle 5ata(ase releases+ t.e functionalit, of eac. depends on t.e functionalit, of t.e earlier soft<are release. >or exa'ple+ an Oracle 5ata(ase 11- Release 11.2 data(ase usin- an Oracle A&7 12c Release 1 (12.1) instance is not a(le to use ne< features a1aila(le for Oracle A&7 12c Release 1 (12.1)+ (ut instead it can use onl, Oracle A&7 11.2 features.
Note3

1.G Confir'in- Cluster Readiness for Oracle RAC Installation <it. CDU
9efore ,ou start ,our installation+ use Cluster Derification Utilit, (CDU) to ensure t.at ,our s,ste' is prepared for Oracle RAC installation. If an, c.ec8s fail+ t.en fix t.e errors reported+ eit.er 'anuall, or (, usin- a -enerated fixup script+ or contact ,our s,ste' or stora-e ad'inistrator to .a1e t.e cause of t.e errors addressed. CDU is a1aila(le in t.e Grid .o'e+ in t.e (in director,. >or exa'ple+ if t.e Oracle Grid Infrastructure for a cluster .o'e is 0u)10app012.1.)0-rid+ t.en t.e pat. is 0u)10app012.1.)0-rid0(in. ?o start CDU+ na1i-ate to t.e Grid .o'e (in director,+ and use a co''and si'ilar to t.e follo<in-3
clu1f, sta-e %pre d(inst %fixup %n nodelist %r release %osd(a O&59A %1er(ose

In t.e precedin- co''and s,ntax+ nodelist is a co''a%deli'ited list of node na'es and release is t.e 1ersion of t.e Oracle 5ata(ase soft<are (ein- installed. ?.e %fixup+ %osd(a+ and %1er(ose fla-s are optional. >or exa'ple+ for a t<o%node cluster <it. nodeA and node9+ <.ere ,ou are testin- t.e cluster to prepare to install Oracle 5ata(ase 12c <it. Oracle RAC+ and ,our O&59A -roup is d(a+ t.e follo<in- co''and c.ec8s for s,ste' readiness3
R .0clu1f, sta-e %pre d(inst %fixup %n nodea+node( %osd(a d(a %1er(ose

2reinstallation C.ec8list 1%1"

Installin- Oracle 5ata(ase 12c on &,ste's <it. !xistin- 5ata(ases

>or 'ore infor'ation a(out CDU co''ands+ enter .0clu1f, %.elp. Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for detailed infor'ation a(out CDU
&ee Also3

1.H Installin- Oracle 5ata(ase 12c on &,ste's <it. !xistin- 5ata(ases


If ,ou are plannin- an installation on a s,ste' <.ere ,ou .a1e an existin- Oracle RAC or Oracle 5ata(ase installation+ t.en ,ou 'ust perfor' additional tas8s to prepare ,our s,ste' for installation. ?a(le 1J2 pro1ides an o1er1ie< of <.at ,ou 'ust do if ,ou .a1e an existin- Oracle 5ata(ase installation. Re1ie< t.e ta(le+ and perfor' tas8s as reBuired. Oracle 5ata(ase Up-rade Guide for additional infor'ation a(out preparin- for and perfor'in- up-rades
&ee Also3 ?a(le 1J2 O1er1ie< of &,ste' 2reparation for Up-rades or Coexistin- 5ata(ases 6.at ,ou 'ust do No additional tas8s. Refer to A(out Oracle 5ata(ase 1)Listener 7i-ration on pa-e 1%1# No additional tas8s. Refer to A(out Oracle 5ata(ase 1)Listener 7i-ration on pa-e 1%1#

Installation &cenario Up-radin- fro' Oracle 5ata(ase 1)- Release 1 (1).1) to 12c Release 1 (12.1) Installin- Oracle 5ata(ase 12c Release 1 (12.1) on a s,ste' to coexist <it. Oracle 5ata(ase 1)- Release 1 (1).1)

1." A(out Oracle 5ata(ase 1)- Listener 7i-ration


If ,our s,ste' .as an Oracle 5ata(ase 1)- installation+ and ,ou install Oracle 5ata(ase 12c Release 1 (12.1) eit.er to coexist <it. or to up-rade t.e Oracle 5ata(ase 1)installation+ t.en 'ost installation t,pes confi-ure and start a default Oracle Net listener usin- ?C20I2 port 1G21 and t.e I2C 8e, 1alue ! ?2ROC. One of t.e follo<inoccurs3
O

5urin- a coexistin- installation+ 5ata(ase Confi-uration Assistant (59CA) auto'aticall, 'i-rates t.e listener and related files fro' t.e Oracle 5ata(ase 1)Oracle .o'e to t.e Oracle 5ata(ase 11- Oracle .o'e. 5urin- an up-rade+ Oracle 5ata(ase Up-rade Assistant (59UA) auto'aticall, locates t.e existin- Oracle 5ata(ase 1)- listener+ and 'i-rates t.e listener to Oracle 5ata(ase 12c Release 1 (12.1). >or Oracle 5ata(ase 12c Release 1 (12.1) to coexist <it. Oracle 5ata(ase 1)- Release 1 (1).1) data(ases usin- Oracle A&7+ t.e data(ase 'ust (e Oracle 5ata(ase 1)- Release 1).1.).* or later.
Note3

1%1# Oracle Real Application Clusters Installation Guide

2
2

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters


?.is c.apter descri(es p.ase t<o of t.e installation procedures for installin- Oracle 5ata(ase 12c Release 1 (12.1) <it. Oracle Real Application Clusters (Oracle RAC). 2.ase one is t.e co'pletion of installin- Oracle Cluster<are+ as descri(ed in Oracle Grid Infrastructure Installation Guide for ,our platfor'.

Oracle 5ata(ase Installation Guide for ,our platfor' for additional infor'ation+ suc. as .o< to open co'pressed files+ and ot.er infor'ation a(out settin- up files for installation
&ee Also3

Also+ durin- installation+ clic8 ;elp to find explanations of options and pro'pts for eac. installation screen+ and clic8 5etails to see t.e lo- file ?.is c.apter contains t.e follo<in- topics3
O

&electin- a &ecurit, Notification Contact 5o<nloadin- &oft<are Updates &electin- an Installation Option &electin- t.e 5ata(ase ?,pe for Oracle Grid Infrastructure 5eplo,'ents C.oosin- t.e Cluster 5ata(ase 7ana-e'ent ?,pe &electin- an Installation ?,pe &electin- an Oracle 5ata(ase Confi-uration ?,pe &electin- a 5ata(ase Na'e Creatin- 5ata(ase 2ass<ords Understandin- t.e Actions of OUI and 59CA 5urin- Installation Usin- Oracle Uni1ersal Installer to Install Oracle RAC Usin- Oracle Uni1ersal Installer to Install Oracle RAC One Node Installin- t.e Oracle 5ata(ase Dault Option

2.1 &electin- a &ecurit, Notification Contact


Oracle issues securit, alerts as needed for 1ulnera(ilit, fixes t.at are deter'ined to (e too critical to <ait for distri(ution in t.e next Critical 2atc. Update.

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters

2%1

5o<nloadin- &oft<are Updates

5urin- installation+ ,ou are as8ed in t.e Confi-ure &ecurit, Updates screen to pro1ide a securit, contact. &elect one of t.e follo<in- options3
O

2ro1ide an e%'ail address to recei1e securit, infor'ation for ,our installation. 2ro1ide a 7, Oracle &upport e%'ail address or account na'e to recei1e securit, infor'ation for ,our installation+ and to enroll ,our s,ste' for &ecurit, Updates. @ou can recei1e infor'ation a(out alerts t.rou-. 7, Oracle &upport.

@ou can c.oose not to pro1ide t.is infor'ation+ (ut Oracle stron-l, reco''ends t.at ,ou confi-ure a securit, notification contact. ?.e infor'ation collected (, &ecurit, Updates is li'ited to confi-uration infor'ation. ?.e data collected does not include personall, identifia(le infor'ation (<it. t.e exception of a local contact na'e in case of trans'ission pro(le's). @ou 'a, still use all licensed Oracle functionalit, if ,ou decline to ena(le &ecurit, Updates. If ,ou prefer not to recei1e securit, notifications+ t.en lea1e all fields in t.e Confi-ure &ecurit, Updates screen (lan8+ and clic8 Next to continue. If ,ou pro1ide ,our 7, Oracle &upport credentials+ t.en &ecurit, Updates auto'aticall, -at.ers confi-uration infor'ation re-ardin- ,our installed Oracle products and uploads it to OracleKs support s,ste's. @ou can access t.e infor'ation it collects t.rou-. ,our 7, Oracle &upport account+ and re1ie< .ealt. c.ec8 reco''endations+ patc. reco''endations and ot.er reco''endations for ,our s,ste' in addition to securit, alerts. ?.e Oracle &ecurit, 2olicies pa-e+ <.ic. is a1aila(le fro' t.e follo<in- URL3
&ee Also3

.ttp300<<<.oracle.co'0us0support0assurance0fixin-%po licies0index..t'l

2.2 5o<nloadin- &oft<are Updates


Oracle Uni1ersal Installer (OUI) can install patc. updates+ s,ste' reBuire'ent updates for supported operatin- s,ste's+ and ot.er si-nificant updates t.at can ensure t.at ,our installation succeeds. Oracle reco''ends t.at ,ou ena(le t.e &oft<are Updates option on t.e 5o<nload &oft<are Updates screen durininstallation. If ,ou c.oose to ena(le t.e &oft<are Updates option+ t.en ,ou 'ust pro1ide a 1alid 7, Oracle &upport user na'e and pass<ord+ so t.at OUI can do<nload t.e latest updates+ or ,ou 'ust pro1ide a pat. to t.e location of a &oft<are Updates option pac8a-e t.at ,ou .a1e do<nloaded pre1iousl,. In addition+ if ,ou .a1e a prox, real'+ t.en (e prepared to pro1ide t.e destination prox, real'+ and t.e user aut.entication (user na'e and pass<ord) reBuired to aut.enticate access t.rou-. t.at real' to t.e Internet+ so t.at OUI can o(tain soft<are updates. C.ec8 <it. ,our net<or8 ad'inistrator (efore installation if ,ou do not .a1e t.is infor'ation. If ,ou plan to run t.e installation in a secured data center+ t.en ,ou can do<nload updates (efore startin- t.e installation (, startin- OUI on a s,ste' t.at .as Internet access. ?o start OUI to do<nload updates onl,+ enter t.e follo<in- co''and3
runInstaller %do<nloadUpdates

2ro1ide t.e 7, Oracle &upport user na'e and pass<ord+ and pro1ide prox, settin-s if needed. After ,ou do<nload updates+ transfer t.e update file to a director, on t.e ser1er <.ere ,ou plan to run t.e installation.

2%2 Oracle Real Application Clusters Installation Guide

&electin- t.e 5ata(ase ?,pe for Oracle Grid Infrastructure 5eplo,'ents

2.* &electin- an Installation Option


After pro1idin- infor'ation re-ardin- soft<are updates for t.e Oracle 5ata(ase 12c soft<are+ ,ou .a1e to c.oose t.e t,pe of installation to perfor'. On t.e &elect Installation Option pa-e+ ,ou are -i1en t.e follo<in- options3
O

Create and Confi-ure a 5ata(ase3 2ro1ides ,ou <it. t.e option to create a data(ase usin- a preconfi-ured data(ase te'plate desi-ned for particular s,ste' load de'ands+ suc. as an online transaction processin- (OL?2) data(ase+ or a decision support or data <are.ouse data(ase. Install data(ase soft<are onl,3 Installs Oracle 5ata(ase soft<areP ,ou 'ust co'plete t.e data(ase confi-uration after t.e installation co'pletes usin- t.e installed utilities. Up-rade an existin- data(ase3 Up-rades an existin- data(ase.

If ,ou are installin- Oracle 5ata(ase soft<are+ t.en Oracle reco''ends t.at ,ou use a preconfi-ured data(ase option+ or select t.e Ad1anced option on t.e &elect Confi-uration pa-e+ and confi-ure a custo' starter data(ase. &ee E&electin- an Installation ?,peE for 'ore infor'ation a(out t.e different preconfi-ured data(ase options. If ,ou .a1e an existin- Oracle installation+ t.en <rite do<n t.e 1ersion nu'(ers+ patc.es+ and ot.er confi-uration infor'ation+ and re1ie< up-rade procedures for ,our existin- installation. Re1ie< Oracle 5ata(ase Up-rade Guide (efore proceedin<it. t.e installation.

>or t.e 'ost recent updates and (est practices a(out pre%up-rade+ post%up-rade steps+ co'pati(ilit,+ and interopera(ilit, discussions+ see EOracle Up-rade Co'panion+E <.ic. is a1aila(le t.rou-. Note 1FH22F).1 on 7, Oracle &upport3
&ee Also3

.ttps300support.oracle.co'0C&20'ain0articleLc'dMs.o< Nt,peMNO?NidM1FH22F).1

2.F &electin- t.e 5ata(ase ?,pe for Oracle Grid Infrastructure 5eplo,'ents
5urin- installation+ OUI detects if ,ou .a1e Oracle Grid Infrastructure for a cluster installed. If ,ou do+ t.en ,ou 'ust specif, t.e t,pe of data(ase ,ou plan to create3
O

A sin-le%instance data(ase An Oracle RAC data(ase An Oracle RAC One Node data(ase

If ,ou plan to create data(ases of different t,pes on t.is cluster+ t.en c.oose t.e 'ost ad1anced option. >or exa'ple+ if ,ou plan to create onl, sin-le%instance and Oracle RAC One Node data(ases+ t.en c.oose t.e Oracle RAC One Node data(ase option. If ,ou plan to create sin-le%instance data(ases and Oracle RAC data(ases+ t.en c.oose t.e Oracle RAC data(ase option. @ou can install Oracle RAC One Node on t<o or 'ore nodes in t.e cluster. An Oracle RAC One Node installation starts up an instance on one of t.e nodes ,ou select as an Oracle RAC One Node pool 'e'(er. If t.at instance -oes do<n+ t.en t.e Oracle RAC One Node instance fails o1er to anot.er pool 'e'(er. ?.is feature relocates data(ase instances and connections to ot.er cluster nodes for .i-. a1aila(ilit,.

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters

2%*

C.oosin- t.e Cluster 5ata(ase 7ana-e'ent ?,pe

&ee Also3
O

Oracle 5ata(ase ;i-. A1aila(ilit, O1er1ie< for infor'ation a(out Oracle RAC One Node Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for infor'ation a(out .o< to con1ert sin-le%instance data(ases to Oracle RAC

2.G C.oosin- t.e Cluster 5ata(ase 7ana-e'ent ?,pe


6.en creatin- an Oracle RAC data(ase+ ,ou can c.oose to create on of t.e follo<int,pes of data(ases3
O

A polic,%'ana-ed data(ase3 ?.e data(ase instances are auto'aticall, 'ana-ed (ased on ser1er pools for effecti1e resource utili=ation. An ad'inistrator%'ana-ed data(ase3 ?.e data(ase instances are tied to specific ser1ers in t.e cluster. Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out ser1er pools and t.e different cluster data(ase 'ana-e'ent t,pes
&ee Also3

2.H &electin- an Installation ?,pe


6.en ,ou run Oracle Uni1ersal Installer (OUI) to install Oracle RAC+ ,ou can select t.e ?,pical or t.e Ad1anced installation t,pe. ?.e ?,pical installation t,pe installs a default confi-uration of Oracle 5ata(ase+ <it. (asic confi-uration c.oices. Oracle reco''ends t.at 'ost users select ?,pical as t.eir installation t,pe. ?.e Ad1anced installation t,pe is for custo'i=ed installations. @ou s.ould use Ad1anced installation onl, <.en ,ou .a1e a specific reBuire'ent for it+ suc. as addin- specific co'ponents to ,our installation+ reBuirin- different pass<ords for t.e &@&+ &@&?!7 and 59&N72 accounts+ usin- a different data(ase c.aracter set t.an is in use on ,our ser1ers+ c.an-in- product lan-ua-es+ or ot.er nonstandard confi-urations. If ,ou plan to use an, of t.e follo<in- options durin- installation+ t.en ,ou s.ould c.oose t.e Ad1anced Installation ?,pe3
O

2reconfi-ured 5ata(ase ?,pes &upplied <it. Oracle 5ata(ase Usin- Ad1anced 5ata(ase Confi-uration Installin- Oracle 5ata(ase <it. Ot.er Lan-ua-es

2.H.1 2reconfi-ured 5ata(ase ?,pes &upplied <it. Oracle 5ata(ase


?.e General 2urpose and ?ransaction 2rocessin- t,pe and t.e 5ata 6are.ouse t,pe use preconfi-ured data(ase te'plates opti'i=ed for eac. t,pe of data(ase. 5urin- installation+ OUI starts Oracle Net Confi-uration Assistant (N!?CA) and 59CA+ and installs t.e preconfi-ured data(ase <it.out furt.er input. 5urin- data(ase installation+ OUI displa,s a pro-ress indicator. 59CA processin- for t.ese t<o confi-uration t,pes creates a starter data(ase+ and confi-ures t.e Oracle net<or8 ser1ices.

2%F Oracle Real Application Clusters Installation Guide

&electin- a 5ata(ase Na'e

2.H.2 Usin- Ad1anced 5ata(ase Confi-uration


Ad1anced confi-uration options a1aila(le usin- t.is installation t,pe include Oracle RAC+ Auto'atic &tora-e 7ana-e'ent+ (ac8up and reco1er, confi-uration+ inte-ration <it. Oracle !nterprise 7ana-er Cloud Control+ 'ore fine%-rained 'e'or, tunin-+ and ot.er options.

2.H.* Installin- Oracle 5ata(ase <it. Ot.er Lan-ua-es


?o use lan-ua-es ot.er t.an t.e default (!n-lis.)+ eit.er for t.e data(ase or for applications runnin- on t.e data(ase+ ,ou 'ust use t.e Ad1anced Installation 'et.od.
&ee Also3

Oracle 5ata(ase Glo(ali=ation &upport Guide for detailed infor'ation a(out c.aracter sets and lan-ua-e confi-uration

2." &electin- an Oracle 5ata(ase Confi-uration ?,pe


6.en ,ou c.oose t.e Ad1anced Installation option in OUI+ t.en ,ou can select t.e General 2urpose0?ransaction 2rocessin-+ 5ata 6are.ouse+ or Ad1anced data(ase confi-uration t,pe. If ,ou c.oose t.e ?,pical Installation Option+ t.en t.e data(ase confi-uration t,pe defaults to General 2urpose0?ransaction 2rocessin-. If ,ou select Ad1anced confi-uration+ t.en ,ou can use Oracle 5ata(ase Confi-uration Assistant (59CA) to create t.e data(ase as descri(ed in C.apter 2+ EInstallin- Oracle 5ata(ase 12c <it. Oracle Real Application ClustersE. Oracle reco''ends t.at ,ou use 59CA to create ,our data(ase.

2.# &electin- a 5ata(ase Na'e


?.e data(ase na'e input field sets t.e follo<in- Oracle initiali=ation para'eter 1alues3
O

59QNA7! 59QUNIIU!QNA7! 59Q5O7AIN

In Oracle RAC en1iron'ents+ t.e data(ase na'e (59QUNIIU!QNA7!) portion is a strin- of no 'ore t.an *) c.aracters t.at can contain alp.anu'eric+ underscore (Q)+ dollar (R)+ and pound (T) c.aracters+ (ut 'ust (e-in <it. an alp.a(etic c.aracter. No ot.er special c.aracters are per'itted in a data(ase na'e. ?.e 59QNA7! para'eter for a data(ase is set to t.e first # c.aracters of t.e data(ase na'e. ?.e do'ain portion of t.e -lo(al data(ase na'e (59Q5O7AIN) can (e no 'ore t.an 12# c.aracters. 5o'ain na'es usin- underscores (Q) are not allo<ed. ?.e 1alues for 59QUNIIU!QNA7!.59Q5O7AIN in its entiret, 'ust (e uniBue <it.in t.e enterprise. >or exa'ple+ if ,our data(ase .as a -lo(al data(ase na'e of orlRracprod2GG1.exa'ple.co' <.ic. ,ou supplied durin- installation+ t.en t.e follo<in- 1alues are used for initiali=ation para'eters3
59QUNIIU!QNA7! 59Q5O7AIN 59QNA7! orlRracprod2GG1 exa'ple.co' orlRracp

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters

2%G

Creatin- 5ata(ase 2ass<ords

?.e &I5 prefix is t.e first # c.aracters of t.e data(ase na'e. ?.e &I5 prefix can contain onl, t.e c.aracters a%=+ A%A+ and )%$. ?.e &I5 prefix cannot contain operatin- s,ste' special c.aracters+ so if ,ou use special c.aracters in t.e first # c.aracters of t.e data(ase na'e+ t.en t.ese special c.aracters are o'itted in t.e &I5 prefix. ?.ere is a sin-le &I5 prefix for e1er, data(ase. ?.e &I5 prefix for a data(ase 'ust (e uniBue <it.in t.e cluster. >or an Oracle RAC data(ase+ eac. instance .as a uniBue identifier+ ORACL!Q&I5+ <.ic. consists of t.e &I5 prefix and an instance nu'(er. ?.e ORACL!Q&I5 for Oracle RAC data(ase instances is -enerated differentl,+ dependin- on .o< ,ou c.oose to 'ana-e t.e data(ase. If ,ou select a polic,%'ana-ed data(ase+ t.en Oracle -enerates t.e &I5 in t.e for'at na'eQT+ <.ere na'e is t.e first ei-.t alp.anu'eric c.aracters of 59QUNIIU!QNA7!+ and T is t.e instance nu'(er. If ,ou select an ad'inistrator%'ana-ed data(ase+ t.en 59CA -enerates t.e &I5 for t.e instance na'es in ad1ance+ and t.e &I5 is in t.e for'at na'eT. >or exa'ple+ if t.e 59QUNIIU!QNA7! for a data(ase is orlRracprod2GG1+ t.en t.e follo<in- &I5 1alues are used3
Dalue Used for ORACL!Q&I5 orlracpr orlracprQ1 orlracpr1

5ata(ase or Instance ?,pe &in-le%instance Oracle data(ase 2olic,%'ana-ed Oracle RAC instance Ad'in%'ana-ed Oracle RAC instance

2.$ Creatin- 5ata(ase 2ass<ords


Appl, t.e follo<in- -uidelines <.en specif,in- pass<ords3
O

2ass<ords 'ust (e (et<een # and *) c.aracters lon-. 2ass<ords 'ust (e fro' t.e A&CII c.aracter set. 2ass<ords 'ust not start <it. a nu'eral. 2ass<ords 'ust not (e t.e sa'e as t.e user na'e. 2ass<ords 'ust not (e Oracle reser1ed <ords. ?.e &@& account pass<ord 'ust not (e c.an-eQonQinstall. ?.e &@&?!7 account pass<ord 'ust not (e 'ana-er. ?o use t.e sa'e pass<ord for all t.e accounts+ ,ou 'ust use a pass<ord t.at is not c.an-eQonQinstall+ 'ana-er+ or d(sn'p. 2ass<ords s.ould .a1e at least 1 alp.a(etic+ 1 nu'eric+ and 1 punctuation c.aracter. 2ass<ords s.ould not (e si'ple or o(1ious <ords+ suc. as <elco'e+ account+ data(ase+ oracle+ or user.

2.1) Understandin- t.e Actions of OUI and 59CA 5urin- Installation


After installin- Oracle 5ata(ase+ OUI runs 59CA to create ,our data(ase+ in accordance <it. Opti'al >lexi(le Arc.itecture (O>A) -uidelines. An installation created follo<in- O>A -uidelines 'eans t.at 59CA creates ,our data(ase files+ includin- t.e default ser1er para'eter file (&2>IL!)+ usin- standard file na'in- and file place'ent practices.

2%H Oracle Real Application Clusters Installation Guide

Usin- Oracle Uni1ersal Installer to Install Oracle RAC

@ou can also use 59CA in standalone 'ode to create or delete a data(ase.
&ee Also3
O

C.apter *+ ECreatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration AssistantE Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide if ,ou experience pro(le's (for exa'ple+ <it. t.e listener confi-uration)+ and for 'ore infor'ation a(out Li-.t<ei-.t 5irector, Access 2rotocol (L5A2) support

2.1).1 7ana-in- 5ata(ase &er1ices After Installation


@ou cannot use 59CA to 'ana-e data(ase ser1ices for Oracle RAC data(ases. Use t.e &er1er Control Utilit, (&RDC?L)+ or use Oracle !nterprise 7ana-er 5ata(ase !xpress+ or Oracle !nterprise 7ana-er Cloud Control for all ad'inistration and 'onitorin- of data(ase ser1ices for an Oracle RAC data(ase. Oracle !nterprise 7ana-er Cloud Control is a1aila(le separatel, on t.e Oracle !nterprise 7ana-er Cloud Control installation 'edia+ and on t.e Oracle ?ec.nolo-, Net<or8 <e(site at t.e follo<in- <e(site3 .ttp300<<<.oracle.co'0tec.net<or80indexes0docu'entation0index..t 'l
&ee Also3
O

Oracle !nterprise 7ana-er Oracle 5ata(ase 2lu-%in Release Notes Oracle !nterprise 7ana-er Real Application Clusters Guide Online ;elp for ser1ice 'ana-e'ent usin- Oracle !nterprise 7ana-er

2.11 Usin- Oracle Uni1ersal Installer to Install Oracle RAC


?o install Oracle 5ata(ase 12c Release 1 (12.1) <it. Oracle RAC3
1.

!nsure t.at ,ou can access ot.er nodes <it. &&;. OUI reBuires t.at t.e user account runnin- t.e Oracle RAC installation is per'itted to set up pass<ordless &&;. OUI can set t.is up for ,ou auto'aticall,+ or ,our s,ste' ad'inistrator can set t.is up for ,ou (efore installation is started. Open t.e ter'inal fro' <.ic. ,ou intend to run OUI+ and lo- in as t.e user account t.at ,ou <ant to o<n t.e Oracle 5ata(ase installation (for exa'ple+ oracle). If ,ou are not a(le to turn off stt, co''ands+ or .a1e ot.er restrictions t.at <ould pre1ent auto'atic &&; confi-uration fro' <it.in OUI+ t.en ,ou 'ust ensure t.at &&; is confi-ured and ena(led (efore ,ou proceed to start OUI.

2.

*.

!nsure t.at ,ou .a1e su or sudo credentials+ (ecause ,ou <ill (e pro'pted to run a script as t.e root user durin- installation. &tart t.e runInstaller co''and fro' t.e Oracle 5ata(ase 12c Release 1 (12.1) installation 'edia or install (inar, do<nload area. >or exa'ple+ if t.e soft<are (inar, do<nload area is 0.o'e0oracle0oracles<+ enter t.e follo<inco''ands3
R cd 0.o'e0oracle0oracles< R .0runInstaller

F.

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters

2%"

Usin- Oracle Uni1ersal Installer to Install Oracle RAC One Node

G.

(Optional) ?o use t.e &oft<are Updates option to o(tain t.e 'ost current s,ste' reBuire'ent updates+ and ot.er reco''ended updates for installation+ eit.er use a 1alid 7, Oracle &upport userna'e and pass<ord+ or pro1ide t.e pat. to a do<nloaded &oft<are Updates option pac8a-e <.en pro'pted. 2ro1ide infor'ation or run scripts as root <.en pro'pted (, OUI. If ,ou need assistance durin- installation+ clic8 ;elp. Clic8 5etails to exa'ine t.e lo- file.

H.

@ou can run t.e root.s. script si'ultaneousl, on all nodes in t.e cluster for Oracle RAC installations or up-rades.
Note3

If ,ou encounter pro(le's durin- installation+ t.en exa'ine t.e OUI actions recorded in t.e installation lo- file. ?.e lo- file is located in t.e Oracle In1entor, director, <it. a na'e t.at includes t.e ti'e sta'p (dateQti'e) of t.e installation process+ as s.o<n in t.is exa'ple3
OraIn1entor,0lo-s0installActionsdateQti'e.lo-

5o not install t.e Oracle 5ata(ase <it. Oracle RAC soft<are into t.e sa'e .o'e in <.ic. ,ou installed Oracle Grid Infrastructure soft<are.
Caution3

Note t.at (ecause Oracle A&7 is part of t.e Oracle Grid Infrastructure .o'e+ it cannot (e up-raded durin- an Oracle RAC installation.

6.en ,ou .a1e co'pleted t.e second and final p.ase of t.e installation+ proceed to C.apter F+ EOracle Real Application Clusters 2ostinstallation 2roceduresE to perfor' t.e postinstallation tas8s. After ,ou co'plete t.e installation create t.e data(ase+ if ,ou decide to install additional Oracle 5ata(ase 12c Release 1 (12.1) products in t.e data(ase+ t.en ,ou 'ust stop all processes runninin t.e Oracle .o'e (efore installin- t.e additional products. >or OUI to relin8 certain executa(les and li(raries+ ,ou 'ust stop all data(ase processes. Refer to Appendix 5+ E;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(aseE for additional infor'ation.
Caution3

2.12 Usin- Oracle Uni1ersal Installer to Install Oracle RAC One Node
?o install Oracle RAC One Node3
1.

Open t.e ter'inal fro' <.ic. ,ou intend to run OUI+ and lo- in as t.e user account t.at ,ou <ant to o<n t.e Oracle 5ata(ase installation (for exa'ple+ oracle). If ,ou are not a(le to turn off stt, co''ands+ or .a1e ot.er restrictions t.at <ould pre1ent auto'atic &&; confi-uration fro' <it.in OUI+ t.en ,ou 'ust ensure t.at &&; is confi-ured and ena(led (efore ,ou start OUI.

2.

!nsure t.at ,ou .a1e su or sudo credentials+ (ecause ,ou <ill (e pro'pted to run a script as t.e root user durin- installation.

2%# Oracle Real Application Clusters Installation Guide

Installin- t.e Oracle 5ata(ase Dault Option

@ou can select &oft<are Updates option to o(tain t.e 'ost current s,ste' reBuire'ent updates+ and ot.er reco''ended updates for installation. ?o select t.is option+ use a 1alid 7, Oracle &upport userna'e and pass<ord+ or pro1ide t.e pat. to a do<nloaded &oft<are Updates option pac8a-e <.en pro'pted.
*.

&tart t.e runInstaller co''and fro' t.e Oracle 5ata(ase 12c Release 1 (12.1) installation 'edia or install (inar, do<nload area. >or exa'ple+ <.ere t.e soft<are (inar, do<nload area is 0.o'e0oracle0oracles<+ enter t.e follo<inco''ands3
R cd 0.o'e0oracle0oracles< R .0runInstaller

F.

&elect to confi-ure an Oracle RAC One Node data(ase+ and select to install Oracle RAC on all nodes <.ere Oracle RAC One Node <ill run. 2ro1ide infor'ation <.en pro'pted (, OUI. If ,ou need assistance durininstallation+ clic8 ;elp. Clic8 5etails to see t.e lo- file.

G.

@ou can run t.e root.s. script si'ultaneousl, on all nodes in t.e cluster for Oracle RAC installations or up-rades.
Note3

If ,ou encounter pro(le's durin- installation+ t.en exa'ine t.e OUI actions recorded in t.e installation lo- file. ?.e lo- file is located in t.e Oracle In1entor, director, <it. a na'e t.at includes t.e ti'esta'p (dateQti'e) of t.e install process+ as s.o<n in t.is exa'ple3
OraIn1entor,0lo-s0installActionsdateQti'e.lo-

?.e Oracle .o'e na'e and pat. t.at ,ou pro1ide durindata(ase installation 'ust (e different fro' t.e .o'e t.at ,ou used durin- t.e Oracle Grid Infrastructure installation in p.ase one. @ou 'ust not install Oracle 5ata(ase <it. Oracle RAC soft<are into t.e sa'e .o'e in <.ic. ,ou installed t.e Oracle Grid Infrastructure for a cluster soft<are.
Caution3

Note t.at (ecause Oracle A&7 is part of t.e Oracle Grid Infrastructure .o'e+ it cannot (e up-raded durin- an Oracle RAC installation.

2.1* Installin- t.e Oracle 5ata(ase Dault Option


Installin- and confi-urin- Oracle 5ata(ase Dault reBuires actions durin- and after installation+ as descri(ed in t.e follo<in- topics3
O

&tartin- t.e Listener <it. Oracle 5ata(ase Dault Installations Confi-urin- Oracle 5ata(ase Dault Usin- 59CA Oracle 5ata(ase Dault Ad'inistratorKs Guide for infor'ation a(out t.e 5ata(ase Dault accounts and roles t.at are confi-ured durin- installation
&ee Also3

Installin- Oracle 5ata(ase 12c <it. Oracle Real Application Clusters

2%$

Installin- t.e Oracle 5ata(ase Dault Option

2.1*.1 &tartin- t.e Listener <it. Oracle 5ata(ase Dault Installations


@ou 'ust start t.e listener and data(ase instance on all Oracle RAC nodes ot.er t.an t.e one on <.ic. t.e installation is perfor'ed. @ou 'ust use &er1er Control (&RDC?L) to start and stop t.e Oracle RAC instances (ein- confi-ured for Oracle 5ata(ase Dault. 5o not use &ILS2lus to start and stop Oracle RAC instances.

2.1*.2 Confi-urin- Oracle 5ata(ase Dault Usin- 59CA


@ou can confi-ure Oracle 5ata(ase Dault after installation usin- 59CA+ or c.oose not to confi-ure Oracle 5ata(ase Dault. ?o install Oracle 5ata(ase Dault usin- 59CA3
1. 2. *. F.

After installin- Oracle RAC+ create t.e data(ase. &tart 59CA and select t.e option Confi-ure 5ata(ase. In t.e co'ponent list+ select Oracle La(el &ecurit, and Oracle 5ata(ase Dault. 2ro1ide t.e reBuired Oracle 5ata(ase Dault user I5s and pass<ords to proceed <it. confi-uration. ?o ena(le a separate Oracle 5ata(ase Dault ad'inistrator+ c.oose to confi-ure t.e 5DQACC?7GR user. After ,ou .a1e finis.ed+ restart eac. node to finis. t.e soft<are confi-uration.

G.

2%1) Oracle Real Application Clusters Installation Guide

*
*

Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant
?.is c.apter descri(es .o< to use 5ata(ase Confi-uration Assistant (59CA) in standalone 'ode to create and delete Oracle Real Application Clusters (Oracle RAC) data(ases. ?.e topics in t.is c.apter include t.e follo<in-3
O

Usin- 5ata(ase Confi-uration Assistant <it. Oracle RAC 9enefits of Usin- 5ata(ase Confi-uration Assistant Auto'atic Listener 7i-ration fro' !arlier Releases Derif,in- ReBuire'ents for 59CA Creatin- an Oracle RAC 5ata(ase <it. 59CA Usin- 59CA to Confi-ure Oracle RAC One Node 5eletin- an Oracle RAC 5ata(ase Usin- 59CA

*.1 Usin- 5ata(ase Confi-uration Assistant <it. Oracle RAC


59CA .as t.e follo<in- pri'ar, data(ase functions3
O

Create and delete data(ases Create data(ase te'plates Create+ plu-+ unplu-+ and delete plu--a(le data(ases (259s) Add and delete data(ase instances Re-ister data(ases in Oracle !nterprise 7ana-er Cloud Control Confi-ure and re-ister data(ase options (suc. as Oracle 5ata(ase Dault) <it. t.e 5irector, &er1er Cluster 7ana-ed &er1ices are no lon-er 'ana-ed t.rou-. 59CA. Instead+ use t.e Cluster 7ana-ed &er1ices pa-e in Oracle !nterprise 7ana-er Cloud Control+ if a1aila(le+ or &RDC?L. >or 'ore infor'ation+ see Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide.
Note3

Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant

*%1

9enefits of Usin- 5ata(ase Confi-uration Assistant

&ee Also3
O

ECreatin- an Oracle RAC 5ata(ase <it. 59CAE on pa-e *%* for 'ore infor'ation a(out usin- 59CA in standalone 'ode Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide to resol1e pro(le'sUfor exa'ple+ <it. t.e listener confi-urationUand for furt.er infor'ation a(out Li-.t<ei-.t 5irector, Access 2rotocol (L5A2)%co'pliant director, support

*.2 9enefits of Usin- 5ata(ase Confi-uration Assistant


Oracle reco''ends t.at ,ou use 59CA to create ,our Oracle RAC data(ase+ (ecause preconfi-ured data(ases opti'i=e ,our en1iron'ent for features suc. as t.e ser1er para'eter file (&2>IL!)+ and auto'atic undo 'ana-e'ent. 59CA ena(les ,ou to create (ot. polic,%'ana-ed and ad'inistrator%'ana-ed data(ases. 6it. 59CA+ ,ou can also create site%specific ta(lespaces as part of data(ase creation. If ,ou .a1e data file reBuire'ents t.at differ fro' t.ose offered (, 59CA te'plates+ t.en create ,our data(ase <it. 59CA and 'odif, t.e data files later. @ou can also run user%specified scripts as part of ,our data(ase creation process. 59CA also confi-ures ,our Oracle RAC en1iron'ent for 1arious Oracle .i-. a1aila(ilit, features+ suc. as cluster ad'inistration tools. 59CA also starts an, data(ase instances reBuired to support ,our defined confi-uration. @ou can use 59CA to create a data(ase fro' te'plates supplied (, Oracle+ or fro' te'plates t.at ,ou create. ?.e te'plates contain settin-s opti'i=ed for a particular t,pe of <or8load. Oracle s.ips te'plates for t.e follo<in- t<o <or8load t,pes3
O

General purpose or transaction processin5ata <are.ouse

>or 'ore co'plex en1iron'ents+ ,ou can select t.e Custo' 5ata(ase option. ?.is option does not use te'plates and results in a 'ore extensi1e inter1ie<+ <.ic. 'eans t.at it ta8es lon-er to create ,our data(ase. Clic8 &.o< 5etails to see t.e confi-uration for eac. t,pe of data(ase. &elect t.e te'plate suited to t.e t,pe of <or8load ,our data(ase <ill support. If ,ou are not sure <.ic. to c.oose+ t.en select t.e default General 2urpose or ?ransaction 2rocessinte'plate.

*.* Auto'atic Listener 7i-ration fro' !arlier Releases


If ,our s,ste' .as an Oracle 5ata(ase 1)- or 11- installation+ and ,ou install Oracle 5ata(ase 12c Release 1 (12.1) eit.er to coexist <it. or to up-rade t.e Oracle 5ata(ase 1).1+ 1).2+ 11.1+ or 11.2 installation+ t.en 'ost installation t,pes auto'aticall, 'i-rate t.e existin- Oracle 5ata(ase listener to t.e 12c Release 1 (12.1) Oracle .o'e. 5urin'i-ration+ t.e up-rade process confi-ures and starts a default Oracle Net listener usin- t.e sa'e ?C20I2 port as t.e existin- listener+ <it. t.e I2C 8e, 1alue. 5urin- t.e Oracle Cluster<are up-rade+ t.e default listener (LI&?!N!RQNO5!NA7!) <as 'i-rated to t.e Oracle Grid Infrastructure .o'e (Grid .o'e). 59CA al<a,s uses t.e default listener. ?.e listener 'i-ration process stops t.e listener in t.e existin- Oracle .o'e+ and restarts it in t.e ne< Oracle .o'e. If t.e data(ase <as usin- t.e default listener (LI&?!N!RQNO5!NA7!)+ t.en Oracle Net Confi-uration Assistant (N!?CA) 'i-rates
*%2 Oracle Real Application Clusters Installation Guide

Creatin- an Oracle RAC 5ata(ase <it. 59CA

t.e listener auto'aticall, to t.e Grid .o'e as part of t.e Oracle Grid Infrastructure up-rade. If t.e data(ase <as usin- a nondefault listener+ t.en 5ata(ase Up-rade Assistant (59UA) 'i-rates t.e nondefault listener to t.e Oracle 5ata(ase .o'e. 5urin- 'i-ration+ client applications 'a, not (e a(le to connect to an, data(ases t.at are re-istered to t.e listener t.at is (ein'i-rated.
Note3

*.F Derif,in- ReBuire'ents for 59CA


?o use 5ata(ase Confi-uration Assistant (59CA) to c.an-e t.e data(ase confi-uration+ run Cluster Derification Utilit, (CDU) to 1erif, t.at ,our s,ste' is prepared for confi-uration c.an-es usin- t.e follo<in- co''and s,ntax3
0GridQ.o'e0(in0clu1f, sta-e %pre d(cf- %fixup %n nodeQlist %d OracleQ.o'e V%1er(oseW

In t.e precedin- s,ntax exa'ple+ t.e 1aria(le GridQ.o'e is t.e Oracle Grid Infrastructure .o'e+ t.e 1aria(le nodeQlist is t.e list of nodes in ,our cluster+ separated (, co''as+ and t.e 1aria(le OracleQ.o'e is t.e pat. for t.e Oracle .o'e director, <.ere OUI creates or 'odifies t.e data(ase. ?.e %fixup fla- -enerates a fixup script t.at can (e run as root to resol1e 'an, operatin- s,ste' confi-uration tas8s if t.e, <ere not co'pleted (efore ,ou run t.e c.ec8. >or exa'ple+ to 1erif, t.at ,our s,ste' is prepared for an Oracle 5ata(ase <it. Oracle RAC installation on a t<o%node cluster <it. nodes node1 and node2+ <it. t.e Oracle Grid Infrastructure .o'e pat.0u)10app012.1.)0-rid+ and <it. t.e Oracle .o'e pat. 0u)10app0oracle0product012.1.)0d(1+ enter t.e follo<in- co''and3
R 0u)10app012.1.)0-rid0(in0clu1f, sta-e %pre d(cf- %fixup %n node1+node2 %dX 0u)10app0oracle0product012.1.)0d(1

@ou can select t.e option %1er(ose to recei1e pro-ress updates as CDU perfor's its s,ste' c.ec8s+ and detailed reportin- of t.e test results. If t.e CDUsu''ar, indicates t.at t.e cluster 1erification c.ec8 fails+ and ,ou cannot resol1e t.ese issues (, runnin- t.e fixup script+ t.en re1ie< and correct t.e rele1ant s,ste' confi-uration steps+ and run t.e test a-ain.

*.G Creatin- an Oracle RAC 5ata(ase <it. 59CA


?o create a data(ase <it. 59CA+ ,ou 'ust .a1e run t.e Oracle Net Confi-uration Assistant (N!?CA) to confi-ure ,our Oracle Net listener.ora file. @ou no lon-er need to set t.e operatin- s,ste' en1iron'ent 1aria(les ORACL!Q;O7! to t.e Oracle RAC data(ase .o'e+ or ORACL!QUNINA7! to t.e data(ase uniBue na'e. @ou can no lon-er set up e'ail notification for Oracle RAC data(ases eit.er fro' 59CA or OUI.
Note3

?.is section contains t.e follo<in- topics a(out usin- 59CA <it. Oracle RAC3
O

?as8s to Co'plete 9efore Usin- 59CA to Create an Oracle RAC 5ata(ase Usin- 59CA to Create an Oracle RAC 5ata(ase

Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant

*%*

Creatin- an Oracle RAC 5ata(ase <it. 59CA

*.G.1 ?as8s to Co'plete 9efore Usin- 59CA to Create an Oracle RAC 5ata(ase
9efore ,ou can create an Oracle RAC data(ase usin- 59CA ,ou 'ust confi-ure ,our s,ste' to 'eet t.e soft<are reBuire'ents+ if t.is <as not done as part of t.e Oracle Grid Infrastructure installation. ?.e follo<in- sections descri(e so'e co''on tas8s ,ou 'ust perfor'3
O

Load &&; 4e,s Into 7e'or, 9efore &tartin- 59CA 5ecide on a Na'in- Con1ention to Use for @our Oracle RAC 5ata(ase Confi-ure &.ared &tora-e for t.e Oracle RAC 5ata(ase

*.G.1.1 Load &&; 4e,s Into 7e'or, 9efore &tartin- 59CA


In an Oracle RAC en1iron'ent+ ,ou 'ust load &&; 8e,s into 'e'or, for t.e ter'inal session <.ere ,ou start 59CA. If ,ou do not do t.is+ t.en ,ou recei1e user eBui1alenc, errors <.en ,ou atte'pt to start 59CA. If ,ou use a pass p.rase on ,our s,ste' for &&;+ t.en ,ou 'ust pro1ide t.e pass p.rase to load t.e &&; 8e,s. Use t.e follo<in- co''ands to load &&; 8e,s3
R exec 0usr0(in0ss.%a-ent R&;!LL R 0usr0(in0ss.%add

If needed+ pro1ide t.e pass p.rase <.en pro'pted. @ou can t.en start 59CA.

*.G.1.2 5ecide on a Na'in- Con1ention to Use for @our Oracle RAC 5ata(ase
?.e -lo(al data(ase na'e can (e up to *) c.aracters in len-t.+ and 'ust (e-in <it. an alp.a(etic c.aracter. ?.e do'ain portion of t.e -lo(al data(ase na'e can (e no 'ore t.an 12# c.aracters and can contain onl, alp.a(etic and nu'eric c.aracters+ and t.e period (.) c.aracter. ?.e 'axi'u' nu'(er of c.aracters ,ou can use for t.e &I5 prefix is # c.aracters. 59CA uses t.e &I5 prefix to -enerate a uniBue 1alue for t.e 1aria(le ORACL!Q&I5 for eac. instance. ?.e &I5 prefix 'ust (e-in <it. an alp.a(etic c.aracter.

*.G.1.* Confi-ure &.ared &tora-e for t.e Oracle RAC 5ata(ase


9efore startin- 59CA to confi-ure an Oracle RAC data(ase+ ,ou 'ust .a1e installed Oracle Grid Infrastructure for a cluster+ and ,ou 'ust .a1e confi-ured s.ared stora-e areas for Oracle RAC files. &tora-e ad'inistration tas8s reBuire t.e &@&A&7 s,ste' pri1ile-es+ <.ic. are -ranted to 'e'(ers of t.e O&A&7 operatin- s,ste' -roup. ?.is -roup 'a, not (e t.e sa'e as t.e O&59A -roup+ <.ose 'e'(ers are -ranted t.e &@&59A s,ste' pri1ile-es. &ee Oracle Grid Infrastructure Installation Guide for ,our platfor' for 'ore infor'ation a(out s.ared stora-e confi-uration reBuire'ents.

*.G.2 Usin- 59CA to Create an Oracle RAC 5ata(ase


?.is section descri(es .o< to use 59CA to create an Oracle RAC data(ase3
O

&tartin- 59CA Cluster 5etection and Node &election <.en Usin- 59CA Usin- 59CA to &elect &tora-e to Use 6it. Oracle RAC 5ata(ase Usin- 59CA to &pecif, 5ata(ase Initiali=ation 2ara'eters for Oracle RAC Actions 2erfor'ed 9, 59CA for Oracle RAC 5ata(ases

*%F Oracle Real Application Clusters Installation Guide

Creatin- an Oracle RAC 5ata(ase <it. 59CA

*.G.2.1 &tartin- 59CA


?o start 59CA+ connect as t.e installation o<ner account (for exa'ple+ oracle) to one of ,our nodes <.ere Oracle RAC is installed+ load &&; 8e,s into 'e'or,+ and enter t.e co''and d(ca fro' t.e RORACL!Q;O7!0(in director,. @ou no lon-er need to set t.e operatin- s,ste' en1iron'ent 1aria(les ORACL!Q;O7! to t.e Oracle RAC data(ase .o'e+ or ORACL!QUNINA7! to t.e data(ase uniBue na'e.
Note3

*.G.2.2 Cluster 5etection and Node &election <.en Usin- 59CA


6.en ,ou start 59CA+ it auto'aticall, s.o<s Oracle RAC options if it detects fro' t.e central Oracle In1entor, t.at t.e Oracle .o'e is ena(led for Oracle RAC. If 59CA does not auto'aticall, displa, Oracle RAC options+ t.en 59CA <as una(le to detect if t.e Oracle .o'e is installed on a cluster. In t.is case+ c.ec8 t.at t.e OUI in1entor, is correctl, located in t.e director, 0etc0oraInst.loc+ and t.at t.e oraIn1entor, file is not corrupted. Also+ perfor' cluster<are dia-nostics (, usint.e follo<in- CDU co''and s,ntax3
0GridQ.o'e0(in0clu1f,0clu1f,.s. sta-e %post crsinst %n nodelist

>or exa'ple+ <it. t.e 'ountpoint 0u)10app012.1.)0-rid+ and nodes node1 and node2+ run t.e follo<in- co''and3
R 0u)10app012.1.)0-rid0(in0clu1f, sta-e %post crsinst %n node1+node2

Note t.at <.en usin- 59CA+ if nodes t.at are part of ,our cluster installation do not appear on t.e Node &election pa-e+ t.en run t.e Opatc. lsin1entor, co''and to perfor' in1entor, dia-nostics. Also use CDU to perfor' cluster<are dia-nostics.

*.G.2.* Usin- 59CA to &elect &tora-e to Use 6it. Oracle RAC 5ata(ase
@ou can c.oose to use eit.er Oracle A&7 dis8-roups or a supported cluster file s,ste' as stora-e. On t.e &pecif, 5ata(ase &tora-e Options pa-e+ if ,ou do not see t.e dis8-roups in 59CA+ t.en eit.er Oracle A&7 is not confi-ured+ or dis8-roups are not 'ounted. @ou can create dis8-roups usin- A&7CA in t.e Grid Infrastructure .o'e (efore startin59CA. If ,ou are usin- Oracle A&7 or cluster file s,ste' stora-e+ t.en ,ou can also select t.e >ast Reco1er, Area and si=e on t.is pa-e. If ,ou are usin- Oracle A&7+ t.en t.e >ast Reco1er, Area defaults to t.e Oracle A&7 5is8 Group.

*.G.2.F Usin- 59CA to &pecif, 5ata(ase Initiali=ation 2ara'eters for Oracle RAC
On t.e Initiali=ation 2ara'eters pa-e+ if ,ou intend to add 'ore nodes in ,our cluster t.an ,ou .a1e durin- t.e current 59CA session+ t.en clic8 All Initiali=ation 2ara'eters+ and c.an-e t.e para'eter CLU&?!RQ5A?A9A&!QIN&?ANC!& to t.e total nu'(er of nodes t.at ,ou plan to add to t.e cluster. In addition+ if ,ou clic8 All Initiali=ation 2ara'eters+ note t.at if ,our -lo(al data(ase na'e is lon-er t.an # c.aracters+ t.en t.e data(ase na'e 1alue (in t.e 59QNA7! para'eter) is truncated to t.e first # c.aracters+ and t.e 59QUNIIU!QNA7! para'eter 1alue is set to t.e -lo(al na'e.

Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant

*%G

Usin- 59CA to Confi-ure Oracle RAC One Node

If ,ou are installin- on a Linux s,ste'+ note t.at 7e'or, &i=e (&GA and 2GA)+ <.ic. sets t.e initiali=ation para'eter 7!7OR@Q?ARG!? or 7!7OR@Q7A Q?ARG!?+ cannot (e -reater t.an t.e s.ared 'e'or, file s,ste' on ,our operatin- s,ste'. >or exa'ple+ if t.e s.ared 'e'or, file s,ste' allocation on ,our s,ste' is 1 G9+ (ut ,ou set 7e'or, &i=e (7!7OR@Q?ARG!?) to 2 G9+ t.en ,ou recei1e t.e follo<in- error durin- data(ase startup3
ORA%))#FG3 7!7OR@Q?ARG!? not supported on t.is s,ste' ORA%)1)"#3 >ailure in processin- s,ste' para'eters

?.is issue is not rele1ant for ot.er platfor's. Oracle 5ata(ase Ad'inistratorKs Guide for infor'ation a(out initiali=ation para'eters
&ee Also3

*.G.2.G Actions 2erfor'ed 9, 59CA for Oracle RAC 5ata(ases


After ,ou respond to 59CA pro'pts+ re1ie< t.e &u''ar, dialo- infor'ation and clic8 O4+ 59CA does t.e follo<in-3
O

Creates an Oracle RAC data(ase+ and its instances Creates t.e Oracle RAC data dictionar, 1ie<s &tarts t.e Oracle Cluster<are .i-. a1aila(ilit, ser1ices After ,ou .a1e created t.e Oracle RAC data(ase+ if ,ou decide to install additional Oracle 5ata(ase products in t.e Oracle RAC data(ase ,ou .a1e created+ t.en (efore ,ou atte'pt to install t.e products+ ,ou 'ust stop all processes runnin- in t.e Oracle RAC data(ase .o'es.
Caution3

@ou 'ust stop all processes runnin- in t.e Oracle RAC .o'es so t.at Oracle Uni1ersal Installer can relin8 certain executa(les and li(raries. Refer to Appendix 5+ E;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(aseE for additional infor'ation.

*.H Usin- 59CA to Confi-ure Oracle RAC One Node


If ,ou .a1e selected to install onl, t.e Oracle RAC soft<are on cluster nodes+ t.en ,ou can use Oracle 5ata(ase Confi-uration Assistant (59CA) to confi-ure Oracle RAC One Node.
O

Usin- 59CA to Confi-ure &er1ices on Oracle RAC One Node <it. C59s Usin- 59CA to Confi-ure Non%C59s Oracle ?ec.nolo-, Net<or8 for 'ore infor'ation a(out Oracle RAC One Node3
&ee Also3 .ttp300<<<.oracle.co'0tec.net<or80data(ase0clusterin-0o1e r1ie<0

*.H.1 Usin- 59CA to Confi-ure &er1ices on Oracle RAC One Node <it. C59s
5urin- installation+ if ,ou select a 'ultitenant container data(ase (C59)+ and confi-ure plu--a(le data(ases (259s)+ t.en Oracle reco''ends t.at ,ou add ser1ices

*%H Oracle Real Application Clusters Installation Guide

5eletin- an Oracle RAC 5ata(ase Usin- 59CA

to t.e 259s after installation. If ,ou do not add ser1ices to 259s+ and t.en t.e Oracle RAC One Node C59 fails o1er to anot.er node+ or ,ou 'anuall, relocate t.e C59 to anot.er node+ t.en (, default+ all 259s associated <it. t.e C59 t.at do not .a1e re-istered ser1ices are restarted in 7OUN?!5 state. 259s are opened in Read 6rite 'ode after failo1er or relocation onl, after ,ou .a1e confi-ured t.e 259s to .a1e associated ser1ices. If ,ou .a1e not associated ser1ices to 259s+ t.en t.e 259s re'ains in 7OUN?!5 state <.en t.e C59 instance restarts. ?o add ser1ices to a 259+ use t.e follo<in- sr1ctl co''and s,ntax+ <.ere cd(na'e is t.e na'e of t.e C59+ ser1iceQna'e is t.e na'e of t.e ser1ice+ and pd(na'e is t.e na'e of t.e 2593
sr1ctl add ser1ice %d cd(na'e %s ser1iceQna'e %pd( pd(na'e

After ,ou add ser1ices to ,our 259s+ if ,ou relocate t.e C59 <it. <.ic. t.e 259s are associated+ or t.e C59 fails o1er+ t.en t.e 259s associated <it. t.at C59 auto'aticall, open in Read 6rite state. Oracle 5ata(ase Concepts and Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out 259s and addin- ser1ices
&ee Also3

*.H.2 Usin- 59CA to Confi-ure Non%C59s


After installation+ start 59CA. >ro' t.e 5ata(ase Operation pa-e+ select t.e option Create 5ata(ase. On t.e Creation 7ode pa-e+ select Ad1anced 7ode. On t.e 5ata(ase ?e'plate pa-e+ select Oracle RAC One Node data(ase. &electin- one node deplo,s Oracle RAC One Node on a sin-le node. Oracle reco''ends t.at ,ou select all nodes in t.e cluster to <.ic. ,ou <ant Oracle RAC One Node to (e a(le to fail o1er. If ,ou select less t.an t<o nodes+ or create ser1er pools <it. a cardinalit, of 2 or 'ore+ t.en 59CA posts a <arnin- 'essa-e t.at t.e confi-uration ,ou select <ill not support failo1er of t.e Oracle RAC One Node instance. 6.en ,ou create an ad'inistrator%'ana-ed Oracle RAC One Node data(ase+ note t.at <.ile t.e data(ase is started on onl, one of t.e pool of nodes ,ou installed t.e (inaries+ all t.e candidate ser1ers are placed into t.e Generic ser1er pool. If t.e ser1ers are not alread, in Generic or >ree+ t.en t.is 'a, result in stoppin- resources t.at are runnin- on candidate ser1ers.

*." 5eletin- an Oracle RAC 5ata(ase Usin- 59CA


5eletin- an Oracle RAC data(ase usin- 59CA in1ol1es first deletin- t.e data(ase+ and t.en re'o1in- t.e data(aseKs initiali=ation para'eter files+ instances+ Opti'al >lexi(le Arc.itecture (O>A) structure+ and t.e Oracle net<or8 confi-uration for t.e data(ase. ?o delete a data(ase usin- 59CA3
1.

&tart 59CA on one of t.e nodes3


O

Run t.e d(ca co''and fro' t.e RORACL!Q;O7!0(in director,.

59CA displa,s t.e Operations pa-e+ displa,in- different data(ase deplo,'ent options.
2.

&elect 5elete a data(ase+ and clic8 Next. 59CA displa,s a list of all Oracle RAC and sin-le%instance data(ases runnin- fro' t.e Oracle .o'e <.ere 59CA is run.

Creatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration Assistant

*%"

5eletin- an Oracle RAC 5ata(ase Usin- 59CA

*.

If ,our user I5 and pass<ord are not operatin-%s,ste' aut.enticated+ t.en t.e List of Cluster 5ata(ases pa-e displa,s t.e user na'e and pass<ord fields. If t.ese fields appear+ t.en enter a user I5 and pass<ord for a user account t.at .as &@&59A pri1ile-es. &elect t.e data(ase to delete+ and clic8 >inis.. After ,ou clic8 >inis.+ 59CA displa,s a dialo- (ox to confir' t.e data(ase and instances t.at ,ou .a1e confi-ured 59CA to delete.

F.

G.

Clic8 O4 to (e-in t.e deletion of t.e data(ase and its associated files+ ser1ices+ and en1iron'ent settin-s+ or clic8 Cancel to stop t.e operation.

6.en ,ou clic8 O4+ 59CA continues t.e operation and deletes all t.e associated instances for t.is data(ase. 59CA also re'o1es t.e para'eter files+ pass<ord files+ and orata( entries. At t.is point+ ,ou .a1e acco'plis.ed t.e follo<in-3
O

5eleted t.e selected Oracle RAC data(ase fro' t.e cluster 5eleted .i-. a1aila(ilit, ser1ices assi-ned to t.e Oracle RAC data(ase 5eleted t.e Oracle Net confi-uration for t.e Oracle RAC data(ase 5econfi-ured Oracle !nterprise 7ana-er for t.e Oracle RAC data(ase 5eleted t.e O>A director, file structure for t.at Oracle RAC data(ase fro' t.e cluster 5eleted t.e Oracle RAC data(ase data files

*%# Oracle Real Application Clusters Installation Guide

F
F

Oracle Real Application Clusters 2ostinstallation 2rocedures

?.is c.apter descri(es .o< to co'plete t.e postinstallation tas8s after ,ou .a1e installed t.e Oracle 5ata(ase 12c Release 1 (12.1) <it. Oracle Real Application Clusters (Oracle RAC) soft<are. ?.is c.apter contains t.e follo<in- topics3
O

ReBuired 2ostinstallation ?as8s Reco''ended 2ostinstallation ?as8s Oracle Confi-uration 7ana-er 2ostinstallation Confi-uration for Oracle RAC !na(lin- and 5isa(lin- 5ata(ase Options After Installation ?.is c.apter descri(es onl, (asic confi-urations. Refer to Oracle 5ata(ase Ad'inistratorKs Guide+ and t.e product ad'inistration and tunin- -uides for 'ore detailed confi-uration and tunin- infor'ation. Refer also to Oracle 5ata(ase Installation Guide for ,our platfor' for additional postinstallation confi-uration infor'ation.
Note3

F.1 ReBuired 2ostinstallation ?as8s


2erfor' t.e follo<in- tas8s after co'pletin- ,our installation3
O

&et !xternal :o(s O<ners.ip for Installations on ;2%U Confi-ure Oracle 2roducts

F.1.1 &et !xternal :o(s O<ners.ip for Installations on ;2%U


On ;2%U platfor's onl,+ co'plete t.e follo<in- procedure to set external Co(s o<ners.ip to t.e lo<%pri1ile-e user extCo(3
1. 2.

Lo- on as root. C.an-e director, to t.e Oracle 5ata(ase Oracle .o'e3


T cd RORACL!Q;O7!0rd('s0ad'in0

*.

Open externalCo(.ora <it. a text editor+ and find t.e para'eters runQuser and runQ-roup. &et runQuser to t.e external Co(s user (extCo()+ and set runQ-roup to a lo<%pri1ile-ed -roup+ suc. as ot.er. >or exa'ple3

F.

Oracle Real Application Clusters 2ostinstallation 2rocedures

F%1

ReBuired 2ostinstallation ?as8s

runQuserMextproc runQ-roupMot.er G.

&a1e t.e file.


Note3

7odif, externalCo(.ora onl, as root.

F.1.2 Confi-ure Oracle 2roducts


7an, Oracle products and options 'ust (e confi-ured (efore ,ou use t.e' for t.e first ti'e. 9efore usin- indi1idual Oracle 5ata(ase 12c Release 1 (12.1) data(ase products or options+ refer to t.e 'anual in t.e product docu'entation li(rar,+ <.ic. is a1aila(le on t.e Oracle ?ec.nolo-, Net<or8 (O?N) at3 .ttp300docs.oracle.co' Refer to t.ese sections for infor'ation a(out confi-urin- 1arious products and features after installation3
O

Confi-urin- Oracle 5ata(ase Dault Confi-urin- Oracle 5ata(ase &ecurit, &ettin-s Confi-urin- Oracle La(el &ecurit, Confi-urin- Oracle 7L 59 Confi-urin- &tora-e for !xternal ?a(les+ &.ared >iles+ or 5irector, O(Cects

F.1.2.1 Confi-urin- Oracle 5ata(ase Dault


OUI installs Oracle 5ata(ase Dault (, default <.en ,ou install t.e Oracle RAC soft<are+ (ut ,ou 'ust re-ister Oracle 5ata(ase Dault <it. t.e Oracle RAC data(ase and create data(ase user accounts (efore ,ou can use it. @ou 'ust create t.e 5ata(ase Dault O<ner user and+ optionall,+ t.e 5ata(ase Dault Account 7ana-er ad'inistrati1e user accounts.

F.1.2.2 Confi-urin- Oracle 5ata(ase &ecurit, &ettin-s


?o ena(le or disa(le t.e data(ase securit, confi-uration after installation+ ,ou 'ust use co''and%line Oracle 5ata(ase Confi-uration Assistant (59CA) options. 9, desi-n+ t.e 59CA -rap.ical user interface (GUI) does not .a1e t.e option to ena(le or disa(le secure confi-uration. >or exa'ple+ to ena(le t.e securit, settin-s after installation+ ,ou <ould use a co''and of t.e follo<in- for'+ <.ere ',RACd(1.exa'ple.co' is t.e eit.er t.e na'e of t.e local data(ase instance or t.e 59QUNIIU!QNA7!3
d(ca Jconfi-ure5ata(ase Jsource59 ',RACd(1.exa'ple.co' %&I5 Jena(le&ecurit,Confi-uration true

F.1.2.* Confi-urin- Oracle La(el &ecurit,


After installation+ ,ou 'ust confi-ure Oracle La(el &ecurit, in a data(ase (efore ,ou use it. @ou can confi-ure Oracle La(el &ecurit, in t<o <a,s3 <it. Oracle Internet 5irector, inte-ration and <it.out Oracle Internet 5irector, inte-ration.

F%2 Oracle Real Application Clusters Installation Guide

Reco''ended 2ostinstallation ?as8s

Confi-uration 6it. Oracle Internet 5irector, inte-ration

ReBuire'ent ?o confi-ure Oracle La(el &ecurit, <it. Oracle Internet 5irector, inte-ration+ Oracle Internet 5irector, 'ust (e installed in ,our en1iron'ent and t.e Oracle data(ase 'ust (e re-istered in t.e director,.

6it.out Oracle Internet 5irector, If ,ou confi-ure Oracle La(el &ecurit, (OL&) <it.out inte-ration Oracle Internet 5irector, inte-ration+ t.en ,ou cannot confi-ure it to use Oracle Internet 5irector, at a later sta-e. ?o confi-ure Oracle La(el &ecurit, <it. Oracle Internet 5irector, on ,our data(ase at a later ti'e+ ,ou 'ust re'o1e t.e OL& option on t.e data(ase and confi-ure t.e OL& <it. Oracle Internet 5irector, inte-ration option.

Oracle La(el &ecurit, Ad'inistratorKs Guide for infor'ation a(out confi-urin- Oracle La(el &ecurit,
&ee Also3

F.1.2.F Confi-urin- Oracle 7L 59


Oracle 7L 59 is a reBuired co'ponent of t.e Oracle 5ata(ase installation. ;o<e1er+ ,ou 'ust 'anuall, confi-ure t.e >?2 and ;??2 ports for Oracle 7L 59. Oracle 7L 59 5e1eloperKs Guide for infor'ation on confi-urin- t.e >?2 and ;??2 protocols for Oracle 7L 59
&ee Also3

F.1.2.G Confi-urin- &tora-e for !xternal ?a(les+ &.ared >iles+ or 5irector, O(Cects
If ,our Oracle RAC data(ase uses files t.at are external to t.e data(ase+ t.en t.e external files s.ould (e located on s.ared stora-e t.at is accessi(le to all nodes. !ac. node s.ould use t.e sa'e 'ount point to access t.e file. Accepta(le s.ared file s,ste's include 5ata(ase >ile &,ste' (59>&)+ Oracle A&7 Cluster >ile &,ste' (Oracle AC>&)+ or a supported net<or8 file s,ste' (N>&) usin- t.e 5irect N>& Client. ?.e data(ase director, o(Cect used to <rite and read files external to t.e data(ase 'ust point to a s.ared stora-e location+ and eac. node 'ust use t.e sa'e 'ount point for t.e sa'e s.ared stora-e location. ?.ere is no c.ec8in- of t.e contents of t.e external files or director, o(Cect specified as part of t.e external ta(le to ensure t.at t.e director, contents are consistent on eac. node. ?o a1oid unpredicta(le results+ ,ou 'ust ensure t.at t.e sa'e file is accessed fro' all nodes+ or t.at t.e sa'e file is used on all nodes.
Note3

Oracle Grid Infrastructure Installation Guide for 'ore infor'ation a(out confi-urin- stora-e
&ee Also3

F.2 Reco''ended 2ostinstallation ?as8s


Oracle reco''ends t.at ,ou co'plete t.e follo<in- tas8s after installin- Oracle RAC3
O

&et t.e Oracle User !n1iron'ent Daria(les Reco'pile all 2L0&IL 'odules &et Up Additional User Accounts Run RACc.ec8 Confi-uration Audit ?ool

Oracle Real Application Clusters 2ostinstallation 2rocedures

F%*

Reco''ended 2ostinstallation ?as8s

F.2.1 &et t.e Oracle User !n1iron'ent Daria(les


On eac. node+ in t.e installation o<ner user profile file (in t.is exa'ple+ oracle)+ set t.e en1iron'ent 1aria(les ORACL!Q9A&! and ORACL!Q;O7!+ and ORACL!Q&I5P also add ORACL!Q;O7!0(in to t.e pat. en1iron'ent 1aria(le. >or exa'ple3
export export export export ORACL!Q9A&!M0u)10app0oracle ORACL!Q;O7!M0u)10app0oracle012.1.)0d(.o'eQ1 2A?;MR2A?;3RORACL!Q;O7!0(in ORACL!Q&I5Msales1

If t.e en1iron'ent 1aria(les ORACL!Q;O7! and ORACL!Q&I5 are not set+ and ,ou tr, to use &ILS2lus or ot.er tools+ t.en ,ou recei1e an error 'essa-e reBuestin- t.at ,ou set t.ese 1aria(les.

F.2.2 Reco'pile all 2L0&IL 'odules


Oracle reco''ends t.at ,ou run t.e utlrp.sBl script after creatin- or up-radin- a data(ase. ?.is script reco'piles all 2L0&IL 'odules t.at 'i-.t (e in an in1alid state+ includin- pac8a-es+ procedures+ and t,pes. ?.is is an optional step (ut Oracle reco''ends t.at ,ou do it i''ediatel, follo<in- installation+ not at a later date.
1.

Co'plete settin- up t.e Oracle soft<are o<ner user account en1iron'ent (for exa'ple+ oracle)+ as descri(ed in E&et t.e Oracle User !n1iron'ent Daria(lesE in t.e precedin- section. &tart &ILS2lus+ as follo<s3
R sBlplus E0 A& &@&59AE

2.

*.

Run t.e utlrp.sBl script+ <.ere OracleQ.o'e is t.e Oracle .o'e pat.3
&ILY ZOracleQ.o'e0rd('s0ad'in0utlrp.sBl

F.2.* &et Up Additional User Accounts


@ou can set up additional user accounts to 'ana-e ,our data(ase. >or infor'ation a(out settin- up additional optional user accounts+ see Oracle 5ata(ase &ecurit, Guide.

F.2.F Run RACc.ec8 Confi-uration Audit ?ool


Oracle reco''ends t.at ,ou run t.e RACc.ec8 audit tool to c.ec8 ,our Oracle RAC installation. RACc.ec8 is an Oracle RAC auditin- tool t.at c.ec8s 1arious i'portant confi-uration settin-s <it.in Oracle Real Application Clusters+ Oracle Cluster<are+ Oracle Auto'atic &tora-e 7ana-e'ent and t.e Oracle Grid Infrastructure en1iron'ent. >or infor'ation a(out do<nloadin-+ confi-urin-+ and runnin- RACc.ec8 confi-uration audit tool+ refer to 7, Oracle &upport note 12H#$2".1+ <.ic. is a1aila(le at t.e follo<in- URL3 .ttps300support.oracle.co'0C&20'ain0articleLc'dMs.o<Nt,peMNO?Nid M12H#$2".1

F%F Oracle Real Application Clusters Installation Guide

!na(lin- and 5isa(lin- 5ata(ase Options After Installation

F.* Oracle Confi-uration 7ana-er 2ostinstallation Confi-uration for Oracle RAC


If ,ou .a1e installed Oracle Confi-uration 7ana-er+ t.en ,ou 'ust run a script to create a data(ase account to collect data(ase confi-uration collections. @ou 'ust create t.is account in (ot. Connected and 5isconnected 'odes. ?.e data(ase account stores t.e 2L0&IL procedures t.at collect t.e confi-uration infor'ation+ and t.e account o<ns t.e data(ase 'ana-e'ent s,ste' (597&) Co( t.at perfor's t.e collection. After t.e account .as (een set up+ t.e account is loc8ed (ecause lo-in pri1ile-es are no lon-er reBuired. ?o confi-ure t.e data(ase for confi-uration collection+ run t.e follo<in- script3
RORACL!Q;O7!0ccr0ad'in0scripts0installCCR&IL.s. collectconfi- %s &I5 %rX &@&59A%U&!R %p &@&59A%2A&&6OR5

?.e script installCCR&IL.s. creates an Oracle Confi-uration 7ana-er user and loads t.e 2L0&IL procedure into t.e data(ase defined (, t.e ORACL!Q&I5. @ou can also specif, t.e data(ase &I5 (, usin- t.e %s option in t.e co''and line+ as in t.e follo<in- exa'ple+ <.ere t.e &I5 is orcl3
RORACL!Q;O7!0ccr0ad'in0scripts0installCCR&IL.s. collectconfi- %s orcl

>or Oracle RAC+ ,ou 'ust run t.e data(ase script a-ainst onl, one instance+ suc. as t.e local instance on <.ic. ,ou perfor'ed t.e installation. ;o<e1er+ Oracle Confi-uration 7ana-er 'ust (e installed in all instance .o'es. Oracle Confi-uration 7ana-er Installation and Ad'inistration Guide for 'ore infor'ation a(out Oracle Confi-uration 7ana-er installation
&ee Also3

F.F !na(lin- and 5isa(lin- 5ata(ase Options After Installation


6.en ,ou install Oracle 5ata(ase+ so'e options are ena(led and ot.ers are disa(led. ?o ena(le or disa(le a particular data(ase feature for an Oracle .o'e+ s.ut do<n t.e data(ase and use t.e c.opt tool. ?.e c.opt tool is a co''and%line utilit, t.at is located in t.e director, ORACL!Q ;O7!0(in. It uses t.e follo<in- s,ntax+ <.ere d(Qoption is t.e option <.ose status ,ou <ant to 'odif,3
c.opt Vena(le [ disa(leW d(Qoption

?a(le FJ1 s.o<s t.e possi(le options for d(Qoption3


?a(le FJ1 Dalue d' olap partitioninrat C.opt ?ool Co''and Options for 5ata(ase Options 5escription Oracle 5ata 7inin- 5ata(ase >iles Oracle OLA2 Oracle 2artitioninOracle Real Application ?estin-

!xa'ple FJ1 ;o< to !na(le a 5ata(ase Option Usin- C.opt

In t.is exa'ple+ t.e c.opt tool co''and ena(les Oracle La(el &ecurit, in t.e data(ase orad(13

Oracle Real Application Clusters 2ostinstallation 2rocedures

F%G

!na(lin- and 5isa(lin- 5ata(ase Options After Installation

R R R R

cd RORACL!Q;O7!0(in sr1ctl stop data(ase %d( orad(1 c.opt ena(le l(ac sr1ctl start data(ase %d( orad(1

F%H Oracle Real Application Clusters Installation Guide

G
GUsin-

&er1er 2ools <it. Oracle RAC

?.is c.apter descri(es ser1er pool concepts in Oracle Real Application Clusters (Oracle RAC) en1iron'ents. ?.is c.apter contains t.e follo<in- topics3
O

2olic,%7ana-ed Clusters and Capacit, 7ana-e'ent Oracle RAC 5ata(ase and &er1er 2ools A(out Creatin- &er1er 2ools for Oracle RAC 5ata(ases Oracle RAC One Node and &er1er 2ools

G.1 2olic,%7ana-ed Clusters and Capacit, 7ana-e'ent


Oracle Cluster<are 11- release 2 (11.2) introduced ser1er pools+ <.ere resources t.at Oracle Cluster<are 'ana-es are contained in lo-ical -roups of ser1ers called ser1er pools. Resources are .osted on a s.ared infrastructure and are contained <it.in ser1er pools. Resources are no lon-er defined as (elon-in- to a specific instance or node. Instead+ t.e priorit, of resource reBuire'ents is defined. In an Oracle >lex Cluster+ <it. ;u( Nodes and Leaf Nodes+ ,ou can use ser1er pools to run particular t,pes of <or8loads on cluster 'e'(er nodes+ <.ile pro1idinsi'plified ad'inistration options. @ou can use a cluster confi-uration polic, set to pro1ide d,na'ic 'ana-e'ent of cluster policies across t.e cluster. ?.e follo<in- sections pro1ide additional concepts a(out ser1er pools3
O

&er1er 2ools and &er1er Cate-ori=ation &er1er 2ools and 2olic,%9ased 7ana-e'ent ;o< &er1er 2ools 6or8 5efault &er1er 2ools Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide
&ee Also3

G.1.1 &er1er 2ools and &er1er Cate-ori=ation


@ou can 'ana-e ser1ers d,na'icall, usin- ser1er pools (, identif,in- ser1ers distin-uis.ed (, particular attri(utes+ a process called ser1er cate-ori=ation. In t.is <a,+ ,ou can 'ana-e clusters 'ade up of .etero-eneous nodes.

G.1.2 &er1er 2ools and 2olic,%9ased 7ana-e'ent


6it. polic,%(ased 'ana-e'ent+ data(ase ad'inistrators specif, t.e ser1er pool (excludin- Generic or >ree) in <.ic. t.e data(ase resource runs

Usin- &er1er 2ools <it. Oracle RAC G%1

2olic,%7ana-ed Clusters and Capacit, 7ana-e'ent

2olic,%(ased 'ana-e'ent3
O

!na(les d,na'ic capacit, assi-n'ent <.en needed to pro1ide ser1er capacit, in accordance <it. t.e priorities ,ou set <it. policies !na(les allocation of resources (, i'portance+ so t.at applications o(tain t.e reBuired 'ini'u' resources+ <.ene1er possi(le+ and so t.at lo<er priorit, applications do not ta8e resources fro' 'ore i'portant applications !nsures isolation <.ere necessar,+ so t.at ,ou can pro1ide dedicated ser1ers in a cluster for applications and data(ases !na(les policies to (e confi-ured to c.an-e pools in accordance <it. (usiness needs or application de'and+ so t.at pools pro1ide t.e ri-.t ser1ice at t.e ri-.t ti'e

Applications and data(ases runnin- in ser1er pools do not s.are resources. 9ecause ser1er pools do not s.are resources+ t.e, isolate resources <.ere necessar,+ (ut ena(le d,na'ic capacit, assi-n'ents as reBuired. ?o-et.er <it. role%separated 'ana-e'ent+ t.is capa(ilit, addresses t.e needs of or-ani=ations t.at .a1e standardi=ed cluster en1iron'ents+ (ut allo< 'ultiple ad'inistrator -roups to s.are t.e co''on cluster infrastructure. Oracle Cluster<are efficientl, allocates different resources in t.e cluster. @ou need onl, to pro1ide t.e 'ini'u' and 'axi'u' nu'(er of nodes on <.ic. a resource can run+ co'(ined <it. a le1el of i'portance for eac. resource t.at is runnin- on t.ese nodes.
&ee Also3
O

Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out resource attri(utes Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for details a(out 'ana-in- ser1er pools to respond to (usiness or application de'and

G.1.* ;o< &er1er 2ools 6or8


&er1er pools di1ide t.e cluster into -roups of ser1ers .ostin- sin-leton and unifor' data(ase ser1ices and applications. ?.e, distri(ute a unifor' <or8load (a set of Oracle Cluster<are resources) o1er se1eral ser1ers in t.e cluster. >or exa'ple+ ,ou can restrict Oracle data(ases to run onl, in certain ser1er pools. 6.en ,ou ena(le role%separated 'ana-e'ent+ ,ou can -rant per'ission to operatin- s,ste' users to use ser1er pools. @ou 'ana-e ser1er pools t.at contain Oracle RAC data(ases <it. t.e &er1er Control (&RDC?L) utilit,. Use t.e Oracle Cluster<are Control (CR&C?L) utilit, to 'ana-e all ot.er ser1er pools. Onl, cluster ad'inistrators .a1e per'ission to create top%le1el ser1er pools. ?op%le1el ser1er pools3
O

Lo-icall, di1ide t.e cluster Are al<a,s exclusi1e+ 'eanin- t.at one ser1er can onl, reside in one particular ser1er pool at a certain point in ti'e

G%2 Oracle Real Application Clusters Installation Guide

Oracle RAC 5ata(ase and &er1er 2ools

G.1.F 5efault &er1er 2ools


6.en Oracle Cluster<are is installed+ t<o ser1er pools are created auto'aticall,3 Generic and >ree. All ser1ers in a ne< installation are assi-ned to t.e >ree ser1er pool+ initiall,. &er1ers 'o1e fro' >ree to ne<l, defined ser1er pools auto'aticall,.

G.1.F.1 ?.e >ree &er1er 2ool


?.e >ree ser1er pool contains ser1ers t.at are not assi-ned to an, ot.er ser1er pools. ?.e attri(utes of t.e >ree ser1er pool are restricted+ as follo<s3
O

&!RD!RQNA7!&+ 7INQ&IA!+ and 7A Q&IA! cannot (e edited (, t.e user I72OR?ANC! and ACL can (e edited (, t.e user

G.1.F.2 ?.e Generic &er1er 2ool


?.e Generic ser1er pool stores an, Oracle 5ata(ase t.at is not polic, 'ana-ed. Additionall,+ t.e Generic ser1er pool contains ser1ers <it. na'es ,ou specified in t.e &!RD!RQNA7!& attri(ute of t.e ser1er pools t.at list t.e Generic ser1er pool as a parent ser1er pool. ?.e Generic ser1er pool\s attri(utes are restricted+ as follo<s3
O

No one can 'odif, confi-uration attri(utes of t.e Generic ser1er pool (all attri(utes are read%onl,) 6.en 59CA or &RDC?L specifies a ser1er na'e in t.e ;O&?INGQ7!79!R& resource attri(ute+ Oracle Cluster<are onl, allo<s it if t.e ser1er is3 J J J Online and exists in t.e Generic ser1er pool Online and exists in t.e >ree ser1er pool+ in <.ic. case Oracle Cluster<are 'o1es t.e ser1er into t.e Generic ser1er pool Online and exists in an, ot.er ser1er pool and t.e user is eit.er a cluster ad'inistrator or is allo<ed to use t.e ser1er pool\s ser1ers+ in <.ic. case+ t.e ser1er is 'o1ed into t.e Generic ser1er pool Offline and t.e user is a cluster ad'inistrator

G.2 Oracle RAC 5ata(ase and &er1er 2ools


Oracle RAC data(ases support t<o different 'ana-e'ent st,les and deplo,'ent 'odels3
O

2olic,%'ana-ed3 5eplo,'ent is (ased on ser1er pools+ <.ere data(ase ser1ices run <it.in a ser1er pool as sin-leton or unifor' across all of t.e ser1ers in t.e ser1er pool. 5ata(ases are deplo,ed in one or 'ore ser1er pools and t.e si=e of t.e ser1er pools deter'ine t.e nu'(er of data(ase instances in t.e deplo,'ent. 2olic, 'ana-e'ent allo<s clusters and data(ases to expand or s.rin8 as reBuire'ents c.an-e. A polic,%'ana-ed data(ase is defined (, cardinalit,+ <.ic. is t.e nu'(er of data(ase instances ,ou <ant runnin- durin- nor'al operations. A polic,%'ana-ed data(ase runs in one or 'ore data(ase ser1er pools t.at t.e cluster ad'inistrator creates in t.e cluster+ and it can run on different ser1ers at different ti'es. A data(ase instance starts on all ser1ers t.at are in t.e ser1er pools defined for t.e data(ase. Clients can connect to a polic,%'ana-ed data(ase usin- t.e sa'e &CAN%(ased connect strin- no 'atter <.ic. ser1ers t.e, .appen to (e runnin- on at t.e ti'e.

Usin- &er1er 2ools <it. Oracle RAC G%*

A(out Creatin- &er1er 2ools for Oracle RAC 5ata(ases

Ad'inistrator%'ana-ed3 5eplo,'ent is (ased on t.e Oracle RAC deplo,'ent t,pes t.at existed (efore Oracle 5ata(ase 11- release 2 (11.2) and reBuires t.at ,ou staticall, confi-ure eac. data(ase instance to run on a specific node in t.e cluster+ and t.at ,ou confi-ure data(ase ser1ices to run on specific instances (elon-in- to a certain data(ase usin- t.e preferred and a1aila(le desi-nation. 6.en ,ou re1ie< t.e data(ase resource for an ad'inistrator%'ana-ed data(ase+ ,ou see a ser1er pool defined <it. t.e sa'e na'e as t.e Oracle data(ase. ?.is ser1er pool is part of a special Oracle%defined ser1er pool called Generic. Oracle RAC 'ana-es t.e Generic ser1er pool to support ad'inistrator%'ana-ed data(ases. 6.en ,ou add or re'o1e an ad'inistrator%'ana-ed data(ase usineit.er &RDC?L or 59CA+ Oracle RAC creates or re'o1es t.e ser1er pools t.at are 'e'(ers of Generic.
&ee Also3
O

Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for detailed infor'ation a(out ser1er pools Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for infor'ation a(out polic, sets

G.* A(out Creatin- &er1er 2ools for Oracle RAC 5ata(ases


@ou can create a ser1er pool <it. 59CA <.ile creatin- an Oracle RAC data(ase+ (ut Oracle reco''ends t.at ,ou create ser1er pools (efore ,ou deplo, data(ase soft<are and data(ases. Oracle also reco''ends t.at ,ou3
O

!na(le role separation (efore ,ou create t.e first ser1er pool in t.e cluster. Create and 'ana-e ser1er pools usin- confi-uration policies and a respecti1e polic, set.

@ou can i'ple'ent role%separated 'ana-e'ent in one of t<o <a,s3


O

Dertical i'ple'entation ((et<een la,ers) descri(es a role separation approac. (ased on different operatin- s,ste' users and -roups used for 1arious la,ers in t.e tec.nolo-, stac8. 2er'issions on ser1er pools and resources are -ranted to different users (and -roups) for eac. la,er in t.e stac8 usin- access control lists. Oracle Auto'atic &tora-e 7ana-e'ent (A&7) offers settin- up role separation as part of t.e Oracle Grid Infrastructure installation (ased on a -ranular assi-n'ent of operatin- s,ste' -roups for specific roles. ;ori=ontal i'ple'entation (<it.in one la,er) descri(es a role separation approac. t.at restricts resource access <it.in one la,er usin- access per'issions for resources t.at are -ranted usin- access control lists assi-ned to ser1er pools and polic,%'ana-ed data(ases or applications. >or exa'ple+ consider an operatin- s,ste' user called -rid+ <it. pri'ar, operatin- s,ste' -roup oinstall+ t.at installs Oracle Grid Infrastructure and creates t<o data(ase ser1er pools. ?.e operatin- s,ste' users ouser1 and ouser2 'ust (e a(le to operate <it.in a ser1er pool+ (ut s.ould not (e a(le to 'odif, t.ose ser1er pools and <it.dra< .ard<are resources fro' ot.er ser1er pools eit.er accidentall, or intentionall,.

G%F Oracle Real Application Clusters Installation Guide

Oracle RAC One Node and &er1er 2ools

&ee Also3
O

Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for infor'ation a(out creatin- polic, sets Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for infor'ation a(out confi-urin- role%separated 'ana-e'ent

G.F Oracle RAC One Node and &er1er 2ools


Note t.e follo<in- a(out Oracle RAC One Node and ser1er pools3
O

Oracle RAC One Node runs onl, in one ser1er pool. ?.is ser1er pool is treated t.e sa'e as an, ot.er ser1er pool. Online relocation of an Oracle RAC One Node data(ase instance per'its planned 'i-rations of an Oracle RAC One Node data(ase fro' one node to anot.er node. Relocations 'ust al<a,s (e <it.in a ser1er pool.

Usin- &er1er 2ools <it. Oracle RAC G%G

Oracle RAC One Node and &er1er 2ools

G%H Oracle Real Application Clusters Installation Guide

H
H

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration


?.is c.apter descri(es t.e Oracle Real Application Clusters (Oracle RAC) installed confi-uration. ?.is c.apter contains t.e follo<in- topics3
O

Understandin- t.e Confi-ured !n1iron'ent in Oracle RAC Understandin- Operatin- &,ste' 2ri1ile-es Groups Understandin- ?i'e Aone &ettin-s on Cluster Nodes Understandin- t.e &er1er 2ara'eter >ile for Oracle RAC A(out 259s in Oracle RAC ORA?A9 Confi-uration for Oracle RAC 5ata(ase Co'ponents Created Usin- 5ata(ase Confi-uration Assistant 7ana-in- Undo ?a(lespaces in Oracle RAC Initiali=ation 2ara'eter >iles Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases 2erfor'ance >eatures of Oracle Net &er1ices and Oracle RAC Oracle Net &er1ices Confi-uration >iles and 2ara'eters

H.1 Understandin- t.e Confi-ured !n1iron'ent in Oracle RAC


Oracle Net Confi-uration Assistant (N!?CA) and 5ata(ase Confi-uration Assistant (59CA) confi-ure ,our en1iron'ent to 'eet t.e reBuire'ents for data(ase creation and Oracle !nterprise 7ana-er disco1er, of Oracle RAC data(ases.
Note3

Confi-uration files are created on eac. node in ,our cluster

data(ase.

A1oid c.an-in- .ost na'es after ,ou co'plete ,our Oracle RAC installation+ includin- addin- or deletin- do'ain Bualifications. Node na'es are created fro' t.e .ost na'es durin- an Oracle Cluster<are installation and are used extensi1el, <it. data(ase processes. Nodes <it. c.an-ed .ost na'es 'ust (e deleted fro' t.e cluster and added (ac8 <it. t.e ne< .ost na'es.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration

H%1

Understandin- Operatin- &,ste' 2ri1ile-es Groups

H.2 Understandin- Operatin- &,ste' 2ri1ile-es Groups


As an ad'inistrator+ ,ou often perfor' special operations suc. as s.uttin- do<n or startin- up a data(ase+ or confi-urin- stora-e. 9ecause onl, an ad'inistrator responsi(le for t.ese ad'inistration decisions s.ould perfor' t.ese operations+ s,ste' pri1ile-es for Oracle 5ata(ase or Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7) ad'inistration reBuire a secure aut.entication sc.e'e. 7e'(ers.ip in special operatin- s,ste' -roups ena(les ad'inistrators to aut.enticate to Oracle 5ata(ase or Oracle A&7 t.rou-. t.e operatin- s,ste' rat.er t.an <it. a user na'e and pass<ord. ?.is is 8no<n as operatin- s,ste' aut.entication. !ac. Oracle 5ata(ase in a cluster can .a1e its o<n operatin- s,ste' pri1ile-es -roups+ so t.at operatin- s,ste' aut.entication can (e separated for eac. Oracle 5ata(ase on a cluster. 9ecause t.ere can (e onl, one Oracle Grid Infrastructure installation on a cluster+ t.ere can (e onl, one set of operatin- s,ste' pri1ile-es -roups for Oracle A&7. 5urin- installation of Oracle Grid Infrastructure and Oracle 5ata(ase+ ,ou pro1ide t.e -roup na'es of operatin- s,ste' -roups. ?.ese operatin- s,ste' -roups are desi-nated <it. t.e lo-ical role of -rantin- operatin- s,ste' -roup aut.entication for ad'inistration s,ste' pri1ile-e for Oracle 5ata(ase and Oracle A&7. In an Oracle RAC cluster+ t.e -roup I5 nu'(er (GI5) for s,ste' pri1ile-es -roups 'ust (e identical on eac. cluster 'e'(er node. One operatin- s,ste' -roup can (e desi-nated t.e lo-ical -roup <.ose 'e'(ers are -ranted all s,ste' pri1ile-es for Oracle 5ata(ase and Oracle A&7+ includin- t.e OIN&?ALL s,ste' pri1ile-es for installation o<ners. @ou can also dele-ate lo-ical s,ste' pri1ile-es to t<o or 'ore actual operatin- s,ste' -roups. Oracle reco''ends t.at ,ou desi-nate separate operatin- s,ste' -roups for eac. lo-ical s,ste' pri1ile-e. ?.is ena(les ,ou to -rant one or 'ore su(sets of ad'inistrator s,ste' pri1ile-es to data(ase ad'inistrators. ?.ese data(ase ad'inistrators can t.en perfor' standard data(ase ad'inistration tas8s <it.out reBuirin- t.e &@&59A s,ste' pri1ile-es. &,ste' pri1ile-es -roups are listed in ?a(le HJ13
?a(le HJ1 Role%Allocated Oracle &,ste' 2ri1ile-es Operatin- &,ste' Groups 5efault Actual UNI or Linux Group Na'e oinstall &,ste' 2ri1ile-es Aut.enticated 9, Group 7e'(ers.ip Install s,ste' pri1ile-es for installation o<ners+ <.ic. includes pri1ile-es to <rite to t.e central oraIn1entor, director, for eac. ser1er+ and ot.er pri1ile-es -ranted to Oracle (inar, installation o<ner users. &@&59A s,ste' pri1ile-es for an Oracle 5ata(ase+ <.ic. includes all s,ste' pri1ile-es for t.e data(ase. &@&O2!R startup and s.utdo<n s,ste' pri1ile-es for an Oracle 5ata(ase. &@&9AC4U2 (ac8up and reco1er, s,ste' pri1ile-es for an Oracle 5ata(ase. &@&5G s,ste' pri1ile-es to ad'inister and 'onitor Oracle 5ata Guard. &@&47 s,ste' pri1ile-es for encr,ption 8e, 'ana-e'ent for applications suc. as Oracle 6allet 7ana-er.

Lo-ical Operatin&,ste' Group Na'e OIN&?ALL

O&59A O&O2!R O&9AC4U259A O&5G59A O&4759A

d(a oper (ac8upd(a d-d(a 8'd(a

H%2 Oracle Real Application Clusters Installation Guide

A(out 259s in Oracle RAC

?a(le HJ1 (Cont.) Role%Allocated Oracle &,ste' 2ri1ile-es Operatin- &,ste' Groups Lo-ical Operatin&,ste' Group Na'e O&A&7 5efault Actual UNI or Linux Group Na'e as'ad'in &,ste' 2ri1ile-es Aut.enticated 9, Group 7e'(ers.ip &@&A&7 s,ste' pri1ile-es for Oracle A&7 on a cluster+ <.ic. includes all s,ste' pri1ile-es for Oracle A&7 stora-e. &@&O2!R startup and s.utdo<n s,ste' pri1ile-es for Oracle A&7 on t.e cluster. &@&59A for A&7 s,ste' pri1ile-es to o(tain read and <rite access to files 'ana-ed (, Oracle A&7P all Oracle 5ata(ase soft<are o<ners 'ust (e a 'e'(er of t.is -roup.

O&O2!R for A&7 O&59A for A&7

as'oper as'd(a

&ee Also3
O

Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out operatin- s,ste' -roups and Oracle 5ata(ase s,ste' pri1ile-es Oracle Auto'atic &tora-e 7ana-e'ent Ad'inistratorKs Guide for 'ore infor'ation a(out operatin- s,ste' -roups and Oracle A&7 s,ste' pri1ile-es

H.* Understandin- ?i'e Aone &ettin-s on Cluster Nodes


Oracle RAC reBuires t.at all cluster nodes .a1e t.e sa'e ti'e =one settin-. 5urin- an Oracle Grid Infrastructure for a cluster installation+ t.e installation process deter'ines t.e ti'e =one settin- of t.e Grid installation o<ner on t.e node <.ere Oracle Uni1ersal Installer (OUI) runs. OUI uses t.at ti'e =one 1alue on all of t.e nodes as t.e default ti'e =one settin- for all processes t.at Oracle Cluster<are 'ana-es. ?.is default settin- is used for data(ases+ Oracle A&7+ and an, ot.er 'ana-ed processes. ;o<e1er+ if ,ou start an instance <it. &ILS2lus+ ,ou 'ust ensure t.at t.e ti'e =one 1alue t.at Oracle RAC uses is t.e sa'e as t.e Oracle Cluster<are ti'e =one. @ou can c.an-e t.e ti'e =one t.at Oracle Cluster<are uses for a data(ase (, runnin- t.e co''and sr1ctl seten1 data(ase %en1 K?AMti'e =oneK

H.F Understandin- t.e &er1er 2ara'eter >ile for Oracle RAC


6.en ,ou create t.e data(ase+ Oracle 5ata(ase creates an &2>IL! in t.e file location t.at ,ou specif,. ?.is location can (e eit.er an Oracle A&7 dis8 -roup or a cluster file s,ste'. All instances in t.e cluster data(ase use t.e sa'e &2>IL! at startup. 9ecause t.e &2>IL! is a (inar, file+ do not directl, edit t.e &2>IL! <it. an editor. Instead+ c.an-e &2>IL! para'eter settin-s usin- Oracle !nterprise 7ana-er or AL?!R &@&?!7 &IL state'ents. Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for infor'ation a(out creatin- and 'odif,in&2>IL!
&ee Also3

H.G A(out 259s in Oracle RAC


&tartin- in Oracle 5ata(ase 12c Release 1 (12.1)+ ,ou 'ust create a data(ase as eit.er a 'ultitenant container data(ase (C59) or as an Oracle data(ase t.at is non%C59. ?.is also applies to Oracle RAC data(ases. ?.e onl, difference to t.e installation process is to c.oose <.et.er to create t.e Oracle RAC data(ase as a C59 or non%C59.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration

H%*

ORA?A9 Confi-uration for Oracle RAC

A plu--a(le data(ase (259) is a porta(le collection of sc.e'as+ sc.e'a o(Cects+ and nonsc.e'a o(Cects t.at appears to an Oracle Net client as a non%C59. 259s can (e plu--ed into C59s. A C59 can contain 'ultiple 259s. !ac. 259 appears on t.e net<or8 as a separate data(ase. If ,ou create an Oracle RAC data(ase as a C59 and plu- one or 'ore 259s into t.e C59+ t.en+ (, default+ a 259 is not started auto'aticall, on an, instance of t.e Oracle RAC C59. 6it. t.e first d,na'ic data(ase ser1ice assi-ned to t.e 259 (ot.er t.an t.e default data(ase ser1ice <.ic. .as t.e sa'e na'e as t.e data(ase na'e)+ t.e 259 is 'ade a1aila(le on t.ose instances on <.ic. t.e ser1ice runs. 6.et.er or not a 259 is a1aila(le on 'ore t.an one instance of an Oracle RAC C59 is t,picall, 'ana-ed (, t.e ser1ices runnin- on t.e 259. @ou can 'anuall, ena(le 259 access on eac. instance of an Oracle RAC C59 (, startin- t.e 259 'anuall, on t.at instance.
&ee Also3
O

Oracle 5ata(ase Concepts for 'ore infor'ation a(out 259 concepts Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out 'ana-in- 259s Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for infor'ation specific to t.e ad'inistration of Oracle RAC C59s

H.H ORA?A9 Confi-uration for Oracle RAC


Oracle creates an entr, for eac. Oracle RAC data(ase in t.e orata( confi-uration file. ?.e orata( file is created (, t.e root.s. script durin- installation+ and it is updated (, t.e 5ata(ase Confi-uration Assistant <.en creatin- or deletin- a data(ase. ?.e orata( file entr, is also created auto'aticall, (, t.e 5ata(ase A-ent <.en a data(ase is first started on a node <.ere it .as not run pre1iousl,. Oracle A&7 A-ent creates Oracle A&7 orata( entries. Oracle !nterprise 7ana-er uses t.e orata( file durin- ser1ice disco1er, to deter'ine t.e na'e of t.e Oracle RAC data(ase+ and to deter'ine if t.e data(ase s.ould (e started auto'aticall, <.en t.e s,ste' is restarted. ?.e data(ase entr, .as t.e follo<in- s,ntax3
R59QUNIIU!QNA7!3RORACL!Q;O7!3N

A colon (3) is used as t.e field ter'inator. A ne< line ter'inates t.e entr,. Lines (e-innin- <it. a pound si-n (T) are co''ents. 9ecause all t.e instances of an Oracle RAC data(ase .a1e t.e sa'e 59QUNIIU!QNA7!+ (ut eac. instance .as its o<n ORACL!Q&I5+ use t.e R59QUNIIU!QNA7! en1iron'ent 1aria(le in t.e orata( file as t.e data(ase entr,. ?.e R59QUNIIU!QNA7! identifier for ,our Oracle RAC data(ase 'ust (e uniBue across ,our enterprise. RORACL!Q;O7! is t.e director, pat. to t.e data(ase+ and N indicates t.at t.e data(ase s.ould not (e started at restart ti'e. ?.e follo<in- is an exa'ple entr, for a data(ase na'ed sales3
sales30u)10app0oracle0sales3N

H%F Oracle Real Application Clusters Installation Guide

5ata(ase Co'ponents Created Usin- 5ata(ase Confi-uration Assistant

H." 5ata(ase Co'ponents Created Usin- 5ata(ase Confi-uration Assistant


?.is section descri(es t.e data(ase co'ponents t.at 59CA creates+ <.ic. include3
O

?a(lespaces and 5ata files Control >iles Online Redo Lo- >iles

H.".1 ?a(lespaces and 5ata files


>or (ot. sin-le%instance and cluster data(ase en1iron'ents+ Oracle 5ata(ase is di1ided into s'aller lo-ical areas of space 8no<n as ta(lespaces. !ac. ta(lespace corresponds to one or 'ore data files on t.e s.ared stora-e. ?a(le HJ2 s.o<s t.e ta(lespace na'es used (, an Oracle RAC data(ase and t.e t,pes of data t.e, contain.
?a(le HJ2 ?a(lespace Na'es Used <it. Oracle Real Application Clusters 5ata(ases Contents An auxiliar, s,ste' ta(lespace t.at contains t.e 5R&@& (contains data for Oracle ?ext)+ C67LI?! (contains t.e OLA2 sc.e'as)+ 59 (for 7L features)+ O57 (for Oracle 5ata 7inin-)+ IN5! and ! A72L! sc.e'as. Consists of t.e data dictionar,+ includin- definitions of ta(les+ 1ie<s+ and stored procedures needed (, t.e data(ase. Oracle 5ata(ase auto'aticall, 'aintains infor'ation in t.is ta(lespace. Contains te'porar, ta(les and indexes created durin- &IL state'ent processin-. @ou 'a, need to expand t.is ta(lespace if ,ou run a &IL state'ent t.at in1ol1es si-nificant sortin-+ suc. as ANAL@A! CO72U?! &?A?I&?IC& on a 1er, lar-e ta(le+ or t.e constructs GROU2 9@+ OR5!R 9@+ or 5I&?INC?. Contains undo ta(lespaces for eac. instance t.at 59CA creates for auto'atic undo 'ana-e'ent. Consists of application data. As ,ou create and enter data into ta(les+ Oracle 5ata(ase fills t.is space <it. ,our data. &tores t.e sa'ple sc.e'as+ if ,ou opted to include t.e' durin- data(ase creation.

?a(lespace Na'e &@&AU

&@&?!7

?!72

UN5O?9&n U&!R& ! A72L!

@ou cannot alter t.ese ta(lespace na'es <.en usin- t.e preconfi-ured data(ase confi-uration option fro' OUI. ;o<e1er+ ,ou can c.an-e t.e na'es of t.e ta(lespaces if ,ou use t.e ad1anced data(ase creation 'et.od. As 'entioned+ eac. ta(lespace .as one or 'ore data files on s.ared file s,ste's. ?.e data file na'es created (, t.e preconfi-ured data(ase confi-uration options 1ar, (, stora-e t,pe suc. as Oracle A&7+ or a cluster file s,ste'.

H.".2 Control >iles


?.e data(ase is confi-ured <it. t<o control files t.at 'ust (e stored on s.ared stora-e. !1er, data(ase 'ust .a1e one uniBue control fileP an, additional control files confi-ured for t.e data(ase are identical copies of t.e ori-inal control file. If a control file (eco'es unusa(le+ t.en t.e data(ase instance fails <.en it atte'pts to access t.e da'a-ed control file. 9, 'ultiplexin- (creatin- 'ultiple copies of) a control file on different dis8s+ t.e data(ase can ac.ie1e redundanc, and t.ere(, a1oid a sin-le point of failure.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration

H%G

7ana-in- Undo ?a(lespaces in Oracle RAC

&ee Also3
O

Oracle 5ata(ase Concepts Oracle 5ata(ase Ad'inistratorKs Guide

H.".* Online Redo Lo- >iles


!ac. data(ase instance 'ust .a1e at least t<o online redo lo- files. ?.e online redo lofiles for a data(ase instance are called t.e redo t.read. !ac. Oracle RAC data(ase instance .as its o<n redo t.read to a1oid contention for a sin-le set of online redo lofiles. In case of instance failure+ t.e online redo lo- files 'ust (e accessi(le (, t.e sur1i1in- instances. ?.erefore+ t.e online redo lo- files for an Oracle RAC data(ase 'ust (e placed on s.ared stora-e or Oracle A&7. If ,ou use a file s,ste' for stora-e+ t.en t.e file s,ste' 'ust (e a s.ared or cluster file s,ste'. ?.e file na'es of t.e redo lo- files t.at are created <it. t.e preconfi-ured data(ase confi-uration option 1ar, (, stora-e t,pe.
&ee Also3
O

Oracle 5ata(ase Concepts for 'ore infor'ation a(out t.e online redo lo- files Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out stora-e for online redo lo- files

H.# 7ana-in- Undo ?a(lespaces in Oracle RAC


Oracle 5ata(ase stores roll(ac8 or undo infor'ation in undo ta(lespaces. ?o 'ana-e undo ta(lespaces+ Oracle reco''ends t.at ,ou use Auto'atic Undo 7ana-e'ent. Auto'atic Undo 7ana-e'ent is an auto'ated 'ana-e'ent 'ode for undo ta(lespaces t.at is easier to ad'inister t.an 'anual undo 'ana-e'ent. 6.en Oracle A&7 and Oracle 7ana-ed >iles are used alon- <it. Auto'atic Undo 7ana-e'ent+ an instance t.at is started for t.e first ti'e+ and t.us does not .a1e an undo ta(lespace+ .as its undo ta(lespace created for it (, anot.er instance auto'aticall,. ?.e sa'e is also true for redo lo-s.
&ee Also3
O

Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out auto'atic undo 'ana-e'ent Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out 'ana-in- undo ta(lespaces

H.$ Initiali=ation 2ara'eter >iles


Oracle reco''ends usin- t.e ser1er para'eter file (&2>IL!) for storin- Oracle 5ata(ase initiali=ation para'eters. Oracle reco''ends t.at ,ou store all &2>IL!s on Oracle A&7+ includin- t.e Oracle A&7 &2>IL!. &2>IL!s 'ust (e located on s.ared stora-eP all instances in a cluster data(ase can access t.is para'eter file. Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out t.e creation and use of para'eter files
&ee Also3

H%H Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

H.1) Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases


Users can access an Oracle RAC data(ase usin- a client0ser1er confi-uration or t.rou-. one or 'ore 'iddle tiers+ <it. or <it.out connection poolin-. 6.en connectin- to an Oracle 5ata(ase+ ,ou can use a connect descriptor or a net ser1ice na'e. >or Oracle RAC data(ases+ ,ou can also use t.e &in-le Client Access Na'e (&CAN) to connect to an, a1aila(le instance of t.e Oracle RAC data(ase. ?.is section contains t.e follo<in- topics3
O

5ata(ase &er1ices for an Oracle RAC 5ata(ase Na'in- 7et.ods and Connect 5escriptors !as, Connect Na'in- 7et.od Understandin- &CANs ;o< to Connect to an Oracle RAC 5ata(ase Usin- &CANs Listener Confi-uration for an Oracle RAC 5ata(ase &er1ice Re-istration for an Oracle RAC 5ata(ase ;o< 5ata(ase Connections are Created 6.en Usin- &CANs Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out Oracle Net &er1ices concepts
&ee Also3

H.1).1 5ata(ase &er1ices for an Oracle RAC 5ata(ase


!ac. data(ase is represented (, one or 'ore ser1ices. A ser1ice is identified (, a ser1ice na'e+ suc. as sales.exa'ple.co'. A client uses a ser1ice na'e to identif, t.e data(ase it 'ust access. 5urin- installation+ Oracle RAC data(ases are confi-ured <it. a default data(ase ser1ice t.at .as t.e sa'e na'e as t.e data(ase. ?.is ser1ice can (e used for perfor'in- data(ase 'ana-e'ent tas8s. Additional ser1ices s.ould (e created for client and application connections to t.e data(ase. A ser1ice na'e can (e associated <it. 'ultiple data(ase instances+ and an instance can (e associated <it. 'ultiple ser1ices. ?.e listener acts as a 'ediator (et<een t.e client and data(ase instances and routes t.e connection reBuest to t.e appropriate instance. Clients connectin- to a ser1ice do not .a1e to specif, <.ic. instance t.e, <ant to connect to.

H.1).2 Na'in- 7et.ods and Connect 5escriptors


!ac. net ser1ice na'e is associated <it. a connect descriptor. A connect descriptor pro1ides t.e location of t.e data(ase and t.e na'e of t.e data(ase ser1ice. A connect descriptor is co'prised of one or 'ore protocol addresses of t.e listener and t.e connect infor'ation for t.e destination ser1ice. ?.e infor'ation needed to use a ser1ice na'e to create a data(ase connection can (e stored in a repositor,+ <.ic. is represented (, one or 'ore na'in- 'et.ods. A na'in- 'et.od is a resolution 'et.od used (, a client application to resol1e a ser1ice na'e to a connect descriptor. Oracle Net &er1ices offers se1eral t,pes of na'in'et.ods t.at support locali=ed confi-uration on eac. client+ or centrali=ed confi-uration t.at can (e accessed (, all clients in t.e net<or8.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration

H%"

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

H.1).* !as, Connect Na'in- 7et.od


?.e !as, Connect na'in- 'et.od eli'inates t.e need to loo8 up ser1ice na'es in t.e tnsna'es.ora file or ot.er repositor, for ?C20I2 en1iron'ents. 6it. !as, Connect+ clients use a connect strin- for a si'ple ?C20I2 address+ <.ic. consists of a .ost na'e+ and an optional port and ser1ice na'e. If ,ou use t.is 'et.od+ t.en no na'inor director, s,ste' is reBuired. &ee !xa'ple HJ1+ EConnectin- to Oracle RAC Usint.e !as, Connect Na'in- 7et.odE for an exa'ple. Net<or8in- ele'ents for t.e Oracle 5ata(ase ser1er and clients are preconfi-ured for 'ost en1iron'ents. ?.e !as, Connect na'in- 'et.od is ena(led (, default and does not reBuire a repositor,. If ,ou use a na'in- 'et.od ot.er t.an !as, Connect+ t.en additional confi-uration of Oracle Net &er1ices 'a, (e reBuired.

H.1).F Understandin- &CANs


?.is section contains t.e follo<in- topics3
O

A(out t.e &CAN &CAN DI2 Addresses &CAN Listeners

H.1).F.1 A(out t.e &CAN


?.e &CAN is a do'ain na'e re-istered to at least one and up to t.ree I2 addresses+ eit.er in do'ain na'e ser1ice (5N&) or in Grid Na'in- &er1ice (GN&). 5urin- t.e installation of Oracle Grid Infrastructure+ se1eral Oracle Cluster<are resources are created for t.e &CAN3
O

A &CAN 1irtual I2 (DI2) is created for eac. I2 address t.at &CAN resol1es to A &CAN listener is created for eac. &CAN DI2 A dependenc, on t.e &CAN DI2 is confi-ured for t.e &CAN listener

&CANs are defined usin- one of t<o options3


O

?.e &CAN is defined in 5N& If ,ou confi-ure a &CAN 'anuall,+ and use 5N& for na'e resolution+ t.en ,our net<or8 ad'inistrator s.ould create a sin-le na'e for t.e &CAN t.at resol1es to t.ree I2 addresses on t.e sa'e net<or8 as t.e pu(lic net<or8 for t.e cluster. ?.e &CAN na'e 'ust (e resol1a(le <it.out t.e do'ain suffix (for exa'ple+ t.e address sales1%scan.exa'ple.co' 'ust (e resol1a(le usin- sales1%scan). ?.e &CAN 'ust not (e assi-ned to a net<or8 interface+ (ecause Oracle Cluster<are resol1es t.e &CAN. ?.e default &CAN is clusterQna'e%scan.do'ainQna'e. >or exa'ple+ in a cluster t.at does not use GN&+ if ,our cluster na'e is sales1+ and ,our do'ain is exa'ple.co'+ t.en t.e default &CAN address is sales1%scan.exa'ple.co'31G21.

?.e &CAN is defined in GN& 6.en usin- GN& and 5;C2+ Oracle Cluster<are confi-ures t.e DI2 addresses for t.e &CAN na'e t.at is pro1ided durin- cluster confi-uration. ?.e node DI2 and t.e t.ree &CAN DI2s are o(tained fro' t.e 5;C2 ser1er <.en usin- GN&. If a ne< ser1er Coins t.e cluster+ t.en Oracle Cluster<are d,na'icall, o(tains t.e reBuired DI2 address fro' t.e 5;C2 ser1er+ updates t.e cluster resource+ and 'a8es t.e ser1er accessi(le t.rou-. GN&.

H%# Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

Oracle reco''ends t.at ,ou confi-ure clients connectin- to t.e cluster to use t.e &CAN na'e+ rat.er t.an node DI2s used in releases (efore Oracle Grid Infrastructure 11- Release 2 (11.2). Clients connectin- to Oracle RAC data(ases usin- &CANs do not .a1e to (e confi-ured <it. addresses of eac. node t.at .osts a particular data(ase or data(ase instance. >or exa'ple+ if ,ou confi-ure polic,%'ana-ed ser1er pools for a cluster+ t.en connectin- to t.e data(ase usin- a &CAN ena(les connections to ser1er pools in t.at data(ase+ re-ardless of <.ic. nodes are allocated to t.e ser1er pool. @ou can add or re'o1e nodes fro' t.e data(ase <it.out .a1in- to reconfi-ure clients connectin- to t.e data(ase. Oracle Grid Infrastructure Installation Guide for ,our platfor' for 'ore infor'ation a(out &CAN confi-uration and reBuire'ents
&ee Also3

H.1).F.2 &CAN DI2 Addresses


&CAN 1irtual I2 addresses (DI2s) function li8e node DI2s. ;o<e1er+ unli8e node DI2s+ &CAN DI2s can run on an, node in t.e cluster. Clients (users or applications) t.at connect usin- a &CAN instead of a node DI2 na'e or address do not .a1e to update t.e list of node na'es or addresses in t.eir local tnsna'es.ora file <.en nodes are added to or re'o1ed fro' t.e cluster+ or <.en a data(ase instance runs on a different node. Confi-urin- t.ree &CAN DI2s in 5N& does not (, itself ensure failo1er of connections. Instead+ t.e Oracle Client uses t.e returned &CAN DI2s to failo1er t.e connection reBuest to a different &CAN listener. If t.e connection atte'pt to a &CAN DI2 fails+ t.en t.e client uses t.e next returned &CAN DI2 address to connect. >or t.is reason+ Oracle reco''ends t.at ,ou use Oracle Client 11- Release 2 or later clients for connections t.at use t.e &CAN.
Note3

If ,ou use GN& for na'e resolution+ t.en ,ou onl, pro1ide t.e &CAN na'e durininstallation (for exa'ple+ sales1%scan). GN& o(tains 5;C2 address leases for t.ree I2 addresses and resol1es t.ese addresses to t.e &CAN. ?.e GN& dae'on listens for re-istrations. 6.en a &CAN DI2 starts on a node+ it re-isters its addresses <it. GN&. &er1ice reBuests to t.e cluster do'ain t.at GN& 'ana-es are routed to t.e GN& DI2 address+ <.ic. routes t.ese reBuests to t.e GN& dae'on for t.e cluster. 6.en GN& recei1es a reBuest fro' a 5N& for t.e &CAN+ it returns t.e re-istered addresses of t.e &CAN listeners to t.e 5N&. ?.e 5N& t.en returns t.e t.ree &CAN DI2 addresses to t.e client. Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out &CAN na'es+ listeners+ and client ser1ice reBuests
&ee Also3

H.1).F.* &CAN Listeners


5urin- Oracle Grid Infrastructure installation+ &CAN listeners are created for as 'an, I2 addresses as t.ere are &CAN DI2 addresses assi-ned to resol1e to t.e &CAN. Oracle reco''ends t.at t.e &CAN resol1es to t.ree DI2 addresses+ to pro1ide .i-. a1aila(ilit, and scala(ilit,. If t.e &CAN resol1es to t.ree addresses+ t.en t.ree &CAN DI2s and t.ree &CAN listeners are created. !ac. &CAN listener depends on its correspondin- &CAN DI2. ?.e &CAN listeners cannot start until t.e &CAN DI2 is a1aila(le on a node.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration

H%$

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

?.e addresses for t.e &CAN listeners resol1e eit.er t.rou-. an external do'ain na'e ser1ice (5N&)+ or t.rou-. t.e Grid Na'in- &er1ice (GN&) <it.in t.e cluster. &CAN listeners and &CAN DI2s can run on an, node in t.e cluster. If a node <.ere a &CAN DI2 is runnin- fails+ t.en t.e &CAN DI2 and its associated listener fails o1er to anot.er node in t.e cluster. If t.e nu'(er of a1aila(le nodes <it.in t.e cluster falls to less t.an t.ree+ t.en one ser1er .osts t<o &CAN DI2s and &CAN listeners. Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out &CAN listeners
&ee Also3

H.1).G ;o< to Connect to an Oracle RAC 5ata(ase Usin- &CANs


Oracle reco''ends t.at ,ou confi-ure Oracle RAC data(ase clients to use t.e &CAN and t.e !as, Connect na'in- 'et.od to connect to t.e data(ase instead of confi-urin- t.e tnsna'es.ora file. Clients confi-ured to connect to t.e cluster usin- node DI2 addresses for Oracle RAC releases earlier t.an Oracle 5ata(ase 11- Release 2 can continue to use t.eir existinconnection addressesP usin- t.e &CAN is not reBuired. 6.en an earlier release of Oracle 5ata(ase is up-raded+ t.e data(ase is not onl, re-istered <it. t.e local listeners+ (ut is also re-istered <it. t.e &CAN listeners+ allo<in- clients to start usint.e &CAN to connect to t.at data(ase.
!xa'ple HJ1 Connectin- to Oracle RAC Usin- t.e !as, Connect Na'in- 7et.od

If t.e Oracle RAC data(ase runs on a cluster for <.ic. t.e &CAN is sales1%scan.',cluster.exa'ple.co'+ t.en ,ou can su('it a connection reBuest for t.e data(ase ser1ice oltp.exa'ple.co' (, usin- a connect descriptor si'ilar to t.e follo<in-3
sBlplus s,ste'0'ana-erZsales1%scan.',cluster.exa'ple.co'31G210oltp

If t.e &CAN is resol1ed (, 5N&+ t.en 5N& returns all t.ree &CAN DI2 addresses in round%ro(in order to t.e client. If t.e &CAN is resol1ed (, GN&+ t.en 5N& =one dele-ation sends t.e loo8up reBuest to GN&+ <.ic. t.en returns all t.ree &CAN DI2 addresses in round%ro(in order to t.e client. ?.e client t.en uses one of t.e returned &CAN DI2 addresses to contact a &CAN listener. 6.en a &CAN listener recei1es a connection reBuest fro' a client+ t.e &CAN listener identifies t.e least loaded instance in t.e cluster t.at pro1ides t.e reBuested ser1ice. It t.en redirects t.e connection reBuest to t.e local listener on t.e node <.ere t.e least loaded instance is runnin-+ and t.e client is -i1en t.e local listener address. ?.e local listener t.en creates t.e connection to t.e data(ase instance.

H.1).H Listener Confi-uration for an Oracle RAC 5ata(ase


An Oracle data(ase recei1es connection reBuests t.rou-. t.e local listener. ?.e local listener (ro8ers a client reBuest+ .andin- off t.e reBuest to t.e ser1er. ?.e listener is confi-ured <it. a protocol address+ and clients confi-ured <it. t.e sa'e protocol address can send connection reBuests to t.e listener. 6.en a connection is esta(lis.ed+ t.e client and Oracle data(ase co''unicate directl, <it. one anot.er. ?.e local listener+ or default listener+ is located in t.e Grid .o'e <.en ,ou .a1e Oracle Grid Infrastructure installed. Local listeners are confi-ured to respond to data(ase connection reBuests+ and to non%data(ase connection reBuests+ suc. as external procedures or Oracle 7L 5ata(ase ( 59) reBuests. 6.en t.e data(ase starts+ t.e 5ata(ase A-ent process (oraa-ent+ pre1iousl, 8no<n as rac-i'on) sets t.e LOCALQLI&?!N!R para'eter to a connect descriptor t.at does not reBuire an Oracle

H%1) Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

Net ser1ice na'e. ?.e 1alue for LOCALQLI&?!N!R is co'puted to (e t.e endpoints of t.e Grid .o'e listeners. @ou can confi-ure 'ultiple Oracle 5ata(ase listeners+ eac. <it. a uniBue na'e+ in one listener.ora file. 7ultiple listener confi-urations for data(ase listeners are possi(le (ecause eac. of t.e top%le1el confi-uration para'eters .as a suffix of t.e listener na'e or is t.e listener na'e itself. ?o confi-ure a data(ase to re-ister <it. 'ultiple local listeners+ ,ou 'ust 'anuall, 'odif, t.e LOCALQLI&?!N!R para'eter. Oracle reco''ends runnin- onl, one listener for eac. node in 'ost custo'er en1iron'ents.
Note3

>or an Oracle RAC data(ase+ t.e data(ase para'eter R!7O?!QLI&?!N!R identifies t.e &CAN listeners. ?.e data(ase re-isters <it. t.e local and &CAN listeners (, usint.e connect description infor'ation contained in t.ese para'eters. Oracle 5ata(ase 11- Release 2 and later instances onl, re-ister <it. &CAN listeners as re'ote listeners. Up-raded data(ases re-ister <it. &CAN listeners as re'ote listeners+ and also continue to re-ister <it. all node listeners. ?.e R!7O?!QLI&?!N!R para'eter for an Oracle RAC data(ase is al<a,s set to t.e &CAN address. >or exa'ple+ if t.e &CAN for t.e cluster is ',scan+ and t.e GN& su(do'ain for t.e cluster is ',cluster.exa'ple.co'+ t.en t.e R!7O?!Q LI&?!N!R para'eter .as t.e follo<in- 1alue3
',scan.',cluster.exa'ple.co'31G21

5o not set t.e R!7O?!QLI&?!N!R para'eter for an Oracle RAC data(ase to an Oracle Net alias t.at .as a sin-le address t.at uses t.e &CAN for t.e .ost na'e (;O&?Mscan).
Note3

H.1)." &er1ice Re-istration for an Oracle RAC 5ata(ase


An Oracle 5ata(ase 12c Release 1 (12.1) data(ase ser1ice auto'aticall, re-isters <it. t.e listeners specified in t.e data(ase initiali=ation para'eters LOCALQLI&?!N!R and R!7O?!QLI&?!N!R. 5urin- re-istration+ t.e listener re-istration (LR!G) process sends infor'ation suc. as t.e ser1ice na'e+ instance na'es+ and <or8load infor'ation to t.e listeners. ?.is feature is called ser1ice re-istration. 6.en a listener starts after t.e Oracle instance starts+ and t.e listener is a1aila(le for ser1ice re-istration+ re-istration does not occur until t.e next ti'e t.e Oracle 5ata(ase LR!G process starts its disco1er, routine. 9, default+ t.e LR!G disco1er, routine is started e1er, H) seconds. ?o o1erride t.e H)%second dela,+ use t.e &IL state'ent AL?!R &@&?!7 R!GI&?!R. ?.is state'ent forces LR!G to re-ister t.e ser1ice i''ediatel,. Oracle reco''ends t.at ,ou create a script to run t.e AL?!R &@&?!7 R!GI&?!R state'ent i''ediatel, after startin- t.e listener. If ,ou run t.is state'ent <.en t.e instance is re-istered and all ser1ices are currentl, re-istered+ or <.ile t.e listener is do<n+ t.en t.e state'ent .as no effect.
Note3

Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out ser1ice re-istration
&ee Also3

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration H%11

Oracle Net &er1ices Confi-uration for Oracle RAC 5ata(ases

H.1).# ;o< 5ata(ase Connections are Created 6.en Usin- &CANs


9ased on t.e en1iron'ent+ t.e follo<in- actions occur <.en ,ou use a &CAN to connect to an Oracle RAC data(ase usin- a ser1ice na'e. ?.e nu'(ered actions correspond to t.e arro<s s.o<n in >i-ure HJ1.
1.

?.e LR!G process of eac. instance re-isters t.e data(ase ser1ices <it. t.e default listener on t.e local node and <it. eac. &CAN listener+ <.ic. is specified (, t.e R!7O?!QLI&?!N!R data(ase para'eter. ?.e listeners are d,na'icall, updated on t.e a'ount of <or8 (ein- .andled (, t.e instances and dispatc.ers. ?.e client issues a data(ase connection reBuest usin- a connect descriptor of t.e for'3
orausr0ZscanQna'e31G210<e(app

2.

If ,ou use t.e !as, Connect na'in- 'et.od+ t.en ensure t.at t.e sBlnet.ora file on t.e client contains !ACONN!C? in t.e list of na'in- 'et.ods specified (, t.e NA7!&.5IR!C?OR@Q2A?; para'eter.
Note3

*.

?.e client uses 5N& to resol1e scanQna'e. After 5N& returns t.e t.ree addresses assi-ned to t.e &CAN+ t.e client sends a connect reBuest to t.e first I2 address. If t.e connect reBuest fails+ t.en t.e client atte'pts to connect usin- t.e next I2 address. 6.en t.e connect reBuest is successful+ t.e client connects to a &CAN listener for t.e cluster t.at .osts t.e sales data(ase and .as an instance offerin- t.e <e(app ser1ice+ <.ic. in t.is exa'ple is sales1 and sales2. ?.e &CAN listener co'pares t.e <or8load of t.e instances sales1 and sales2 and t.e <or8load of t.e nodes on <.ic. t.e, run. If t.e &CAN listener deter'ines t.at node2 is less loaded t.an node1+ t.en t.e &CAN listener selects node2 and sends t.e address for t.e local listener on t.at node (ac8 to t.e client. ?.e client connects to t.e local listener on node2. ?.e local listener starts a dedicated ser1er process for t.e connection to t.e data(ase. ?.e client connects directl, to t.e dedicated ser1er process on node2 and accesses t.e sales2 data(ase instance.

F.

G.

H.

H%12 Oracle Real Application Clusters Installation Guide

2erfor'ance >eatures of Oracle Net &er1ices and Oracle RAC

>i-ure HJ1 Load 9alancin- Actions for Oracle RAC Connections ?.at Use &CAN

H.11 2erfor'ance >eatures of Oracle Net &er1ices and Oracle RAC


Oracle RAC data(ases pro1ide t.e i'portant (enefits of connection load (alancinand failo1er.
O

Load 9alancin- of Connections to Oracle RAC 5ata(ases Connection >ailo1er for Oracle RAC 5ata(ases &.ared &er1er Confi-uration for an Oracle RAC 5ata(ase

H.11.1 Load 9alancin- of Connections to Oracle RAC 5ata(ases


&er1ices coordinate t.eir sessions (, re-isterin- t.eir <or8load+ or t.e a'ount of <or8 t.e, are currentl, .andlin-+ <it. t.e local listener and t.e &CAN listeners. Clients are redirected (, t.e &CAN listener to a local listener on t.e least%loaded node t.at is runnin- t.e instance for a particular ser1ice. ?.is feature is called load (alancin-. ?.e local listener eit.er directs t.e client to a dispatc.er process (if ,ou confi-ured t.e data(ase to use s.ared ser1ers)+ or directs t.e client to a dedicated ser1er process. ?.ere are t<o t,pes of load (alancin- t.at ,ou can i'ple'ent for an Oracle RAC data(ase3 client%side and ser1er%side load (alancin-. Client%side load (alancin(alances t.e connection reBuests across t.e listeners. 6it. ser1er%side load (alancin-+ t.e &CAN listener directs a connection reBuest to t.e (est instance currentl, pro1idint.e ser1ice (, usin- t.e load (alancin- ad1isor,.
&ee Also3
O

Oracle Grid Infrastructure Installation Guide for 'ore infor'ation a(out &CAN and its confi-uration Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide for 'ore infor'ation a(out failo1er+ load (alancin-+ and t.e load (alancin- ad1isor,

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration H%1*

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

H.11.2 Connection >ailo1er for Oracle RAC 5ata(ases


6.en a client issues a connection reBuest usin- &CAN+ t.e t.ree &CAN addresses are returned to t.e client. If t.e first address fails+ t.en t.e connection reBuest to t.e &CAN fails o1er to t.e next address. Usin- 'ultiple addresses allo<s a client to connect to an instance of t.e data(ase e1en if t.e initial instance .as failed. Oracle RAC pro1ides failo1er <it. t.e node DI2 addresses (, confi-urin- 'ultiple listeners on 'ultiple nodes to 'ana-e client connection reBuests for t.e sa'e data(ase ser1ice. If a node fails+ t.en t.e ser1ice connectin- to t.e DI2 is relocated transparentl, to a sur1i1in- node+ ena(lin- fast notification of t.e failure to t.e clients connectint.rou-. t.e DI2. If t.e application and client are confi-ured <it. transparent application failo1er options+ t.en t.e client is reconnected to t.e sur1i1in- node.

H.11.* &.ared &er1er Confi-uration for an Oracle RAC 5ata(ase


&tandalone Oracle data(ases perfor' load (alancin- (, distri(utin- connections a'on- t.e s.ared ser1er dispatc.er processes. 9, default+ 59CA confi-ures ,our Oracle RAC data(ase <it. dedicated ser1ers+ not s.ared ser1ers. ;o<e1er+ if ,ou select t.e s.ared ser1er option <.en usin- 59CA+ t.en 59CA confi-ures s.ared ser1ers. Oracle RAC uses (ot. dedicated and s.ared ser1er processin- <.en s.ared ser1ers are confi-ured. Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out s.ared and dedicated ser1er confi-urations
&ee Also3

H.12 Oracle Net &er1ices Confi-uration >iles and 2ara'eters


Net<or8in- ele'ents for t.e Oracle 5ata(ase ser1er and clients are preconfi-ured for 'ost en1iron'ents. ?.e !as, Connect na'in- 'et.od is ena(led (, default and does not reBuire a repositor,. If ,ou use a na'in- 'et.od ot.er t.an !as, Connect+ t.en additional confi-uration of Oracle Net &er1ices 'a, (e reBuired. ?.e follo<in- sections descri(e t.e Oracle Net &er1ices confi-uration files and para'eters for an Oracle RAC data(ase3
O

5ata(ase Initiali=ation 2ara'eters for 5ata(ase &er1ice Re-istration Net &er1ice Na'es and t.e tnsna'es.ora >ile Net &er1ice Na'es Created (, 59CA Listener Confi-uration and t.e listener.ora >ile Net &er1ices 2rofile >ile (sBlnet.ora)

H.12.1 5ata(ase Initiali=ation 2ara'eters for 5ata(ase &er1ice Re-istration


An Oracle 5ata(ase 12c Release 1 (12.1) data(ase ser1ice auto'aticall, re-isters <it. t.e listeners specified in t.e LOCALQLI&?!N!R and R!7O?!QLI&?!N!R para'eters. 5urin- re-istration+ t.e listener re-istration (LR!G) process sends infor'ation suc. as t.e ser1ice na'e+ instance na'es+ and <or8load infor'ation to t.e listeners. 6.en a listener starts after t.e Oracle instance starts+ and t.e listener is a1aila(le for ser1ice re-istration+ re-istration does not occur until t.e next ti'e t.e Oracle 5ata(ase LR!G process starts its disco1er, routine. 9, default+ t.e LR!G disco1er, routine is started e1er, H) seconds. ?o o1erride t.e H)%second dela,+ use t.e &IL state'ent AL?!R &@&?!7 R!GI&?!R. ?.is state'ent forces LR!G to re-ister t.e ser1ice i''ediatel,.

H%1F Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

Oracle reco''ends t.at ,ou create a script to run t.e AL?!R &@&?!7 R!GI&?!R state'ent i''ediatel, after startin- t.e listener. If ,ou run t.is state'ent <.en t.e instance is re-istered and all ser1ices are currentl, re-istered+ or <.ile t.e listener is do<n+ t.en t.e state'ent .as no effect.
Note3

Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out ser1ice re-istration
&ee Also3

H.12.2 Net &er1ice Na'es and t.e tnsna'es.ora >ile


?.e installation process creates a tnsna'es.ora file on eac. node. ?.is file acts as a repositor, of net ser1ice na'es. !ac. net ser1ice na'e is associated <it. a connect identifier. A connect identifier is an identifier t.at 'aps a user%defined na'e to a connect descriptor. A connect descriptor contains t.e follo<in- infor'ation3
O

?.e net<or8 route to t.e ser1ice+ includin- t.e location of t.e listener t.rou-. a protocol address ?.e &!RDIC!QNA7! para'eter+ <it. t.e 1alue set to t.e na'e of a data(ase ser1ice ?.e &!RDIC!QNA7! para'eter t.at ,ou use in t.e tnsna'es.ora file is sin-ular+ (ecause ,ou can specif, onl, one ser1ice na'e. ?.e &!RDIC!QNA7! para'eter is not t.e sa'e as t.e ser1iceQna'es data(ase initiali=ation para'eter. ?.e ser1iceQ na'es data(ase para'eter defaults to t.e -lo(al data(ase na'e+ a na'e co'prisin- t.e d(Qna'e and d(Qdo'ain para'eters in t.e initiali=ation para'eter file. 6.en ,ou add ser1ice na'es usin&RDC?L or Oracle !nterprise 7ana-er Cloud Control+ it lists additional cluster%'ana-ed ser1ices for t.e data(ase.
Note3

?.e tnsna'es.ora file is located in (ot. t.e GridQ.o'e0net<or80ad'in and OracleQ.o'e0net<or80ad'in directories. 9, default+ t.e tnsna'es.ora file is read fro' t.e Grid .o'e <.en Oracle Grid Infrastructure is installed. 6it. Oracle Cluster<are 11- Release 2 and later+ t.e listener association no lon-er reBuires tnsna'es.ora file entries. ?.e listener associations are confi-ured as follo<s3
O

59CA no lon-er sets t.e LOCALQLI&?!N!R para'eter. ?.e Oracle Cluster<are a-ent t.at starts t.e data(ase sets t.e LOCALQLI&?!N!R para'eter d,na'icall,+ and it sets it to t.e actual 1alue+ not an alias. &o listenerQalias entries are no lon-er needed in t.e tnsna'es.ora file. ?.e R!7O?!QLI&?!N!R para'eter is confi-ured (, 59CA to reference t.e &CAN and &CAN port+ <it.out an, need for a tnsna'es.ora entr,. Oracle Cluster<are uses t.e !as, Connect na'in- 'et.od <it. scanna'e3scanport+ so no listener associations for t.e R!7O?!QLI&?!N!R para'eter are needed in t.e tnsna'es.ora file.

>or exa'ple+ after ,ou create t.e data(ase+ to add a second listener+ listenin- on port 2)12+ use a co''and si'ilar to t.e follo<in- co''and to .a1e t.e data(ase re-ister <it. (ot. listeners on startup3
&ILY alter s,ste' set localQlistenerMK(5!&CRI2?IONM

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration H%1G

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

(A55R!&&QLI&?M(A55R!&&M(2RO?OCOLM?C2)(;O&?M1$2.1H#.).H1)(2OR?M1G21)) (A55R!&&M(2RO?OCOLM?C2)(;O&?M1$2.1H#.).H1)(2OR?M2)12))))K scopeM9O?; &I5MKOCRL1KP &ee Also3


O

Oracle 5ata(ase Ad'inistratorKs Guide Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out t.e tnsna'es.ora file

H.12.* Net &er1ice Na'es Created (, 59CA


59CA creates net ser1ice na'es for connections as descri(ed in t.e follo<in- sections3
O

Net &er1ice Na'es for 5ata(ase Connections Net &er1ice Na'es for Instance Connections

H.12.*.1 Net &er1ice Na'es for 5ata(ase Connections


Clients t.at connect to an, instance of Oracle RAC use t.e &CAN in t.e connect descriptor. @ou can also use net ser1ice na'es to connect to Oracle RAC. ?.e default data(ase ser1ice created (, 59CA ena(les Oracle !nterprise 7ana-er to disco1er an Oracle RAC data(ase+ and s.ould not (e used for client connections. If ,ou use 59CA to create an Oracle RAC data(ase t.at is a 'ultitenant container data(ase (C59)+ t.en 59CA creates a data(ase ser1ice t.at .as t.e sa'e na'e as t.e data(ase. Clients t.at use t.is data(ase ser1ice can connect to an, data(ase instance for t.e Oracle RAC C59. ;o<e1er+ if ,ou use 59CA to add a plu--a(le data(ase (259) to an existin- C59+ t.en 59CA does not create a data(ase ser1ice for t.e ne< 259.
!xa'ple HJ2 !xa'ple Net &er1ice Na'e !ntr, for a 5ata(ase Connection

?.is exa'ple s.o<s a connect descriptor t.at is used in a tnsna'es.ora file. ?.e connect identifier in t.is case is t.e sa'e as t.e cluster do'ain+ ',cluster.exa'ple.co'. Instead of specif,in- t.e address for an indi1idual ser1er+ 1irtual Internet 2rotocol (DI2) address+ or a cluster node na'e+ t.e connect descriptor uses t.e &CAN+ <.ic. is ',scan.',cluster.exa'ple.co'.
',cluster.exa'ple.co' M (5!&CRI2?ION M (A55R!&& M (2RO?OCOL M ?C2)(;O&? M .ostM',scan.',cluster.exa'ple.co') (2OR? M 1G22)) (CONN!C?Q5A?A M (&!RD!R M 5!5ICA?!5) (&!RDIC!QNA7! M ',App) ) )

Oracle Cluster<are resol1es connection reBuests t.at use t.e net ser1ice na'e ',cluster.exa'ple.co' to an, of t.e data(ase instances of t.e ',cluster data(ase t.at run t.e ',App data(ase ser1ice. ?.e specific cluster node on <.ic. t.e instance is runnin- is in1isi(le to t.e client. ?.e net ser1ice na'e does not reBuire a full, Bualified do'ain na'e for t.e ser1er on <.ic. a data(ase+ data(ase instance+ or listener runs. &CANs are resol1ed (, t.e 5N& or GN&+ <.ic. returns t.ree addresses to t.e client. ?.e client t.en su('its connection reBuests to eac. address in succession until a connection is 'ade.

H%1H Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

H.12.*.2 Net &er1ice Na'es for Instance Connections


Clients t.at connect to a particular instance of t.e data(ase use t.e net ser1ice na'e for t.e instance.
!xa'ple HJ* !xa'ple Net &er1ice Na'e !ntr, for an Instance Connection

In t.is exa'ple+ t.e connect identifier is t.e sa'e as t.e instance na'e+ ',cluster1.exa'ple.co'. ?.e connect descriptor uses t.e &CAN to locate t.e instance <it.in t.e cluster. Clients connectin- to t.e net ser1ice na'e ',cluster1.exa'ple.co' are connected to t.e ',cluster1 data(ase instance of t.e ',cluster data(ase. Oracle Cluster<are resol1es t.at connection to t.e cluster node on <.ic. t.e instance is runnin-. ?.e specific cluster node on <.ic. t.e instance is runnin- is in1isi(le to t.e client.
',cluster1.exa'ple.co'M (5!&CRI2?IONM (A55R!&&M(2RO?OCOLM?C2)(;O&?M',scan.',cluster.exa'ple.co')(2OR?M1G21)) (CONN!C?Q5A?AM (&!RDIC!QNA7!M',cluster.exa'ple.co') (IN&?ANC!QNA7!M',cluster1) ) )

H.12.F Listener Confi-uration and t.e listener.ora >ile


In Oracle RAC en1iron'ents+ Oracle reco''ends t.at ,ou let t.e Oracle A-ent 'ana-e Oracle listeners for Oracle 5ata(ases. ?.e follo<in- sections descri(e Oracle Net listener confi-uration3
O

Local Listener for an Oracle RAC 5ata(ase Re'ote Listeners for an Oracle RAC 5ata(ase 7ana-in- 7ultiple Listeners for an Oracle RAC 5ata(ase ;o< Oracle 5ata(ase Uses t.e Listener >ile (listener.ora) If ,ou ena(le GN&+ t.en ,ou do not .a1e to 'anuall, confi-ure t.e listener.
Note3

H.12.F.1 Local Listener for an Oracle RAC 5ata(ase


?.e local listener+ or default listener+ is located in t.e Grid .o'e <.en ,ou .a1e Oracle Grid Infrastructure installed. ?.e listener.ora file is located in t.e GridQ .o'e0net<or80ad'in director,. If needed+ ,ou can edit t.e listener.ora file for t.e Grid .o'e listeners to define listener para'eters for node and &CAN listeners. 5o not 'odif, t.e endpoints (ecause t.ese are auto'aticall, 'ana-ed (, t.e listener a-ent. 5urin- Oracle 5ata(ase creation+ t.e LOCALQLI&?!N!R para'eter is auto'aticall, confi-ured to point to t.e local listener for t.e data(ase. @ou can set a 1alue 'anuall, for LOCALQLI&?!N!R. If ,ou 'odif, t.e 1alue of t.e LOCALQLI&?!N!R para'eter+ t.en t.e 5ata(ase A-ent process does not auto'aticall, update t.is 1alue. Oracle reco''ends t.at ,ou lea1e t.e para'eter unset so t.at t.e 5ata(ase A-ent process can 'aintain it auto'aticall,. If ,ou do not set LOCALQLI&?!N!R+ t.en t.e 5ata(ase A-ent process auto'aticall, updates t.e data(ase associated <it. t.e local listener in t.e Grid .o'e+ e1en <.en t.e ports or I2 address of t.at listener are c.an-ed.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration H%1"

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

&ee Also3
O

ENet &er1ice Na'es and t.e tnsna'es.ora >ileE on pa-e H%1G for 'ore infor'ation a(out listener associations defined in t.e tnsna'es.ora file Oracle 5ata(ase Net &er1ices Reference for 'ore infor'ation a(out t.e listener.ora file Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for infor'ation a(out understandin- and confi-urin- listeners

H.12.F.2 Re'ote Listeners for an Oracle RAC 5ata(ase


A re'ote listener is a listener residin- on one co'puter t.at redirects connections to a data(ase instance on anot.er co'puter. >or exa'ple+ &CAN listeners are re'ote listeners. In Oracle RAC en1iron'ents+ Oracle reco''ends t.at ,ou let t.e Oracle A-ent 'ana-e t.e Oracle listeners for t.e data(ases.
&ee Also3
O

ENet &er1ice Na'es and t.e tnsna'es.ora >ileE on pa-e H%1G for 'ore infor'ation a(out listener associations defined in t.e tnsna'es.ora file Oracle 5ata(ase Net &er1ices Reference for 'ore infor'ation a(out t.e listener.ora file Oracle 5ata(ase Net &er1ices Reference for an o1er1ie< of listeners

H.12.F.* 7ana-in- 7ultiple Listeners for an Oracle RAC 5ata(ase


?o ad'inister Oracle 5ata(ase 12c Release 1 (12.1) local and &CAN listeners usin- t.e lsnrctl co''and+ set ,our ORACL!Q;O7! en1iron'ent 1aria(le to t.e pat. for t.e Grid .o'e. 5o not atte'pt to use t.e lsnrctl co''ands fro' Oracle .o'e locations for earlier releases+ (ecause t.e, cannot (e used <it. Oracle 5ata(ase 12c Release 1 (12.1). >or listeners not 'ana-ed (, Oracle Cluster<are+ ,ou can use a non%default location for t.e listener.ora file (, settin- t.e ?N&QA57IN en1iron'ent 1aria(le or re-istr, 1alue to point to t.e director, t.at contains t.e Oracle Net &er1ices confi-uration files. ?o use a non%default location for a listener 'ana-ed (, Oracle Cluster<are+ ,ou 'ust use &RDC?L and t.e seten1 co''and to 'odif, t.e 1alue of ?N&QA57IN for eac. listener.

H.12.F.F ;o< Oracle 5ata(ase Uses t.e Listener >ile (listener.ora)


?.e listener.ora file is t.e confi-uration file for a listener. It can include t.e protocol addresses it is acceptin- connection reBuests on+ a list of t.e data(ase and ot.er ser1ices it is listenin- for+ and control para'eters used (, t.e listener. @ou can 'odif, t.e confi-uration of t.e listeners used (, Oracle Cluster<are and Oracle RAC <it. &er1er Control Utilit, (&RDC?L) co''ands+ or (, usin- N!?CA. 7anual editinof t.e listener.ora file is not reBuired. !ac. listener is confi-ured <it. one or 'ore protocol addresses t.at specif, its listenin- endpoints. ?.e listener a-ent d,na'icall, updates endpoints <it. t.e listener. &tartin- <it. Oracle 5ata(ase 11- Release 2+ t.e listener.ora file no< onl, contains an I2C 8e, and t.e follo<in- infor'ation3 (A55R!&& M (2RO?OCOLM?C2)(;O&?M)(2OR?M1G21))

H%1# Oracle Real Application Clusters Installation Guide

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

In t.e pre1ious exa'ple+ t.e protocol A55R!&& refers i'plicitl, to t.e ;O&? endpoint of t.e local node. ?.e listener.ora file is t.e sa'e on e1er, node for an Oracle RAC data(ase. Listenin- endpoints+ suc. as t.e port nu'(ers+ are d,na'icall, re-istered <it. t.e listener. 9efore ,ou install Oracle RAC+ durin- t.e Oracle Grid Infrastructure installation+ N!?CA creates and starts a default listener in t.e Grid .o'e called LI&?!N!R. ?.e listener is confi-ured <it. default protocol listenin- addresses. ?.e listener is confi-ured to respond to connection reBuests t.at are directed to one protocol address specified durin- installation. 5urin- t.e Oracle RAC installation+ t.e Oracle RAC data(ase uses t.e listener in t.e Grid .o'e+ and confi-ures ser1ice infor'ation a(out t.e Oracle RAC data(ase. ?.e data(ase ser1ices auto'aticall, re-ister t.eir infor'ation <it. t.e listener+ suc. as t.e ser1ice na'e+ instance na'es+ and load infor'ation. 5,na'ic ser1ice re-istration eli'inates t.e need for static confi-uration of data(ase ser1ices. ;o<e1er+ static ser1ice confi-uration is reBuired if ,ou plan to use Oracle !nterprise 7ana-er.
!xa'ple HJF !xa'ple listener.ora >ile for an Oracle RAC Node

?.e follo<in- is an exa'ple listener.ora file as it <ould appear after installation+ <it. an entr, for a node na'ed node1 and a &CAN listener.
LI&?!N!RQ&CAN1M(5!&CRI2?IONM(A55R!&&QLI&?M(A55R!&&M(2RO?OCOLMI2C)(4!@MLI&?!N!RQ &CAN1)))) T line added (, A-ent LI&?!N!RQNO5!1M(5!&CRI2?IONM(A55R!&&QLI&?M(A55R!&&M(2RO?OCOLMI2C) (4!@MLI&?!N!R)))) T line added (, A-ent T listener.ora.',cluster Net<or8 Confi-uration >ile3 0u)10app0oracle0product012.1.)0d(.o'eQ10net<or80ad'in0listener.ora.',cluster T Generated (, Oracle confi-uration tools. LI&?!N!RQNO5!1 M (5!&CRI2?IONQLI&? M (5!&CRI2?ION M (A55R!&& M (2RO?OCOL M I2C)(4!@ M ! ?2ROC1G21)) ) ) !NA9L!QGLO9ALQ5@NA7ICQ!N52OIN?QLI&?!N!RQNO5!1MONT line added (, A-ent !NA9L!QGLO9ALQ5@NA7ICQ!N52OIN?QLI&?!N!RQ&CAN2MONT line added (, A-ent !NA9L!QGLO9ALQ5@NA7ICQ!N52OIN?QLI&?!N!RQ&CAN1MONT line added (, A-ent

H.12.G Net &er1ices 2rofile >ile (sBlnet.ora)


Oracle Uni1ersal Installer starts Oracle Net Confi-uration Assistant (N!?CA) after t.e data(ase soft<are is installed. N!?CA creates t.e Oracle Net &er1ices profile+ or t.e sBlnet.ora file. In an Oracle Grid Infrastructure installation+ t.e sBlnet.ora file is located in t.e follo<in- director, (, default3
GridQ.o'e0net<or80ad'in

>or t.e local listener for t.e Oracle RAC data(ase instance+ t.e default location of t.e sBlnet.ora file is RORACL!Q;O7!0net<or80ad'in director,. In t.is director, t.ere is a default sBlnet.ora file. Also+ ,ou can find a sa'ple sBlnet.ora file in t.e su(director, sa'ple.

Understandin- t.e Oracle Real Application Clusters Installed Confi-uration H%1$

Oracle Net &er1ices Confi-uration >iles and 2ara'eters

5urin- installation of t.e Oracle RAC soft<are+ N!?CA creates t.e follo<in- entr, in t.e sBlnet.ora file+ <.ere RORACL!Q9A&! is t.e pat. to t.e Oracle (ase director, for t.e Oracle RAC installation3
NA7!&.5IR!C?OR@Q2A?;M(?N&NA7!&+ !ACONN!C?) A5RQ9A&! MRORACL!Q9A&!

?.e para'eter NA7!&.5IR!C?OR@Q2A?; specifies t.e priorit, order of t.e na'in'et.ods to use to resol1e connect identifiers to connect descriptors. ?.e A5RQ9A&! para'eter specifies t.e (ase director, into <.ic. tracin- and lo--inincidents are stored <.en Auto'atic 5ia-nostic Repositor, (A5R) is ena(led for t.e data(ase.
&ee Also3
O

Oracle 5ata(ase Net &er1ices Ad'inistratorKs Guide for 'ore infor'ation a(out t.e sBlnet.ora file Oracle 5ata(ase Concepts for 'ore infor'ation a(out aut.entication Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out A5R

H%2) Oracle Real Application Clusters Installation Guide

"
"

Re'o1in- Oracle Real Application Clusters &oft<are


?.is c.apter descri(es .o< to co'pletel, re'o1e all Oracle data(ases+ instances+ and soft<are fro' an Oracle Real Application Clusters (Oracle RAC) Oracle .o'e director,. ?.is c.apter contains t.e follo<in- topics3
O

O1er1ie< of 5einstallation 2rocedures Identif,in- All Instances On a Cluster 5einstallin- Oracle RAC &oft<are ?.e product%specific docu'entation for re'o1in- a sin-le product to ensure t.at ,ou are a<are of reBuire'ents and restrictions t.at appl, for t.at product
&ee Also3

".1 O1er1ie< of 5einstallation 2rocedures


?o co'pletel, re'o1e all Oracle data(ases+ instances+ and soft<are fro' an Oracle .o'e director,3
O

Identif, all instances associated <it. t.e Oracle .o'e &.ut do<n processes Re'o1e listeners installed in t.e Oracle 5ata(ase .o'e Re'o1e data(ase instances Re'o1e Oracle Auto'atic &tora-e 7ana-e'ent Release 1 (11.1) or earlier Re'o1e Oracle Cluster<are and Oracle Auto'atic &tora-e 7ana-e'ent (Oracle Grid Infrastructure) >or infor'ation on re'o1in- Oracle 5ata(ase Dault+ see Oracle 5ata(ase Dault Ad'inistratorKs Guide.
Note3

>or infor'ation on re'o1in- Oracle Confi-uration 7ana-er+ see Oracle Confi-uration 7ana-er Installation and Ad'inistration Guide. 6it. Oracle Grid Infrastructure Release 11.2 and later+ Oracle Auto'atic &tora-e 7ana-e'ent and Oracle Cluster<are co'prise t.e Oracle Grid Infrastructure installation. ?.ese co'ponents are installed and re'o1ed to-et.er.

Re'o1in- Oracle Real Application Clusters &oft<are "%1

Identif,in- All Instances On a Cluster

If an, cluster 'e'(er node .as 'ore t.an one data(ase <it. t.e sa'e -lo(al data(ase na'e (G5N) on a ser1er+ t.en ,ou cannot use t.e deinstall tool to re'o1e one data(ase onl,. >or exa'ple+ if ,ou .a1e a standalone data(ase on one of ,our cluster nodes <it. t.e G5N ',d(.exa'ple.co'+ and ,our Oracle RAC data(ase G5N is also ',d(.exa'ple.co'+ t.en (ot. data(ases on t.at node are re'o1ed.
Caution3

".2 Identif,in- All Instances On a Cluster


?o identif, all instances associated <it. t.e Oracle .o'e to re'o1e+ enter t.e follo<in- co''and+ <.ere d(na'e is t.e na'e of t.e data(ase3
R sr1ctl status %d d(na'e

Alternatel,+ ,ou can c.ec8 for re-istered instances (, 1ie<in- t.e orata( file3 AI + ;2%U + or Linux3
R 'ore 0etc0orata(

&olaris
R 'ore 01ar0opt0oracle0orata(

?.e output of t.is co''and contains entries si'ilar to t.e follo<in-3


]A&7130u)10app012.1.)0-rid3N CU&?30u)10app0oracle0product012.1.)0d(.o'eQ13N

?.ese entries s.o< t.at t.e ]A&7 Oracle Auto'atic &tora-e 7ana-e'ent instance in t.e Oracle Grid Infrastructure for a cluster .o'e (0u)10app012.1.)0-rid) and t.e CU&? Oracle data(ase instance are associated <it. t.e Oracle .o'e director, 0u)10app0oracle0product012.1.)0d(.o'eQ1.

".* 5einstallin- Oracle RAC &oft<are


?.e 5einstallation ?ool re'o1es Oracle Cluster<are and Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7) fro' ,our ser1er+ and Oracle Real Application Clusters (Oracle RAC) or standalone Oracle 5ata(ase installations. ?.e follo<in- sections descri(e t.e script+ and pro1ide infor'ation a(out additional options to use t.e tool3
O

A(out t.e 5einstallation ?ool !xa'ple of Runnin- t.e 5einstall Co''and for Oracle RAC 5einstallation 2ara'eter >ile !xa'ple for Oracle RAC

".*.1 A(out t.e 5einstallation ?ool


&tartin- <it. Oracle 5ata(ase 12c+ t.e deinstallation tool is inte-rated <it. t.e data(ase installation 'edia. @ou can run t.e deinstallation tool usin- t.e runInstaller co''and <it. t.e %deinstall and %.o'e options fro' t.e (ase director, of t.e data(ase+ client or -rid infrastructure installation 'edia. ?.e deinstallation tool is also a1aila(le as a separate co''and (deinstall) in Oracle .o'e directories after installation. It is located in t.e RORACL!Q;O7!0deinstall director,.

"%2 Oracle Real Application Clusters Installation Guide

5einstallin- Oracle RAC &oft<are

?.e deinstallation tool uses t.e infor'ation ,ou pro1ide+ plus infor'ation -at.ered fro' t.e soft<are .o'e to create a para'eter file. @ou can alternati1el, suppl, a para'eter file -enerated pre1iousl, (, t.e deinstall co''and usin- t.e Jc.ec8onl, option+ or (, editin- t.e response file te'plate. ?.e deinstallation tool stops Oracle soft<are+ and re'o1es Oracle soft<are and confi-uration files on t.e operatin- s,ste' for a specific Oracle .o'e. If ,ou run t.e deinstallation tool to re'o1e an Oracle Grid Infrastructure for a standalone ser1er+ t.en t.e deinstaller pro'pts ,ou to run t.e root.as.pl script+ as t.e root user+ to deconfi-ure Oracle Restart. 6.en ,ou run t.e deinstallation tool+ if t.e central in1entor, (oraIn1entor,) contains no ot.er re-istered .o'es (esides t.e .o'e t.at ,ou are deconfi-urin- and re'o1in-+ t.en t.e deinstall co''and re'o1es t.e follo<in- files and director, contents in t.e Oracle (ase director, of t.e Oracle 5ata(ase installation o<ner3
Caution3
O

ad'in cf-toollo-s c.ec8points diaoradata fastQreco1er,Qarea

Oracle stron-l, reco''ends t.at ,ou confi-ure ,our installations usin- an Opti'al >lexi(le Arc.itecture (O>A) confi-uration+ and t.at ,ou reser1e Oracle (ase and Oracle .o'e pat.s for exclusi1e use of Oracle soft<are. If ,ou .a1e an, user data in t.ese locations in t.e Oracle (ase t.at is o<ned (, t.e user account t.at o<ns t.e Oracle soft<are+ t.en t.e deinstallation tool deletes t.is data.

?.e default 'et.od for runnin- t.e deinstallation tool is fro' t.e deinstall director, in t.e Oracle .o'e as t.e installation o<ner3
R RORACL!Q;O7!0deinstall0deinstall

?.e deinstall co''and uses t.e follo<in- s,ntax+ <.ere 1aria(le content is indicated in italics3
deinstall V%silentW V%c.ec8onl,W V%localW V%para'file co'plete pat. of input response fileW V%para's na'e1M1alue na'e2M1alue . . .W V%o co'plete pat. of director, for sa1infilesW V%.elpW

?o run t.e deinstallation tool fro' t.e data(ase installation 'edia+ use t.e runInstaller co''and <it. t.e %deinstall option+ follo<ed (, t.e %.o'e option to specif, t.e pat. of t.e Oracle .o'e to re'o1e usin- t.e follo<in- s,ntax+ <.ere 1aria(le content is indicated in italics3
runInstaller %deinstall %.o'e co'plete pat. of Oracle .o'e V%silentW V%c.ec8onl,W V%localW V%para'file co'plete pat. of input para'eter propert, fileW V%para's na'e1M1alue na'e2M1alue . . .W V%o co'plete pat. of director, for sa1in- filesW V%.elpW

2ro1ide infor'ation a(out ,our ser1ers as pro'pted or accept t.e defaults.

Re'o1in- Oracle Real Application Clusters &oft<are "%*

5einstallin- Oracle RAC &oft<are

?.e deinstallation tool stops Oracle soft<are+ and re'o1es Oracle soft<are and confi-uration files on t.e operatin- s,ste'. In addition+ ,ou can run t.e deinstallation tool <it. a para'eter file+ or select t.e follo<in- options to run t.e tool3
O

%.o'e Use t.is fla- to indicate t.e .o'e pat. of t.e Oracle .o'e to c.ec8 or deinstall. ?o deinstall Oracle soft<are usin- t.e deinstall co''and in t.e Oracle .o'e ,ou plan to deinstall+ pro1ide a para'eter file in anot.er location+ and do not use t.e %.o'e fla-. If ,ou run deinstall fro' t.e RORACL!Q;O7!0deinstall pat.+ t.en t.e %.o'e fla- is not reBuired (ecause t.e tool 8no<s fro' <.ic. .o'e it is (einrun. If ,ou use t.e standalone 1ersion of t.e tool or runInstaller %deinstall fro' t.e installation 'edia+ t.en %.o'e is 'andator,.

%silent Use t.is fla- to run t.e co''and in silent or response file 'ode. If ,ou use t.e %silent fla-+ t.en ,ou 'ust use t.e %para'file fla-+ and pro1ide a para'eter file t.at contains t.e confi-uration 1alues for t.e Oracle .o'e to deinstall or deconfi-ure. @ou can -enerate a para'eter file to use or 'odif, (, runnin- deinstall <it. t.e %c.ec8onl, fla-. ?.e deinstall co''and t.en disco1ers infor'ation fro' t.e Oracle .o'e to deinstall and deconfi-ure. It -enerates t.e properties file+ <.ic. ,ou can t.en use <it. t.e %silent option. @ou can also 'odif, t.e te'plate file deinstall.rsp.t'pl+ located in t.e RORACL!Q;O7!0deinstall0response folder.

%c.ec8onl, Use t.is fla- to c.ec8 t.e status of t.e Oracle soft<are .o'e confi-uration. Runnin- t.e deinstall co''and <it. t.e %c.ec8onl, fla- does not re'o1e t.e Oracle confi-uration. ?.e %c.ec8onl, fla- -enerates a para'eter file <.ic. ,ou can t.en use <it. t.e deinstall co''and and %silent option.

%local Use t.is fla- on a 'ultinode en1iron'ent to deinstall Oracle soft<are in a cluster. 6.en ,ou run deinstall <it. t.is fla-+ it deconfi-ures and deinstalls t.e Oracle soft<are on t.e local node (t.e node <.ere deinstall is run). On re'ote nodes+ it deconfi-ures Oracle soft<are+ (ut does not deinstall t.e Oracle soft<are.

%para'file co'plete pat. of input para'eter propert, file Use t.is fla- to run deinstall <it. a para'eter file in a location ot.er t.an t.e default. 6.en ,ou use t.is fla-+ pro1ide t.e co'plete pat. <.ere t.e para'eter file is located. ?.e default location of t.e para'eter file depends on t.e location of deinstall3 J J J >ro' t.e installation 'edia or sta-e location3 RORACL!Q ;O7!0in1entor,0response >ro' a un=ipped arc.i1e file fro' Oracle ?ec.nolo-, Net<or83 0=iplocation0response After installation fro' t.e installed Oracle .o'e3 RORACL!Q ;O7!0deinstall0response

"%F Oracle Real Application Clusters Installation Guide

5einstallin- Oracle RAC &oft<are

%para's Vna'e1M1alue na'e 2M1alue na'e*M1alue . . .W Use t.is fla- <it. a para'eter file to o1erride one or 'ore 1alues to c.an-e in a para'eter file ,ou .a1e created.

%o co'plete pat. of director, for sa1in- response files Use t.is fla- to pro1ide a pat. ot.er t.an t.e default location <.ere t.e properties file (deinstall.rsp.t'pl) is sa1ed. ?.e default location of t.e para'eter file depends on t.e location of deinstall3 J J J %.elp Use t.e .elp option (%.elp) to -et additional infor'ation a(out t.e co''and option fla-s. >ro' t.e installation 'edia or sta-e location (efore installation3 RORACL!Q ;O7!0 >ro' a un=ipped arc.i1e file fro' Oracle ?ec.nolo-, Net<or83 0=iplocation0response0 After installation fro' t.e installed Oracle .o'e3 RORACL!Q ;O7!0deinstall0response

".*.2 !xa'ple of Runnin- t.e 5einstall Co''and for Oracle RAC


If ,ou run t.e deinstallation tool usin- t.e deinstall co''and fro' t.e RORACL!Q ;O7!0deinstall folder+ t.en t.e deinstallation starts <it.out pro'ptin- ,ou for an ORACL!Q;O7!. Use t.e optional fla- %para'file to pro1ide a pat. to a para'eter file. In t.e follo<in- exa'ple+ t.e runInstaller co''and is in t.e pat. 0director,Q pat.+ <.ere director,Qpat. is t.e pat. to t.e data(ase director, on t.e installation 'edia+ and 0u)10app0oracle0product012.1.)0d(.o'eQ10 is t.e pat. to t.e Oracle .o'e to re'o1e3
R cd 0director,Qpat.0runInstaller R .0runInstaller %deinstall %.o'e 0u)10app0oracle0product012.1.)0d(.o'eQ10

?.e follo<in- exa'ple uses a para'eter file in t.e soft<are o<ner location 0.o'e0usr0oracle3
R cd 0director,Qpat.0runInstaller R .0runInstaller %deinstall %para'file 0.o'e0usr0oracle0',Qd(Qpara'file.t'pl

".*.* 5einstallation 2ara'eter >ile !xa'ple for Oracle RAC


@ou can run t.e deinstallation tool on Oracle RAC 5ata(ases <it. t.e %para'file option to use t.e 1alues ,ou specif, in t.e para'eter file. ?.e follo<in- is an exa'ple of a para'eter file+ in <.ic. t.e Oracle 5ata(ase (inar, o<ner is oracle+ t.e Oracle 5ata(ase .o'e (Oracle .o'e) is in t.e pat. 0u)10app0oracle0product012.1.)0d(.o'eQ10+ t.e Oracle (ase (<.ere ot.er Oracle soft<are is installed) is 0u)10app0oracle0+ t.e central Oracle In1entor, .o'e (oraIn1entor,) is 0u)10app0oraIn1entor,+ t.e 1irtual I2 address (DI2) is 1$2.).2.1+ t.e local node (t.e node <.ere ,ou run t.e deinstallation session fro') is ',ser1er+ and t.e O&59A -roup is d(a3
TCop,ri-.t (c) 2))G+ 2))H Oracle Corporation. All ri-.ts reser1ed. T7on >e( 1H )H3F#3*$ U?C 2))$

Re'o1in- Oracle Real Application Clusters &oft<are "%G

5einstallin- Oracle RAC &oft<are

5I&4QGROU2&.sid(M A&7Q;O7!M A&7QLOCALQ&I5M LOG5IRM0u)10app0oracle0product012.1.)0d(.o'eQ10oraIn1entor,0lo-s0 ORACL!Q9A&!.sid(M0u)10app0oracle0 R!COD!R@QLOC.sid(M &?ORAG!Q?@2!.sid(M>& ORACL!Q9A&!M0u)10app0oracle0 IND!N?OR@QLOCA?IONM0u)10app0oraIn1entor, 59Q?@2!.sid(M&IQ59 NO5!QLI&?.sid(M',ser1er ARC;ID!QLOGQ5!&?INA?IONQLOC.sid(M LOCALQ&I5.sid(Msid( 59QUNIIU!QNA7!QLI&?Msid( A&7Q>IL!&.sid(M ;O7!Q?@2!M&I59 CR&Q;O7!Mfalse RA6Q7A22INGQ>IL!.sid(M &I5QLI&?.sid(Msid( ORACL!Q9INAR@QO4Mtrue 5A?A>IL!QLOC.sid(M0u)10app0oracle0oradata localMfalse LOCALQNO5!M',ser1er CR!A?IONQ7O5!.sid(M, CON>IG>IL!QLOC.sid(M 5IAGQ5!&?.sid(M0u)10app0oracle0 silentMfalse ORACL!Q;O7!M0u)10app0oracle0product012.1.)0d(.o'eQ10 &2>IL!QLOC.sid(M

"%H Oracle Real Application Clusters Installation Guide

A
A

?rou(les.ootin- Oracle Real Application Clusters Installations


?.is appendix pro1ides trou(les.ootin- infor'ation for installin- Oracle Real Application Clusters (Oracle RAC). It contains t.e follo<in- sections3
O

?rou(les.ootin- Oracle Real Application Clusters Installations A(out Usin- CDU Cluster ;ealt.c.ec8s After Installation ?.e Oracle 5ata(ase 12c Release 1 (12.1) Oracle Real Application Clusters docu'entation set3
&ee Also3
O

Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide Oracle Cluster<are Ad'inistration and 5eplo,'ent Guide

A.1 ?rou(les.ootin- Oracle Real Application Clusters Installations


?.is section contains t.e follo<in- topics3
O

General Installation Issues Oracle RAC Installation !rror 7essa-es 2erfor'in- Cluster 5ia-nostics 5urin- Oracle Cluster<are Installations Re1ie<in- t.e Lo- of an Installation &ession Confi-uration Assistant !rrors

A.1.1 General Installation Issues


?.e follo<in- is a list of exa'ples of t.e t,pes of errors t.at can occur durininstallation. It contains t.e follo<in- issues3
O

An error occurred <.ile tr,in- to -et t.e dis8s >ailed to connect to ser1er+ Connection refused (, ser1er+ or CanKt open displa, Nodes una1aila(le for selection fro' t.e OUI Node &election screen Node nodena'e is unreac.a(le ORA%))#FG3 7!7OR@Q?ARG!? not supported on t.is s,ste'. 2R42%1))13 !rror startin- instance ?i'e sta'p is in t.e future

?rou(les.ootin- Oracle Real Application Clusters Installations

A%1

?rou(les.ootin- Oracle Real Application Clusters Installations

@29IN52ROCQ5O7AIN3 5o'ain not (ound

An error occurred <.ile tr,in- to -et t.e dis8s Cause3 ?.ere is an entr, in 0etc0orata( pointin- to a non%existent Oracle .o'e. ?.e OUI error file s.ould s.o< t.e follo<in- error3 ECa1a.io.IO!xception3 0.o'e0oracle0Ora;o'e00(in08fod3 not foundE Action3 Re'o1e t.e entr, in 0etc0orata( pointin- to a non%existin- Oracle .o'e. >ailed to connect to ser1er+ Connection refused (, ser1er+ or CanKt open displa, Cause3 ?.ese are t,pical of 6indo< displa, errors on 6indo<s or UNI s,ste's+ <.ere x.ost is not properl, confi-ured. Action3 In a local ter'inal <indo<+ lo- in as t.e user t.at started t.e session+ and enter t.e follo<in- co''and3 R x.ost full,QBualifiedQre'oteQ.ostQna'e >or exa'ple3
R x.ost so'e.ost.exa'ple.co'

6indo<

?.en+ enter t.e follo<in- co''ands+ <.ere <or8stationQna'e is t.e .ost na'e or I2 address of ,our <or8station. 9ourne+ 9as.+ or 4orn s.ell3
R 5I&2LA@M<or8stationQna'e3).) R export 5I&2LA@

?o deter'ine if 6indo< applications displa, correctl, on t.e local s,ste'+ enter t.e follo<in- co''and3
R xcloc8

?.e cloc8 s.ould appear on ,our 'onitor. If t.is fails+ t.en use of t.e x.ost co''and 'a, (e restricted on t.e ser1er. If ,ou are usin- a DNC client to access t.e ser1er+ t.en ensure t.at ,ou are accessin- t.e 1isual t.at is assi-ned to t.e user t.at ,ou are tr,in- to use for t.e installation. >or exa'ple+ if ,ou used t.e su co''and to (eco'e t.e installation o<ner on anot.er user 1isual+ and t.e x.ost co''and use is restricted+ t.en ,ou cannot use t.e x.ost co''and to c.an-e t.e displa,. If ,ou use t.e 1isual assi-ned to t.e installation o<ner+ t.en t.e correct displa, is a1aila(le+ and enterin- t.e xcloc8 co''and displa,s t.e cloc8. Nodes una1aila(le for selection fro' t.e OUI Node &election screen Cause3 Oracle Cluster<are is eit.er not installed+ or t.e Oracle Cluster<are ser1ices are not up and runnin-. Action3 Install Oracle Cluster<are+ or re1ie< t.e status of ,our Oracle Cluster<are. Consider restartin- t.e nodes+ as doin- so 'a, resol1e t.e pro(le'. Node nodena'e is unreac.a(le Cause3 Una1aila(le I2 .ost Action3 Atte'pt t.e follo<in-3
1.

Run t.e co''and ifconfi- %a. Co'pare t.e output of t.is co''and <it. t.e contents of t.e 0etc0.osts file to ensure t.at t.e node I2 is listed.

A%2 Oracle Real Application Clusters Installation Guide

?rou(les.ootin- Oracle Real Application Clusters Installations

2. *.

Run t.e co''and nsloo8up to see if t.e .ost is reac.a(le. As t.e oracle user+ atte'pt to connect to t.e node <it. ss. or rs.. If ,ou are pro'pted for a pass<ord+ t.en user eBui1alence is not set up properl,. Contact ,our s,ste' ad'inistrator+ or consult Oracle Grid Infrastructure Installation Guide for ,our platfor' to co'plete &&; confi-uration.

ORA%))#FG3 7!7OR@Q?ARG!? not supported on t.is s,ste'. Cause3 Insufficient 'e'or, to support &GA and 2GA si=es Action3 As8 ,our s,ste' ad'inistrator to increase t.e s.ared 'e'or, file s,ste' (for exa'ple+ on Linux+ increase 0de10s.'). 2R42%1))13 !rror startin- instance Cause3 7issin- O59C 5ri1er 7ana-er. Associated 'essa-e is CR&%)21G3 Could not start resource. Action3 Clean up installation+ do<nload and install t.e O59C dri1er fro' .ttp300<<<.unixod(c.or-+ and restart t.e installation. ?.is is a reBuire'ent for Oracle RAC data(ases+ docu'ented in s,ste' reBuire'ents in Oracle Grid Infrastructure Installation Guide for ,our platfor'. ?i'e sta'p is in t.e future Cause3 One or 'ore nodes .as a different cloc8 ti'e t.an t.e local node. If t.is is t.e case+ t.en ,ou 'a, see output si'ilar to t.e follo<in-3
ti'e sta'p 2))G%)F%)F 1F3F$3F$ is 1)H s in t.e future

Action3 !nsure t.at all 'e'(er nodes of t.e cluster .a1e t.e sa'e cloc8 ti'e. @29IN52ROCQ5O7AIN3 5o'ain not (ound Cause3 ?.is error can occur durin- postinstallation testin- <.en a node pu(lic net<or8 interconnect is pulled out+ and t.e DI2 does not fail o1er. Instead+ t.e node .an-s+ and users are una(le to lo- in to t.e s,ste'. ?.is error occurs <.en t.e Oracle .o'e+ listener.ora+ Oracle lo- files+ or an, action scripts are located on an NA& de1ice or N>& 'ount+ and t.e na'e ser1ice cac.e dae'on nscd .as not (een acti1ated. Action3 !nter t.e follo<in- co''and on all nodes in t.e cluster to start t.e nscd ser1ice3
0s(in0ser1ice nscd start

A.1.2 Oracle RAC Installation !rror 7essa-es


Note t.at t.e user perfor'in- t.e Oracle RAC installation 'ust .a1e 'e'(ers.ip (ot. in t.e oinstall -roup and t.e O&59A -roup (t,picall, oinstall and d(a). If t.is is not t.e case+ t.en t.e installation <ill fail

A.1.* 2erfor'in- Cluster 5ia-nostics 5urin- Oracle Cluster<are Installations


If Oracle Uni1ersal Installer (OUI) does not displa, t.e Node &election pa-e+ t.en perfor' cluster<are dia-nostics (, runnin- t.e olsnodes %1 co''and fro' t.e (inar, director, in ,our Oracle Cluster<are .o'e (GridQ.o'e0(in on Linux and UNI %(ased s,ste's)+ and anal,=in- its output. Refer to ,our cluster<are docu'entation if t.e detailed output indicates t.at ,our cluster<are is not runnin-. In addition+ use t.e follo<in- co''and s,ntax to c.ec8 t.e inte-rit, of t.e Cluster 7ana-er3

?rou(les.ootin- Oracle Real Application Clusters Installations

A%*

?rou(les.ootin- Oracle Real Application Clusters Installations

clu1f, co'p clu'-r %n nodeQlist %1er(ose

In t.e precedin- s,ntax exa'ple+ t.e 1aria(le nodeQlist is t.e list of nodes in ,our cluster+ separated (, co''as.

A.1.F Re1ie<in- t.e Lo- of an Installation &ession


5urin- an installation+ Oracle Uni1ersal Installer (OUI) records all of t.e actions t.at it perfor's in a lo- file. If ,ou encounter pro(le's durin- t.e installation+ t.en re1ie< t.e lo- file for infor'ation a(out possi(le causes of t.e pro(le'. ?o 1ie< t.e lo- file+ follo< t.ese steps3
1.

If necessar,+ enter t.e follo<in- co''and to deter'ine t.e location of t.e oraIn1entor, director,3
R cat 0opt0oracle0oraInst.loc R cat 01ar0opt0oracle0oraInst.loc

2.

!nter t.e follo<in- co''and to deter'ine t.e na'e of t.e lo- file3
R ls %ltr

?.is co''and lists t.e files in t.e order of creation+ <it. t.e 'ost recent file s.o<n last. Installer lo- files .a1e na'es si'ilar to t.e follo<in-+ <.ere dateQ ti'e indicates t.e date and ti'e t.at t.e installation started3
installActionsdateQti'e.lo-

?o 1ie< t.e 'ost recent entries in t.e lo- file+ <.ere infor'ation a(out a pro(le' is 'ost li8el, to appear+ enter a co''and si'ilar to t.e follo<in-3
R tail %G) installActions2))"%)"%2)Q)$%G*%22A7.lo- [ 'ore

?.is co''and displa,s t.e last G) lines in t.e lo- file+ and ena(les ,ou to pa-e t.rou-. t.e'. If t.e error displa,ed (, Oracle Uni1ersal Installer or listed in t.e lo- file indicates a relin8in- pro(le'+ t.en refer to t.e follo<in- file for 'ore infor'ation3
RORACL!Q;O7!0install0'a8e.lo-

A.1.G Confi-uration Assistant !rrors


?o trou(les.oot an installation error t.at occurs <.en a confi-uration assistant is runnin-3 Re1ie< t.e installation lo- files listed in t.e sectionEERe1ie<in- t.e Lo- of an Installation &essionE on pa-e A%F. Re1ie< t.e specific confi-uration assistant lo- file located in t.e Oracle RAC installation o<ner Oracle (ase director,+ in t.e pat. RORACL!Q9A&!0cf-toollo-s. ?r, to fix t.e issue t.at caused t.e error. If ,ou see t.e E>atal !rror. ReinstallE 'essa-e+ t.en loo8 for t.e cause of t.e pro(le' (, re1ie<in- t.e lo- files. Refer to t.e section EResol1in- Irreco1era(le !rrors Reported (, Confi-uration AssistantsE on pa-e A%G for furt.er instructions. ?.is section contains t.e follo<in- topics3
O

Confi-uration Assistant >ailures

A%F Oracle Real Application Clusters Installation Guide

A(out Usin- CDU Cluster ;ealt.c.ec8s After Installation

Resol1in- Irreco1era(le !rrors Reported (, Confi-uration Assistants

A.1.G.1 Confi-uration Assistant >ailures


Oracle confi-uration assistant failures are noted at t.e (otto' of t.e installation screen. ?.e confi-uration assistant interface displa,s additional infor'ation+ if a1aila(le. ?.e confi-uration assistant execution status is stored in t.e follo<in- file3
oraIn1entor,Qlocation0lo-s0installActionsdateQti'e.lo-

7ore details a(out errors related to t.e confi-uration assistant can (e found in t.e follo<in- director,3
RORACL!Q9A&!0cf-toollo-s

?.e Oracle (ase director, is t.e Oracle (ase for t.e Oracle RAC installation o<ner. Co'pletion status codes are listed in t.e follo<in- ta(le3
&tatus Result Confi-uration Confi-uration Confi-uration Code assistant succeeded ) assistant failed 1 assistant cancelled %1

A.1.G.2 Resol1in- Irreco1era(le !rrors Reported (, Confi-uration Assistants


If ,ou recei1e an irreco1era(le (fatal) error <.ile a confi-uration assistant is runnin-+ t.en ,ou 'ust co'plete t.e follo<in- tas8s3
1.

Re'o1e t.e failed installation as descri(ed in &ection A.*+ ECleanin- Up After a >ailed InstallationE. Correct t.e cause of t.e irreco1era(le error. Reinstall t.e Oracle soft<are.
&ee Also3

2. *.

C.apter "+ ERe'o1in- Oracle Real Application Clusters

&oft<areE

A.2 A(out Usin- CDU Cluster ;ealt.c.ec8s After Installation


&tartin- <it. Oracle Grid Infrastructure 11- Release 2 (11.2.).*) and later+ ,ou can use t.e CDU .ealt.c.ec8 co''and option to c.ec8 ,our Oracle Cluster<are and Oracle 5ata(ase installations for t.eir co'pliance <it. 'andator, reBuire'ents and (est practices -uidelines+ and to c.ec8 to ensure t.at t.e, are functionin- properl,. Use t.e follo<in- s,ntax to run t.e .ealt.c.ec8 co''and option3
clu1f, co'p .ealt.c.ec8 V%collect ^cluster[data(ase_W V%d( d(QuniBueQna'eW V%(estpractice[%'andator,W V%de1iationsW V%.t'lW V%sa1eW V%sa1edir director,Qpat.W

>or exa'ple3
R cd 0.o'e0-rid0c1uQ.o'e0(in R .0clu1f, co'p .ealt.c.ec8 %collect cluster %(estpractice %de1iations %.t'l

?.e options are3


O

%collect Vcluster[data(aseW Use t.is fla- to specif, t.at ,ou <ant to perfor' c.ec8s for Oracle Cluster<are (cluster) or Oracle 5ata(ase (data(ase). If ,ou do not use t.e collect fla-

?rou(les.ootin- Oracle Real Application Clusters Installations

A%G

Cleanin- Up After a >ailed Installation

<it. t.e .ealt.c.ec8 option+ t.en clu1f, co'p .ealt.c.ec8 perfor's c.ec8s for (ot. Oracle Cluster<are and Oracle 5ata(ase.
O

%d( d(QuniBueQna'e Use t.is fla- to specif, c.ec8s on t.e data(ase uniBue na'e t.at ,ou enter after t.e d( fla-. CDU uses :59C to connect to t.e data(ase as t.e user c1us,s to 1erif, 1arious data(ase para'eters. >or t.is reason+ if ,ou <ant c.ec8s to (e perfor'ed for t.e data(ase ,ou specif, <it. t.e %d( fla-+ t.en ,ou 'ust first create t.e c1us,s user on t.at data(ase+ and -rant t.at user t.e CDU%specific role+ c1usapp. @ou 'ust also -rant 'e'(ers of t.e c1usapp role select per'issions on s,ste' ta(les. A &IL script is included in CDUQ.o'e0c10ad'in0c1us,s.sBl to facilitate t.e creation of t.is user. Use t.is &IL script to create t.e c1us,s user on all t.e data(ases t.at ,ou <ant to 1erif, usin- CDU. If ,ou use t.e d( fla- (ut do not pro1ide a data(ase uniBue na'e+ t.en CDU disco1ers all t.e Oracle 5ata(ases on t.e cluster. ?o perfor' (est practices c.ec8s on t.ese data(ases+ ,ou 'ust create t.e c1us,s user on eac. data(ase+ and -rant t.at user t.e c1usapp role <it. t.e select pri1ile-es needed to perfor' t.e (est practice c.ec8s.

V%(estpractice [ %'andator,W V%de1iationsW Use t.e (estpractice fla- to specif, (est practice c.ec8s+ and t.e 'andator, fla- to specif, 'andator, c.ec8s. Add t.e de1iations fla- to specif, t.at ,ou <ant to see onl, t.e de1iations fro' eit.er t.e (est practice reco''endations or t.e 'andator, reBuire'ents. @ou can specif, eit.er t.e %(estpractice or %'andator, fla-+ (ut not (ot. fla-s. If ,ou specif, neit.er %(estpractice or %'andator,+ t.en (ot. (est practices and 'andator, reBuire'ents are displa,ed.

%.t'l Use t.e .t'l fla- to -enerate a detailed report in ;?7L for'at. If ,ou specif, t.e .t'l fla-+ and a (ro<ser CDU reco-ni=es is a1aila(le on t.e s,ste'+ t.en t.e (ro<ser is started and t.e report is displa,ed on t.e (ro<ser <.en t.e c.ec8s are co'plete. If ,ou do not specif, t.e .t'l fla-+ t.en t.e detailed report is -enerated in a text file.

%sa1e V%sa1edir dirQpat.W Use t.e sa1e or %sa1e %sa1edir fla-s to sa1e 1alidation reports (c1uc.ecd8reportQti'esta'p.txt and c1uc.ec8reportQ ti'esta'p..t')+ <.ere ti'esta'p is t.e ti'e and date of t.e 1alidation report. If ,ou use t.e sa1e fla- (, itself+ t.en t.e reports are sa1ed in t.e pat. CDUQ .o'e0c10report+ <.ere CDUQ.o'e is t.e location of t.e CDU (inaries. If ,ou use t.e fla-s %sa1e %sa1edir+ and enter a pat. <.ere ,ou <ant t.e CDU reports sa1ed+ t.en t.e CDU reports are sa1ed in t.e pat. ,ou specif,.

A.* Cleanin- Up After a >ailed Installation


If an installation fails+ t.en ,ou 'ust re'o1e t.e Oracle .o'e director, and re'o1e all files t.at OUI created durin- t.e atte'pted installation. 2erfor' t.e follo<insteps to clean up t.e failed installation3

A%H Oracle Real Application Clusters Installation Guide

Cleanin- Up After a >ailed Installation

1.

>ollo< t.e instructions in C.apter "+ ERe'o1in- Oracle Real Application Clusters &oft<areE to run OUI to deinstall Oracle RAC. 7anuall, re'o1e t.e director, t.at <as used as t.e Oracle .o'e director, durint.e installation.

2.

After ,ou .a1e co'pleted t.ese steps+ ,ou can start t.e installation a-ain.

?rou(les.ootin- Oracle Real Application Clusters Installations

A%"

Cleanin- Up After a >ailed Installation

A%# Oracle Real Application Clusters Installation Guide

9
&cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases
9Usin-

?.is appendix descri(es t.e steps for noninteracti1e installations durin- <.ic. ,ou can create Oracle Real Application Clusters (Oracle RAC) data(ases usin- scripts. ?.e scripts -enerated (, 5ata(ase Confi-uration Assistant (59CA) are for reference onl,. Oracle stron-l, reco''ends t.at ,ou use 59CA to create a data(ase.
Note3

Oracle Uni1ersal Installer NextGen Installation Guide for detailed infor'ation a(out -eneratin- scripts
&ee Also3

?.is appendix contains t.e follo<in- topics3


O

Usin- 59CA to Generate Installation &cripts for Oracle RAC A(out 59CA Noninteracti1e (&ilent) Confi-uration for Oracle RAC 59CA Co''ands for Noninteracti1e (&ilent) Confi-uration for Oracle RAC ;o< Response >iles 6or8 2reparin- Response >iles Runnin- Oracle Uni1ersal Installer Usin- a Response >ile Runnin- Net Confi-uration Assistant Usin- Response >iles Runnin- Confi-uration Assistants Usin- Response >iles 2ostinstallation Confi-uration Usin- Response >iles

9.1 Usin- 59CA to Generate Installation &cripts for Oracle RAC


?o -enerate scripts to create an Oracle RAC data(ase+ create a data(ase usin- t.e -enerated scripts+ and prepare t.e data(ase for use+ co'plete t.e follo<in- steps3
1.

&tart 59CA and select ,our preferred options to (uild t.e Oracle RAC data(ase. On t.e Creation Options pa-e of ,our 59CA session+ deselect Create 5ata(ase and select Generate 5ata(ase Creation &cripts (efore ,ou clic8 >inis.. @ou can accept t.e default destination director, for t.e scripts+ or (ro<se for a different location. In eit.er case+ ,ou s.ould note t.e pat. na'e for use in t.e next step.

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases 9%1

A(out 59CA Noninteracti1e (&ilent) Confi-uration for Oracle RAC

C.apter *+ ECreatin- Oracle Real Application Clusters 5ata(ases <it. 5ata(ase Confi-uration AssistantE for additional infor'ation a(out runnin- a 59CA session
&ee Also3 2.

Go to t.e director, <.ere 59CA created t.e scripts+ and re1ie< t.e &IL scripts to ensure t.at t.e, contain t.e state'ents to (uild a data(ase <it. t.e c.aracteristics ,ou reBuire. If t.e, do not+ t.en Oracle reco''ends t.at ,ou rerun 59CA to create scripts <it. t.e desired confi-uration rat.er t.an editin- t.e scripts ,ourself. On eac. cluster node ,ou identified durin- ,our 59CA session+ run t.e script sid.s.+ <.ere sid is t.e &I5 prefix t.at ,ou entered on t.e 59CA 5ata(ase Na'e pa-e. &et t.e initiali=ation para'eter+ clusterQdata(ase+ to t.e 1alue ?RU! in ,our &2>IL! (, runnin- an AL?!R &@&?!7 state'ent in &ILS2lus+ or (, unco''entin- t.e para'eter in t.e 2>IL! for eac. instance. Confi-ure Oracle Net &er1ices to support ,our ne< data(ase and instances as descri(ed in C.apter H+ EUnderstandin- t.e Oracle Real Application Clusters Installed Confi-urationE. &et t.e R!7O?!QLI&?!N!R para'eter to t.e &CAN (usin- t.e !as, Connect Na'in- s,ntax scanna'e3scanport) in ,our &2>IL! (, enterin- an AL?!R &@&?!7 state'ent in &ILS2lus+ or (, unco''entin- t.e para'eter in t.e 2>IL! for eac. instance. Run t.e &er1er Control Utilit, (&RDC?L) to confi-ure and start data(ase and instance applications as descri(ed in Oracle Real Application Clusters Ad'inistration and 5eplo,'ent Guide. ?.e Oracle Uni1ersal Installer NextGen Installation Guide for additional infor'ation a(out creatin- and usin- scripts to install Oracle soft<are <it. Oracle Uni1ersal Installer (OUI)
&ee Also3

*.

F.

G.

H.

".

9.2 A(out 59CA Noninteracti1e (&ilent) Confi-uration for Oracle RAC


@ou can perfor' a noninteracti1e+ or silent confi-uration of Oracle RAC usin- 59CA. ?o perfor' a silent confi-uration+ ,ou 'ust .a1e co'pleted an Oracle Grid Infrastructure (Oracle Cluster<are and Oracle A&7) installation+ run t.e root.s. script fro' t.e Oracle 5ata(ase .o'e+ and defined t.e Oracle .o'e director, en1iron'ent 1aria(le. @ou can use 59CA to create a data(ase fro' te'plates supplied (, Oracle+ or fro' te'plates t.at ,ou create. ?.e te'plates contain settin-s opti'i=ed for a particular t,pe of <or8load. Oracle pro1ides te'plates for t.e follo<in- t<o <or8load t,pes3
O

General purpose or transaction processin5ata <are.ouse

>or 'ore co'plex en1iron'ents+ ,ou can select t.e Custo' 5ata(ase option. ?.is option does not use te'plates and results in a 'ore extensi1e installation inter1ie<+ <.ic. 'eans t.at it ta8es lon-er to create ,our data(ase.

9%2 Oracle Real Application Clusters Installation Guide

;o< Response >iles 6or8

9.* 59CA Co''ands for Noninteracti1e (&ilent) Confi-uration for Oracle RAC
@ou can use t.e follo<in- co''and s,ntax to create an Oracle RAC data(ase usint.e -eneral purpose te'plate+ placin- t.e data files in an existin- Oracle A&7 dis8 -roup. Nodes node1 and node2 are t.e cluster nodes on <.ic. Oracle RAC data(ase instances are created. ?.e dis8 -roup na'e is ]A&7-rp1+ and pass<ord is a place.older for a pass<ord. ?.e pass<ords can (e all t.e sa'e pass<ord or different pass<ords eac. ti'e3
T su oracle %c ERORACL!Q;O7!0(in0d(ca %silent %create5ata(ase %te'plateNa'e GeneralQ2urpose.d(c %-d(Na'e R59NA7! %sid RORACL!Q&I5 %s,s2ass<ord pass<ord %s,ste'2ass<ord pass<ord %s,s'an2ass<ord pass<ord %d(sn'p2ass<ord pass<ord %e'Confi-uration LOCAL %stora-e?,pe A&7 %dis8GroupNa'e A&7-rp1 %datafile:arLocation RORACL!Q;O7!0assistants0d(ca0te'plates %nodeinfo node1+node2 %c.aracterset 6!#I&O##G$21 %o(fuscated2ass<ords false %sa'ple&c.e'a false %as'&,s2ass<ord pass<ordE

Oracle 5ata(ase Ad'inistratorKs Guide for a co'plete description of t.e d(ca co''ands and options
&ee Also3

9.F ;o< Response >iles 6or8


6.en ,ou start Oracle Uni1ersal Installer (OUI)+ ,ou can use a response file to auto'ate t.e installation and confi-uration of Oracle soft<are+ eit.er full, or partiall,. OUI uses t.e 1alues contained in t.e response file to pro1ide ans<ers to so'e or all installation pro'pts. ?,picall,+ t.e installer runs in interacti1e 'ode+ <.ic. 'eans t.at it pro'pts ,ou to pro1ide infor'ation in -rap.ical user interface (GUI) screens. 6.en ,ou use response files to pro1ide t.is infor'ation+ ,ou run t.e installer fro' a co''and pro'pt usineit.er of t.e follo<in- 'odes3
O

&ilent 'ode If ,ou include responses for all of t.e pro'pts in t.e response file and specif, t.e %silent option <.en startin- t.e installer+ t.en it runs in silent 'ode. 5urin- a silent 'ode installation+ t.e installer does not displa, an, screens. Instead+ it displa,s pro-ress infor'ation in t.e ter'inal t.at ,ou used to start it.

Response file 'ode If ,ou include responses for so'e or all of t.e pro'pts in t.e response file and o'it t.e %silent option+ t.en t.e installer runs in response file 'ode. 5urin- a response file 'ode installation+ t.e installer displa,s all t.e screens+ screens for <.ic. ,ou specif, infor'ation in t.e response file+ and also screens for <.ic. ,ou did not specif, t.e reBuired infor'ation in t.e response file.

@ou define t.e settin-s for a silent or response file installation (, enterin- 1alues for t.e 1aria(les listed in t.e response file. >or exa'ple+ to specif, t.e Oracle .o'e na'e+ suppl, t.e appropriate 1alue for t.e ORACL!Q;O7! en1iron'ent 1aria(le3
ORACL!Q;O7!M0u)10app0oracle0product012.1.)0d(.o'eQ1

Anot.er <a, of specif,in- t.e response file 1aria(le settin-s is to pass t.e' as co''and%line ar-u'ents <.en ,ou run t.e installer. >or exa'ple3
%silent director,Qpat.

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases 9%*

;o< Response >iles 6or8

In t.is co''and+ director,Qpat. is t.e pat. of t.e data(ase director, on t.e 5D5 or t.e pat. of t.e director, on t.e .ard dri1e. ?.is 'et.od is particularl, useful if ,ou do not <ant to e'(ed sensiti1e infor'ation+ suc. as pass<ords+ in t.e response file. >or exa'ple3
%silent EsQdl-R9O2ass<ordM(in8s*F2E ...

!nclose t.e 1aria(le na'e and its 1alue in dou(le Buotation 'ar8s. Oracle Uni1ersal Installer NextGen Installation Guide for 'ore infor'ation a(out response files
&ee Also3

9.F.1 Reasons for Usin- &ilent 7ode or Response >ile 7ode


?.e follo<in- ta(le pro1ides use cases for runnin- t.e installer in silent 'ode or response file 'ode.
7ode &ilent Uses Use silent 'ode for t.e follo<in- installations3
O

Co'plete an unattended installation+ <.ic. ,ou sc.edule usinoperatin- s,ste' utilities suc. as at. Co'plete se1eral si'ilar installations on 'ultiple s,ste's <it.out user interaction. Install t.e soft<are on a s,ste' t.at does not .a1e soft<are installed on it. 6indo< &,ste'

?.e installer displa,s pro-ress infor'ation on t.e ter'inal t.at ,ou used to start it+ (ut it does not displa, an, of t.e installer screens. Response file Use response file 'ode to co'plete si'ilar Oracle soft<are installations on 'ore t.an one s,ste'+ pro1idin- default ans<ers to so'e+ (ut not all of t.e installer pro'pts. If ,ou do not specif, infor'ation reBuired for a particular installer screen in t.e response file+ t.en t.e installer displa,s t.at screen. It suppresses screens for <.ic. ,ou .a1e pro1ided all of t.e reBuired infor'ation.

9.F.2 Creatin- a 5ata(ase Usin- Oracle A&7 for 5ata(ase >iles


9efore ,ou create a data(ase t.at uses Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7)+ ,ou 'ust run t.e root.s. script. >or t.is reason+ ,ou cannot create a data(ase usin- Oracle A&7 as t.e stora-e option for data(ase files durin- a silent 'ode installation. Instead+ ,ou can co'plete a soft<are%onl, installation usin- silent%'ode+ and t.en run t.e Oracle Net Confi-uration Assistant and 59CA in silent 'ode after ,ou .a1e co'pleted t.e soft<are%onl, installation and ,ou .a1e run t.e root.s. script. ?.is li'itation applies onl, to data(ases t.at use Oracle Auto'atic &tora-e 7ana-e'ent as t.e stora-e option for data(ase files. @ou can create a data(ase t.at uses t.e file s,ste' option durina silent%'ode installation.
Note3

9.F.* General 2rocedure for Usin- Response >iles


Use t.e follo<in- -eneral steps to install and confi-ure Oracle products usin- t.e installer in silent or response file 'ode3

9%F Oracle Real Application Clusters Installation Guide

2reparin- Response >iles

@ou 'ust co'plete all reBuired preinstallation tas8s on a s,ste' (efore runnin- t.e installer in silent or response file 'ode.
Note3

1. 2. *. F.

Create t.e oraInst.loc file if it is not present on t.e ser1er. 2repare a response file. Run t.e installer in silent or response file 'ode. If ,ou co'pleted a soft<are%onl, installation+ t.en run Net Confi-uration Assistant and 59CA in silent or response file 'ode.

?.ese steps are descri(ed in t.e follo<in- sections.

9.G 2reparin- Response >iles


?.is section descri(es t.e follo<in- 'et.ods to prepare response files for use durinsilent 'ode or response file 'ode installations3
O

!ditin- a Response >ile ?e'plate Recordin- Response >iles

9.G.1 !ditin- a Response >ile ?e'plate


>or Oracle 5ata(ase+ t.ese files are located in t.e data(ase0response director, on t.e installation 'edia or in t.e OracleQ.o'e0in1entor,0response director, after t.e soft<are .as (een installed. If ,ou copied t.e soft<are to a .ard dis8+ t.en t.e response files are located in t.e director, 0response.
Note3

?a(le 9J1 lists t.e response files pro1ided <it. t.is soft<are3
?a(le 9J1 Response >ile d(Qinstall.rsp d(ca.rsp netca.rsp Response >iles for Oracle 5ata(ase 5escription &ilent installation of Oracle Real Application Clusters &ilent creation and confi-uration of Oracle 5ata(ase usin- 59CA &ilent confi-uration of Oracle Net usin- N!?CA

6.en ,ou 'odif, a response file te'plate and sa1e a file for use+ t.e response file 'a, contain plain text pass<ords. O<ners.ip of t.e response file s.ould (e -i1en to t.e Oracle soft<are installation o<ner onl,+ and per'issions on t.e response file s.ould (e c.an-ed to H)). Oracle stron-l, reco''ends t.at data(ase ad'inistrators or ot.er ad'inistrators delete or secure response files <.en t.e, are not in use.
Caution3

?o cop, and 'odif, a response file3


1.

Cop, t.e response file fro' t.e response file director, to a director, on ,our s,ste'3

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases 9%G

2reparin- Response >iles

R cp 0director,Qpat.0response0responseQfile.rsp localQdirector,

In t.is exa'ple+ director,Qpat. is t.e pat. to t.e data(ase director, on t.e installation 'edia. If ,ou .a1e copied t.e soft<are to a .ard dri1e+ t.en ,ou can edit t.e file in t.e response director, if ,ou prefer.
2.

Open t.e response file in a text editor3


R 1i 0localQdir0responseQfile.rsp

Re'e'(er t.at ,ou can specif, sensiti1e infor'ation+ suc. as pass<ords+ at t.e co''and line rat.er t.an <it.in t.e response file. E;o< Response >iles 6or8E on pa-e 9%* explains t.is 'et.od. ?.e Oracle Uni1ersal Installer NextGen Installation Guidefor detailed infor'ation on creatin- response files
&ee Also3 *.

>ollo< t.e instructions in t.e file to edit it. ?.e installer or confi-uration assistant fails if ,ou do not correctl, confi-ure t.e response file.
Note3

F.

&ecure t.e response file (, c.an-in- t.e per'issions on t.e file to H))3
R c.'od H)) 0localQdir0responseQfile.rsp

!nsure t.at onl, t.e Oracle soft<are o<ner user can 1ie< or 'odif, response files or consider deletin- t.e' after t.e installation succeeds. A full,%specified response file for an Oracle 5ata(ase installation contains t.e pass<ords for data(ase ad'inistrati1e accounts and for a user <.o is a 'e'(er of t.e O&59A -roup (reBuired for auto'ated (ac8ups).
Note3

9.G.2 Recordin- Response >iles


@ou can use OUI in interacti1e 'ode to record response files+ <.ic. ,ou can t.en edit and use to co'plete silent 'ode or response file 'ode installations. ?.is 'et.od is useful for Ad1anced or soft<are%onl, installations. @ou can sa1e all t.e installation steps into a response file durin- installation (, clic8in- &a1e Response >ile on t.e &u''ar, pa-e. @ou can use t.e -enerated response file for a silent installation later. 6.en ,ou record t.e response file+ ,ou can eit.er co'plete t.e installation+ or ,ou can exit fro' t.e installer on t.e &u''ar, pa-e+ (efore OUI starts to cop, t.e soft<are to t.e s,ste'. If ,ou use record 'ode durin- a response file 'ode installation+ t.en t.e installer records t.e 1aria(le 1alues t.at <ere specified in t.e ori-inal source response file into t.e ne< response file.
Note3

@ou cannot sa1e pass<ords <.ile recordin- t.e response file.

?o record a response file3

9%H Oracle Real Application Clusters Installation Guide

Runnin- Oracle Uni1ersal Installer Usin- a Response >ile

1.

Co'plete preinstallation tas8s as for a standard installation. 6.en ,ou run t.e installer to record a response file+ it c.ec8s t.e s,ste' to 1erif, t.at it 'eets t.e reBuire'ents to install t.e soft<are. >or t.is reason+ Oracle reco''ends t.at ,ou co'plete all of t.e reBuired preinstallation tas8s and record t.e response file <.ile co'pletin- an installation.

2.

!nsure t.at t.e Oracle soft<are o<ner user (t,picall, oracle) .as per'issions to create or <rite to t.e Oracle .o'e pat. t.at ,ou <ill specif, <.en ,ou run t.e installer. On eac. installation screen+ specif, t.e reBuired infor'ation. 6.en t.e installer displa,s t.e &u''ar, screen+ perfor' t.e follo<in- steps3
a.

*. F.

Clic8 &a1e Response >ile. In t.e <indo<+ specif, a file na'e and location for t.e ne< response file. Clic8 &a1e to <rite t.e responses ,ou entered to t.e response file. Clic8 >inis. to continue <it. t.e installation. Clic8 Cancel if ,ou do not <ant to continue <it. t.e installation. ?.e installation stops+ (ut t.e recorded response file is retained.

(.

G.

If ,ou do not co'plete t.e installation+ t.en delete t.e Oracle .o'e director, t.at t.e installer created usin- t.e pat. ,ou specified in t.e &pecif, >ile Locations screen. 9efore ,ou use t.e sa1ed response file on anot.er s,ste'+ edit t.e file and 'a8e an, reBuired c.an-es. Use t.e instructions in t.e file as a -uide <.en editin- it.

H.

9.H Runnin- Oracle Uni1ersal Installer Usin- a Response >ile


No<+ ,ou are read, to run OUI at t.e co''and line+ specif,in- t.e response file ,ou created+ to perfor' t.e installation.

9.H.1 Die<in- t.e ;elp Infor'ation for OUI


>or infor'ation a(out all t.e a1aila(le options for OUI+ run t.e runInstaller co''and <it. t.e %.elp option+ for exa'ple3
R director,Qpat.0runInstaller %.elp

?.e .elp infor'ation appears in ,our session <indo< after a (rief dela,.

9.H.2 Runnin- OUI Usin- a Response >ile for Input


?o run t.e installer <it. a response file to install t.e Oracle 5ata(ase soft<are+ co'plete t.e follo<in- steps3
1. 2. *.

Co'plete t.e preinstallation tas8s as for a t,pical installation. Lo- in as t.e soft<are installation o<ner user. If ,ou are co'pletin- a response file 'ode installation+ set t.e 5I&2LA@ en1iron'ent 1aria(le. @ou do not .a1e to set t.e 5I&2LA@ en1iron'ent 1aria(le if ,ou are co'pletin- a silent 'ode installation.
Note3

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases 9%"

2ostinstallation Confi-uration Usin- Response >iles

F.

?o start t.e installer in silent or response file 'ode+ enter a co''and si'ilar to t.e follo<in-3
R 0director,Qpat.0runInstaller V%silentW V%noconfi-W X %response>ile responsefilena'e

5o not specif, a relati1e pat. for t.e response file. If ,ou specif, a relati1e pat.+ t.en t.e installer fails.
Note3

In t.is exa'ple3
O

director,Qpat. is t.e pat. of t.e data(ase director, on t.e 5D5 or t.e pat. of t.e director, on t.e .ard dri1e. %silent runs t.e installer in silent 'ode. %noconfi- suppresses runnin- t.e confi-uration assistants durininstallation+ and a soft<are%onl, installation is perfor'ed instead. responsefilena'e is t.e full pat. and file na'e of t.e installation response file t.at ,ou confi-ured pre1iousl,. &ee E!ditin- a Response >ile ?e'plateE on pa-e 9%G. >or 'ore infor'ation a(out ot.er options for t.e runInstaller co''and+ enter t.e follo<in- co''and3
Note3 R 0director,Qpat.0runInstaller %.elp

G.

6.en t.e installation co'pletes+ lo- in as t.e root user and run t.e root.s. script3
R sudo s. pass<ord3 T 0oracleQ.o'eQpat.0root.s.

9." 2ostinstallation Confi-uration Usin- Response >iles


?.e follo<in- sections explain .o< to create and run a response file confi-uration after installin- Oracle soft<are. ?.e topics in t.is section are3
O

A(out t.e 2ostinstallation Confi-uration >ile Creatin- a 2ass<ord Response >ile Runnin- 2ostinstallation Confi-uration Usin- a Response >ile

9.".1 A(out t.e 2ostinstallation Confi-uration >ile


6.en ,ou run a silent or response file installation+ ,ou pro1ide infor'ation a(out ,our ser1ers in a response file t.at ,ou ot.er<ise pro1ide 'anuall, durin- a -rap.ical user interface installation. ;o<e1er+ t.e response file does not contain pass<ords for user accounts t.at confi-uration assistants reBuire after soft<are installation is co'plete. ?.e confi-uration assistants are started <it. a script called confi-?oolAllCo''ands. @ou can run t.is script in response file 'ode (, usin- a pass<ord response file. ?.e script uses t.e pass<ords to run t.e confi-uration tools in succession to co'plete confi-uration.

9%# Oracle Real Application Clusters Installation Guide

2ostinstallation Confi-uration Usin- Response >iles

If ,ou 8eep t.e pass<ord file to use for clone installations+ t.en Oracle stron-l, reco''ends t.at ,ou store t.e pass<ord file in a secure location. In addition+ if ,ou .a1e to stop an installation to fix an error+ t.en ,ou can run t.e confi-uration assistants usin- confi-?oolAllCo''ands and a pass<ord response file. ?.e confi-?oolAllCo''ands pass<ord response file .as t.e follo<in- s,ntax options3
O

internalQco'ponentQna'e is t.e na'e of t.e co'ponent t.at t.e confi-uration assistant confi-ures 1aria(leQna'e is t.e na'e of t.e confi-uration file 1aria(le 1alue is t.e desired 1alue to use for confi-uration.

?.e co''and s,ntax is as follo<s3 internalQco'ponentQna'e[1aria(leQna'eM1alue >or exa'ple3


oracle.assistants.as'[&QA&72A&&6OR5M',2ass6ord

Oracle 5ata(ase confi-uration assistants reBuire t.e &@&+ &@&?!7+ and 59&N72 pass<ords for use <it. 59CA. @ou 'i-.t need to specif, t.e follo<in- additional pass<ords+ dependin- on ,our s,ste' confi-uration3
O

If t.e data(ase is usin- Oracle A&7 for stora-e+ t.en ,ou 'ust specif, a pass<ord for t.e &QA&7&N722A&&6OR5 1aria(le. If ,ou are not usin- Oracle A&7+ t.en lea1e t.e 1alue for t.is pass<ord 1aria(le (lan8. If ,ou create a 'ultitenant container data(ase (C59) <it. one or 'ore plu--a(le data(ases (259s)+ t.en ,ou 'ust specif, a pass<ord for t.e &Q 259A57IN2A&&6OR5 1aria(le. If ,ou are not usin- Oracle A&7+ t.en lea1e t.e 1alue for t.is pass<ord 1aria(le (lan8.

Oracle stron-l, reco''ends t.at ,ou 'aintain securit, <it. a pass<ord response file3
O

2er'issions on t.e response file s.ould (e set to H)). ?.e o<ner of t.e response file s.ould (e t.e installation o<ner user+ <it. t.e -roup set to t.e central in1entor, (oraIn1entor,) -roup.

9.".2 Creatin- a 2ass<ord Response >ile


?o create a pass<ord response file to use <it. t.e confi-uration assistants+ perfor' t.e follo<in- steps3
1.

Create a response file t.at .as a na'e of t.e for'at filena'e.properties+ for exa'ple3
R touc. p<drsp.properties

2.

Open t.e file <it. a text editor+ and cut and paste t.e sa'ple pass<ord file contents+ as s.o<n in !xa'ple 9J1+ 'odif,in- as needed. C.an-e per'issions to secure t.e pass<ord response file. >or exa'ple3
R ls %al p<drsp.properties %r<%%%%%%% 1 oracle oinstall ) Apr *) 1"3*) p<drsp.properties

*.

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases 9%$

Runnin- Confi-uration Assistants Usin- Response >iles

!xa'ple 9J1 2ass<ord response file for Oracle Real Application Clusters

?.is exa'ple pro1ides a te'plate for a pass<ord response file to use <it. t.e data(ase confi-uration assistants.
oracle.assistants.ser1er[&Q&@&2A&&6OR5Mpass<ord oracle.assistants.ser1er[&Q&@&?!72A&&6OR5Mpass<ord oracle.assistants.ser1er[&Q&@&7AN2A&&6OR5Mpass<ord oracle.assistants.ser1er[&Q59&N722A&&6OR5Mpass<ord oracle.assistants.ser1er[&QA&7&N722A&&6OR5Mpass<ord oracle.assistants.ser1er[&Q259A57IN2A&&6OR5Mpass<ord

9.".* Runnin- 2ostinstallation Confi-uration Usin- a Response >ile


?o run confi-uration assistants <it. t.e confi-?oolAllCo''ands script3
1.

Create a pass<ord response file as descri(ed in ECreatin- a 2ass<ord Response >ileE on pa-e 9%$. C.an-e director, to RORACL!Q;O7!0cf-toollo-s. Run t.e confi-uration script usin- t.e follo<in- s,ntax3
confi-?oolAllCo''ands R!&2ON&!Q>IL!M0pat.0na'e.properties

2. *.

>or exa'ple3
R .0confi-?oolAllCo''ands R!&2ON&!Q>IL!M0.o'e0oracle0p<drsp.properties

9.# Runnin- Confi-uration Assistants Usin- Response >iles


@ou can run confi-uration assistants in response file or silent 'ode to confi-ure and start Oracle soft<are after it is installed on t.e s,ste'. ?o run confi-uration assistants in response file or silent 'ode+ ,ou 'ust cop, and edit a response file te'plate. If ,ou copied t.e soft<are to a .ard dis8+ t.en t.e response file te'plate is located in t.e 0response director,.
Note3

?.is section contains t.e follo<in- topics3


O

Runnin- 5ata(ase Confi-uration Assistant in Response >ile or &ilent 7ode Runnin- Net Confi-uration Assistant Usin- Response >iles

9.#.1 Runnin- 5ata(ase Confi-uration Assistant in Response >ile or &ilent 7ode


@ou can run 5ata(ase Confi-uration Assistant (59CA) in response file 'ode+ eit.er in silent 'ode or pro-ress onl, 'ode+ to confi-ure and start an Oracle data(ase on t.e s,ste'. ?o run 5ata(ase Confi-uration Assistant in response file 'ode+ ,ou 'ust cop, and edit a response file te'plate. Oracle pro1ides a response file te'plate na'ed d(ca.rsp in t.e ORACL!Q;O7!0assistants0d(ca director, and also in t.e 0response director, on t.e 5D5. ?o run 59CA in response file 'ode+ ,ou 'ust use t.e %response>ile fla- in co'(ination <it. eit.er t.e %silent or %pro-ressOnl, fla-. @ou 'ust also use a -rap.ical displa, and set t.e 5I&2LA@ en1iron'ent 1aria(le. ?o run 5ata(ase Confi-uration Assistant in response file 'ode3

9%1) Oracle Real Application Clusters Installation Guide

Runnin- Confi-uration Assistants Usin- Response >iles

1.

Cop, t.e d(ca.rsp response file te'plate fro' t.e response file director, to a director, on ,our s,ste'3
R cp 0director,Qpat.0response0d(ca.rsp localQdirector,

In t.is exa'ple+ director,Qpat. is t.e pat. of t.e data(ase director, on t.e 5D5. If ,ou .a1e copied t.e soft<are to a .ard dri1e+ ,ou can edit t.e file in t.e response director, if ,ou prefer. As an alternati1e to editin- t.e response file te'plate+ ,ou can also create a data(ase (, specif,in- all reBuired infor'ation as co''and line options <.en ,ou run 59CA. >or infor'ation a(out t.e list of options supported+ enter t.e follo<in- co''and3
Note3 R RORACL!Q;O7!0(in0d(ca %.elp

2.

Open t.e response file in a text editor3


R 1i 0localQdir0d(ca.rsp

*.

!dit t.e file+ follo<in- t.e instructions in t.e file.


Note3

59CA fails if ,ou do not correctl, confi-ure t.e response file.

F.

Lo- in as t.e Oracle soft<are o<ner user+ and set t.e ORACL!Q;O7! en1iron'ent 1aria(le to specif, t.e correct Oracle .o'e director,. ?o run 59CA in response file 'ode+ set t.e 5I&2LA@ en1iron'ent 1aria(le. Use t.e follo<in- co''and s,ntax to run 59CA in silent or response file 'ode usin- a response file3
RORACL!Q;O7!0(in0d(ca ^%pro-ressOnl, [ %silent_ %response>ile X 0localQdir0d(ca.rsp

G. H.

In t.is exa'ple3
O

?.e %silent option indicates t.at 59CA s.ould run in silent 'ode. ?.e %pro-ressOnl, option indicates t.at 59CA s.ould run in response file 'ode. localQdir is t.e full pat. of t.e director, <.ere ,ou copied t.e d(ca.rsp response file te'plate.

As 59CA confi-ures and starts t.e data(ase+ it displa,s a <indo< t.at contains status 'essa-es and a pro-ress (ar. ?.e <indo< t.at it displa,s is t.e sa'e <indo< t.at is displa,ed <.en ,ou create a preconfi-ured data(ase durin- an !nterprise !dition or &tandard !dition installation.

9.#.2 Runnin- Net Confi-uration Assistant Usin- Response >iles


@ou can run Net Confi-uration Assistant in silent 'ode to confi-ure and start an Oracle Net listener on t.e s,ste'+ confi-ure na'in- 'et.ods+ and confi-ure Oracle Net ser1ice na'es. ?o run Net Confi-uration Assistant in silent 'ode+ ,ou 'ust cop, and edit a response file te'plate. Oracle pro1ides a response file te'plate na'ed netca.rsp in t.e response director, in t.e data(ase0response director, on t.e 5D5.

Usin- &cripts or Response >iles to Create Oracle Real Application Clusters 5ata(ases

9%11

Runnin- Confi-uration Assistants Usin- Response >iles

If ,ou copied t.e soft<are to a .ard dis8+ t.en t.e response file te'plate is located in t.e data(ase0response director,.
Note3

?o run Net Confi-uration Assistant usin- a response file3


1.

Cop, t.e netca.rsp response file te'plate fro' t.e response file director, to a director, on ,our s,ste'3
R cp 0director,Qpat.0response0netca.rsp localQdirector,

In t.is exa'ple+ director,Qpat. is t.e pat. of t.e data(ase director, on t.e 5D5. If ,ou .a1e copied t.e soft<are to a .ard dri1e+ ,ou can edit t.e file in t.e response director, if ,ou prefer.
2.

Open t.e response file in a text editor3


R 1i 0localQdir0netca.rsp

*.

>ollo< t.e instructions in t.e file to edit it. Net Confi-uration Assistant fails if ,ou do not correctl, confi-ure t.e response file.
Note3

F.

Lo- in as t.e Oracle soft<are o<ner user+ and set t.e ORACL!Q;O7! en1iron'ent 1aria(le to specif, t.e correct Oracle .o'e director,. !nter a co''and si'ilar to t.e follo<in- to run Net Confi-uration Assistant in silent 'ode3
R RORACL!Q;O7!0(in0netca %silent %responsefile 0localQdir0netca.rsp

G.

In t.is co''and3
O

?.e %silent option indicates to run Net Confi-uration Assistant in silent 'ode. localQdir is t.e full pat. of t.e director, <.ere ,ou copied t.e netca.rsp response file te'plate.

9%12 Oracle Real Application Clusters Installation Guide

C
C

5irector, &tructure for Oracle Real Application Clusters !n1iron'ents

?.is appendix descri(es t.e director, structures for Oracle Real Application Clusters (Oracle RAC) soft<are en1iron'ents. ?.is appendix contains t.e follo<in- topics3
O

Understandin- t.e Oracle RAC 5irector, &tructure 5irector, &tructures for Oracle RAC

C.1 Understandin- t.e Oracle RAC 5irector, &tructure


6.en ,ou install Oracle 5ata(ase 12c Release 1 (12.1) <it. Oracle RAC+ all su(directories except for t.e Oracle In1entor, director,+ t.e Oracle Auto'atic &tora-e 7ana-e'ent .o'e (if applica(le)+ and t.e Oracle Cluster<are .o'e+ are under a top%le1el Oracle (ase director,. ?.e Oracle .o'e and ad'in directories are also located under t.e Oracle (ase director,.

Oracle 5ata(ase Installation Guide for ,our platfor' for 'ore infor'ation a(out t.e Oracle .o'e and ad'in directories
&ee Also3

C.2 5irector, &tructures for Oracle RAC


?a(le CJ1 s.o<s t.e .ierarc.ical director, tree of a sa'ple Opti'al >lexi(le Arc.itecture (O>A)%co'pliant data(ase for Oracle RAC3

5irector, &tructure for Oracle Real Application Clusters !n1iron'ents

C%1

5irector, &tructures for Oracle RAC

?a(le CJ1
Root

5irector, &tructure for A &a'ple O>A%Co'pliant !n1iron'ent


&econd%le1el ?.ird%le1el >ourt.%le1el 5escription 0u)10app0oracle ?.e default ORACL!Q9A&! director,+ <.ere t.e soft<are o<ner is t.e oracle user. installationQt,pe 0u)10app0oracle0product012.1.)0d( ?,pe of installation under t.e Oracle (ase director,. >or exa'ple+ <.en installin- Oracle 5ata(ase 12c Release 1 (12.1)+ t.e 1alue for installation t,pe is product012.1.)0d(. RORACL!Q;O7! ?.e location in <.ic. t.e Oracle 5ata(ase soft<are is installed. @ou can also c.oose to add a counter+ if ,ou .a1e 'ultiple installations of t.e soft<are. >or exa'ple+ if ,ou are creatin- a second Oracle .o'e for t.e Oracle 5ata(ase 12c Release 1 (12.1) soft<are+ t.en t.e pat. is as follo<s3 0u)10app0oracle012.1.)0d(Q.o'e2 Note t.at t.e Oracle data(ase .o'e is under t.e Oracle (ase director, pat.. An Oracle Cluster<are director, 'ust not (e under t.e Oracle (ase director, pat. <.ere t.e data(ase executa(le files are located. d(s ad'in ?.e director, in <.ic. t.e local initiali=ation para'eter file is stored for t.e data(ase. 0u)10app0oracle0ad'in ?.e ad'inistrati1e director,. Note t.at <it. Oracle 5ata(ase 11-+ (du'p+ cdu'p+ and udu'p files are relocated to t.e director, associated <it. A5RQ9A&!. d(QuniBueQna'e ?.e data(ase uniBue na'eP t.is is t.e sa'e as d(na'e <.en t.e data(ase na'e is # or fe<er c.aracters in len-t.. >or exa'ple+ if ,our data(ase na'e is sales+ t.e director, pat. is3 0u)10app0oracle0ad'in0sales 0.du'p 0pfile ?.e du'p destinations for data(ase ser1er.

RORACL!Q9A&!

RA5RQ9A&!

0(du'p 0cdu'p 0udu'p

Auto'atic 5ia-nostic Repositor, du'p destination trace files. Note t.at t.is director, pat. is set (, t.e initiali=ation para'eter 5IAGNO&?ICQ5!&?+ and t.at t.e pat. for t.e Auto'atic 5ata Repositor, 'ust (e located on a s.ared stora-e location a1aila(le to all t.e nodes. 9, default+ t.is pat. is a su(set of t.e Oracle (ase director,+ in t.e follo<in- pat.3 RORACL!Q9A&!0dia-0

Oracle Grid Infrastructure for a cluster .o'e (Grid .o'e)

An O>A%co'pliant pat. for t.e Oracle Cluster<are .o'e. ?.e default 1alue is3 0u)10app012.1.)0-rid 5urin- t.e Oracle Grid Infrastructure for a cluster installation+ Oracle Cluster<are and Oracle Auto'atic &tora-e 7ana-e'ent (Oracle A&7) soft<are is installed. ?.e root.s. script c.an-es per'issions of all of t.e parent directories of t.e Oracle Cluster<are .o'e director, to -rant <rite access onl, to t.e root user. 9ecause of t.is+ t.e Oracle Cluster<are .o'e director, 'ust not (e a su(director, of t.e Oracle (ase director,. (in net<or8 ?.e su(tree for Oracle Cluster<are and Oracle A&7 executa(le files. ?.e su(tree for Oracle Net &er1ices confi-uration files and utilities.

C%2 Oracle Real Application Clusters Installation Guide

5irector, &tructures for Oracle RAC

Oracle 5ata(ase Installation Guide for ,our platfor' for 'ore infor'ation a(out t.e Opti'al >lexi(le Arc.itecture standard
&ee Also3

5irector, &tructure for Oracle Real Application Clusters !n1iron'ents

C%*

5irector, &tructures for Oracle RAC

C%F Oracle Real Application Clusters Installation Guide

5
5

;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(ase


?.is appendix descri(es .o< to stop all processes in an Oracle Real Application Clusters (Oracle RAC) data(ase+ in preparation for addin- additional products to an existin- data(ase+ or in preparation for patc. updates. ?.is appendix contains t.e follo<in- topics3
O

9ac8in- Up t.e Oracle RAC 5ata(ase &.uttin- 5o<n Oracle RAC 5ata(ases &toppin- All Oracle 2rocesses Usin- CDU to Dalidate Readiness for Oracle RAC Up-rades

5.1 9ac8in- Up t.e Oracle RAC 5ata(ase


9efore ,ou 'a8e an, c.an-es to t.e Oracle soft<are+ Oracle reco''ends t.at ,ou create a (ac8up of t.e Oracle 5ata(ase installation.

5.2 &.uttin- 5o<n Oracle RAC 5ata(ases


&.ut do<n an, existin- Oracle 5ata(ase instances on eac. node+ <it. nor'al or i''ediate priorit,. @ou can use Oracle !nterprise 7ana-er or t.e &er1er Control (&RDC?L) utilit, to s.ut do<n t.e Oracle RAC data(ases and t.eir instances.

If ,ou are usin- Oracle Cluster<are or Oracle Restart+ t.en ,ou 'ust s.ut do<n all Oracle 5ata(ase instances on all cluster nodes (efore 'odif,in- t.e Oracle soft<are. If ,ou are perfor'in- a patc. update+ t.en re1ie< t.e instructions in t.e 2atc. &et Notes for detailed instructions.
Note3

&ee Also3

Oracle 5ata(ase Ad'inistratorKs Guide for 'ore infor'ation a(out Oracle Restart

5.* &toppin- All Oracle 2rocesses


&top all listener and ot.er processes runnin- in t.e Oracle .o'e directories <.ere ,ou <ant to 'odif, t.e data(ase soft<are.

;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(ase 5%1

&toppin- All Oracle 2rocesses

9efore ,ou can s.ut do<n Oracle A&7 instances+ Oracle Cluster<are+ or Oracle Restart+ ,ou 'ust first s.ut do<n all data(ase instances t.at use t.e'.
Note3

5.*.1 &toppin- Oracle 5ata(ase 2rocesses 9efore Addin- 2roducts or Up-radin?.is section pro1ides an o1er1ie< of <.at 'ust (e done (efore addin- additional products to Oracle 5ata(ase 12c Release 1 (12.1). If ,ou are updatin- onl, t.e Oracle 5ata(ase soft<are+ t.en ,ou onl, need to stop t.e data(ases instances t.at run fro' t.e Oracle .o'e (ein- updated. If ,ou are perfor'in- a patc. up-rade+ t.en refer to t.e 5ata(ase 2atc. &et Notes for t.e patc. for additional instructions.
Note3

@ou 'ust perfor' t.ese steps in t.e order listed.

1.

&.ut do<n an, processes in t.e Oracle .o'e on eac. node t.at can access a data(ase. 9efore ,ou s.ut do<n an, processes t.at are 'onitored (, Oracle !nterprise 7ana-er Cloud Control+ set a (lac8out in Oracle !nterprise 7ana-er Cloud Control for t.e processes t.at ,ou intend to s.ut do<n. ?.is is necessar, so t.at t.e a1aila(ilit, records for t.ese processes indicate t.at t.e s.utdo<n <as planned do<nti'e+ rat.er t.an an unplanned s,ste' outa-e.
Note3

2.

&.ut do<n all Oracle RAC instances on all nodes. ?o s.ut do<n all Oracle RAC instances for a data(ase+ enter t.e follo<in- co''and+ <.ere d(Qna'e is t.e na'e of t.e data(ase3
R oracleQ.o'e0(in0sr1ctl stop data(ase %d( d(Qna'e

&ee Also3
O

Oracle 5ata(ase Ad'inistratorKs Guide for infor'ation a(out confi-urin- (lac8outs <it. Oracle !nterprise 7ana-er

5.*.2 &toppin- Oracle Cluster<are and Oracle A&7 Instances


If ,ou are up-radin- t.e Oracle Cluster<are or Oracle A&7 soft<are+ t.en ,ou 'ust first stop all Oracle RAC data(ase instances and all Oracle data(ase instances t.at use Oracle A&7 for stora-e. After stoppin- t.e data(ase instances+ s.ut do<n t.e Oracle A&7 instances and Oracle Cluster<are+ as descri(ed in t.e follo<in- steps3
Note3

@ou 'ust perfor' t.ese steps in t.e order listed.

1.

&.ut do<n an, processes in t.e Oracle .o'e on eac. node t.at 'i-.t (e accessina data(ase+ for exa'ple+ t.e Oracle !nterprise 7ana-er Cloud Control a-ent or an Oracle Net &er1ices listener.

5%2 Oracle Real Application Clusters Installation Guide

Usin- CDU to Dalidate Readiness for Oracle RAC Up-rades

9efore ,ou s.ut do<n an, processes t.at are 'onitored (, Oracle !nterprise 7ana-er Cloud Control+ set a (lac8out in Oracle !nterprise 7ana-er Cloud Control for t.e processes t.at ,ou intend to s.ut do<n. ?.is is necessar, so t.at t.e a1aila(ilit, records for t.ese processes indicate t.at t.e s.utdo<n <as planned do<nti'e+ rat.er t.an an unplanned s,ste' outa-e.
Note3

2.

&.ut do<n all Oracle RAC instances on all nodes. ?o s.ut do<n all Oracle RAC instances for a data(ase+ enter t.e follo<in- co''and+ <.ere d(Qna'e is t.e na'e of t.e data(ase3
R oracleQ.o'e0(in0sr1ctl stop data(ase %d( d(Qna'e

*.

&top all Oracle Cluster<are node applications node applications and resources on all nodes. ?o stop node applications runnin- on a node+ enter t.e follo<inco''and+ <.ere u)10app0-rid012.1.) is t.e Grid .o'e+ and node is t.e na'e of t.e node <.ere t.e applications run3
R u)10app0-rid012.1.)0(in0sr1ctl stop nodeapps %node node

F.

&.ut do<n t.e Oracle Cluster<are processes and t.e Oracle A&7 instance on eac. node (, enterin- t.e follo<in- co''and on all nodes as t.e root user3
T crsctl stop cluster

?o stop Oracle Cluster<are and Oracle A&7 instances on all nodes in t.e cluster+ ,ou can enter a sin-le co''and3 crsctl stop cluster %all. ?.e crsctl stop crs co''and is used to stop Oracle Restart ser1ices for sin-le%instance data(ases.
Note3

5.F Usin- CDU to Dalidate Readiness for Oracle RAC Up-rades


Re1ie< t.e contents in t.is section to 1alidate t.at ,our Oracle RAC cluster is read, for up-rades.

5.F.1 A(out t.e CDU 5ata(ase Up-rade Dalidation Co''and Options


Use t.e Cluster Derification Utilit, (CDU) co''and clu1f, sta-e %pred(inst %up-rade to c.ec8 t.e readiness of ,our Oracle RAC installation for up-rades. Runnin- clu1f, <it. t.e %pred(inst %up-rade fla-s perfor's s,ste' c.ec8s to confir' if t.e cluster is in a correct state for up-radin- fro' an existin- Oracle RAC installation. ?.e co''and uses t.e follo<in- s,ntax+ <.ere 1aria(le content is indicated (, italics3
clu1f, sta-e %pre d(inst %up-rade %srcQd(.o'e srcQRAC.o'e %destQd(.o'e destQRAC.o'e %destQ1ersion destQ1ersion V%fixupV%fixupdirpat.WW V%1er(oseW

?.e options are3


O

%srcQd(.o'e srcQRAC.o'e Use t.is fla- to indicate t.e location of t.e source Oracle RAC .o'e t.at ,ou are up-radin-+ <.ere srcQRAC.o'e is t.e pat. to t.e .o'e to up-rade.

%destQd(.o'e destQRAC.o'e

;o< to &top 2rocesses in an !xistin- Oracle Real Application Clusters 5ata(ase 5%*

Usin- CDU to Dalidate Readiness for Oracle RAC Up-rades

Use t.is fla- to indicate t.e location of t.e up-rade Oracle RAC .o'e+ <.ere destQRAC.o'e is t.e pat. to t.e Oracle RAC .o'e.
O

%destQ1ersion destQ1ersion Use t.is fla- to indicate t.e release nu'(er of t.e up-rade+ includin- an, patc.set. ?.e release nu'(er 'ust include t.e fi1e di-its desi-natin- t.e release to t.e le1el of t.e platfor'%specific patc.. >or exa'ple3 12.1.).1.). Oracle 5ata(ase Ad'inistratorKs Guide for infor'ation a(out release nu'(er for'at
&ee Also3

%fixup V%fixupdir fixupdirpat.WW Use t.e %fixup fla- to indicate t.at ,ou <ant to -enerate instructions for an, reBuired steps ,ou 'ust co'plete to ensure t.at ,our cluster is read, for an up-rade. ?.e default location is t.e CDU <or8 director,. ?o place t.e fixup instructions in a different director,+ add t.e fla- %fixupdir+ and pro1ide t.e pat. to t.e fixup director,.

%1er(ose Use t.e %1er(ose fla- to produce detailed output of indi1idual c.ec8s.

5.F.2 !xa'ple of Derif,in- &,ste' Up-rade Readiness for Oracle RAC Infrastructure
@ou can 1erif, t.at t.e per'issions reBuired for installin- Oracle RAC .a1e (een confi-ured on t.e nodes node1 and node2 (, runnin- t.e follo<in- co''and3
R .0clu1f, sta-e %pre d(inst %up-rade %srcQd(.o'e 0u)10app0oracle0product011.2.)0d(.o'eQ1 %destQd(.o'e 0u)10app0oracle0product012.1.)0d(.o'eQ1 %destQ1ersion 12.1.).).) %fixup %fixupdirpat. 0.o'e0oracle0fixup %1er(ose

5.F.* Derif,in- &,ste' Readiness for Oracle 5ata(ase Up-rades


Use Cluster Derification Utilit, (CDU) to assist ,ou <it. s,ste' c.ec8s in preparation for startin- a data(ase up-rade. ?.e installer runs t.e appropriate CDU c.ec8s auto'aticall,+ and eit.er pro'pts ,ou to fix pro(le's+ or pro1ides a fixup script to (e run on all nodes in t.e cluster (efore proceedin- <it. t.e up-rade.

&ee Also3

Oracle 5ata(ase Up-rade Guide

5%F Oracle Real Application Clusters Installation Guide

!
!

7ana-in- Oracle 5ata(ase 2ort Nu'(ers


?.is appendix lists t.e default port nu'(ers and descri(es .o< to c.an-e t.e assi-ned port after installation. ?.is appendix contains t.e follo<in- topics3
O

A(out 7ana-in- 2orts Die<in- 2ort Nu'(ers and Access URL& 2ort Nu'(ers and 2rotocols of Oracle Co'ponents

!.1 A(out 7ana-in- 2orts


5urin- installation+ Oracle Uni1ersal Installer (OUI) assi-ns port nu'(ers to co'ponents fro' a set of default port nu'(ers. 7an, Oracle Real Application Clusters (Oracle RAC) co'ponents and ser1ices use ports. As an ad'inistrator+ it is i'portant to 8no< t.e port nu'(ers used (, t.ese ser1ices+ and to ensure t.at t.e sa'e port nu'(er is not used (, t<o ser1ices on ,our s,ste'. 7ost port nu'(ers are assi-ned durin- installation. !1er, co'ponent and ser1ice .as an allotted port ran-e+ <.ic. is t.e set of port nu'(ers Oracle RAC atte'pts to use <.en assi-nin- a port. Oracle RAC starts <it. t.e lo<est nu'(er in t.e ran-e and perfor's t.e follo<in- c.ec8s3
O

Is t.e port used (, anot.er Oracle 5ata(ase installation on t.e s,ste'L ?.e installation can (e eit.er acti1e or inacti1e at t.e ti'eP Oracle 5ata(ase can still detect if t.e port is used.

Is t.e port used (, a process t.at is currentl, runnin-L ?.is could (e an, process on t.e .ost+ includin- processes ot.er t.an Oracle 5ata(ase processes.

If t.e ans<er to an, of t.e precedin- Buestions is ,es+ t.en Oracle RAC 'o1es to t.e next .i-.est port in t.e allotted port ran-e and continues c.ec8in- until it finds a free port.

!.2 Die<in- 2ort Nu'(ers and Access URL&


In 'ost cases+ t.e Oracle 5ata(ase co'ponentKs port nu'(er is listed in t.e tool used to confi-ure t.e port. In addition+ ports for so'e Oracle 5ata(ase applications are listed in t.e portlist.ini file. ?.is file is located in t.e director, RORACL!Q ;O7!0install. If ,ou c.an-e a port nu'(er after installation+ t.en it is not updated in t.e portlist.ini file+ so ,ou can rel, on t.is file onl, i''ediatel, after installation. ?o find or c.an-e a port nu'(er+ use t.e 'et.ods descri(ed in t.is appendix.

7ana-in- Oracle 5ata(ase 2ort Nu'(ers !%1

2ort Nu'(ers and 2rotocols of Oracle Co'ponents

!.* 2ort Nu'(ers and 2rotocols of Oracle Co'ponents


?a(le !J1 lists t.e port nu'(ers and protocols used (, co'ponents t.at are confi-ured durin- t.e installation. 9, default+ t.e first port in t.e ran-e is assi-ned to t.e co'ponent+ if it is a1aila(le.
?a(le !J1 2orts Used in Oracle Co'ponents 5efault 2ort Nu'(er 5,na'ic 2ort Ran-e 5,na'ic 2rotocol U52 Used Onl, On Interconnect @es

Co'ponent and 5escription Cluster 7ana-er ?.e port nu'(er is assi-ned auto'aticall, durininstallation. @ou cannot 1ie< or 'odif, it after<ard. Cluster &,nc.roni=ation &er1ice dae'on (C&&5) ?.e Cluster &,nc.roni=ation &er1ice (C&&) dae'on uses a fixed port for node restart ad1isor, 'essa-es. ?.is port is used on all interfaces t.at .a1e (roadcast capa(ilit,. 9roadcast occurs onl, <.en a node e1iction restart is i''inent. Grid 2lu- and 2la, (G2N25) G2N25 pro1ides access to t.e Grid 2lu- and 2la, profile+ and coordinates updates to t.e profile a'on- t.e nodes of t.e cluster to ensure t.at all of t.e nodes .a1e t.e 'ost recent profile. 7ulticast 5o'ain Na'e &er1ice (75N&5) ?.e '5N& process is a (ac8-round process on Linux and UNI + and a ser1ice on 6indo<+ and is necessar, for Grid 2lu- and 2la, and GN&. Oracle Cluster Re-istr, ?.e port nu'(er is assi-ned auto'aticall, durininstallation. @ou cannot 1ie< or 'odif, it after<ard. Oracle Cluster<are 5ae'on (CR&5) Oracle Cluster<are dae'on internode connection. ?.e port nu'(er is assi-ned auto'aticall, durininstallation. @ou cannot 1ie< or 'odif, it after<ard. Oracle Connection 7ana-er Listenin- port for Oracle client connections to Oracle Connection 7ana-er. @ou can confi-ure Oracle Connection 7ana-er after installation usinN!?CA. Oracle Containers for :2!! (OCF:) ?.e CR& A-ent uses port #### locall, to 'ana-e t.e lifec,cle of t.e container. Oracle 5ata Guard &.ares t.e Oracle Net listener port and is confi-ured durin- installation. ?o reconfi-ure t.is port+ use Oracle Net Confi-uration Assistant (N!?CA) to reconfi-ure t.e listener.

F2F2F

5,na'ic

U52

@es

5,na'ic

5,na'ic

?C2

No

G*G*

5,na'ic

U520?C2

No

5,na'ic

5,na'ic

U52

@es

5,na'ic

5,na'ic

U52

@es

1H*)

1H*)

?C2

No

####

####

?C2

Not applica(le

1G21 (sa'e 1alue as t.e listener)

'odifia(le 'anuall, to an, a1aila(le port

?C2

No

!%2 Oracle Real Application Clusters Installation Guide

2ort Nu'(ers and 2rotocols of Oracle Co'ponents

?a(le !J1

(Cont.) 2orts Used in Oracle Co'ponents 5efault 2ort Nu'(er 5,na'ic 2ort Ran-e 5,na'ic 2rotocol U52 Used Onl, On Interconnect @es

Co'ponent and 5escription Oracle !1ent 7ana-er (!D7) Generates e1ents for Oracle Cluster<are. ?.e port nu'(er is assi-ned auto'aticall, durininstallation. @ou cannot 1ie< or 'odif, it after<ard. Oracle Grid Interprocess Co''unication (GI2C5) A support dae'on t.at ena(les Redundant Interconnect Usa-e. Oracle Grid Na'in- &er1ice (GN&5) ?.e Oracle Grid Na'in- &er1ice dae'on pro1ides a -ate<a, (et<een t.e cluster '5N& and external 5N& ser1ers. ?.e -nsd process perfor's na'e resolution <it.in t.e cluster. Oracle ;A &er1ices dae'on (O;A&5) ?.e Oracle ;i-. A1aila(ilit, &er1ices (O;A&) dae'on starts t.e Oracle Cluster<are stac8. Oracle Net Listener Allo<s Oracle client connections to t.e data(ase (, usin- Oracle Net &er1ices. @ou can confi-ure t.is port durin- installation. ?o reconfi-ure t.is port+ use N!?CA.

F2F2F

5,na'ic

U52

@es

G* (pu(lic)+ 5,na'ic (interconnect)

G* (pu(lic)+ 5,na'ic (interconnect) ?C2

U520?C2 (pu(lic)+ interconnect

No

F2F2F

5,na'ic

U52

@es

1G21

2ort nu'(er ?C2 c.an-es to t.e next a1aila(le port. 7odifia(le 'anuall, to an, a1aila(le port.

No

Oracle Notification &er1ices (ON&)

H1)) (local)

2ort for ON&+ used to pu(lis. and su(scri(e ser1ice H2)) (re'ote) for co''unicatin- infor'ation a(out >ast Application Notification (>AN) e1ents. ?.e >AN notification process uses s,ste' e1ents t.at Oracle 5ata(ase pu(lis.es <.en cluster ser1ers (eco'e unreac.a(le or if net<or8 interfaces fail. Use sr1ctl to 'odif, ON& ports.

Confi-ured 'anuall,

?C2

No

7ana-in- Oracle 5ata(ase 2ort Nu'(ers !%*

2ort Nu'(ers and 2rotocols of Oracle Co'ponents

?a(le !J1

(Cont.) 2orts Used in Oracle Co'ponents 5efault 2ort Nu'(er 5,na'ic 2ort Ran-e 5,na'ic 2rotocol U52 Used Onl, On Interconnect @es

Co'ponent and 5escription Oracle Real Application Clusters ?.e port nu'(er is assi-ned auto'aticall, durininstallation. @ou cannot 1ie< or 'odif, it after<ard. Oracle 7L 59 % >?2 ?.e Oracle 7L 59 >?2 is used <.en applications need to access an Oracle data(ase fro' an >?2 listener. ?.e port is confi-ured durin- installation and ,ou cannot 1ie< it after<ard. Refer to Oracle 7L 59 5e1eloperKs Guide for infor'ation a(out c.an-in- t.is port nu'(er. Oracle 7L 59% ;??2 ?.e Oracle 7L 59 ;??2 port is used if 6e(%(ased applications need to access an Oracle data(ase fro' an ;??2 listener. ?.e port is confi-ured durin- installation and ,ou cannot 1ie< it after<ard. Refer to Oracle 7L 59 5e1eloperKs Guide for infor'ation a(out c.an-in- t.is port nu'(er.

Confi-ured 'anuall,

>?2

No

Confi-ured 'anuall,

;??2

No

!%F Oracle Real Application Clusters Installation Guide

Index
A
AC>&. &ee Oracle AC>&. Ad1anced data(ase confi-uration t,pe+ 2%G installation t,pe+ 2%F+ 2%G and Leaf Nodes+ 1%* arc.itectures different c.ip arc.itectures+ 1%$ Opti'al >lexi(le Arc.itecture (O>A)+ 1%1)+ 2%H A&7 5,na'ic Dolu'e 7ana-er (AD75)+ 1%1* A&7. &ee Oracle A&7. AU?;!N?ICA?IONQ&!RDIC!&+ H%2) Auto'atic 5ia-nostic Repositor, (A5R)+ H%2) Auto'atic &tora-e 7ana-e'ent. &ee Oracle A&7. auto'atic undo 'ana-e'ent+ H%H AD75. &ee A&7 5,na'ic Dolu'e 7ana-er (AD75). c.ec8+ *%* installed location+ 1%1" 1erif,in- readiness for data(ase installation+ 1%1" CLU&?!RQ5A?A9A&!QIN&?ANC!&+ *%G cluster<are dia-nostics+ A%* co'ponents created <.en usin- 59CA+ H%G confi-uration assistants trou(les.ootin-+ A%F confi-uration t,pes Ad1anced+ 2%G connect descriptors+ H%" connection load (alancin-+ H%1* Connection 7ana-er. &ee Oracle Connection 7ana-er control files+ 1%1G descri(ed+ H%G con1ertinto Oracle Real Application Clusters fro' sin-le%instance Oracle data(ases+ 9%1 create data(ase usin- scripts+ 9%1 creatinOracle Real Application Clusters data(ase <it. 5ata(ase Confi-uration Assistant+ *%1+ *%G CDU &ee Cluster Derification Utilit,.

9
(ac8ups space reBuire'ents <.en usin- 59CA+ 1%12 (loc8 de1ices unsupported for direct stora-e use+ 1%1F (ro<sers. &ee <e( (ro<sers.

C
candidate dis8s+ *%G C59s+ *%H+ H%* c.an-inproduct lan-ua-es+ 2%F c.an-in- .ost na'es+ H%1 cluster data(ase installed confi-uration+ H%G cluster file s,ste's stora-e options for data files+ 1%1* Cluster 7ana-er ports+ ran-es and protocol+ !%2 Cluster &,nc.roni=ation &er1ices (C&&) ports+ ran-es and protocol+ !%2 Cluster Derification Utilit, c.ec8in- t.e inte-rit, of t.e Cluster 7ana-er+ A%* 59CA data(ase creation sta-e readiness

5
data files+ 1%1G stora-e options+ 1%1* 5ata 6are.ouse data(ase confi-uration t,pe+ 2%G data(ase co'ponents+ created <.en usin- 59CA+ H%G confi-uration t,pes+ 2%F+ 2%G ser1ices+ H%" supported stora-e options for files+ 1%1F 5ata(ase A-ent and listeners+ H%1" 5ata(ase A-ent process+ H%1)+ H%1" 5ata(ase Confi-uration Assistant co'ponents created (,+ H%G control files+ H%G creatin- Oracle Real Application Clusters data(ase

Index%1

after installation+ *%G durin- installation+ *%1 datafiles+ H%G deletin- Oracle Real Application Clusters data(ases+ *%" initiali=ation para'eter files+ H%H Initiali=ation 2ara'eters pa-e+ *%G List of Cluster 5ata(ases pa-e+ *%" Oracle A&7 5is8 Groups pa-e+ *%G redo lo- files+ H%H roll(ac8 se-'ents+ H%H runnin- in silent 'ode+ 9%1) &u''ar, dialo-+ *%# ta(lespaces+ H%G usin-+ *%1 6elco'e pa-e+ *%G data(ase creation usin- scripts+ 9%1 datafiles and 59CA+ H%G descri(ed+ H%G da,li-.t sa1in-s ti'e and ?I7!&?A72 6I?; ?I7! AON! data+ 1%1G 59QNA7!+ *%G 59QUNIIU!QNA7!+ *%G initiali=ation para'eters+ *%G 59CA delete data(ase+ *%" loadin- &&; 8e,s into 'e'or, to start+ *%F &ee Oracle 5ata(ase Confi-uration Assistant (59CA). d(ca.rsp file+ 9%G 59&N72 user pass<ord reBuire'ents+ 2%H dedicated ser1ers+ H%1F 5einstallation tool a(out+ "%2 exa'ple+ "%G root.as.pl+ "%* delete data(ase <it. 59CA+ *%" deprecated features ser1ice 'ana-e'ent+ 2%" dia-nostics+ A%* 5irect N>& Client a(out+ 1%1F file t,pes supported+ 1%1F director, structure+ C%1 do<nloadin- installer updates (efore installin- fro' a secure data center+ 1%G+ 2%2

>
failo1er and ser1ice re-istration+ H%1F file s,ste's stora-e options for data files+ 1%1* supported options for Oracle 5ata(ase+ 1%1* files d(ca.rsp+ 9%G enterprise.rsp+ 9%G response files+ 9%G >ree ser1er pool+ G%* descri(ed+ G%*

G
General 2urpose0?ransaction 2rocessindata(ase confi-uration t,pe+ 2%G Generic ser1er pool+ G%* -eneric ser1er pool descri(ed+ G%* -lo(al data(ase na'es selectin-+ 2%G -lo(ali=ation support for+ 1%#+ 2%G GN&+ 1%* and ;u( nodes+ 1%*

;
.i-. a1aila(ilit, interconnect+ 1%* &CAN listeners+ H%$ stoppin- ser1ices+ 5%* .i-. a1aila(ilit, I2 addresses+ 1%* .ost na'es c.an-in-+ H%1 ;u( Nodes and GN&+ 1%* s.ared files+ 1%1G

I
initiali=ation para'eter files+ H%H listeners para'eters+ H%1)+ H%1" initiali=ation para'eters CLU&?!RQ5A?A9A&!QIN&?ANC!&+ *%G 59QNA7!+ *%G 5I&2A?C;!R&+ H%1F 7!7OR@Q?ARG!?+ *%H R!7O?!QLI&?!N!R+ H%11 installation and -lo(ali=ation+ 2%G director, structure+ C%1 listener.ora file+ H%1) non%interacti1e+ 9%1 of additional products after installation is co'pleted+ *%H response files+ 9%G preparin-+ 9%G+ 9%H

!
!as, Connect Na'in-+ H%1$+ H%2) enterprise.rsp file+ 9%G error 'essa-es durin- installation+ A%1 ORA%))#FG+ *%H ORA%)1)"#+ *%H ! A72L! ta(lespace descri(ed+ H%G

Index%2

te'plates+ 9%G silent 'ode+ 9%# tnsna'es.ora file+ H%1G

:
:a1a Runti'e !n1iron'ent 6indo<s reBuire'ents+ 1%12

L
lan-ua-e &ee -lo(ali=ation.+ 1%# lan-ua-e support and installation+ 2%G lan-ua-es+ 1%# Leaf Nodes and GN&+ 1%* List of Cluster 5ata(ases pa-e+ *%" listener auto'atic 'i-ration fro' 1).1 to 1).2+ *%2 stoppin- existin- listener process+ 1%1# listeners default confi-uration of listener.ora+ H%1) files listener.ora+ H%1)+ H%1" sBlnet.ora+ H%1$ para'eters LOCALQLI&?!N!R+ H%1G R!7O?!QLI&?!N!R+ H%1G re-istration+ H%11+ H%1F ser1ice re-istration+ H%1$ load (alancinand ser1ice re-istration+ H%1F local listeners+ H%1)+ H%1" lo- file .o< to see t.e lo- file durin- installation+ 2%1 trou(les.ootin- <it.+ A%F LR!G process and listener re-istration+ H%11+ H%1F disco1er, routine+ H%11+ H%1F

runnin- at co''and pro'pt+ 9%11 net ser1ice na'es+ H%1H netca.rsp file+ 9%G net<or8 attac.ed stora-e (NA&)+ 1%1* net<or8 confi-uration files tnsna'es.ora+ H%1G net<or8 director,+ C%2 net<or8s confi-uration files+ H%1) sBlnet.ora+ H%1$ planned interface uses+ 1%11 noninteracti1e 'ode. &ee response file 'ode N?& operatin- s,ste' aut.entication+ H%2)

O
OIN&?ALL+ H%2 olsnodes co''and+ A%* operatin- s,ste' preinstallation reBuire'ents for Oracle RAC+ 1%12 operatin- s,ste' aut.entication to Oracle A&7+ H%2 to Oracle 5ata(ase+ H%2 opti'al flexi(le arc.itecture+ 1%1) Opti'al >lexi(le Arc.itecture (O>A)+ 1%1)+ 2%H Oracle AC>&+ 1%1* file t,pes supported+ 1%1F Oracle RAC (inaries installation not supported <it. Oracle >lex Cluster deplo,'ents+ 1%* Oracle Application !xpress <e( (ro<sers supported for+ 1%12 Oracle A&7 and candidate dis8s+ *%G C.an-e dis8 disco1er, pat.+ *%G file t,pes supported+ 1%1F Oracle 5ata(ase 1ersions co'pati(le <it. t.is release+ 1%1# response files+ 9%F stora-e options for data files+ 1%1* Oracle Cluster Re-istr, port+ !%2 Oracle Cluster<are and 'ultiple data(ase 1ersions+ 1%H ports+ ran-es and protocol+ !%2 Oracle Confi-uration 7ana-er postinstallation+ F%G Oracle Connection 7ana-er ports+ ran-es and protocol+ !%2 Oracle 5ata Guard ports+ ran-es and protocol+ !%2 Oracle 5ata(ase data file stora-e options+ 1%1* supported stora-e options for+ 1%1F up-rades of+ 1%H+ 2%* 1ersions t.at can coexist usin- Oracle A&7+ 1%1# Oracle 5ata(ase Confi-uration Assistant response file+ 9%G Oracle 5ata(ase Confi-uration Assistant (59CA) no lon-er sets LOCALQLI&?!N!R and R!7O?!Q LI&?!N!R+ H%1G

7
7e'or, &i=e (&GA and 2GA)+ *%H 7!7OR@Q?ARG!?+ *%H 'ultiple Oracle .o'es and Oracle Cluster<are+ 1%H 'ultiple Oracle RAC data(ases cluster<are reBuire'ents for+ 1%H 'ultitenant container data(ases. &ee C59s 7, Oracle &upport c.ec8 (efore installation+ 1%2 7, Oracle &upport <e( site and stora-e reBuire'ents+ 1%12

N
na'in- 'et.ods+ H%" !as, Connect Na'in-+ H%1$+ H%2) Net Confi-uration Assistant (NetCA) response files+ 9%11

Index%*

redo lo- files+ H%H Oracle 5ata(ase Up-rade Assistant+ *%2 Oracle !1ent 7ana-er ports+ ran-es and protocol+ !%* Oracle >lex Cluster Oracle RAC (inaries not supported on Oracle AC>&+ 1%* reBuire'ents and restrictions for+ 1%* Oracle .o'e A&CII pat. for+ 1%11 Oracle Net stoppin- existin- listener+ 1%1# Oracle Net Confi-uration Assistant response file+ 9%G Oracle Net Listener ports ran-es and protocol+ !%* Oracle Real Application Clusters data(ases+ deletin-+ *%" installed co'ponents of+ 1%1G operatin- s,ste' reBuire'ents for+ 1%12 o1er1ie<+ *%1+ H%1 ports ran-es and protocol+ !%F stora-e reBuire'ents for+ 1%12 Oracle Uni1ersal Installer response files list of+ 9%G Oracle Up-rade Co'panion+ 1%H+ 2%* Oracle 7L 59 ports ran-es and protocol+ !%F ORACL!Q9A&! default 1alue+ 1%1) ORACL!Q9A&! en1iron'ent 1aria(le settin-+ F%F ORACL!Q;O7! en1iron'ent 1aria(le settin-+ F%F ORACL!Q&I5 en1iron'ent 1aria(le settin-+ F%F Oracle7etalin8. &ee 7, Oracle &upport orata( file+ H%F O&A&7+ H%2 O&9AC4U259A+ H%2 O&59A+ H%2 O&59A for A&7+ H%2 O&5G59A+ H%2 O&4759A+ H%2 O&O2!R+ H%2 O&O2!R for A&7+ H%2

operatin- s,ste' patc.es for Oracle RAC+ 1%12 259s+ *%H+ H%* plu--a(le data(ases. &ee 259s portlist.ini file+ !%1 ports access URLs+ !%1 Cluster 7ana-er+ ran-es and protocol+ !%2 Cluster &,nc.roni=ation &er1ices+ ran-es and protocol+ !%2 confi-ured for applications+ !%1 default ran-es+ !%1 Oracle Cluster Re-istr,+ !%2 Oracle Cluster<are+ ran-es and protocol+ !%2 Oracle Connection 7ana-er+ ran-es and protocol+ !%2 Oracle 5ata Guard+ ran-es and protocol+ !%2 Oracle !1ent 7ana-er+ ran-es and protocol+ !%* Oracle Net Listener ran-es and protocol+ !%* Oracle Real Application Clusters ran-es and protocol+ !%F Oracle 7L 59 ran-es and protocol+ !%F postinstallation product confi-uration+ F%2 user accounts setup+ F%F preconfi-ured data(ase installation t,pes+ 2%F preinstallation operatin- s,ste' reBuire'ents+ 1%12 process stoppin- existin-+ 1%1# stoppin- existin- listener process+ 1%1#

R
RAC. &ee Oracle Real Application Clusters. ra< de1ices supported for up-rades onl,+ 1%1* unsupported for direct stora-e use+ 1%1F read'e.txt file+ !%1 reco1er, files &ee also fast reco1er, area supported stora-e options+ 1%1F redo lo- files+ 1%1G descri(ed+ H%H installed confi-uration+ H%H Redundant Interconnect Usa-e+ 1%* reBuire'ents for :a1a Runti'e !n1iron'ent on 6indo<s+ 1%12 response file installation preparin-+ 9%G response files te'plates+ 9%G silent 'ode+ 9%# response file 'ode a(out+ 9%* reasons for usin-+ 9%F &ee also response files+ silent 'ode+ 9%* response files a(out+ 9%*

2
pass p.rase+ *%F for &&;+ *%F pass<ords+ 2%H specif,in- for response files+ 9%F &ee also securit, patc. up-rades+ 5%2 patc.es

Index%F

creatin- <it. te'plate+ 9%G d(ca.rsp+ 9%G enterprise.rsp+ 9%G for Oracle A&7+ 9%F -eneral procedure+ 9%F Net Confi-uration Assistant+ 9%11 netca.rsp+ 9%G passin- 1alues at co''and line+ 9%* pass<ords+ 9%F securit,+ 9%F &ee also silent 'ode.+ 9%* specif,in- <it. Oracle Uni1ersal Installer+ roll(ac8 se-'ents descri(ed+ H%H root.as.pl+ "%*

s,sas' pri1ile-e stora-e tas8s reBuirin-+ *%G s,ste' identifier (&I5) selectin-+ 2%G s,ste' pri1ile-es understandin-+ H%2 &@&?!7 ta(lespace description+ H%G &@&?!7 user pass<ord reBuire'ents+ 2%H 9%"

?
ta(lespaces and 59CA+ H%G ! A72L!+ H%G expandin- for lar-e sorts+ H%G &@&?!7+ H%G ?!72+ H%G undo ta(lespaces for auto'atic undo 'ana-e'ent+ H%G U&!R&+ H%G ?!72 ta(lespace descri(ed+ H%G ti'e =one 1ersion files+ 1%1G ?N&QA57IN and t.e listener.ora file+ H%1)+ H%1" tnsna'es.ora file+ H%1G default confi-uration+ H%1G tnsna'es.ora files and DI2 addresses+ H%$ ?ransaction 2rocessindata(ase confi-uration t,pe+ 2%G trou(les.oootinNodes una1aila(le for selection+ A%2 trou(les.ootinAn error occurred <.ile tr,in- to -et t.e dis8s+ A%2 Can\t open displa,+ A%2 confi-uration assistant errors+ A%F Connection refused (, ser1er+ A%2 dis8 space errors+ 1%11 error startin- instance+ A%* >ailed to connect to ser1er+ A%2 irreco1era(le errors+ A%G lo- file+ 2%1+ A%F node is unreac.a(le+ A%2 2R42%1))1 !rror startin- instance+ A%* re1ie<in- a lo- file+ A%F ti'e sta'p in t.e future+ A%* ser1er+ A%2 @29IN52ROCQ5O7AIN 5o'ain not (ound+ A%* ?,pical installation t,pe+ 2%F

&
&CAN DI2+ H%$ scripts to create an Oracle Real Application Clusters data(ase+ 9%1 secure data center do<nloadin- installer updates for+ 1%G+ 2%2 securit, selectin- pass<ords+ 2%H &ee also pass<ords ser1er para'eter files+ 1%1G+ H%H ser1er pools confi-uration+ G%1 descri(ed+ G%2 >ree+ G%* Generic+ G%* ser1ice re-istration+ H%11+ H%1F a(out+ H%1$ confi-urin-+ H%1* s.ared ser1ers+ H%1F &I5. &ee s,ste' identifiers (&I5). silent 'ode a(out+ 9%* reasons for usin-+ 9%F &ee also response files.+ 9%* silent 'ode installation+ 9%# &oft<are Updates Option+ 2%2 &2>IL! see ser1er para'eter file+ 1%1F sBlnet.ora files+ H%1$ &&;+ *%F &tandard !dition of Oracle 5ata(ase supported stora-e options+ 1%1F stora-e options for !nterprise !dition installations+ 1%1F for Oracle RAC+ 1%12 for &tandard !dition installations+ 1%1F supported options+ 1%1*+ 1%1F &u''ar, dialo-+ *%# support for installation and -lo(ali=ation+ 1%# &@& user pass<ord reBuire'ents+ 2%H

U
undo 'ana-e'ent+ H%H up-rade+ 1%H

Index%G

of existin- Oracle 5ata(ases+ *%2 of listener+ *%2 of Oracle 5ata(ase <it. patc.+ 5%2 Oracle Cluster<are 1ersion reBuire'ent for+ 1%H ?I7!&?A72 6I?; ?I7! AON! data+ 1%1G up-rades and &CANs+ H%1) and usin- sa'e Oracle .o'e+ 1%" of existin- Oracle data(ases+ 2%* stoppin- processes+ 1%1# user accounts postinstallation setup+ F%F user aut.entication+ H%2) U&!R& ta(lespace descri(ed+ H%G

D
DI2 addresses+ H%$

6
<e( (ro<sers supported <it. Oracle Application !xpress+ 1%12 supported <it. Oracle !nterprise 7ana-er+ 1%12

Index%H

Das könnte Ihnen auch gefallen