Professional Documents
Culture Documents
Best Practices
1801 Varsity Drive Raleigh NC 27606-2072 USA Phone !1 "1" 7#$ %700 Phone 888 7%% $281 &a' !1 "1" 7#$ %701 P( )o' 1%#88 Resear*h +riangle Par, NC 2770" USA -in.' is a registere/ tra/e0ar, o1 -in.s +orval/s2 Re/ 3at4 Re/ 3at 5nter6rise -in.' an/ the Re/ 3at 7Sha/o80an7 logo are registere/ tra/e0ar,s o1 Re/ 3at4 9n*2 in the Unite/ States an/ other *o.ntries2 (ra*le an/ :ava are registere/ tra/e0ar,s o1 (ra*le2 9ntel4 the 9ntel logo an/ ;eon are registere/ tra/e0ar,s o1 9ntel Cor6oration or its s.<si/iaries in the Unite/ States an/ other *o.ntries2 All other tra/e0ar,s re1eren*e/ herein are the 6ro6erty o1 their res6e*tive o8ners2 = 201% <y Re/ 3at4 9n*2 +his 0aterial 0ay <e /istri<.te/ only s.<>e*t to the ter0s an/ *on/itions set 1orth in the (6en P.<li*ation -i*ense4 V120 or later ?the latest version is 6resently availa<le at htt6 @@8882o6en*ontent2org@o6en6.<@A2 +he in1or0ation *ontaine/ herein is s.<>e*t to *hange 8itho.t noti*e2 Re/ 3at4 9n*2 shall not <e lia<le 1or te*hni*al or e/itorial errors or o0issions *ontaine/ herein2 Distri<.tion o1 0o/i1ie/ versions o1 this /o*.0ent is 6rohi<ite/ 8itho.t the e'6li*it 6er0ission o1 Re/ 3at 9n*2 Distri<.tion o1 this 8or, or /erivative o1 this 8or, in any stan/ar/ ?6a6erA <oo, 1or0 1or *o00er*ial 6.r6oses is 6rohi<ite/ .nless 6rior 6er0ission is o<taine/ 1ro0 Re/ 3at 9n*2 +he BPB 1inger6rint o1 the se*.rityCre/hat2*o0 ,ey is CA 20 86 86 2) D6 "D &C 6# &6 5C C$ 21 "1 80 CD D) $2 A6 05
"""%red*at%co'
ii
re!arc*+!eedbac,-red*at%co'
taying /n 0ouc*
:oin .s on so0e o1 the 6o6.lar so*ial 0e/ia sites 8here 8e ,ee6 o.r a./ien*e in1or0e/ on ne8 re1eren*e ar*hite*t.res as 8ell as o11er relate/ in1or0ation on things 8e 1in/ interesting2 Li,e us on .aceboo,1 htt6s @@88821a*e<oo,2*o0@rhre1ar*h .ollo" us on 0"itter1 htt6s @@t8itter2*o0@Re/3atRe1Ar*h Plus us on 2oogle31 htt6s @@6l.s2google2*o0@.@0@<@11$1#212678%8%07280%0@ 4ccessing Re!erence 4rc*itectures +here are t8o 8ays to a**ess Re/ 3at re1eren*e ar*hite*t.res +he Re/ 3at *.sto0er 6ortal at htt6 @@a**ess2re/hat2*o0 .sing a *.sto0er login +he Re/ 3at reso.r*e li<rary at htt6 @@8882re/hat2*o0@reso.r*eli<rary@re1eren*e-ar*hite*t.res@
re!arc*+!eedbac,-red*at%co'
iii
"""%red*at%co'
Table of Contents
1 5'e*.tive S.00ary22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 1 2 Re1eren*e Ar*hite*t.re 5nviron0ent2222222222222222222222222222222222222222222222222222222222222222 2
221 Re1eren*e Ar*hite*t.re (vervie822222222222222222222222222222222222222222222222222222222222222222222222222222222222222 2 222 Net8or, +o6ology22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 % 22% 3ar/8are Details222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 $ 22$ &ile Syste0 -ayo.t E Dis, S6a*e Details222222222222222222222222222222222222222222222222222222222222222222222222 # 22# Storage -ayo.t222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 6 226 S8a6 S6a*e222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 6 227 Se*.rity &ire8all Settings222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 7 228 Se*.rity S5-in.'22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 7
"""%red*at%co'
i5
re!arc*+!eedbac,-red*at%co'
%2$2% Con1ig.ring (ra*le ASF Dis,s2222222222222222222222222222222222222222222222222222222222222222222222222222222222 27 %2$2%21 (ra*le ASF-i< Alternative Con1ig.ring U/ev R.les2222222222222222222222222222222222222222222 27 %2$2%22 Con1ig.ring (ra*le ASF-i<2222222222222222222222222222222222222222222222222222222222222222222222222222222222 28 %2$2$ (6ti0iGing Data<ase Storage .sing A.to0ati* Syste0 +.ning22222222222222222222222222222222 %2
# -ogging into the (ra*le Data<ase 11g Release 2 ?1122202%A2222222222222222222222222 #2 6 Con*l.sion222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 #% A66en/i' A Revision 3istory222222222222222222222222222222222222222222222222222222222222222222222222222 #$ A66en/i' ) Contri<.tors 22222222222222222222222222222222222222222222222222222222222222222222222222222222 ## A66en/i' C DF F.lti6ath Con1ig.ration &ile222222222222222222222222222222222222222222222222222 #6 A66en/i' D 96ta<les Con1ig.ration &ile22222222222222222222222222222222222222222222222222222222222 #8 A66en/i' 5 3.ge Pages S*ri6t22222222222222222222222222222222222222222222222222222222222222222222222 #" A66en/i' & (ra*le Data<ase Pa*,age ReD.ire0ents +e't &ile2222222222222222222222 60 A66en/i' B Hernel Para0eters22222222222222222222222222222222222222222222222222222222222222222222222 61 A66en/i' 3 -i0its Con1ig.ration &ile ?""-gri/-ora*le-li0its2*on1A22222222222222222222 62 A66en/i' 9 ""-ora*le-as0/evi*es2r.les22222222222222222222222222222222222222222222222222222222222 6% A66en/i' : Sa06le Hi*,start &ile22222222222222222222222222222222222222222222222222222222222222222222 6$ A66en/i' H Con1ig.ration &iles22222222222222222222222222222222222222222222222222222222222222222222222 6# A66en/i' - +ro.<leshooting (RA-I 5rrors222222222222222222222222222222222222222222222222222222 66 A66en/i' F Re1eren*es2222222222222222222222222222222222222222222222222222222222222222222222222222222222 70
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
1 Executive Summary
9+ organiGations 1a*e *hallenges o1 o6ti0iGing (ra*le /ata<ase environ0ents to ,ee6 .6 8ith the ever in*reasing 8or,loa/ /e0an/s an/ evolving se*.rity ris,s2 +his re1eren*e ar*hite*t.re 6rovi/es a ste6-<y-ste6 /e6loy0ent 6ro*e/.re 8ith the latest <est 6ra*ti*es to install an/ *on1ig.re an (ra*le Data<ase 11g Release ?1122202%A 8ith (ra*le A.to0ati* Storage Fanage0ent ?ASFA2 9t is s.ite/ 1or syste04 storage4 an/ /ata<ase a/0inistrators /e6loying (ra*le Data<ase 11g Release 2 ?1122202%A on Re/ 3at 5nter6rise -in.' 62 9t is inten/e/ to 6rovi/e a Re/ 3at J (ra*le re1eren*e ar*hite*t.re that 1o*.ses on the 1ollo8ing tas,s De6loying (ra*le Bri/ 9n1rastr.*t.re 11g R2 ?1122202%A De6loying (ra*le Data<ase 11g R2 ?1122202%A 8ith share/ SAN /is,s Using (ra*le ASF /is,s 8ith udev r.les or 8ith (ra*le ASF-i< Se*.ring the (ra*le Data<ase 11gR2 environ0ent 8ith SELinux
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
"""%red*at%co'
re!arc*+!eedbac,-red*at%co'
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
0able 2%)%11 er5er Details s6e*i1ies the har/8are 1or the server .se/ 8ithin this re1eren*e ar*hite*t.re2 +his har/8are 0eets the 0ini0.0 reD.ire0ents 1or 6ro6erly installing (ra*le Data<ase 11g Release 2 ?1122202%A on a '86K6$ syste02 er5er Hard"are peci!ications Re/ 3at 5nter6rise -in.' 62$ ,ernel 2262%2-%#82el62'86K6$ 2 So*,et4 8 Core ?16 *oresA 9ntel?RA ;eon?RA CPU O##80 C %220 B3G $8 B) o1 0e0ory4 DDR% $0"6 F) C 1%%% F3G D9FFs 2 ' Net;en N;%0%1 1@10-Biga<it Net8or, 9nter1a*e Car/s ?N9CsA 1or 6.<li* net8or, 1 ' Plogi* 9SP2#%2 8B) &i<re Channel D.al Port 3)A Table 2.3.1: Server Details 0able 2%)%21 "itc* Details s6e*i1ies the &i<re Channel an/ 5thernet s8it*hes .se/ 8ithin this re1eren*e ar*hite*t.re2 "itc* Hard"are 2 ' )ro*a/e Sil,8or0 &i<re S8it*hes 2 ' 3P ProC.rve Biga<it S8it*hes Table 2.3.2: Switch Details
"""%red*at%co'
&
re!arc*+!eedbac,-red*at%co'
0able 2%)%)1 torage Details s6e*i1ies the storage .se/ 1or storing (ra*le /ata 1iles 8ithin this re1eren*e ar*hite*t.re2 torage Hard"are 3P StorageOor,s FSA2%2$1* D.al Controller Array peci!ications 2$ ' 1$6 B) 1#H SAS 3ar/ /is,s
Table 2.4.1:Disk Space Requirements 6O0E1 +he a*t.al a0o.nt o1 /is, s6a*e *ons.0e/ 1or (ra*le Bri/ 9n1rastr.*t.re 3o0e an/ (ra*le Data<ase 3o0e 5nter6rise 5/ition 0ay vary2 0able 2%&%21 .ile yste' Layout s6e*i1ies the 1ile syste0 layo.t 1or the server .se/ 8ithin this re1eren*e ar*hite*t.re2 +his layo.t ens.res the /is, s6a*e reD.ire0ents to 6ro6erly install the (ra*le Bri/ 9n1rastr.*t.re an/ (ra*le Data<ase so1t8are 1or (ra*le Data<ase 11g Release 2 ?1122202%A 8ithin the /u01 6artition2 .ile yste' Layout @ @/ev@sh0 @<oot @ho0e @t06 @.01 @.sr @var Table 2.4.2: Dis, pace ize 1# B) 2$ B) 2$8 F) 8 B) $ B) #0 B) # B) 8 B) ile S!stem "a!out
Ohile the siGe o1 the (ra*le /ata 1iles varies 1or ea*h sol.tion4 the 1ollo8ing are the (ra*le
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
/ata 1ile siGes .se/ 1or this re1eren*e ar*hite*t.re2 $olu'e (ra*le Data<ase Vol.0e 1 ?/<1A (ra*le Data<ase Vol.0e 2 ?/<2A &ast Re*overy Area ?1raA (ra*le Re/o -og Vol.0e ?re/oA Table 2.4.3: #racle Data $olu'e ize 100 GB 100 GB 200 GB 10 GB ile Si$es %or Re%erence &rchitecture
Table 2.(.1: Recommen)e) Swap Space 6O0E1 Ohen *al*.lating s8a6 s6a*e4 ens.re not to in*l./e RAF assigne/ 1or hugepages2 Fore in1or0ation on hugepages *an <e 1o.n/ in ection &%1%7 Enabling HugePages
"""%red*at%co'
re!arc*+!eedbac,-red*at%co'
11#8
2.+ #ecurity* #,%inu(ra*le 11g Release 2 version 1122202% an/ later s.66ort SELinux2 All syste0s in this re1eren*e ar*hite*t.re r.n 8ith SELinux ena<le/ an/ set to en1or*ing 0o/e2 0able 2%:%11 ELinux Pac,ages lists the reD.ire/ SELinux 6a*,ages2 +he version %2721"-202 is availa<le 8ithin the /o8nloa/a<le tar 1ro0 4ppendix ; #on!iguration .iles Pac,age selin.'-6oli*y selin.'-6oli*y-targete/ $ersion %2721"-211 %2721"-211
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
5/it the /etc/s"scon#ig/netwo $ 1ileLs host na0e varia<le 8ith the host na0e 6rovi/e/ a<ove2 An e'a06le o1 the /etc/s"scon#ig/netwo $ 1ile on db-o acle-node1 *an <e seen <elo82
# cat /etc/sysconfig/network NETWORKING=yes O!TN"#E=db-oracle-node1.cloud.lab.eng.bos.redhat.com NO$ERO%ON&=yes
"""%red*at%co'
re!arc*+!eedbac,-red*at%co'
&or 0ore in1or0ation4 6lease visit the 0an 6ages o1 the esolv!con# 1ile via the *o00an/
# man resolv.conf
As the root .ser4 e'e*.te the 1ollo8ing *o00an/ 8hi*h *reates a 1ile na0e/ bonding!con# 8ithin the /etc/modp obe!d/ /ire*tory nee/e/ to *reate a <on/e/ /evi*e 1or 0.lti6le net8or, inter1a*es2 +he bonding!con# 1ile is also 6art o1 4ppendix ; #on!iguration .iles
# echo "alias bond0 bonding" /etc/modprobe.d/bonding.conf
re!arc*+!eedbac,-red*at%co'
<
"""%red*at%co'
As the root .ser4 *reate a <a*,.6 o1 the i#c#g-em1 E i#c#g-em2 1iles4 *reate the i#c#g-bond0 1ile an/ e/it the i#c#g-em1 E i#c#g-em2 *on1ig.ration 1iles 1o.n/ 8ithin /etc/s"scon#ig/netwo $sc ipts! An e'a06le *an <e seen <elo82
# cp /etc/sysconfig/network-scripts/ifcfg-em! /etc/sysconfig/networkscripts/ifcfg-em!.bk"p # cp /etc/sysconfig/network-scripts/ifcfg-em# /etc/sysconfig/networkscripts/ifcfg-em#.bk"p # cat /etc/sysconfig/network-scripts/ifcfg-bond0 4E5I%E=6bond(6 7ON4ING8O9T!=6mode=1 m::mon=1(( ;r:mary=em16 N#8%ONTRO<<E4=6no6 I9"44R=61(.1).1*,./16 NET#"!K=6,//.,//.,*..(6 G"TEW"==61(.1).1*+.,/*6 ON7OOT=6yes6 # cat /etc/sysconfig/network-scripts/ifcfg-em! 4E5I%E=6em16 7OOT9ROTO=6none6 W"44R=6((2,/27+2".2)&21.6 I95)INIT=6no6 N#8%ONTRO<<E4=6no6 ON7OOT=6yes6 T=9E=6Ethernet6 >>I4=6+db*/d,.-e)+c-*(1b-?()a-e3(?/de*3c1e6 !<"5E=6yes6 #"!TER=6bond(6 # cat /etc/sysconfig/network-scripts/ifcfg-em# 4E5I%E=6em,6 7OOT9ROTO=6none6 W"44R=6((2,/27+2".2)&21?6 I95)INIT=6no@ N#8%ONTRO<<E4=6no6 ON7OOT=6yes6 T=9E=6Ethernet6 >>I4=6-d,?d.-3-/,bb-*dc)-..ca-d(./-c-d-3d?6 !<"5E=6yes6 #"!TER=6bond(6
A1ter all the net8or, s*ri6ts are *on1ig.re/4 restart the net8or, servi*e via the *o00an/
# service network restart !hutt:ng do0n :nter3ace bond(2 !hutt:ng do0n loo;bac1 :nter3ace2 7r:ng:ng u; loo;bac1 :nter3ace2 7r:ng:ng u; :nter3ace bond(2 A A A A OK OK OK OK B B B B
"""%red*at%co'
1(
re!arc*+!eedbac,-red*at%co'
22 -o*ate the 1ollo8ing 6.<li* server 6ool se*tion4 an/ 0o/i1y to in*l./e the a66ro6riate N+P servers2 &or the 6.r6oses o1 this re1eren*e ar*hite*t.re4 only one N+P server is .se/4 <.t % is re*o00en/e/2 +he ib"rst o6tion 8as a//e/ to s6ee/ .6 the ti0e in 8hi*h it ta,es to 6ro6erly syn* 8ith the N+P servers2
# >se ;ubl:c ser'ers 3rom the ;ool.nt;.org ;roCect. # 9lease cons:der Co:n:ng the ;ool Dhtt;2EE000.;ool.nt;.orgECo:n.htmlF. ser'er 1(.1).,//., :burst
%2 Save all the *hanges 8ithin the /etc/ntp!con# 1ile $2 Restart the nt6/ /ae0on via the *o00an/
# service ntpd restart !hutt:ng do0n nt;d2 !tart:ng nt;d2 A&"I<E4B A OK B
6O0E1 Sh.tting /o8n ntpd /ae0on 6rovi/es a stat.s o1 L&A9-5DL i1 the ntpd /ae0on is *.rrently o112 #2 5ns.re that the nt6/ /ae0on is starte/ 8hen the syste0 is <oote/2
# chkconfig ntpd on
1 nt6/ S Net8or, +i0e Proto*ol ?N+PA /ae0on 0an 6age S 0an nt6/ ?8A
re!arc*+!eedbac,-red*at%co'
11
"""%red*at%co'
3.3 O# .onfiguration
3.3.1 Accessing the RHN Repository
9nstr.*tions on ho8 to register a syste0 an/ 0anage s.<s*ri6tions on Re/ 3at 5nter6rise -in.' 6 *an <e 1o.n/ 8ithin the Re/ 3at -in.' 6 De6loy0ent B.i/e /o*.0entation22 +he 1ollo8ing ta<le sho8s the reD.ire/ *hannels via the Re/ 3at Net8or, 1or the installation o1 (ra*le2 #*annel rhel-'86K6$-server-6 rhel-'86K6$-server-s.66le0entary-6 ource R3N Classi* R3N Classi*
Table 3.3.1.1: Require) /hannels 6O0E1 +he rhel-'86K6$-server-s.66le0entary-6 *hannel is a reD.ire0ent 1or the i06le0entation o1 (ra*le AS&Lib 1o.n/ in ection )%&%)%2 #on!iguring Oracle 4 8Lib2 3o8ever4 (ra*le AS&Lib is not reD.ire/ 1or the .se o1 (ra*le ASF /is,s2 +his re1eren*e ar*hite*t.re 1eat.res <oth 0etho/s o1 i06le0entation 8ithin ection )%&%)%1 Oracle 4 8Lib 4lternati5e1 #on!iguring =de5 Rules an/ ection )%&%)%2 #on!iguring Oracle 4 8Lib
"""%red*at%co'
12
re!arc*+!eedbac,-red*at%co'
(ra*le Bri/ 9n1rastr.*t.re 1122 an/ (ra*le Data<ase 1122 reD.ire/ '86K6$ RPF 6a*,ages% Re>uired Pac,ages *loog-66l *o06at-li<*a61 *o06at-li<st/*!!-%% *66 g** g**-*!! gli<*-/evel gli<*-hea/ers ,ernel-hea/ers li<;0. li<;t ,sh li<;'1860is* li<;'186v0 li<aio-/evel li</0' li<st/*!!-/evel 061r 0a,e 66l 'org-'11-.tils 'org-'11-'a.th li<;v li<;'186/ga Table 3.3.2.2: Require) .ackages A1ter the installation o1 Re/ 3at 5nter6rise -in.' 6 is *o06lete/4 *reate a 1ile4 e'- pm!txt4 that *ontains the na0e o1 ea*h RPF 6a*,age liste/ a<ove on a se6arate line2 &or si06li*ity4 this e'- pm!txt 1ile is in*l./e/ in 4ppendix . Oracle Database Pac,age Re>uire'ents 0ext .ile% Use the y"m 6a*,age 0anager to install the 6a*,ages an/ any o1 their /e6en/en*ies 8ith the 1ollo8ing *o00an/
# y"m install $awk %&print '!(% ./re)-rpm.t*t$
A 0ini0.0 installation o1 Re/ 3at 5nter6rise -in.' 6 /oes not install the ( )indow S"stem server 6a*,age4 <.t only the reD.ire/ (11 *lient li<raries2 9n or/er to r.n the (ra*le Universal 9nstaller ?(U9A4 a syste0 8ith the ( )indow S"stem server 6a*,age installe/ is reD.ire/2 Via a syste0 8ith ( )indow S"stem installe/4 ++, into the (ra*le Data<ase server 8ith the * o6tion to ens.re tr.ste/ (11 1or8ar/ing is set2 +he *o00an/ is as 1ollo8s
T ss* +? 1(%16%1&2%71
Alternatively4 i1 a syste0 8ith the ; Oin/o8 Syste0 server 6a*,age is .navaila<le4 install the ( )indow S"stem server 6a*,age /ire*tly on the (ra*le Data<ase Server2
T yu' groupinstall @A Bindo" yste'@
% -in.' (S 9nstallation 8ith Re/.*e/ Set o1 Pa*,ages 1or R.nning (ra*le Data<ase Server M9D 728%$621N
re!arc*+!eedbac,-red*at%co'
1)
"""%red*at%co'
91 the syste0 is r.nning in PE-&/SS/1E or 2/SABLE2 0o/e4 0o/i1y the /etc/s"scon#ig/selinux 1ile an/ set SELinux to en1or*ing as sho8n <elo82
!E<IN>G=en3orc:ng
+he 0o/i1i*ation o1 the /etc/s"scon#ig/selinux 1ile ta,es e11e*t a1ter a re<oot2 +o *hange the setting o1 SELinux i00e/iately 8itho.t a re<oot4 r.n the 1ollo8ing *o00an/
# setenforce !
&or 0ore in1or0ation on Se*.rity-5nhan*e/ -in.'4 6lease visit the Re/ 3at 5nter6rise -in.' 6 Se*.rity-5nhan*e/ -in.' User B.i/e
-i,e8ise4 i1 this 6arti*.lar /ata<ase *lient 8ith an 9P a//ress o1 1021621$22#$ reD.ire/ a**ess to the 8e<-<ase/ (ra*le 5nter6rise Fanager 11g that .ses the /e1a.lt 6ort o1 11#84 the 1ollo8ing 1ire8all r.le 0.st <e a//e/ to the iptables *on1ig.ration 1ile 1o.n/ at /etc/s"scon#ig/iptables2
"""%red*at%co'
1&
re!arc*+!eedbac,-red*at%co'
-" IN9>T -m state --state NEW -m tc; -; tc; -s 1(.1).1*,./* --d;ort 11/. -C "%%E9T
(n*e the r.les have <een 0o/i1ie/ 8ithin the /etc/s"scon#ig/iptables4 r.n the 1ollo8ing *o00an/ to a*tivate
# service :;tables2 :;tables2 :;tables2 :;tables2 iptables restart &lush:ng 3:re0all rules2 A !ett:ng cha:ns to ;ol:cy "%%E9T2 nat mangle 3:lteA >nload:ng modules2 A ";;ly:ng 3:re0all rules2 A OK OK OK OK B B B B
6O0E1 A 1.ll listing o1 all the 1ire8all settings 8ithin the /etc/s"scon#ig/iptables 1ile 1or this re1eren*e ar*hite*t.re *an <e 1o.n/ at 4ppendix D /ptables #on!iguration .ile%
5 Dirty /ata is /ata that has <een 0o/i1ie/ an/ hel/ in the 6age *a*he 1or 6er1or0an*e <ene1its2 (n*e the /ata is 1l.she/ to /is,4 the /ata is *lean2
2/-4* 2A4A 2/-4*6-A4/,
5 Contains4 as a 6er*entage o1 total syste0 0e0ory4 the n.0<er o1 6ages at 8hi*h a 6ro*ess 8hi*h is generating /is, 8rites 8ill itsel1 start 8riting o.t /irty /ata2 +he /e1a.lt val.e is 202 +he re*o00en/e/ val.e is 802
2/-4*6BA.80-,9%26-A4/,
5 Contains4 as a 6er*entage o1 total syste0 0e0ory4 the n.0<er o1 6ages at 8hi*h the <a*,gro.n/ 8rite <a*, /ae0on 8ill start 8riting o.t /irty /ata2 +he (ra*le re*o00en/e/ val.e is %2
2/-4*6E(P/-E6.E%4/SE.S
- De1ines 8hen /irty in-0e0ory /ata is ol/ eno.gh to <e eligi<le 1or 8riteo.t2 +he /e1a.lt val.e is 30004 e'6resse/ in h.n/re/ths o1 a se*on/2 +he (ra*le re*o00en/e/ val.e is #002
2/-4*6)-/4EBA.86.E%4/SE.S
- De1ines the interval o1 8hen 8rites o1 /irty in-0e0ory /ata are 8ritten o.t to /is,2 +he /e1a.lt val.e is 5004 e'6resse/ in h.n/re/ths o1 a se*on/2 +he (ra*le re*o00en/e/ val.e is 1002
re!arc*+!eedbac,-red*at%co'
17
"""%red*at%co'
Prior to 0a,ing any *hanges to the /etc/s"sctl!con# ens.re to *reate a <a*,.6 as 1ollo8s
# cp /etc/sysctl.conf /etc/sysctl.conf.bk"p
+he 1ollo8ing is a sni66et 1ro0 the /etc/s"sctl!con# 1ile 8ith the 1ive virt.al 0e0ory 6ara0eters set 8ith the re*o00en/e/ settings
'm.s0a;;:ness = ( 'm.d:rty8bac1ground8rat:o = + 'm.d:rty8rat:o = .( 'm.d:rty8eH;:re8cent:secs = /(( 'm.d:rty80r:tebac18cent:secs = 1((
&or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
S:&ALL
as 1ollo8s
4,4AL -A& /% B*4ES / PA0E6S/<E &or e'a06le4 on a syste0 8ith $8 B) o1 0e0ory the S:&ALL *al*.lation 8o.l/ loo, as 1ollo8s
"""%red*at%co' 16 re!arc*+!eedbac,-red*at%co'
+he *al*.lation o1 S:&&A(4 is as 1ollo8s :AL+ ,+ 4,4AL -A& /% B*4ES &or e'a06le4 on a syste0 8ith $8 B) o1 0e0ory the S:&&A( *al*.lation 8o.l/ loo, as 1ollo8s
# echo 456 7 !0#589 / #< | bc ,/-)?.(+--)
As 1or S:&&%/4 (ra*le re*o00en/s the val.e o1 S:&&%/ to <e set to $0"62 NOT,* 91 the *.rrent val.e 1o.n/ 8ithin /etc/s"sctl!con# 1or any 6ara0eter is higher than the val.e *al*.late/ 1or S:&&A( an/ S:&ALL4 /o not *hange the val.e 1o.n/ 8ithin the /etc/s"sctl!con# 1ile! Sin*e the val.es o1 S:&&A( an/ S:&ALL *al*.late/ are s0aller then the val.es alrea/y set4 no *hanges are 0a/e 8ithin /etc/s"sctl!con#2 Sni66et o1 the /etc/s"sctl!con# 1ile
1ernel.shmmaH = ).-1?*-)-+) 1ernel.shmall = *,?*?)-,?) 1ernel.shmmn: = *(?)
9n or/er 1or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
S is /e1ine/ as the 0a'i0.0 n.0<er o1 se0a6hores 6er se0a6hore set S is /e1ine/ as the 0a'i0.0 n.0<er o1 se0a6hore sets 1or the entire syste0 S is /e1ine/ as the total n.0<er o1 se0a6hores 1or the entire syste0
6O0E1 SE&&%S is *al*.late/ <y SE&&SL I SE&&%/ S is /e1ine/ as the total n.0<er o1 se0a6hore o6erations 6er1or0e/ 6er se0o6 syste0 *all2
SE&,P&
+he 1ollo8ing line is reD.ire/ 8ithin the /etc/s"sctl!con# 1ile to 6rovi/e s.11i*ient se0a6hores 1or (ra*le
1ernel.sem = ,/( +,((( 1(( 1,.
9n or/er 1or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
re!arc*+!eedbac,-red*at%co'
19
"""%red*at%co'
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
9n or/er 1or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
9n or/er to 0a,e the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
"""%red*at%co'
1:
re!arc*+!eedbac,-red*at%co'
9n or/er 1or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
Ne't4 a// all the P-,.ESSES together 1ro0 ea*h (ra*le /ata<ase instan*e 1o.n/ 8ithin the syste0 an/ 0.lti6le <y #12 as seen in the 1ollo8ing *o00an/2
# echo 4=!# 7 !=0< | bc -).((
6O0E1 +o /eter0ine the *.rrent P-,.ESSES val.e4 log into the (ra*le /ata<ase instan*e an/ r.n the 1ollo8ing *o00an/ <elo82 Sin*e no (ra*le /ata<ase has yet <een *reate/ 8ithin this re1eren*e ar*hite*t.re4 the /e1a.lt val.e o1 1#0 P-,.ESSES is .se/2
re!arc*+!eedbac,-red*at%co'
1<
"""%red*at%co'
&inally4 a// the *.rrent +S!+/LE-&A( val.e 8ith the ne8 val.e 1o.n/ 1ro0 0.lti6lying #12IPR(C5SS5S to attain the ne8 +S!+/LE-&A( val.e2
# echo 49#>;6 ? >;600< | bc 1(?/).
Ohile the val.e o1 the +S!+/LE-&A( 6ara0eter varies .6on yo.r environ0ent4 this re1eren*e ar*hite*t.re sets the val.e at 681#7$$2 (ra*le re*o00en/s a val.e no s0aller than 681#7$$2 D.e to the *al*.lation in the a<ove e'a06le eD.ating to 10"#684 the 0ini0.0 (ra*le re*o00en/e/ val.e 8as .se/2 9n or/er to a// +S!+/LE-&A( to 681#7$$4 0o/i1y the @et*@sys*tl2*on1 1ile as 1ollo8s
3s.3:le-maH = ).1/-**
9n or/er 1or the *hanges ta,e e11e*t i00e/iately4 r.n the 1ollo8ing *o00an/
# sysctl -p
6O0E1 9t is re*o00en/e/ to revisit the +S!+/LE-&A( val.e i1 the P-,.ESSES val.e is in*rease/ 1or the (ra*le /ata<ase instan*e2 6O0E1 A 1.ll listing o1 all the ,ernel 6ara0eters 0o/i1ie/ 8ithin the /etc/s"sctl!con# 1ile *an <e 1o.n/ at 4ppendix 2 ;ernel Para'eters%
(S(P5R gro.6 ?AS&,PE-A S an o6tional gro.6 *reate/ to assign li0ite/ D)A 6rivileges 8ith regar/s to ASF to 6arti*.lar (S .ser a**o.nts
"""%red*at%co' 2( re!arc*+!eedbac,-red*at%co'
As the root .ser4 *reate the 1ollo8ing .ser a**o.nts4 gro.6s4 an/ gro.6 assign0ents .sing a *onsistent U9D an/ B9D assign0ents a*ross yo.r organiGation
# # # # # # gro"padd gro"padd gro"padd gro"padd gro"padd gro"padd --gid --gid --gid --gid --gid --gid =59#! =59## =59#9 =59#5 =59#= =59#; oinstall dba asmdba asmoper asmadmin oper
# "seradd --"id =59#! --gid oinstall --gro"ps dba@oper@asmdba@asmoper oracle # passwd oracle # "seradd --"id =59## --gid oinstall --gro"ps dba@asmadmin@asmdba@asmoper grid # passwd grid
Veri1y the 0-/2 an/ ,-A.LE .ser *orre*tly /is6lay the a66ro6riate 6ri0ary an/ s.66le0entary gro.6s via the *o00an/s
# id oracle u:d=/*+,1DoracleF g:d=/*+,1Do:nstallF grou;s=/*+,1Do:nstallFI/*+,,DdbaFI/*+,+DasmdbaFI/*+,*Dasmo;erFI/*+,)Do;erF # id grid u:d=/*+,,Dgr:dF g:d=/*+,1Do:nstallF grou;s=/*+,1Do:nstallFI/*+,,DdbaFI/*+,+DasmdbaFI/*+,*Dasmo;erFI/*+,/Dasmadm:nF
3.3.13 Setting Shell Limits for the Grid and Oracle User
(ra*le re*o00en/s the 1ollo8ing settings 1or the so1t an/ har/ li0its 1or the n.0<er o1 o6en 1ile /es*ri6tors ?no1ileA4 n.0<er o1 6ro*esses ?n6ro*A4 an/ siGe o1 the sta*, seg0ent ?sta*,A allo8e/ <y ea*h .ser res6e*tively2 +he 6.r6ose o1 setting these li0its is to 6revent a syste0 8i/e *rash that *o.l/ <e *a.se/ i1 an a66li*ation4 s.*h as (ra*le4 8ere allo8e/ to e'ha.st all o1 the (S reso.r*es .n/er an e'tre0ely heavy 8or,loa/2 Create a 1ile la<ele/ ==-g id-o acle-limits!con# 8ithin /etc/secu it"/limits!d/ as 1ollo8s
# to"ch /etc/sec"rity/limits.d/::-grid-oracle-limits.conf
6O0E1 +he reason that the /etc/secu it"/limits!con# 1ile is not /ire*tly 0o/i1ie/ is /.e to the or/er in 8hi*h li0it 1iles are rea/ in the syste02 A1ter rea/ing the /etc/secu it"/limits!con# 1ile4 1iles 8ithin the /etc/secu it"/limits!d/ /ire*tory are rea/2 91 t8o 1iles *ontain the sa0e entry4 the entry rea/ last ta,es 6resi/en*e2 &or 0ore in1or0ation visit Re/ 3at Arti*le QOhat or/er are the li0it 1iles in the li0its2/ /ire*tory rea/ inUR6
6 Ohat or/er are the li0its 1iles in the li0its2/ /ire*tory rea/ inU htt6s @@a**ess2re/hat2*o0@site@sol.tions@1""""%
re!arc*+!eedbac,-red*at%co'
21
"""%red*at%co'
Oithin the /etc/secu it"/limits!d/==-g id-o acle-limits!con# 1ile4 a// the 1ollo8ing so1t an/ har/ li0its 1or the o acle an/ g id .ser
oracle so3t n;roc ,(*oracle hard n;roc 1)+.* oracle so3t no3:le 1(,* oracle hard no3:le )//+) oracle so3t stac1 1(,*( oracle hard stac1 +,-). gr:d so3t n;roc ,(*gr:d hard n;roc 1)+.* gr:d so3t no3:le 1(,* gr:d hard no3:le )//+) gr:d so3t stac1 1(,*( gr:d hard stac1 +,-).
2 6O0E1 Fo/i1i*ations 0a/e to the ==-g id-o acle-limits!con# 1ile ta,e e11e*t i00e/iately2 3o8ever4 6lease ens.re that any 6revio.sly logge/ in o acle or g id .ser sessions ?i1 anyA are logge/ o.t an/ logge/ <a*, in 1or the *hanges to ta,e e11e*t % As the root .ser4 *reate a shell s*ri6t la<ele/ o acle-g id!sh 8ithin /etc/p o#ile!d/ to *reate the a66ro6riate ulimits 1or the o acle an/ g id .ser! +he *ontents o1 the ora*le-gri/2sh s*ri6t *an <e seen <elo82
#!ett:ng the a;;ro;r:ate ul:m:ts 3or oracle and gr:d user :3 A J>!ER = 6oracle6 BK then :3 A J! E<< = 6Eb:nE1sh6 BK then ul:m:t -u 1)+.* ul:m:t -n )//+) else ul:m:t -u 1)+.* -n )//+) 3: 3: :3 A J>!ER = 6gr:d6 BK then :3 A J! E<< = 6Eb:nE1sh6 BK then ul:m:t -u 1)+.* ul:m:t -n )//+) else ul:m:t -u 1)+.* -n )//+) 3: 3:
6O0E1 Ohile the ulimit val.es *an <e set /ire*tly 8ithin the /etc/p o#ile 1ile4 it is re*o00en/e/ to *reate a *.sto0 shell s*ri6t 8ithin /etc/p o#ile!d instea/2 +he o acle-g id!sh s*ri6t *an <e /o8nloa/e/ 1ro0 the 4ppendix ; #on!iguration .iles As o acle an/ g id .ser4 veri1y the 9L/&/4 val.es <y r.nning the 1ollo8ing *o00an/
# "limit -a core 3:le s:Le data seg s:Le schedul:ng ;r:or:ty Dbloc1sI -cF ( D1bytesI -dF unl:m:ted D-eF (
"""%red*at%co'
22
re!arc*+!eedbac,-red*at%co'
3:le s:Le Dbloc1sI -3F unl:m:ted ;end:ng s:gnals D-:F +./.-. maH loc1ed memory D1bytesI -lF 1*./*1** maH memory s:Le D1bytesI -mF unl:m:ted o;en 3:les D-nF )//+) ;:;e s:Le D/1, bytesI -;F . 9O!IG message Mueues DbytesI -MF .1?,(( real-t:me ;r:or:ty D-rF ( stac1 s:Le D1bytesI -sF 1(,*( c;u t:me DsecondsI -tF unl:m:ted maH user ;rocesses D-uF 1)+.* ':rtual memory D1bytesI -'F unl:m:ted 3:le loc1s D-HF unl:m:ted
22 Co6y the multipath!con# 1ile 1o.n/ 8ithin /us /sha e/doc/device-mappe -multipath-0!3!=/ to /etc/
# cp /"sr/share/doc/device-mapper-m"ltipath-0.5.:/m"ltipath.conf /etc/
re!arc*+!eedbac,-red*at%co'
2)
"""%red*at%co'
$2 Un*o00ent an/ 0o/i1y the <la*,list se*tion 8ithin the /etc/multipath!con# 1ile to in*l./e the scsi id o1 the lo*al /is, on the syste02 (n*e *o06lete4 save the *hanges 0a/e to the multipath!con# 1ile2
blac1l:st N 00:d +)((/(.b1((1(+(+/+*+*+)+)*)+(1,(( de'node 6ODramPra0Ploo;P3dPmdPdm-PsrPscdPstFA(-?BQ6 de'node 6OhdAa-LB6 R
72 9/enti1y the dm- device; si>e; and ))/2 o1 ea*h device mappe vol.0e 1or (ra*le /ata /is,s an/ re*overy /is,s2 9n this e'a06le4 vol.0e mpathb is i/enti1ie/ via the 1ollo8ing *o00an/
# m"ltipath -ll
Figure
.igure )%&%1%11 8ultipat* De5ice C'pat*bD 6ro6erly i/enti1ies the *.rrent 0.lti6ath alias na0e4 siGe4 ))/2; an/ dm /evi*e! +his in1or0ation is reD.ire/ 1or the a66li*ation o1 a *.sto0 alias to ea*h vol.0e as sho8n in ste6 "!
"""%red*at%co' 2& re!arc*+!eedbac,-red*at%co'
"2 Un*o00ent the 0.lti6ath se*tion 1o.n/ 8ithin the /etc/multipath!con# 1ile an/ *reate an alias 1or ea*h device mappe vol.0e in or/er to ena<le 6ersistent na0ing o1 those vol.0es2 (n*e *o06lete4 save the *hanges 0a/e to the multipath!con# 1ile2 +he o.t6.t sho.l/ rese0<le the e'a06le <elo82 &or re1eren*e4 re1er the (ra*le /ata vol.0es *reate/ 1or this re1eren*e ar*hite*t.re as seen on 0able 2%&%)1 Oracle Data .ile izes !or Re!erence 4rc*itecture%
mult:;aths N mult:;ath N 00:d al:as R mult:;ath N 00:d al:as R mult:;ath N 00:d al:as R mult:;ath N 00:d al:as R R
re!arc*+!eedbac,-red*at%co'
27
"""%red*at%co'
112 Veri1y the device mappe 6aths an/ aliases are /is6laye/ 6ro6erly2 )elo8 is an e'a06le o1 one device mappe /evi*e la<ele/ # a2
# m"ltipath -ll 3ra D+)((c(33(((d-e-a.?e./ac/1(1((((((F dm-1( 9I#!",+,*3c s:Le=1.)G 3eatures=T1 Mueue8:38no8;athT h0handler=T(T 0;=r0 P-U- ;ol:cy=Tround-rob:n (T ;r:o=1+( status=act:'e P P- +2(2(2+ sdd .2*. act:'e ready runn:ng P P- +2(212+ sdh .211, act:'e ready runn:ng P P- *2(2(2+ sdt )/2*. act:'e ready runn:ng P V- *2(212+ sdH )/211, act:'e ready runn:ng V-U- ;ol:cy=Tround-rob:n (T ;r:o=1( status=enabled P- +2(2,2+ sdl .21-) act:'e ready runn:ng P- +2(2+2+ sd; .2,*( act:'e ready runn:ng P- *2(2,2+ sdab )/21-) act:'e ready runn:ng V- *2(2+2+ sda3 )/2,*( act:'e ready runn:ng
(n*e the 6artition is *reate/4 a ne8ly *reate/ /evi*e 0a66er /evi*e is *reate/ as db1p12
# ls -l /dev/mapper/db!p! lr0Hr0Hr0H. 1 root root . ";r 1) 1/21/ Ede'Ema;;erEdb1;1 -W ..Edm-11
6O0E1 A ne8ly *reate/ 6artition reD.ires the alias na0e 1ollo8e/ <y p1 s.*h as /b1p1 seen a<ove2 91 p1 is 0issing4 6lease r.n the 1ollo8ing *o00an/ to a// the 6artition 0a66ings to the /evi*e 0a66er /is,s2
# kpart* -a /dev/mapper/db!
"""%red*at%co'
26
re!arc*+!eedbac,-red*at%co'
22 Create a 1ile la<ele/ ==-o acle-asmdevices! ules 8ithin /etc/udev/ ules!d/ %2 Oithin ==-o acle-asmdevices! ules 1ile4 *reate r.les 1or ea*h /evi*e si0ilar to the e'a06le <elo8
KERNE<==6dm-Q6IEN5N4#8>>I4R==6;art1-m;ath+)((c(33(((dab3e/3*d./1/1(1((((((6IOWNER=6gr:d6IGRO>9=6asmadm:n6I#O4E=6() )(6
+o .n/erstan/ the r.le a<ove4 it *an <e rea/ as 1ollo8s 91 any dm- device 0at*hes the 2&699/2 o1 pa t1-mpath?@00c0##000dab#e7#3dA717101000000 4 assign to that dm- device to <e o8ne/ <y the g id .ser an/ 6art o1 the asmadmin gro.6 8ith the 6er0ission 0o/e set to 06602 $2 Save the 1ile la<ele/ ==-o acle-asmdevices! ules
re!arc*+!eedbac,-red*at%co'
29
"""%red*at%co'
#2 -o*ate the dm- /evi*e 1or ea*h (ra*le relate/ 6artition2 An e'a06le to 1in/ the dm/evi*e 1or ea*h 6artition is to r.n the 1ollo8ing *o00an/
# for i in db!p! db#p! frap! redop!G do printf 4Hs HsIn< 4'i< 4'Jls -ll /dev/mapper/'iK<G done db1;1 lr0Hr0Hr0H. 1 root root . #ay ,( ,(2+? Ede'Ema;;erEdb1;1 -W ..Edm-11 db,;1 lr0Hr0Hr0H. 1 root root . #ay ,( ,(2+? Ede'Ema;;erEdb1;1 -W ..Edm-1, 3ra;1 lr0Hr0Hr0H. 1 root root . #ay ,( ,(2+? Ede'Ema;;erEdb1;1 -W ..Edm-1+ redo;1 lr0Hr0Hr0H. 1 root root . #ay ,( ,(2+? Ede'Ema;;erEdb1;1 -W ..Edm-1*
62 A66ly an/ test the r.les *reate/ 8ithin the ==-o acle-asmdevices! ules <y r.nning a udevadm test on ea*h /evi*e2
# "devadm test /sys/block/dm-!! A ... Out;ut "bbre':ated ... B ude'adm8test2 4#8N"#E=db1;1 ude'adm8test2 4#8>>I4=;art1-m;ath-+)((c(33(((d-e-a.)*./ac/1(1(((((( ude'adm8test2 4#8!>!9EN4E4=( ude'adm8test2 4E5<INK!=Ede'Ema;;erEdb1;1 Ede'Ed:s1Eby-:dEdm-name-db1;1 Ede'Ed:s1Eby-:dEdm-uu:d-;art1-m;ath-+)((c(33(((d-e-a.)*./ac/1(1(((((( Ede'Ebloc1E,/+211 ude'adm8test2 I48&!8T=9E=oracleasm
6O0E1 &or si06li*ity4 this ==-o acle-asmdevices! ules 1ile is in*l./e/ in 4ppendix / <<+oracle+as'de5ices%rules
"""%red*at%co'
2:
re!arc*+!eedbac,-red*at%co'
$2 9nstall the ASF-i< ,ernel 0o/.le 6a*,age ?kmod-oracleasmA .sing the 1ollo8ing *o00an/
# y"m install kmod-oracleasm
#2 9nstall the ASF-i< li<rary 6a*,age ?oracleasmlibA .sing the 1ollo8ing *o00an/
# y"m install oracleasmlib-#.0.5-!.el;.*6;1;5.rpm
62 9nstall the ASF-i< .tilities 6a*,age ?oracleasm-s"pportA .sing the 1ollo8ing *o00an/
# y"m install oracleasm-s"pport-#.!.6-!.el;.*6;1;5.rpm
82 Oithin /etc/s"scon#ig/o acleasm4 set the DM.NL0.+M1+N.NDMO0M an/ DM.NL0.+M1+N.N0PNLQO0 6ara0eters as 1ollo8s
# OR"%<E"!#8!%"NOR4ER2 #atch:ng ;atterns to order d:s1 scann:ng OR"%<E"!#8!%"NOR4ER=6dm6 # OR"%<E"!#8!%"NEG%<>4E2 #atch:ng ;atterns to eHclude d:s1s 3rom scan OR"%<E"!#8!%"NEG%<>4E=6sda6
6O0E1 +he DM.NL0.+M1+N.NDMO0M set to dm ens.res that 8hen ora*leas0 s*ans /is,s4 it is a66ro6riately s*anning /evi*es ,no8n <y the ,ernel2 +he DM.NL0.+M1+N.N0PNLQO0 set to sda is ens.ring that lo*al /is, s/a is to <e ignore/ <y ASF-i<2
re!arc*+!eedbac,-red*at%co'
2<
"""%red*at%co'
"2 Prior to *reating /is,s 8ith ora*leas04 ens.re the SELinux 6oli*y 1iles version 9.>.!:-#!! is /o8nloa/e/ 1ro0 4ppendix ; #on!iguration .iles 2 +his ens.re that ora*leas0 6ro6erly r.ns 8ith SELinux ena<le/ an/ avoi/s any SELinux errors82 5na<le the SELinux 6oli*y an/ 0o/.les as 1ollo8s Do8nloa/ a *o6y o1 the selin"*-policy-9.>.!:-#!!.el;.noarch.rpm an/ selin"*-policy-targeted-9.>.!:-#!!.el;.noarch.rpm 1ro0 4ppendix ; U6/ate the selin.'-6oli*y via the 1ollo8ing *o00an/s
# rpm -Qvh selin"*-policy-9.>.!:-#!!.el;.noarch.rpm selin"*-policytargeted-9.>.!:-#!!.el;.noarch.rpm 9re;ar:ng... #####################################A1((SB 12sel:nuH-;ol:cy #####################################A /(SB ,2sel:nuH-;ol:cytargeted#####################################A1((SB
"""%red*at%co'
)(
re!arc*+!eedbac,-red*at%co'
102 R.n the 1ollo8ing ora*leas0 *o00an/ to ens.re that ora*leas0 is ena<le/2
# /etc/init.d/oracleasm enable Wr:t:ng Oracle "!# l:brary dr:'er con3:gurat:on2 done In:t:al:L:ng the Oracle "!#<:b dr:'er2 !cann:ng the system 3or Oracle "!#<:b d:s1s2 A A OK OK B B
112 R.n the 1ollo8ing o acleasm *o00an/ to *reate an/ la<el all (ra*le relate/ vol.0es as an ASF /is,2 +he e'a06le <elo8 *reates an ASF /is, la<ele/ 2A4A1 1or the 1ollo8ing /dev/mappe /db1p1 6artition2
# /"sr/sbin/oracleasm createdisk O.R.! /dev/mapper/db!p! Wr:t:ng d:s1 header2 done Instant:at:ng d:s12 done
6O0E1 9t is highly re*o00en/e/ to have all (ra*le relate/ /is,s to <e in*l./e/ 8ithin (ra*le ASF2 122 Veri1y all the (ra*le ASF /is,s *reate/ are liste/2
# /"sr/sbin/oracleasm listdisks 4"T"1 4"T", &R"1 RE4O1
1%2 91 no /is,s are liste/ or i1 any /is,s are 0issing4 r.n the 1ollo8ing *o00an/ to res*an the ASF /is,s2
# /"sr/sbin/oracleasm scandisks Reload:ng d:s1 ;art:t:ons2 done %lean:ng any stale "!# d:s1s... !cann:ng system 3or "!# d:s1s...
6O0E1 91 the iss.e 6ersists a1ter a res*an o1 the (ra*le ASF /is,s4 a re<oot o1 the syste0 0ight <e reD.ire/ via the *o00an/
# sh"tdown -r now
re!arc*+!eedbac,-red*at%co'
)1
"""%red*at%co'
,ernel2s*he/K0inKgra $0s n.larityKns ,ernel2s*he/K8a,eK. $0s 6Kgran.larityKns Dis, rea/-ahea/ v02/irtyKratio &ile-syste0 <arrier +rans6arent 3.gePages 1' 20V on on
Table 3.4.4.1: .ro%ile /omparison +he 1ollo8ing 6ro*e/.res 6rovi/e the ste6s that are reD.ire/ to *reate4 install4 ena<le4 an/ sele*t the enterprise+storage+no+t*p 6ro1ile2 12 9nstall the t.ne/ 6a*,age via the y.0 6a*,age 0anager2
# y"m install t"ned
" +he v02/irtyKratio val.e e'6li*itly set 8ithin the /etc/s"sctl!con# 1ile has 6resi/en*e over val.es set <y t.ne/2
"""%red*at%co'
)2
re!arc*+!eedbac,-red*at%co'
$2 Co6y the e'isting enter6rise-storage 6ro1ile into a ne8 /ire*tory *alle/ enter6risestorage-no-th6 via the 1ollo8ing *o00an/s
# cd /etc/t"ne-profiles/ # cp -r enterprise-storage enterprise-storage-no-thp
#2 Disa<le +rans6arent 3.gePages in the ne8 6ro1ile via the 1ollo8ing *o00an/
# sed -ie %s@set1transparent1h"gepages always@set1transparent1h"gepages never%@ /etc/t"ne-profiles/enterprise-storage-no-thp/kt"ne.sh
62 Veri1y the *hange 8as 6ro6erly set via the 1ollo8ing *o00an/
# grep set1transparent1h"gepages /etc/t"ne-profiles/enterprise-storageno-thp/kt"ne.sh set8trans;arent8huge;ages ne'er
&or si06li*ity4 the enter6rise-storage-no-th6 6ro1ile is in*l./e/ in 4ppendix ; #on!iguration .iles 6O0E1 91 at any 6oint in ti0e a revert to the original settings are reD.ire/4 the 1ollo8ing *o00an/ *an <e r.n
# service t"ned stop
+o 0a,e the *hange to revert to the original settings 6er0anent a*ross re<oots4 r.n the 1ollo8ing *o00an/
# chkconfig t"ned off
re!arc*+!eedbac,-red*at%co'
))
"""%red*at%co'
6O0E1 +he re1eren*e ar*hite*t.re .ses the /u01/app/g id as the g id <ase2 +he o8ner is set to g id an/ the gro.6 is set to oinstall2 R.n the 1ollo8ing *o00an/s to *reate the g id <ase /ire*tory an/ set the a66ro6riate 6er0issions As the root .ser4
# mkdir --parents /"0!/app/grid # chown --rec"rsive grid.oinstall /"0!/
12 Do8nloa/ the (ra*le Bri/ 9n1rastr.*t.re so1t8are 10 1ro0 the Fy (ra*le S.66ort site2 22 As the g id .ser4 *reate a te06orary /ire*tory 8ithin /u01/app/g id/g id-so#twa e to store the (ra*le Bri/ So1t8are g.nGi6 1ile4 0ove the (ra*le Bri/ So1t8are g.nGi6 1ile to the /u01/app/g id/g id-so#twa e lo*ation4 ens.re the (ra*le Bri/ So1t8are g.nGi6 has the 6ro6er 6er0issions an/ .n6a*, its *ontents2 As the g id .ser4
# mkdir /"0!/app/grid/grid-software # mv p!0505=901!!#0901Lin"*-*6;-;519of>.Sip /"0!/app/grid/grid-software
As the g id .ser4
# cd /"0!/app/grid/grid-software # "nSip p!0505=901!!#0901Lin"*-*6;-;519of>.Sip
%2 As the g id .ser4 lo*ate the (ra*le Bri/ 9n1rastr.*t.re so1t8are an/ 0o/i1y the 1ile la<ele/ cvu6con#ig to ens.re the (ra*le Universal 9nstaller ?(U9A 6er1or0s the *orre*t 6rereD.isite *he*,s 1or Re/ 3at 5nter6rise -in.' 62 5/it the cvu6con#ig 1ile as 1ollo8s
# sed -i %s/NT1.++QM01O2+R2OAD0L5/NT1.++QM01O2+R2OAD0L;/% /"0!/app/grid/grid-software/grid/stage/cv"/cv/admin/cv"1config
10 Pat*h 10$0$#%0 1122202%20 PA+C3 S5+ &(R (RAC-5 DA+A)AS5 S5RV5R4 via htt6 @@s.66ort2ora*le2*o0
"""%red*at%co'
)&
re!arc*+!eedbac,-red*at%co'
6O0E1 5ns.re to ++, 8ith the -* o6tion as the g id .ser 1ro0 the *lient server4 other8ise the 1ollo8ing error 8ill o**.r2
# /"0!/app/grid/grid-software/grid/r"n2nstaller !tart:ng Oracle >n:'ersal Installer... %hec1:ng Tem; s;ace2 must be greater than 1,( #7. "ctual +)?( #7 9assed %hec1:ng s0a; s;ace2 must be greater than 1/( #7. "ctual ,(*-? #7 9assed %hec1:ng mon:tor2 must be con3:gured to d:s;lay at least ,/) colors WWW %ould not eHecute auto chec1 3or d:s;lay colors us:ng command EusrEb:nEHd;y:n3o. %hec1 :3 the 4I!9<"= 'ar:able :s set. &a:led YYYY !ome reMu:rement chec1s 3a:led. =ou must 3ul3:ll these reMu:rements be3ore cont:nu:ng 0:th the :nstallat:onI %ont:nueZ DyEnF AnB n
62 Oithin the Do8nloa/ So1t8are U6/ates 8in/o84 sele*t the o6tion to either enter the Fy (ra*le S.66ort *re/entials to download latest software updates or sele*t Skip software updates2 +his re1eren*e ar*hite*t.re sele*te/ Skip software updates an/ *li*, Next2 72 Oithin the 9nstallation (6tion 8in/o84 sele*t Configure Oracle Grid Infrastructure for a Standalone Server an/ *li*, Next2 82 Oithin the Pro/.*t -ang.ages 8in/o84 sele*t the a66ro6riate lang.age4 an/ *li*, Next2 "2 Oithin the Create ASF Dis, Bro.6 8in/o84 6rovi/e the 1ollo8ing a Dis, Bro.6 Na0e4 i2e2 2A4A Re/.n/an*y -evel E(4E-%AL S re/.n/an*y 6rovi/e/ <y the storage syste0 RA9D4 an/ not <y (ra*le ASF2 %,-&AL S 6rovi/es t8o-8ay 0irroring <y (ra*le ASF4 th.s 6rovi/e/ t8o *o6ies o1 every /ata e'tent2 :/0: S 6rovi/es three-8ay 0irroring <y (ra*le ASF th.s en/.ring the loss o1 t8o ASF /is,s 8ithin /i11erent 1ail.re gro.6s2 Dis,s to <e assigne/ to the Dis, Bro.64 i2e2 /dev/mappe /db1p1; /dev/mappe /db2p1
re!arc*+!eedbac,-red*at%co'
"""%red*at%co'
+o /is6lay the a66ro6riate *an/i/ate /is,s4 *li*, on the Change Discovery Path <.tton an/ enter as the Disk Discovery Path one o1 the 1ollo8ing &or Devi*e Fa66er /evi*es4 ty6e /dev/ apper/! &or (ra*le ASF-i< 0ar,e/ /is,s4 ty6e /dev/oracleas /disks/!
"2 Cli*, Next on*e *o06lete 8ithin the Create ASF Dis, Bro.6 8in/o8 102 Oithin the ASF Pass8or/ 8in/o84 s6e*i1y the 6ass8or/ 1or the SWS an/ ASFSNFP .ser a**o.nts2
"""%red*at%co'
)6
re!arc*+!eedbac,-red*at%co'
112 Oithin the (6erating Syste0 Bro.6s 8in/o84 sele*t the a66ro6riate (S gro.6s2 +he val.es as *reate/ an/ assigne/ 8ithin this re1eren*e ar*hite*t.re are as 1ollo8s (ra*le ASF D)A Bro.6 S AS&2BA (ra*le ASF (6erator Bro.6 S AS&,PE(ra*le ASF A/0inistrator Bro.6 S AS&A2&/%
122 Oithin the 9nstallation -o*ation 8in/o84 s6e*i1y the a66ro6riate (ra*le <ase an/ so1t8are lo*ations2 +he val.es set <y this re1eren*e ar*hite*t.re are as 1ollo8s ,-A.LE BASE - /u01/app/g id S,+4)A-E L,.A4/,% - /u01/app/g id/p oduct/11!2!0/g id
1%2 Oithin the Create 9nventory 8in/o84 s6e*i1y the inventory /ire*tory2 +he val.es set <y this re1eren*e ar*hite*t.re are as 1ollo8s 9nventory Dire*tory - /u01/app/o a/nvento " 1$2 Oithin the PrereD.isite Che*,s 8in/o84 revie8 the stat.s an/ ens.re there are no errors 6rior to *ontin.ing the installation2 &or 1ail.res 8ith a stat.s set to &i'a<le4 sele*t the "ix # Check $gain <.tton2 +he e'e*.tion o1 the "ix # Check $gain <.tton 6rovi/es a un#ixup!sh s*ri6t 6rovi/e/ <y the (U92 As root4 r.n the un#ixup!sh an/ *li*, on the Check $gain <.tton on*e the r.n1i'.62sh has 1inishe/2 1#2 Oithin the S.00ary 8in/o84 revie8 all the in1or0ation 6rovi/e/4 an/ sele*t Install to start the installation2 162 (n*e the installation *o06letes4 e'e*.te the s*ri6ts 8ithin the L5'e*.te Con1ig.ration s*ri6tsL 8in/o82 As the root .ser4 r.n the 1ollo8ing
# /"0!/app/ora2nventory/orainstMoot.sh %hang:ng ;erm:ss:ons o3 Eu(1Ea;;EoraIn'entory. "dd:ng readI0r:te ;erm:ss:ons 3or grou;. Remo':ng readI0r:teIeHecute ;erm:ss:ons 3or 0orld. %hang:ng grou;name o3 Eu(1Ea;;EoraIn'entory to o:nstall. The eHecut:on o3 the scr:;t :s com;lete. U /"0!/app/grid/prod"ct/!!.#.0/grid/root.sh 9er3orm:ng root user o;erat:on 3or Oracle 11g The 3ollo0:ng en':ronment 'ar:ables are set as2 OR"%<E8OWNER= gr:d OR"%<E8 O#E= Eu(1Ea;;Egr:dE;roductE11.,.(Egr:d Enter the 3ull ;athname o3 the local b:n d:rectory2 AEusrElocalEb:nB2 /"sr/local/bin %o;y:ng dbhome to EusrElocalEb:n ... %o;y:ng oraen' to EusrElocalEb:n ... %o;y:ng coraen' to EusrElocalEb:n ... A ... "bbre':ated Ou;ut;ut ... B !uccess3ully con3:gured Oracle Gr:d In3rastructure 3or a !tandalone !er'er
re!arc*+!eedbac,-red*at%co'
)9
"""%red*at%co'
172 Cli*, O% 8ithin the 5'e*.te Con1ig.ration s*ri6ts 8in/o82 182 Oithin the &inish 8in/o84 *li*, Close2
6O0E1 +he re1eren*e ar*hite*t.re .ses the /u01/app/o acle as the (ra*le <ase2 +he o8ner is set to o acle an/ the gro.6 is set to oinstall2 R.n the 1ollo8ing *o00an/s to *reate the o acle <ase /ire*tory set the a66ro6riate 6er0issions As the root .ser4
# mkdir /"0!/app/oracle # chown --rec"rsive oracle.oinstall /"0!/app/oracle
12 Do8nloa/ the (ra*le Data<ase so1t8are11 1ro0 the Fy (ra*le S.66ort site2 22 As the o acle .ser4 *reate a te06orary /ire*tory 8ithin /u01/app/o acle/o acle-so#twa e to store the (ra*le Data<ase So1t8are g.nGi6 1iles4 0ove the (ra*le Data<ase so1t8are g.nGi6 1iles to the /u01/app/o acle/o acle-so#twa e lo*ation4 ens.re the (ra*le Data<ase so1t8are g.nGi6 has the 6ro6er 6er0issions an/ .n6a*, its *ontents2 As the o acle .ser4
# mkdir /"0!/app/oracle/oracle-software # mv p!0505=901!!#0901Lin"*-*6;-;51!of>.Sip p!0505=901!!#0901Lin"*-*6;;51#of>.Sip /"0!/app/oracle/oracle-software/
%2 As the o acle .ser4 lo*ate the (ra*le Data<ase so1t8are an/ 0o/i1y the 1ile la<ele/ cvu6con#ig to ens.re the (ra*le Universal 9nstaller ?(U9A 6er1or0s the *orre*t 6rereD.isite *he*,s 1or Re/ 3at 5nter6rise -in.' 62 $2 5/it the cvu6con#ig 1ile as 1ollo8s
sed -i %s/NT1.++QM01O2+R2OAD0L5/NT1.++QM01O2+R2OAD0L;/% /"0!/app/oracle/oracle-software/database/stage/cv"/cv/admin/cv"1config 11 Pat*h 10$0$#%0 1122202%20 PA+C3 S5+ &(R (RAC-5 DA+A)AS5 S5RV5R4 via htt6 @@s.66ort2ora*le2*o0
"""%red*at%co'
):
re!arc*+!eedbac,-red*at%co'
6O0E1 5ns.re to ++, 8ith the -* o6tion as the o acle .ser 1ro0 the *lient server4 other8ise the 1ollo8ing error 8ill o**.r2
# /"0!/app/oracle/oracle-software/database/r"n2nstaller !tart:ng Oracle >n:'ersal Installer... %hec1:ng Tem; s;ace2 must be greater than 1,( #7. "ctual +*)1 #7 9assed %hec1:ng s0a; s;ace2 must be greater than 1/( #7. "ctual ,(*-? #7 9assed G11 connect:on reCected because o3 0rong authent:cat:on. G11 connect:on reCected because o3 0rong authent:cat:on. %hec1:ng mon:tor2 must be con3:gured to d:s;lay at least ,/) colors WWW %ould not eHecute auto chec1 3or d:s;lay colors us:ng command E usrEb:nEHd;y:n3o. %hec1 :3 the 4I!9<"= 'ar:able :s set. &a:led YYYY !ome reMu:rement chec1s 3a:led. =ou must 3ul3:ll these reMu:rements be3ore cont:nu:ng 0:th the :nstallat:onI %ont:nueZ DyEnF AnB n
72 Oithin the Con1ig.re Se*.rity U6/ates 8in/o84 6rovi/e the Fy (ra*le S.66ort e0ail a//ress 1or the latest se*.rity iss.es in1or0ation4 other8ise .n*he*, the I wish to receive security updates via &y Oracle Support an/ *li*, Next2 82 Oithin the Do8nloa/ So1t8are U6/ates 8in/o84 6rovi/e the Fy (ra*le S.66ort *re/entials to /o8nloa/ the latest se*.rity .6/ates4 other8ise sele*t the Skip software updates ra/io <.tton2 +his re1eren*e ar*hite*t.re sele*te/ Skip software updates2 Cli*, Next2
re!arc*+!eedbac,-red*at%co'
)<
"""%red*at%co'
"2 Oithin the 9nstallation (6tion 8in/o84 sele*t Install data'ase software only an/ *li*, Next2
"""%red*at%co'
&(
re!arc*+!eedbac,-red*at%co'
102 Oithin the Bri/ 9nstallation (6tions4 sele*t Single Instance data'ase installation as the ty6e o1 /ata<ase installation <eing 6er1or0e/2
Figure !.1.2.2:+rid -n*t#ll#tion Option* ,indow 112 Oithin the Pro/.*t -ang.ages 8in/o84 sele*t the a66ro6riate lang.age 1or the installation2 122 Oithin the Data<ase 5/ition 8in/o84 sele*t the a66ro6riate /ata<ase e/ition an/ *li*, Next2 &or the 6.r6oses o1 this re1eren*e ar*hite*t.re4 Ente p ise Edition is the e/ition o1 *hoi*e2 1%2 Oithin the 9nstallation -o*ation 8in/o84 sele*t the a66ro6riate (ra*le <ase an/ so1t8are lo*ation an/ *li*, Next2 &or the 6.r6oses o1 this re1eren*e ar*hite*t.re4 the 1ollo8ing are set as ,-A.LE BASE - /u01/app/o acle S,+4)A-E L,.A4/,% - /u01/app/o acle/p oduct/11!2!0/dbhome61
re!arc*+!eedbac,-red*at%co'
&1
"""%red*at%co'
1%2 Oithin the (6erating Syste0 Bro.6s 8in/o84 sele*t the a66ro6riate (S gro.6s an/ *li*, Next2 &or the 6.r6oses o1 this re1eren*e ar*hite*t.re4 the 1ollo8ing are set as Data<ase A/0inistrator Bro.6 S 2BA Data<ase (6erator Bro.6 S ,PE-
1$2 Oithin the PrereD.isite Che*,s 8in/o84 revie8 the stat.s an/ ens.re there are no errors 6rior to *ontin.ing the installation2 &or 1ail.res 8ith a stat.s set to &i'a<le4 sele*t the "ix # Check $gain <.tton2 +he e'e*.tion o1 the "ix # Check $gain <.tton 6rovi/es a un#ixup!sh s*ri6t 6rovi/e/ <y the (U92 As root4 r.n the un#ixup!sh an/ *li*, on the Check $gain <.tton on*e the un#ixup!sh has 1inishe/2 1#2 Oithin the S.00ary 8in/o84 revie8 all the in1or0ation 6rovi/e/4 an/ sele*t Install to start the installation2 162 (n*e the installation *o06letes4 e'e*.te the s*ri6ts 8ithin the 5'e*.te Con1ig.ration s*ri6ts 8in/o82 As the root .ser4 r.n the 1ollo8ing
# /"0!/app/oracle/prod"ct/!!.#.0/dbhome1!/root.sh 9er3orm:ng root user o;erat:on 3or Oracle 11g The 3ollo0:ng en':ronment 'ar:ables are set as2 OR"%<E8OWNER= oracle OR"%<E8 O#E= Eu(1Ea;;EoracleE;roductE11.,.(Edbhome81 Enter the 3ull ;athname o3 the local b:n d:rectory2 AEusrElocalEb:nB2 /"sr/local/bin The contents o3 6dbhome6 ha'e not changed. No need to o'er0r:te. The contents o3 6oraen'6 ha'e not changed. No need to o'er0r:te. The contents o3 6coraen'6 ha'e not changed. No need to o'er0r:te. Entr:es 0:ll be added to the EetcEoratab 3:le as needed by 4atabase %on3:gurat:on "ss:stant 0hen a database :s created &:n:shed runn:ng gener:c ;art o3 root scr:;t. No0 ;roduct-s;ec:3:c root act:ons 0:ll be ;er3ormed. &:n:shed ;roduct-s;ec:3:c root act:ons.
172 Cli*, O% 8ithin the 5'e*.te Con1ig.ration s*ri6ts 8in/o82 182 Oithin the &inish 8in/o84 *li*, Close2 6O0E1 9n the e'a06le a<ove4 /u01/app/o acle/p oduct/11!2!0/dbhome61 is the (ra*le ho0e /ire*tory2
"""%red*at%co'
&2
re!arc*+!eedbac,-red*at%co'
4.1.3 Creating ASM Diskgroups via the ASM Configuration Assistant (ASMCA)
Prior to the *reation o1 an (ra*le /ata<ase4 *reate the &ast Re*overy Area an/ Re/o -ogs (ra*le ASF /is,gro.6s via (ra*leLs ASF Con1ig.ration Assistant ?ASFCAA2 12 As the g id .ser4 start asmca via the 1ollo8ing *o00an/
# /"0!/app/grid/prod"ct/!!.#.0/grid/bin/asmca
6O0E1 9n the e'a06le a<ove4 /u01/app/g id/p oduct/11!2!0/g id is the g id ho0e /ire*tory2 22 Via the asmca a66li*ation4 sele*t the Disk Groups ta< an/ *li*, Create2
re!arc*+!eedbac,-red*at%co'
&)
"""%red*at%co'
%2 Oithin the Create Dis, Bro.6 8in/o84 6rovi/e the 1ollo8ing A na0e 1or the /is, gro.64 i2e2 +-A20 Re/.n/an*y level 1or the /is, gro.64 i2e2 Exte nal -edundanc" Sele*tion o1 the /is,s to <e a//e/ to the /is, gro.64 i2e2 /dev/mappe /# ap1
6O0E1 +o /is6lay the a66ro6riate eligi<le /is,s4 *li*, on the Change Discovery Path <.tton an/ enter as the LDis, Dis*overy PathL one o1 the 1ollo8ing &or Devi*e Fa66er /evi*es4 ty6e /dev/ apper/! &or (ra*le ASF-i< 0ar,e/ /is,s4 ty6e /dev/oracleas /disks/!
"""%red*at%co'
&&
re!arc*+!eedbac,-red*at%co'
Cli*, the O% <.tton on*e the ste6s a<ove are *o06lete2 $2 Re6eat ste6s 2 an/ % to *on1ig.re <oth a /is, gro.6 1or the &ast Re*overy Area ?&RAA an/ the re/o logs2 6O0E1 Se6aration o1 re/o logs into a se6arate (ra*le ASF /is, gro.6 is o6tional4 <.t re*o00en/e/2 #2 (n*e all /is, gro.6s are *reate/4 *li*, the (xit <.tton1ro0 the 0ain ASF Con1ig.ration Assistant 8in/o82 Cli*, yes4 8hen as,e/ to *on1ir0 D.itting the a66li*ation2
6O0E1 9n the e'a06le a<ove4 /u01/app/o acle/p oduct/11!2!0/dbhome61 is the (ra*le ho0e /ire*tory2 22 Oithin the Oel*o0e 8in/o84 *li*, Next2 %2 Oithin the (6erations 8in/o84 sele*t Create a Data'ase ra/io <.tton an/ *li*, Next2 $2 Oithin the Data<ase +e06late 8in/o84 sele*t Custo Next2 Data'ase ra/io <.tton an/ *li*,
#2 Oithin the Data<ase 9/enti1i*ation 8in/o84 set a glo<al /ata<ase na0e an/ (ra*le Syste0 9/enti1ier ?S9DA4 i2e2 o acledb an/ *li*, Next2 62 Oithin the Fanage0ent (6tions 8in/o84 *on1ig.re 5nter6rise Fanager an/ ena<le /aily /is, <a*,.6 to re*overy area ?o6tionalA4 an/ *li*, Next2 72 Oithin the Data<ase Cre/entials 8in/o84 6rovi/e the a/0inistrative 6ass8or/s 1or ea*h .serna0e an/ *li*, Next2
re!arc*+!eedbac,-red*at%co'
&7
"""%red*at%co'
82 Oithin the Data<ase &ile -o*ations 8in/o84 sele*t the a66ro6riate storage ty6e an/ storage lo*ation2 &or the 6.r6oses o1 this re1eren*e ar*hite*t.re the 1ollo8ing sele*tions 8ere 0a/e Storage +y6e S A.to0ati* Storage Fanage0ent ?ASFA Storage -o*ations S Use (ra*le-Fanage/ &iles Data<ase Area B2A4A
"""%red*at%co'
&6
re!arc*+!eedbac,-red*at%co'
"2 Sele*t the &ultiplex )edo *ogs and Control "iles <.tton an/ 8ithin the F.lti6le' Re/o -ogs an/ Control &iles 8in/o84 a// the Re/o -ogs /is,gro.64 i2e2 ! -E2,20 an/ *li*, O%4 then *li*, Next2
Figure !.1.!.2: "ultiple0 Redo /og* #nd .ontrol File* ,indow 102 Oithin the ASF Cre/entials 8in/o84 s6e*i1y a AS&S%&P 6ass8or/ an/ *li*, O%2
re!arc*+!eedbac,-red*at%co'
&9
"""%red*at%co'
112 Oithin the Re*overy Con1ig.ration 8in/o84 sele*t the re*overy o6tions a66ro6riate 1or the /ata<ase2 +he sele*tions 1or this re1eren*e ar*hite*t.re ena<le the &ast Re*overy Area ?&RAA an/ Ar*hiving2 +he &RA lo*ation an/ siGe as seen <elo8 an/ *li*, Next2 &RA S B+-A20 &RA SiGe S 1"0680 Fega<ytes ?total siGe o1 +-AA
6O0E1 9t is re*o00en/e/4 to 0o/i1y the val.es a<ove <ase/ on the /ata<aseLs re*overy reD.ire0ents2 &or 0ore in1or0ation4 visit Fy (ra*le S.66ort Do* 9D M%0#6$821N S QOhat is &lash Re*overy Area an/ ho8 to *on1ig.re itUR2 122 Oithin the Data<ase Content 8in/o84 sele*t the *o06onents to <e *on1ig.re/ 1or the /ata<ase an/ *li*, Next2 +he sele*tions 1or this re1eren*e ar*hite*t.re 8ere the /e1a.lt settings2
"""%red*at%co'
&:
re!arc*+!eedbac,-red*at%co'
1%2 Oithin the 9nitialiGation Para0eters 8in/o84 sele*t Custo an/ enter the a66ro6riate val.es 1or the S0A an/ P0A siGe an/ *li*, Next2 9t is re*o00en/e/ that the Fe0ory Fanage0ent <e set as Automatic Sha ed &emo " &anagement2 +he val.es set 1or the re1eren*e ar*hite*t.re 8ith regar/s to S0A an/ P0A are the 1ollo8ing SBA S 1$$7# Fega<ytes PBA S $82# Fega<ytes
Figure !.1.!.!: -niti#li1#tion 2#r#&eter* ,indow 6O0E1 9t is re*o00en/e/ to 0o/i1y the val.es a<ove <ase/ on the /ata<aseLs SBA an/ PBA reD.ire0ents2 1$2 Oithin the Data<ase Storage 8in/o84 *li*, Next2 1#2 Oithin the Creation (6tions 8in/o84 ens.re the Create Data'ase <o' is *he*,e/ an/ *li*, "inish2 162 Oithin the Con1ir0ation 8in/o84 revie8 the /ata<ase *on1ig.ration s.00ary4 an/ *li*, O% to start the /ata<ase *reation2
re!arc*+!eedbac,-red*at%co'
&<
"""%red*at%co'
$2 A// the n.0<er o1 hugepages 6rovi/e/ <y the huge6pages6settings!sh s*ri6t to the ,ernel <oot *o00an/ line 8ithin the /etc/g ub!con# an/ /isa<le t anspa ent huge pages 6ersistently a*ross re<oots as 1ollo8s
t:tle Red at Enter;r:se <:nuH D,.).+,-+/..el).H.)8)*F root Dhd(I(F 1ernel E'ml:nuL-,.).+,-+/..el).H.)8)* ro root=Ede'Ema;;erEmy'g-root rd8NO8<>K! <"NG=en8>!.>T&-. rd8NO8#4 !=!&ONT=latarcyrheb-sun1) crash1ernel=auto rd8NO84# rd8<5#8<5=my'gEroot KE=7O"R4T=9E=;c KE=T"7<E=us rd8<5#8<5=my'gEs0a; rhgb Mu:et h"gepagesAVval"e-provided-byscript transparent1h"gepageAnever :n:trd E:n:tram3s-,.).+,-+/..el).H.)8)*.:mg
12 A-5R+ Disa<le +rans6arent 3.gePages on S-5S114R35-64(5-6 an/ U5H2 Hernels ?D(C 9D 1##7$7821A
"""%red*at%co'
7(
re!arc*+!eedbac,-red*at%co'
6O0E1 Allo*ating the n.0<er o1 h.ge 6ages 8ithin the ,ernel <oot *o00an/ line is the 0ost relia<le 0etho/ /.e to 0e0ory not yet <e*o0ing 1rag0ente/2 1% #2 A// the ora*le so1t an/ har/ li0its 8ith regar/s to memloc$ 8ithin /etc/secu it"/limits!d/==-g id-o acle-limits!con# as 1ollo8s
oracle so3t memloc1 Y'alue-;ro':ded-by-scr:;tW oracle hard memloc1 Y'alue-;ro':ded-by-scr:;tW
62 Re<oot the syste0 to ens.re the hugepages setting ta,es e11e*t 6ro6erly2 72 Veri1y the total n.0<er o1 h.ge 6ages on the syste0 8ith the 1ollo8ing *o00an/
# cat /proc/meminfo | grep -i h"gepages1total uge9ages8Total2 Y'alue-;ro':ded-by-scr:;tW
82 Veri1y the *.rrent stat.s o1 the trans6arent h.ge 6ages is set to *o00an/
# cat /sys/kernel/mm/transparent1h"gepage/enabled al0ays Ane'erB
%E1E-
6O0E1 Starting 8ith (ra*le Data<ase version 112220224 the initialiGation 6ara0eter QUS5K-ARB5KPAB5SR 8as intro/.*e/ to allo*ate h.ge 6ages on a 6er /ata<ase .se *ase2 +he /e1a.lt val.e 1or (ra*le Data<ase 11222022 is tr.e4 8hile 1or (ra*le Data<ases r.nning 1122202% or higher it is set to a.to2 &or 0ore in1or0ation on the 6ara0eter an/ its val.e re1er to Fy (ra*le S.66ort1$2 6O0E1 3.ge 6ages is not *o06ati<le 8ith A.to0ati* Fe0ory Fanage0ent ?AFFA2
re!arc*+!eedbac,-red*at%co'
71
"""%red*at%co'
6O0E1 +here is a <.g 8ithin (ra*le Data<ase 11g Release 2 ?1122202%A that reD.ires that the e'6ort o1 ,-A.LE6:,&E not in*l./e a trailing 1or8ar/ slash ?@A2 22 Set the (ra*le Syste0 9D ?,-A.LE6S/2A .se/ to i/enti1y the /ata<ase2
U e*port DM.NL01+2OAdb U echo 'DM.NL01+2O db
%2 9nvo,e the s)lpl"s <inary to log into the (ra*le instan*e as a s"sdba2
# 'DM.NL01,DM0/bin/s)lpl"s / as sysdbaG ![<Q9lus2 Release 11.,.(.+.( 9roduct:on on Wed Xun / 1+2//2(/ ,(1+ %o;yr:ght DcF 1?.,I ,(11I Oracle. "ll r:ghts reser'ed.
%onnected to2 Oracle 4atabase 11g Enter;r:se Ed:t:on Release 11.,.(.+.( - )*b:t 9roduct:on W:th the 9art:t:on:ngI "utomat:c !torage #anagementI O<"9I 4ata #:n:ng and Real ";;l:cat:on Test:ng o;t:ons
"""%red*at%co'
72
re!arc*+!eedbac,-red*at%co'
6 Conclusion
Re/ 3at sol.tions 8ith (ra*le Data<ase 11g Release 2 ?1122202%A on Re/ 3at 5nter6rise -in.' 6 are *reate/ to si06li1y an/ o6ti0iGe the /e6loy0ent 6ro*ess4 6rovi/e the latest <est 6ra*ti*es4 an/ 6rote*t (ra*le Data<ase environ0ents 8ith the .se o1 SELinux2 +he ste6s an/ 6ro*e/.res 6rovi/e syste0 an/ storage a/0inistrators the <l.e6rint reD.ire/ to *reate a Re/ 3at J (ra*le sol.tion2 &or any D.estions or *on*erns4 6lease e0ail re1ar*h-1ee/<a*,Cre/hat2*o0 an/ ens.re to visit the Re/ 3at Re1eren*e Ar*hite*t.re 6age at htt6 @@8882re/hat2*o0@reso.r*eli<rary@re1eren*e-ar*hite*t.res@ to 1in/ o.t a<o.t all o1 o.r Re/ 3at sol.tion o11erings2
re!arc*+!eedbac,-red*at%co'
7)
"""%red*at%co'
Revision 12%
Revision 122
Revision 121
"""%red*at%co'
7&
re!arc*+!eedbac,-red*at%co'
Roger -o6eG
re!arc*+!eedbac,-red*at%co'
77
"""%red*at%co'
4ppendix B1 #ontributors
12 Dan Oalsh4 te*hni*al revie8 o1 SELinux o acleasm!pp module 22 S*ott Collier4 *ontent revie8 an/ te*hni*al revie8 o1 (ra*le /e6loy0ent 6ro*e/.res %2 :ohn 3err4 *ontent revie8 $2 Ale,san/r )reGhnev4 *ontent revie8 an/ te*hni*al revie8 o1 (ra*le /e6loy0ent 6ro*e/.res #2 Wan &isher4 *ontent revie8 62 :ohn )oero4 *ontent revie8
"""%red*at%co'
76
re!arc*+!eedbac,-red*at%co'
## 7y de3aultI de':ces 0:th 'endor = 6I7#6 and ;roduct = 6!E+?(.Q6 are ## blac1l:sted. To enable mul:t;ath:ng on these de':esI uncomment the ## 3ollo0:ng l:nes. #blac1l:st8eHce;t:ons N # de':ce N # 'endor 6I7#6 # ;roduct 6!E+?(.Q6 # R #R ## >se user 3r:endly namesI :nstead o3 us:ng WWI4s as names. de3aults N user83r:endly8names yes R ## ## ere :s an eHam;le o3 ho0 to con3:gure some standard o;t:ons. ## # de3aults N ude'8d:r Ede' ;oll:ng8:nter'al 1( ;ath8selector 6round-rob:n (6 ;ath8grou;:ng8;ol:cy mult:bus getu:d8callout 6El:bEude'Escs:8:d --0h:tel:sted --de':ce=Ede'ESn6 ;r:o alua ;ath8chec1er readsector( rr8m:n8:o 1(( maH83ds .1?, rr80e:ght ;r:or:t:es 3a:lbac1 :mmed:ate no8;ath8retry 3a:l user83r:endly8names yes R ## ## The 00:d l:ne :n the 3ollo0:ng blac1l:st sect:on :s sho0n as an eHam;le
re!arc*+!eedbac,-red*at%co'
79
"""%red*at%co'
## o3 ho0 to blac1l:st de':ces by 00:d. The , de'node l:nes are the ## com;:led :n de3ault blac1l:st. I3 you 0ant to blac1l:st ent:re ty;es ## o3 de':cesI such as all scs: de':cesI you should use a de'node l:ne. ## o0e'erI :3 you 0ant to blac1l:st s;ec:3:c de':cesI you should use ## a 00:d l:ne. !:nce there :s no guarantee that a s;ec:3:c de':ce 0:ll ## not change names on reboot D3rom Ede'Esda to Ede'Esdb 3or eHam;leF ## de'node l:nes are not recommended 3or blac1l:st:ng s;ec:3:c de':ces. ## blac1l:st N 00:d +)((/(.b1((1(+(+/+*+*+)+)*)+(1,(( de'node 6ODramPra0Ploo;P3dPmdPdm-PsrPscdPstFA(-?BQ6 de'node 6OhdAa-LB6 R mult:;aths N mult:;ath N 00:d +)((c(33(((d-e-a.??d./1/1(1(((((( al:as db1 R mult:;ath N 00:d +)((c(33(((dab3e/a-d./1/1(1(((((( al:as db, R mult:;ath N 00:d +)((c(33(((d-e-a.dbd./1/1(1(((((( al:as 3ra R mult:;ath N 00:d +)((c(33(((dab3e/3*d./1/1(1(((((( al:as redo R R #de':ces N # de':ce N # 'endor 6%O#9"[ 6 # ;roduct 6 !511( D%F%O#9"[6 # ;ath8grou;:ng8;ol:cy mult:bus # getu:d8callout 6El:bEude'Escs:8:d --0h:tel:sted --de':ce=Ede'ESn6 # ;ath8chec1er readsector( # ;ath8selector 6round-rob:n (6 # hard0are8handler 6(6 # 3a:lbac1 1/ # rr80e:ght ;r:or:t:es # no8;ath8retry Mueue # R # de':ce N # 'endor 6%O#9"[ 6 # ;roduct 6#!"1((( 6 # ;ath8grou;:ng8;ol:cy mult:bus # R #R
"""%red*at%co'
7:
re!arc*+!eedbac,-red*at%co'
re!arc*+!eedbac,-red*at%co'
7<
"""%red*at%co'
1# +.ning Re/ 3at 5nter6rise -in.' &or (ra*le E (ra*le RAC <y S*ott Crot4 Sr2 Cons.ltant4 Re/ 3at4 htt6 @@8882re/hat2*o0@6ro0o@s.00it@2010@6resentations@s.00it@/e*o/ing-the-*o/e@1ri@s*ott-"$#t.ning@s.00itK><8K2010K6resentation26/1
"""%red*at%co'
6(
re!arc*+!eedbac,-red*at%co'
re!arc*+!eedbac,-red*at%co'
61
"""%red*at%co'
"""%red*at%co'
62
re!arc*+!eedbac,-red*at%co'
n;roc ,(*n;roc 1)+.* no3:le 1(,* no3:le )//+) stac1 1(,*( stac1 +,-).
re!arc*+!eedbac,-red*at%co'
6)
"""%red*at%co'
4ppendix /1 <<+oracle+as'de5ices%rules
KERNE<==6dm-Q6IEN5N4#8>>I4R==6Yenter-'alue-accord:ng-to-youren':ronmentW6IOWNER=6gr:d6IGRO>9=6asmadm:n6I#O4E=6())(6 KERNE<==6dm-Q6IEN5N4#8>>I4R==6Yenter-'alue-accord:ng-to-youren':ronmentW6IOWNER=6gr:d6IGRO>9=6asmadm:n6I#O4E=6())(6 KERNE<==6dm-Q6IEN5N4#8>>I4R==6Yenter-'alue-accord:ng-to-youren':ronmentW6IOWNER=6gr:d6IGRO>9=6asmadm:n6I#O4E=6())(6 KERNE<==6dm-Q6IEN5N4#8>>I4R==6Yenter-'alue-accord:ng-to-youren':ronmentW6IOWNER=6gr:d6IGRO>9=6asmadm:n6I#O4E=6())(6
"""%red*at%co'
6&
re!arc*+!eedbac,-red*at%co'
4ppendix E1
# Red
:nstall url --url=Y;lace-d:stro-url-hereW lang en8>!.>T&-. 1eyboard us net0or1 --onboot yes --de':ce em1 --mtu=1/(( --boot;roto dhc; root;0 redhat # Reboot a3ter :nstallat:on reboot authcon3:g --enablemd/ --enableshado0 sel:nuH --en3orc:ng t:meLone "mer:caENe08=or1 bootloader --locat:on=mbr --dr:'eorder=sda --a;;end=6crash1ernel=auto rhgb Mu:et6 # The 3ollo0:ng :s the ;art:t:on :n3ormat:on you reMuested # Note that any ;art:t:ons you deleted are not eH;ressed # here so unless you clear all ;art:t:ons 3:rstI th:s :s # not guaranteed to 0or1 clear;art --all 'olgrou; my'g --;es:Le=+,-). ;'.((.((, log'ol Ehome --3sty;e=eHt* --name=home --'gname=my'g --s:Le=.1?, log'ol E --3sty;e=eHt* --name=root --'gname=my'g --s:Le=1/+)( log'ol s0a; --name=s0a; --'gname=my'g --s:Le=1)*(( log'ol Etm; --3sty;e=eHt* --name=tm; --'gname=my'g --s:Le=*(?) log'ol Eu(1 --3sty;e=eHt* --name=u(1 --'gname=my'g --s:Le=/1,(( log'ol Eusr --3sty;e=eHt* --name=usr --'gname=my'g --s:Le=/1,( log'ol E'ar --3sty;e=eHt* --name='ar --'gname=my'g --s:Le=.1?, ;art Eboot --3sty;e=eHt* --s:Le=,/) ;art ;'.((.((, --gro0 ^s:Le=1((( S;ac1ages _7ase _%ore
re!arc*+!eedbac,-red*at%co'
67
"""%red*at%co'
selin.'-6oli*y-targete/
16 htt6s @@a**ess2re/hat2*o0@site@no/e@%"#01%@$0@1
"""%red*at%co'
66
re!arc*+!eedbac,-red*at%co'
$2 At the A2-./ 6ro06t4 sho8 (ra*le 3o0eLs availa<le via the *o00an/
adcr:W show home "4R omes2 d:agErdbmsEdbEdb
6O0E1 91 0ore than one (ra*le 3o0e is availa<le4 one 0.st s6e*i1y a 6arti*.lar (ra*le Data<ase 3o0e2 An e'a06le on ho8 to set to a 6arti*.lar (ra*le Data<ase 3o0e is as 1ollo8s
adcr:W set home diag/rdbms/db/db
#2 At the A2-./ 6ro06t4 r.n the 1ollo8ing *o00an/ to see the last #0 entries in the alert log
adrc:W show alert -tail -f A ... Out;ut "bbre':ated ... B EHce;t:on Aty;e2 !IG!EG5I un1no0n codeB A"44R2(H4*+1(((()7E(B A9%2(H+4)%%E"&%"I semt:medo;DFU1(B AeHce;t:on :ssued by ;:d2 ,-)1)I u:d2 /*+,1B A3lags2 (H(I count2 1B Errors :n 3:le Eu(1Ea;;EoracleEd:agErdbmsEdbEdbEtraceEdb8dbrm8,-1,1.trc D:nc:dent=,*(/-F2
re!arc*+!eedbac,-red*at%co'
69
"""%red*at%co'
OR"-(-**/2 eHce;t:on encountered2 core dum; Asemt:medo;DFU1(B A!IG!EG5B A"44R2(H4*+1(((()7E(B A9%2(H+4)%%E"&%"B Aun1no0n codeB AB Inc:dent deta:ls :n2 Eu(1Ea;;EoracleEd:agErdbmsEdbEdbE:nc:dentE:ncd:r8,*(/-Edb8dbrm8,-1,18:,*( /-.trc >se "4R%I or !u;;ort Wor1bench to ;ac1age the :nc:dent. !ee Note *11.1 at #y Oracle !u;;ort 3or error and ;ac1ag:ng deta:ls.
6O0E1 9n this 6arti*.lar *ase4 8e are loo,ing 1or an (RA-07$$# 8ithin the alert log as seen a<ove2 3o8ever4 this ste6 is >.st to *on1ir0 8hat is seen in the 1.t.re A2-./ ste6s2 +o e'it the alert log4 C+R-!C2 62 Oithin the A2-./4 there are t8o ,ey ter0s to <e a8are o14 6ro<le0 an/ in*i/ent2 An in*i/ent is a 6arti*.lar ti0e 8hen a 6ro<le0 o**.rre/2 &or e'a06le4 it is 6ossi<le 1or an (ra*le 6ro*ess to *rash at /i11erent ti0es 8ith the sa0e (RA-07$$#2 +he 0.lti6le o**.ren*es o1 the *rash are in*i/ents4 8hile the 6ro<le0 is still the (RA-07$$# error2 9n or/er to vie8 the 6ro<le04 the 1ollo8ing A2-./ *o00an/ nee/s to <e r.n2
adrc:W show problem "4R ome = Eu(1Ea;;EoracleEd:agErdbmsEdbEdb2 QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ 9RO7<E#8I4 9RO7<E#8KE= <"!T8IN%I4ENT <"!TIN%8TI#E ------------------------------------------------------------------------1 OR" -**/ Asemt:medo;DFU1(B ,*(/,(1+-(--(1 1?2/12*,.*(.((( -(*2((
72 9n or/er to vie8 ho8 0any in*i/ents4 the 1ollo8ing A2-./ *o00an/ nee/s to <e r.n2 9n this e'a06le4 9 only have one in*i/ent in 8hi*h the (RA-07$$# 6ro<le0 o**.rre/2
adrc:W show incident "4R ome = Eu(1Ea;;EoracleEd:agErdbmsEdbEdb2 QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ IN%I4ENT8I4 9RO7<E#8KE= %RE"TE8TI#E ------------------------------------------------------------------------,*(/OR" -**/ Asemt:medo;DFU1(B ,(1+-(--(1 1?2/12*,.*(.((( -(*2(( 1 ro0s 3etched
82 9n or/er to vie8 the in*i/ent in 0ore /etail4 r.n the 1ollo8ing *o00an/
adrc:W show incident -mode detail -p 4incident1idA#50=>< "4R ome = Eu(1Ea;;EoracleEd:agErdbmsEdbEdb2 QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ IN%I4ENT IN&O RE%OR4 1 QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ IN%I4ENT8I4 ,*(/!T"T>! ready %RE"TE8TI#E ,(1+-(--(1 1?2/12*,.*(.((( -(*2(( 9RO7<E#8I4 1 %<O!E8TI#E YN><<W &<OO48%ONTRO<<E4 none ERROR8&"%I<IT= OR" ERROR8N>#7ER -**/
"""%red*at%co'
6:
re!arc*+!eedbac,-red*at%co'
ERROR8"RG1 semt:medo;DFU1( ERROR8"RG, !IG!EG5 ERROR8"RG+ "44R2(H4*+1(((()7E( A ... Out;ut "bbre':ated ... B OWNER8I4 1 IN%I4ENT8&I<E Eu(1Ea;;EoracleEd:agErdbmsEdbEdbEtraceEdb8dbrm8,-1,1.trc OWNER8I4 1 IN%I4ENT8&I<E
Eu(1Ea;;EoracleEd:agErdbmsEdbEdbE:nc:dentE:ncd:r8,*(/-Edb8dbrm8,-1,18:,*(/-.trc
1 ro0s 3etched
6O0E1 +he t8o 6ara0eters o1 i06ortan*e here are the PR()-5FK9D an/ 9NC9D5N+K&9-52 "2 Ohen loo,ing at the in*i/ent in 1.rther /etail4 the 1ollo8ing in*i/ent 1ile *an <e e'a0ine/ 1.rther via the 1ollo8ing *o00an/
adrc:W show trace /"0!/app/oracle/diag/rdbms/db/db/incident/incdir1#50=>/db1dbrm1#>!#!1i#50 =>.trc E u(1Ea;;EoracleEd:agErdbmsEdbEdbE:nc:dentE:ncd:r8,*(/-Edb8dbrm8,-1,18:,*(/ -.trc -----------------------------------------------------------------------<E5E< 9"=<O"4 ------------------------------------------------------------------------4um; 3:le Eu(1Ea;;EoracleEd:agErdbmsEdbEdbE:nc:dentE:ncd:r8,*(/-Edb8dbrm8,-1,18:,*( /-.trc Oracle 4atabase 11g Enter;r:se Ed:t:on Release 11.,.(.+.( ^ )*b:t 9roduct:on W:th the 9art:t:on:ngI "utomat:c !torage #anagementI O<"9I 4ata #:n:ng and Real ";;l:cat:on Test:ng o;t:ons OR"%<E8 O#E = Eu(1Ea;;EoracleE;roductE11.,.(Edbhome81 !ystem name2 <:nuH Node name2 db-oracle-node1.cloud.lab.eng.bos.redhat.com Release2 ,.).+,-+/..el).H.)8)* 5ers:on2 #1 !#9 Tue Xan ,? 112*-2*1 E!T ,(1+ #ach:ne2 H.)8)* Instance name2 db Redo thread mounted by th:s :nstance2 1 Oracle ;rocess number2 >n:H ;rocess ;:d2 ,-1,1I :mage2 Z QQQ QQQ QQQ QQQ QQQ QQQ ,(1+-(--(1 1?2/12*,.*11 !E!!ION I42D11+.1F ,(1+-(--(1 1?2/12*,.*11 %<IENT I42DF ,(1+-(--(1 1?2/12*,.*11 !ER5I%E N"#E2D!=!J7"%KGRO>N4F ,(1+-(--(1 1?2/12*,.*11 #O4><E N"#E2DF ,(1+-(--(1 1?2/12*,.*11 "%TION N"#E2DF ,(1+-(--(1 1?2/12*,.*11
4um; cont:nued 3rom 3:le2 Eu(1Ea;;EoracleEd:agErdbmsEdbEdbEtraceEdb8dbrm8,-1,1.trc 1W QQQQQ Error !tac1 QQQQQ OR"-(-**/2 eHce;t:on encountered2 core dum; Asemt:medo;DFU1(B A!IG!EG5B
re!arc*+!eedbac,-red*at%co'
6<
"""%red*at%co'
A"44R2(H4*+1(((()7E(B A9%2(H+4)%%E"&%"B Aun1no0n codeB AB 1Y QQQQQ Error !tac1 QQQQQ 1W QQQQQ 4um; 3or :nc:dent ,*(/- DOR" -**/ Asemt:medo;DFU1(BF QQQQQ ,W QQQQQ 7eg:nn:ng o3 %ustom:Led Inc:dent 4um;DsF QQQQQ EHce;t:on Aty;e2 !IG!EG5I un1no0n codeB A"44R2(H4*+1(((()7E(B A9%2(H+4)%%E"&%"I semt:medo;DFU1(B AeHce;t:on :ssued by ;:d2 ,-)1)I u:d2 /*+,1B A ... Out;ut "bbre':ated ... B
102 Ohile this *on*l./es ho8 to e'a0ine tra*e 1iles that 6ertain to a 6arti*.lar (RA error .sing A2-./X i1 the iss.e *annot <e solve/ <y the en/ .ser4 the A2-./ 6rovi/es the /ncident Pac$aging Se vice ?9PSA tool to Y9P the ne*essary tra*e 1iles <ase/ on the 6ro<le02 9t *an then <e sent to s.66ort 1or 1.rther /e<.gging2 +o *reate the a66ro6riate Y9P 1ile4 .se the 1ollo8ing *o00an/s
adrc:W ips create package problem ! correlate all %reated ;ac1age 1 based on ;roblem :d 1I correlat:on le'el all
6O0E1 Pa*,age 1 is the 6a*,age 9D *a6t.re/ 1ro0 the i6s *reate o.t6.t *o00an/2 &or 0ore in1or0ation a<o.t A2-./4 6lease visit the htt6 @@/o*s2ora*le2*o0@*/@511882K01@server2112@e2#$"$@/iag0012ht0
"""%red*at%co'
9(
re!arc*+!eedbac,-red*at%co'
4ppendix 81 Re!erences
0E#H1 =nix e'ap*ores and *ared 8e'ory Explained G/D 17766%1H
htt6 @@/o*s2ora*le2*o0@*/@511882K01@install2112@e2$%21@6reKinstall2ht0
0uning Red Hat Enterprise Linux .or Oracle I Oracle R4# by cott #rot, r% #onsultant, Red Hat
htt6 @@8882re/hat2*o0@6ro0o@s.00it@2010@6resentations@s.00it@/e*o/ing-the-*o/e@1ri@s*ott-"$#t.ning@s.00itK><8K2010K6resentation26/1
Linux O /nstallation "it* Reduced et o! Pac,ages !or Running Oracle Database er5er G/D 92:)&6%1H
htt6s @@s.66ort2ora*le2*o0@e60os@1a*es@Do*.0entDis6layUKa1r-oo6Z2"080#"#"%2"20%Ei/Z728%$621EKa/12*trlstateZ1%886t'GeyK67
/nstalling 11%2%(%) )2+bit Cx:6D or 6&+bit Cx:6+6&D on RHEL6 Reports 0*at Pac,ages @el!utils+libel!+de5el+(%<9@ and @pd,s*+7%2%1&@ are 'issing CPR$.+97)2D G/D 1&7&<:2%1H
htt6s @@s.66ort2ora*le2*o0@e60os@1a*es@.i@,0@Sear*hDo*Dis6lay2>s6'U ret.rn+oSr9/ZEKa1r-oo6Z2"0"81%02886""2Esrn.0ZEty6eZD(CUF5N+Ei/Z1$#$"8221E/is6lay9n/e'Z%EKa1r Oin/o8Fo/eZ0EKa/12*trl-stateZ1%886t'GeyK1#$
8axi'u' H884A 5alues !or Linux x:6 and x:6+6& G/D 7697(6%1H
htt6s @@s.66ort2ora*le2*o0@e60os@1a*es@.i@,0@Sear*hDo*Dis6lay2>s6'UKa/12*trl-stateZy60o#<8,6K$
re!arc*+!eedbac,-red*at%co'
91
"""%red*at%co'