22
R12 Applications File System Hi, Few days back I have posted about the 3-tiers 1)Destop 2)Application 3)Database, I'm continuing with R12 application filesystem in this post. II)Applications File System– Overview

R12 Applications File System

Embed Size (px)

DESCRIPTION

mmmm

Citation preview

R12 Applications File SystemHi,Few days back I have posted about the 3-ties 1!"estop 2!Application 3!"atabase,I#m continuin$ with R12 application %ilesystem in this post&II)Applications File System Overview'he 'op-(evel R12-Applications "iectoy Stuctue is divided into 3 pats)1!"atabase Seve %iles2!Instant speci%ic %iles3!Application tie Seve1)Database Server files(db):* 'he db+apps,st+data diectoy is located on the database node machine, and contains the system tablespaces, edo lo$ %iles, data tablespaces, inde- tablespaces,and database %iles* 'he db+tech,st+1.&2&. diectoy is located on the database node machine, and contains the /RA0(1,H/21 %o the /acle1.$ database* 'he apps+apps,st+appl 3A44(,'/4! diectoy contains the poduct diectoies and%iles %o /acle Applications&* 'he apps+apps,st+comn 30/22/5,'/4! diectoy contains 6ava classes, H'2(pa$es, and othe %iles and diectoies used by multiple poducts* 'he apps+tech,st+1.&1&2 diectoy contains the /RA0(1,H/21 used %o theApplications technolo$y stack tools components&* 'he apps+tech,st+1.&1&3 diectoy contains the /RA0(1,H/21 used %o theApplications technolo$y stack 6ava components&2)Instant specific files(inst):Instance Home (INST_TOP):7/acle Applications Release 12 intoduces the concept o% a top-level diectoy %o an Applications instance& 'his diectoy is e%eed to as the Instance Home, and denoted by the envionment vaiable 8I5S','/4&79sin$ an Instance Home povides the ability to shae Applications and technolo$y&Notable features of this architecture include)* 'he latest vesion o% /acle 0ontaines %o 6ava 3/0:6!, the successo to 6Sev, isincluded in /acle Application Seve 1.&1&3&* All ma;o sevices ae stated out o% the /acleAS 1.&1&3 /RA0(1,H/21&* 'he Applications modules 3packa$ed in the %ile %omsapp&ea! ae deployed into the/0:6-Foms instance unnin$ out o% the /acleAS 1.&1&3 /RA0(1,H/21, while the %mweb e-ecutable is invoked out o% the /acleAS 1.&1&2 /RA0(1,H/21&7stack code amon$ multiple instances, %o e-ample a development instance and a test instance&7Suppot %o ead-only %ile systems and centalieb sevices component o% /acle Application Seve pocesses eDuests eceived ove the netwok %om the desktop clients&2!Foms sevices)Foms sevices in /acle Applications Release 12 ae povided by the Foms listene sevlet o Fom Socket mode,which %acilitates the use o% %iewalls,load balancin$,po-ies and othe netwokin$ options&3!0oncuent sevices)4ocesses that un on the 0oncuent 4ocessin$ seve ae called concuent eDuests&A concuent mana$e then eads the applicable eDuests in the table and stats the associated concuent po$amIII)he Database ier!7'he database tie contains the /acle database seve, which stoes all the data maintained by /acle Applications& 'he database also stoes the /acle Applications online help in%omation&72oe speci%ically, the database tie contains the /acle data seve %iles and /acle Applications database e-ecutables that physically stoe the tables, inde-es, and othe database ob;ects %o you system&7 'he database seve does not communicate diectly with the desktop clients, but athe with the seves on the application tie, which mediate the communications between the database seve and the clients&How F5"(/A" 9tility is use%ul %o /acle Apps "CAHi,FND"OAD#$eneric "oader) utility is vey use%ul %o Apps "CA&(et us ty to undestand how it woks and how we can utilie can use #winscp# tool3A $aphical utility %o copyin$ %iles %om windows to linu- o vicevesa! o %tp o scp o ta o sync %o copin$ "ata %om souce seve to ta$et seve&!tep ,:Mo+ing Data into the target Data#ase'8 impdp system+'1S'"CdbaT'1S'"C "924FI(1NR1FR1SH,S0H12A&"24 "IR10'/RFN'1S',2IE R12A4,S0H12ANR1FR1SH,S0H12A)R1FR1SH,S0H12A (/EFI(1NR1FR1SH,S0H12A&lo$!tep -:.erify the Data in !ource and *arget Data#ases/Note!In oacle 11$ el2,vesion)11&2&.&1&. thee ae about 00 "istinct ob;ect,types compain$ to pevious vesions this numbe is hu$e&SQ(R select 7%om v8vesionSCA551R--------------------------------------------------------------------------------/acle "atabase 11$ 1ntepise 1dition Release 11&2&.&1&. - L:bit 4oduction4(+SQ( Release 11&2&.&1&. - 4oduction0/R1 11&2&.&1&. 4oduction'5S %o (inu-) Mesion 11&2&.&1&. - 4oduction5(SR'( Mesion 11&2&.&1&. - 4oductionSQ(R select distinct ob;ect,type %om dba,ob;ectsS/C610','F41-------------------1"I'I/5I5"1P 4AR'I'I/50/5S921R ER/94S1Q91501'AC(1 4AR'I'I/5S0H1"9(1Q9191R9(16AMA "A'A4R/01"9R1/41RA'/R/C610','F41-------------------(/C 4AR'I'I/5"1S'I5A'I/5>I5"/>S0H1"9(1R ER/94"A'ACAS1 (I5K(/C4A0KAE14A0KAE1 C/"F(ICRARF4R/ERA2R9(1 S1'/C610','F41-------------------0/5'1P''F41 C/"F6AMA R1S/9R01P2( S0H12A'RIEE1R6/C 0(ASS95"1FI51""IR10'/RF2A'1RIA(IU1" MI1>'AC(1I5"1P/C610','F41-------------------SF5/5F2MI1>F950'I/56AMA 0(ASS6AMA S/9R01I5"1P'F410(9S'1R'F41R1S/9R01 4(A56/C1MA(9A'I/5 0/5'1P':: ows selected&!ource Data#ase:4R/""C)---------SQ(R select count37! %om dba,ob;ectswhee owneN#R1FR1SH,S0H12A#S0/95'37!----------132SQ(R select count37! %om dba,tableswhee owneN#R1FR1SH,S0H12A#S0/95'37!----------3:S1(10' 0/95'37! FR/2 "CA,/C610'S >H1R1 />51RN#R1FR1SH,S0H12A# A5" /C610','F41 I53#'AC(1#,#6/C#,#MI1>#,#4A0KAE1#,#'RIEE1R#,#SF5/5F2#,#F950'I/5#,#4R/01"9R1#,#'F41#!/R"1R CF /C610','F41SSQ(R S1(10' 0/95'37! FR/2 "CA,/C610'S>H1R1 />51RN#R1FR1SH,S0H12A#A5" /C610','F41 I53#'AC(1#,#6/C#,#MI1>#,#4A0KAE1#,#'RIEE1R#,#SF5/5F2#,#F950'I/5#,#4R/01"9R1#,#'F41#!/R"1R CF /C610','F41S2 3 :0/95'37!----------L2S1(10' 0/95'37! FR/2 "CA,/C610'S >H1R1 />51RN#R1FR1SH,S0H12A# A5" /C610','F41 I5*A&0* DA*A'A!:'1S'"C)-------------SQ(R select count37! %om dba,ob;ectswhee owneN#R1FR1SH,S0H1#S 20/95'37!----------131SQ(R select count37! %om dba,tableswhee owneN#A41P:,"1M#S 20/95'37!----------3:SQ(R S1(10' 0/95'37! FR/2 "CA,/C610'S>H1R1 />51RN#R1FR1SH,S0H12A#A5" /C610','F41 I53#'AC(1#,#6/C#,#MI1>#,#4A0KAE1#,#'RIEE1R#,#SF5/5F2#,#F950'I/5#,#4R/01"9R1#,#'F41#!/R"1R CF /C610','F41S0/95'37!----------L2"atabase e%esh pocessHi,"atabase e%esh is done by adoptin$ vaious techniDue&Cut the main idea is to $et the %esh poduction data in you "evelopment,'est o 4e%omance "atabase envionment so that "evelopes+QAs make use o% that data and do need%ul chan$es and testin$ dependin$ upon the eDuiement&Celow ae the steps which I %ollowed&,.F,.S1 +,O&.SS 2!In the e%esh pocess 1,I have used the e-p+imp utility and e-pdp+impdp utility to tans%e the data %om souce to ta$et "atabase&Steps we followed for refresh!Step 2!0heckin$ the tablespaces i% it e-ists and the tablespace sie will $et hee the ob;ects which ae less in paticula "estination schemas&Step 23!>e 2ake use o% e-p utility to e-pot the missin$ ob;ects inteactively&,.F,.S1 +,O&.SS 3!In the e%esh pocess2,the indiect method is avoided as we came acoss one paameteversion:29;3&So when you do e-pot with this paamete you can diectly impot without losin$ any data by usin$ e-pdp and impdp utility&Steps for the refresh from Source#22;2;9;7) to ar :;'lo(02#.d1f;0 ;'lo(02).d1f ;< SI=E >123?s+l, #-"ER 8#"#)#SE #88 -O92I-E (rop @ :;'lo(0A#.d1f;0 ;'lo(0A).d1f ;< SI=E >123?A. .hecB the stats on all redo lo(s a(ain.s+l, SE-E." a.(rop/0 1.mem1er0 a.stats0 a.1!tes2RO3 v4lo( a0 v4lo(5le 16$ERE a.(rop/71.(rop/4.8rop the online redo lo( (rops that are not needed.Co mst have the #-"ER 8#"#)#SE s!stem privile(e.Dote: )efore droppin( an online redo lo( (rop0 consider the follo%in( restrictions and precations:a.#n instance re+ires at least t%o (rops of online redo lo( 5les0 re(ardless of the nm1erof mem1ers in the (rops. :# (rop is one or more mem1ers. CES FDFSE8@ CES FDFSE8d..hecB that the (rop is inactive and archived 1efore droppin( it .SE-, SE-E." 9ROFG/0 #R.$IVE80 S"#"FS 2RO3 V4-O9?SE-, #-"ER 8#"#)#SE 8ROG -O92I-E 9ROFG A?e.#fter droppin( an online redo lo( (rop0 maBe sre that the drop completed sccessfll!0 and then se the appropriate operatin( s!stem command to delete the dropped online redo lo( 5lesOS File Permission'he YchmodZ command is used to alte %ile pemissions a%te the %ile has been ceated&chmod -R @@@ abc-R is to ecusively chan$e the pemission&All the %iles in the diectoy have same pemission&Owner $roup Others +ermission@ 3u[w-! @ 3$[w-! @ 3o[w-! ead [ wite [ e-ecuteL 3u[w-! L 3$[w-! L 3o[w-! wite [ e-ecuteJ 3u[R-! J 3$[R-! J 3o[R-! ead [ e-ecute: 3u[! : 3$[! : 3o[! ead only2 3u[w! 2 3$[w! 2 3o[w! wite only1 3u[-! 1 3$[-! 1 3o[-! e-ecute only