- Stop the Application Services on both the Application nodes - Dev!ppsp"i#!"$ & Dev!ppssl!ve stop the Apache which is running as root - Shutdown both the Databases: GPILDEV !Devd%p"i#!"$" & GPILDEV# !Devd%sl!ve" - Shutdown the AS$ Instances over both nodes: %AS$ & %AS$# Step&: Re'"e!te ("esh ASM Dis)g"oups - Startup onl& %AS$ Instance on Devd%p"i#!"$* 'o need to start the %AS$# at Devd%sl!ve - Drop the e(isiting Dis)groups as below: S*L+ Drop dis)group DEVA,-. including contents/ S*L+ Drop dis)group DEVDG including contents/ Note: Incase an& issue while dropping the Dis)groups0 then tr& dropping 1ro2 %AS$# as the dis)groups 2ight be 2ounted 1ro2 AS$# !Dev-db-slave node"3 - ,e-create the Dis)groups S*L+ create dis)group DEVA,-. e(ternal redundanc& DIS4 56,-L:DIS475 SI8E 9:;<=$/ S*L+ create dis)group DEVDG e(ternal redundanc& DIS4 56,-L:DIS495 SI8E 9:;<=$0 56,-L:DIS4>5 SI8E 9:;<=$0 56,-L:DIS4#5 SI8E 9:;<=$056,-L:DIS45 SI8E 9:;<=$0 56,-L:V6L5 SI8E 7#;;$0 56,-L:V6L#5 SI8E 7#;;$/ - Add Directories to the Dis)groups S*L+ alter dis)group 5DEVA,-.5 add director& 5%DEVA,-.?GPILDEV5/ S*L+ alter dis)group 5DEVA,-.5 add director& 5%DEVA,-.?GPILDEV?A,-.IVEL6G5/ S*L+ alter dis)group 5DEVDG5 add director& 5%DEVDG?GPILDEV5/ S*L+ alter dis)group 5DEVDG5 add director& 5%DEVDG?GPILDEV?-6'@,6LAILE5/ S*L+ alter dis)group 5DEVDG5 add director& 5%DEVDG?GPILDEV?DA@AAILE5/ S*L+ alter dis)group 5DEVDG5 add director& 5%DEVDG?GPILDEV?6'LI'EL6G5/ S*L+ alter dis)group 5DEVDG5 add director& 5%DEVDG?GPILDEV?@E$PAILE5/ - Veri1& the directories created above using 5!s#'d5 : BoracleCDev-db-pri2ar& DEF as2c2d AS$-$D+ ls DEVA,-.? DEVDG? AS$-$D+ ls DEVA,-.? GPILDEV? AS$-$D+ ls %DEVA,-.?GPILDEV? A,-.IVEL6G? AS$-$D+ ls DEVDG? GPILDEV? AS$-$D+ ls DEVDG?GPILDEV? -6'@,6LAILE? DA@AAILE? 6'LI'EL6G? @E$PAILE? AS$-$D+e(it BoracleCDev-db-pri2ar& DEF Step+: Resto"e D, using RMAN - $a)e sure %AS$ is currentl& running - @a)e the bac)up o1 tnsna2es3ora and Add Production!Pri2ar& or Slave" @'S entr& in GPILDEV tnsna2es3ora3-on1ir2 tnsping to GPILP,6D is wor)ing3Please 1ollow the below steps 1or con1ir2ation3 - ,eplease the e(isting init3ora 1ile F cd F6,A-LEG.6$E?dbs F cp initGPILDEV3ora initGPILDEV3ora3HDate+ F cp initGPILDEV3ora3r2an initGPILDEV3ora F 2v sp1ileGPILDEV3ora sp1ileGPILDEV3ora3Hdate+ F 2v tnsna2es3ora tnsna2es3ora3Hdate+ F cp tnsna2es3ora3r2an tnsna2es3ora -on1ir2 the current init3ora consits o1 1ollowing entries -------------------------------------------------------------- clusterGdatabaseIAALSE dbG1ileGna2eGconvertI!J%P,6DDG?GPILP,6DJ0J%DEVDG?GPILDEVJ" logG1ileGna2eGconvert I!J%P,6DDG?GPILP,6DJ0J%DEVDG?GPILDEVJ" --------------------------------------------------------------
- Startup GPILDEV Database in 'o $ount State: F e(port 6,A-LEGSIDI GPILDEV F sKlplus L?as s&sdbaM S*L+ Startup no2ount/ - Validate that ,$A' Nac)up location is accesible 1ro2 DEV server: F ls Oltr ?du2pGbac)up?E,PGNA-4PPS?P,6D - Start ,$A' ,estoration as below: Note: I- $ou h!ve vn' !''ess then t$pe these 'o##!nds !t 'o#!nd line !-te" setting p"ope" env else s'"ipt '!n %e -ound !t GPILDEV.,!')up/id%!/ "esto"e*sh !t p"i#!"$ dev se"ve"* Run this s'"ipt in nohup !-te" setting the p"ope" "#!n %!')up d!te !nd #onito" the s!#e* Login to V'- server: #73Q3#7#3##;: 6pen @er2inal F e(port 6,A-LEGSIDIGPILDEV F r2an target s&s?welco2eCGPILP,6D nocatalog au(iliar& ? ,$A'+ run R set until ti2e JtoGdate!5Apr ;= #;;= ;:;;:;;50 5$on DD SSSS ..#9:$I:SS5"J/ allocate channel ch t&pe dis)/ allocate au(iliar& channel ch# t&pe dis)/ duplicate target database to GPILDEV/ release channel ch/ T Note: Modi-$ the D!te 0Ap" 12 &112 11:11:113 to l!test RMAN ,!')up d!te*4!$ to -ind the l!st %!')up d!te !nd ti#e is expl!ined !t the %otto# o- this do'u#ent Step5: Post D, Re-"esh Steps - Shutdown GPILDEV database - ,estore bac) original init3ora - ,estore bac) original sp1ile - ,estore bac) original tnsna2es3ora - Starup %AS$# at Devd%sl!ve - Startup GPILDEV !Devd%p"i#!"$" & GPILDEV# !Devd%sl!ve" - $a)e sure Archive dest is pointing to correct director& else do the change accordingl&3 - -onnect to an& o1 the database and chec) 1or nu2ber o1 te2p tablespace and te2p1iles3I1 not 1ound please add the2 1or # 1or each
S$nt!x alter tablespace Hte2ptablespacena2e+ add te2p1ile siUe ;#92 autoe(tend on ne(t #7;2 2a(siUe 7#;2/ - E(ecute below steps as APPS user: S*L+ e(ec A'DG-6'-G-L6'E3SE@PPG-LEA'/ S*L+ update 1ndGconcurrentGreKuests set statusGcodeI5-50 P.ASEG-6DEI5-5/ - ,un Autocon1ig on both the DN nodes !Devd%p"i#!"$" & !Devd%sl!ve" - ,estore listerner3ora0 tnsna2es3ora & sKlnet3ora 1ro2 Nac)up on both nodes - ,un librar& update script on both nodes: F cd F6,A-LEG.6$E?appsutil?install?H-6'@EV@G'A$E+ F ls Ol adupdlib3sKl S*L+ Cadupdlib3sKl so Step6: Resto"e Appli'!tion 7ie" ,in!"ies: - @a)e bac)up o1 e(isting Env Ailes0 -6'@EV@GAILE0 @'S Ailes etc on both nodes: -reate a new direcotor& under F.6$E?GPILDEVGNac)up with clone date F cp FAPPLG@6P?W3env F.6$E?GPILDEVGNac)up?HHDirGwithGdate+ F cp F@'SGAD$I'?W3ora F.6$E?GPILDEVGNac)up?HH DirGwithGdate++ F cp F-6'@EV@GAILE F.6$E?GPILDEVGNac)up? HHDirGwithGdate++ - -lear the e(isting Application stac) on both nodes !Dev!ppsp"i#!"$ & Dev !ppssl!ve8 as below: F cd ?oracle?app F r2 Or1 devora & F r2 Or1 devco2n & F r2 Or1 devappl & - Pntar the latest @ar bac)up !last Sunda&Xs" on both the nodes as Y,ootX user: Dev!ppsp"i#!"$: F tar OP(v1 ?du2pGbac)up?prodapps?appsGpri2ar&DD$$SS3tar Dev!ppssl!ve: F tar OP(v1 ?du2pGbac)up?prodapps? appsGslaveDD$$SS3tar 'ote: Pre1erabl& untar the Nac)up @ar 1ile using V'- session3 - 6nce the above Application binraies e(traction is co2pleted0 then rena2e the 1ollowing directories over both nodes: F cd ?oracle?app F 2v prodappl devappl F 2v prodco2n devco2n F 2v prodora devora Step9: Run Ad'-g'lone on %oth Apps Node - ,estore the bac)ed up -6'@EV@ AILE on both Apps nodes as below: F cp F.6$E?GPILDEVGNac)up?HHDirGwithGdate ++?H-6'@EV@GAILE+ ?oracle?app?devappl?ad2in? - E(ecute Adc1gclone on both Apps nodes as below: F cd F-6$$6'G@6P?clone?bin F perl adc1gclone3pl apps@ier HAPPLG@6P?ad2in? -6'@EV@GAILE + A1ter clone co2pletes at each node stop the services Step:: Exe'ute Post'lone Steps - -hange S&sad2in password using A'D-PASS F A'D-PASS apps?Hpwd+ ; S s&ste2?Hpwd+ PSE, SSSAD$I' Hpwd+ - Ppdate the 1ollowing 1ile on both Apps nodes 1or Load Nalancer setup: Aile 'a2e: FIASG6,A-LEG.6$E?Apache?Apache?con1?httpd3con1 -+ Set Se"ve"N!#e to Ldev*god-"e$phillips*'o#M - E(ecute below sKl state2ents on GPILDEV as APPS user: ------------------------------------------------------------------------- update w1Gnoti1icationGattributes set te(tGvalueIreplace!te(tGvalue05http:??erp3god1re&phillips3co2:Q;505http:??dev3god1re&philli ps3co2:Q;5"/ update w1Gnoti1icationGattributes set te(tGvalueIreplace!te(tGvalue05GPILP,6D505GPILDEV5"/ update w1Gite2GattributeGvalues set te(tGvalueIreplace!te(tGvalue05erp505dev5" / update w1Gite2GattributeGvalues set te(tGvalueIreplace!te(tGvalue05GPILP,6D505GPILDEV5" / update w1Gs&ste2s set displa&Gna2eI5GPILDEV3G6DA,ESP.ILLIPS3-6$5/ update w1Gs&ste2s set na2eI5GPILDEV3G6DA,ESP.ILLIPS3-6$5/ update w1Gagents set addressIreplace!address05P,D>93PS36,A-LE3-6$505GPILDEV3Z6,LD5"/ ------------------------------------------------------------------------- - ,estore -usto2 Env 1iles 1ro2 the Nac)up HF.6$E?GPILDEVGNac)up?HHDirGwithGdate+0 source the E'V again and re- start the Apps Services on both nodes3And Apache 1ro2 root user - -ocurrent $anagers setup !Pri2ar&?Secondar&" Stop -onc $grs !2a)e sure no A'DLIN, process running" Login Aront End and goto $angers --+ De1ine and Kuer& 1or all the Enabled -ocurrent $grs Ppdate Pri2ar& 'ode value II+ Dev!ppsp"i#!"$ Ppdate Secondar& 'ode Value II+ Dev!ppssl!ve Save & E(it - Start -onc $grs - Login as s&sad2in and choose applcation developer responsibilit&2essage *uer& 1or (ND.SS;.4ELC;ME* -hange the value as Login to God-"e$ Phillips DEV Appli'!tion - -hange Site 'a2e as per convention: s&sad2ins&ste2 pro1ilesite na2e JGPI DEV Envi"on#ent Re-"eshed on DDMon<<<<J - Start Zor)1low 'oti1ications $ailer 1ro2 6A$ - Per1ro2 Aront-end .ealthchec) - In1or2 custo2er to schedule 1ollowing -oncurrent progra2s 1ro2 Arontend: -------------------------------------------------- - Gather Sche2a Statistics - Purge -oncurrent ,eKuest and?or $anager Data - Purge Debug Log and S&ste2 Alerts - Purge 6bsolete Zor)1low ,unti2e Data - Zor)1low Nac)ground Process - Zor)1low -ontrol *ueue -leanup So#e =elp-ul in-o"#!tions 7o -ind the Dis) g"oup in-o"#!tions -"o# ;S level* 1ind ?dev -t&pe b -e(ec 5?etc?init3d?oracleas25 5Kuer&dis)5 5RT5 5/5 #+?dev?null [ grep Jis 2ar)ed an AS$ dis)J 7o -ind the l!st R#!n %!')up -inishing ti#e >oracleCerp-db-pri2ar& DEF 'LSGDA@EGA6,$A@I5SSSS-$$-DD:..#9:$I:SS5 BoracleCerp-db-pri2ar& DEF e(port 'LSGDA@EGA6,$A@ BoracleCerp-db-pri2ar& DEF r2an target s&s?welco2eCGPILP,6D ,ecover& $anager: ,elease ;3#3;3>3; - Production on @hu \un 9 ;:#Q:#> #;;= -op&right !c" =Q#0 #;;70 6racle3 All rights reserved3 connected to target database: GPILP,6D !DNIDI#:Q7#9Q<" ,$A'+ list bac)up o1 database su22ar&/ using target database control 1ile instead o1 recover& catalog List o1 Nac)ups IIIIIIIIIIIIIII 4e& @S LV S Device @&pe -o2pletion @i2e ]Pieces ]-opies -o2pressed @ag ------- -- -- - ----------- ------------------- ------- ------- ---------- --- Q#; N A A DIS4 #;;=-;7-#;:##:#::9: SES GPILP,6DG.6@N4P Q#;# N A A DIS4 #;;=-;7-#:;;:::>: SES GPILP,6DG.6@N4P Q#;> N A A DIS4 #;;=-;7-#:;;:9=:9: SES GPILP,6DG.6@N4P Q#9> N A A DIS4 #;;=-;7-#:##:>9:77 SES GPILP,6DG.6@N4P Q#99 N A A DIS4 #;;=-;7-##:;;:##:>< SES GPILP,6DG.6@N4P Q#97 N A A DIS4 #;;=-;7-##:;;:7;:7# SES GPILP,6DG.6@N4P Q#Q7 N A A DIS4 #;;=-;7-##:##:>>:9< SES GPILP,6DG.6@N4P Q#Q: N A A DIS4 #;;=-;7-##:#>:;#:9 SES GPILP,6DG.6@N4P Q#Q< N A A DIS4 #;;=-;7-#>:;;:7:77 SES GPILP,6DG.6@N4P Q>>9 N A A DIS4 #;;=-;7-#>:##:>:;Q SES GPILP,6DG.6@N4P Q>>7 N A A DIS4 #;;=-;7-#9:;;:<:7 SES GPILP,6DG.6@N4P Q>>: N A A DIS4 #;;=-;7-#9:;;:9>:;Q SES GPILP,6DG.6@N4P Q><: N A A DIS4 #;;=-;7-#9:##:#7:> SES GPILP,6DG.6@N4P Q><< N A A DIS4 #;;=-;7-#9:##:79:#; SES GPILP,6DG.6@N4P Q><Q N A A DIS4 #;;=-;7-#7:;;:9;:>= SES GPILP,6DG.6@N4P Q9Q N A A DIS4 #;;=-;7-#7:#>:7::9= SES GPILP,6DG.6@N4P Q9= N A A DIS4 #;;=-;7-#::;;:#::>> SES GPILP,6DG.6@N4P Q9#; N A A DIS4 #;;=-;7-#::;:;#:; SES GPILP,6DG.6@N4P Q9: N A A DIS4 #;;=-;7-#::##:>;:>Q SES GPILP,6DG.6@N4P Q9:# N A A DIS4 #;;=-;7-#<:;;:#Q:#7 SES GPILP,6DG.6@N4P Q9:> N A A DIS4 #;;=-;7-#<:;:;#:9< SES GPILP,6DG.6@N4P Q7;> N A A DIS4 #;;=-;7-#<:##:>;:7# SES GPILP,6DG.6@N4P Q7;9 N A A DIS4 #;;=-;7-#Q:;;:><:;9 SES GPILP,6DG.6@N4P Q7;7 N A A DIS4 #;;=-;7-#Q:;::;< SES GPILP,6DG.6@N4P Q77Q N A A DIS4 #;;=-;7->;:;;:;Q:: SES GPILP,6DG.6@N4P Q77= N A A DIS4 #;;=-;7->;:;;:9Q:>; SES GPILP,6DG.6@N4P Q7:; N A A DIS4 #;;=-;7->;:;:<:79 SES GPILP,6DG.6@N4P Q:; N A A DIS4 #;;=-;7->:;;:;9:< SES GPILP,6DG.6@N4P Q:;# N A A DIS4 #;;=-;7->:;;:99:< SES GPILP,6DG.6@N4P Q:;> N A A DIS4 #;;=-;7->:;::; SES GPILP,6DG.6@N4P Q:99 N A A DIS4 #;;=-;:-;:;;:;>:; SES GPILP,6DG.6@N4P Q:97 N A A DIS4 #;;=-;:-;:;;:9#:9< SES GPILP,6DG.6@N4P Q:9: N A A DIS4 #;;=-;:-;:;:;Q:## SES GPILP,6DG.6@N4P Q:Q= N A A DIS4 #;;=-;:-;#:;;:;7:79 SES GPILP,6DG.6@N4P Q:=; N A A DIS4 #;;=-;:-;#:;;:9<:9> SES GPILP,6DG.6@N4P Q:= N A A DIS4 #;;=-;:-;#:;:#9:#Q SES GPILP,6DG.6@N4P Q<>> N A A DIS4 #;;=-;:-;>:::#:97 SES GPILP,6DG.6@N4P Q<>9 N A A DIS4 #;;=-;:-;>:<:;:>: SES GPILP,6DG.6@N4P Q<>7 N A A DIS4 #;;=-;:-;>:Q:;;:7: SES GPILP,6DG.6@N4P Q<7 N A A DIS4 #;;=-;:-;9:;;:;<:9Q SES GPILP,6DG.6@N4P Q<7# N A A DIS4 #;;=-;:-;9:;:;Q:9 SES GPILP,6DG.6@N4P ?:6+ , ( A DIS@ &1121915:11:6::1: 1 1 <ES GPILPR;D.=;7,@P ,$A'+