Installing OSB 11b

45
3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Installing Oracle Service Bus 11g

description

presentacion de instlacion de Oracle Service BUs 11g

Transcript of Installing OSB 11b

3Copyright 2011, Oracle and/or its affiliates. All rights reserved.Installing Oracle Service Bus 11gCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 2ObjectivesAfter completing this lesson, yo shold !e a!le to"#$dentify Oracle %ervice &s 'O%&( 11g installation re)irements#$nstall Oracle %ervice &s 11g#Create data!ase schemas !y sing the *epository Creation +tility 'optional featre(#Create an O%& ,e!-ogic domain#./tend an O%& ,e!-ogic domain 'optional featre(Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 3Administrative Stages in Setting Up OSBAdministrative stages inclde"#0lanning resorces for the O%$nstalling the O%& soft1are#2esigning the enterprise service !s#3nctional testing#Operational tningCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 4Road Map#$nstallation5 %pported configrations5 *epository Creation +tility '*C+(5 $nstallation ,i6ard#O%& domainCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 7Installing Oracle Service Bus 11gStartInstall Oracle WebLogic Server wit Oracle !nterprise "ac# $or !clipse% Install OSB 11g.Using Reportingfeature orOWSM Policies?&reate and con$igure a WebLogic domain $or OSB%Start te administration server and managed servers%&reate scemas b' using R&U%(inis1)*+,es-o+ACopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 8"reparing $or Installation&efore yo start installing Oracle %erver &s 11g"#0lan yor installation as appropriate to !siness re)irement#.nsre that yor platform and environment have sfficient resorces#$nstall Oracle ,e!-ogic %erver 10.3.3 and Oracle .nterprise 0ac9 for .clipse 'optional( #$nstall and configre a spported data!ase 1ith the follo1ing schemas 'optional(5 +ser :essaging %ervice for reporting featre5 :etadata %ervices for O,%: spportCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - ;Supported "lat$orms#O%& can !e installed in t1o 1ays, depending on yor platform"5 .7/ Oracle ?: %pported 'O?:(, 4.0/ O?: 5 *ed @at .nterprise -in/ >, 45 %n %olaris A, 105 @0-+= 11i, 11i?2, 11i?3#Contact Oracle for additional platform spport.Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - ASupported So$tware "lat$orms#%pported platforms"5 -in/5 %olaris5 @0-+=5 ,indo1s =0 %02 ',in32 platforms only(, ,indo1s 2003, ,indo1s 200;, ,indo1s ?ista5 $&: A$= 4.3, $&: A$= 7.1#%pported B2Cs"5 %n B2C '32-!it and 7>-!it(5 B*oc9it#%pported !ro1sers"5 .nterprise :anager re)ires 3irefo/ 3 or $. 8DCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 10"reparing te Installation &efore starting O%&11g installation, yo shold have#$nstalled"5 2ata!ase 'optional(5 Oracle ,e!-ogic %erver#Created a staging area 1ith prodct soft1are orhave access to the installation C2s%taged %oft1arestagercuHomeosb*C+Oracle %ervice &s 11.1.1.3 0reinstalled %oft1are/usr/lib/oracle/xe/app/oracle/product/10.2.0/server,-% homeOracle =. home/u01/app/oracle/product/fmw/11.1.1.3/wlserver_10.3Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 11&ec#ing and &on$iguring te .atabase#%pported data!ases inclde"5 Oracle 2ata!ase 10g '10.2.0.> or later(5 Oracle 2ata!ase 11g '11.1.0.8 or later(#After starting Oracle 2ata!ase, se %E-F0ls to"5 %et the processes parameter to GH3005 %et the sessions parameter to GH 200-ote/ *estart the data!ase for these changes to !ecome active !efore yo install Oracle %ervice &s11g.SQL> ALTER SYSTEM SET processes=300 scope=spfile;SQL> ALTER SYSTEM SET sessions=200 scope=spfile;SQL> shutdown iedi!teSQL> st!rtupCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 12&ec#ing WebLogic Server ,e!-ogic %erver installation creates the :iddle1are home and,e!-ogic %erver home directory"FMW_HM!" /u01/app/oracle/product/fmw/11.1.1.3$%d&1'0_1(%roc&it_1'0_1)_*2(.x.xmoduleswlserver_10.3,e!-ogic %erver homeOracle :iddle1are homeIhe ,e!-ogic %erver domains are created in a user_pro%ects s!folder, 1hen yo configre the domain.user_pro%ects0%Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 13Repositor' &reation Utilit' 1R&U2/ OverviewIhe *C+"#$s sed to create and manage Oracle 3:, data!ase schemas in yor data!ase#0rovides a graphical interface and a command-line interface 'C-$(, 1hich can !e lanched"5 -ocally from the C2 or dis95 *emotely#%pports creating"5 Cstom schemas and ta!lespacesJ$n a single data!ase instanceJAcross mltiple data!ases in a distri!ted fashion5 :ltiple component schemas identified !y cstom prefi/esCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 14R&U Re3uirements#%pported platforms" -in/ and ,indo1s#%pported data!ases #*e)ired privileges" Io create schemas on an Oracle data!ase, yo mst have one of the follo1ing +,+-./ privileges"5 +,+ ser 1ith +,+-./ role5 A data!ase ser 1ho has !een granted the +,+-./ role&omponent Supported .atabases%OA $nfrastrctre Oracle, :icrosoft %E- %erver, $&: 2&2+ser :essaging %ervice Oracle, :icrosoft %E- %erver, $&: 2&2Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 17&reating Scemas wit R&UIo start *C+, e/ecte the follo1ing commands in a terminal 1indo1 ",hen the *C+ application starts, do the follo1ing to create schemas"1. 0rovide data!ase connection details.2. %pecify a schema prefi/ and select the components for 1hich yo 1ant to create schemas in the data!ase.3. %pecify the pass1ords for yor schema o1ners.>. Configre the desired ta!lespace mapping for the schemas yo 1ant to create." cd #hoe#or!cle#st!$e#rcu%oe#&in" '#rcu'shCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 18Speci$'ing a Scema "re$i4 and Selecting &omponentsCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 1;Speci$'ing te "asswords $or Scema OwnersCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 1AMapping 5ablespacesClic9 the defalt ta!lespace to see the drop-do1n list of additional ta!lespace names.Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 20Installing Oracle Service Bus 11g 11%1%1%)Io start the installer, rn the appropriate command"#+K$=" #,indo1s"#Corse e/ample",here JAVA_HOME0/u01/app/oracle/product/fmw/ 11.1.1.3/%roc&it_1'0_1)_*2(.0.01')2" cd osb_installer_folder'#run(nst!ller )*reLoc JRE_LOCATIONcd osb_installer_foldersetup'e+e )*reLoc JRE_LOCATION" cd #hoe#or!cle#st!$e#os,is-." '#run(nst!ller )*reLoc "JAVA_HOMECopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 21&omponents to InstallProduction EnvironmentDevelopment Environment Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 22Production EnvironmentSpeci$'ing Installation LocationDevelopment Environment Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 23"ost6Installation .irector' StructureIhe :iddle1are home directory after the Oracle %ervice &s installation" FMW_homemoduleswlserver_10.3registr3.dat/registr3.xmlO%& Oracle home Oracle Common home/r!cle0/S1./r!cle0coonlogsoepe0..gR.2S2O%& $2. home'.clipse home( Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 2>Installation Log (iles#Ihe installer 1rites log files to the directory"5 racle_4nventor3_5ocation/log '+K$=(5 racle_4nventor3_5ocation6logs ',indo1s( #Ihe install log files inclde"5 4nstalldate-time_stamp.log" Ihe main log file5 4nstalldate-time_stamp.out" Contains the otpt and error streams dring the installation5 installActionsdate-time_stamp.log" Contains internal information5 install7rofiledate-time_stamp.log" Contains the overall statistics as 1ell as configration, memory, and C0+ details5 ora4nstalldate-time_stamp.log" Contains the otpt stream of the copy sessionCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 247ui8,hich of the follo1ing statements are treL '%elect all that apply.(a. *C+ provides a fle/i!le 1ay to create cstom schemas and ta!lespaces in a data!ase.!. ,e!-ogic %erver installation creates only the ,e!-ogic %erver home directory.c. $nstalling and configring a spported data!ase 1ith Oracle %ervice &s is optional.d. Oracle .nterprise 0ac9 for .clipse is a mandatory component 1hile installing Oracle %erver &s 11g.Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 27Road Map#$nstallation#O%& domain5 Overvie1 of O%& domain5 2omain templates5 Creating a domainCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 28Review/ &on$iguring a .omain#+se the Configration ,i6ard to create a domain that acts as a service !s.#,hen yo create a domain, yo define a collection of resorces, sch as"5 :anaged servers and clsters5 %tart/stop scripts5 2ata!ase connections5 %ecrity realm5 %hared application li!raries5 Bava .. applications5 2ata!ase schemasCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 2A.omain 5opolog'/ OSB Single Admin ServerO%& spport a single domain topology 1ith an administration server and O%& server e/ecting 1ithin a single B?:2omainAdmin %erver,-% ConsoleO%& 2ata!aseOSB ApplicationsOSB Data SourceOSB JMS ModuleOSB LibrariesO%& Console%ervice 0rodcers and ConsmersOSB Security RealmCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 30.omain 5opolog'/ OSB Single Managed ServerO%& spports a single domain topology 1ith an administration server and a single O%& managed server2omain,-% ConsoleO%& Console%ervice 0rodcers and ConsmersO%& %erver':anaged %erver(O%& 2ata!aseOSB ApplicationsOSB Data SourceOSB JMS ModuleOSB LibrariesOSB Security RealmAdmin %erverCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 312omain.omain 5opolog'/ OSB Single &lusterO%& spports a single domain topology 1ith an administration server and a single O%& clster.O%& 2ata!aseO%& :anaged %erverAdmin %erver,-% ConsoleO%& Console%ervice 0rodcers and ConsmersO%& :anaged %erverOSB &lusterCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 322omain.omain 5opolog'/ OSB Multiple &lusters9 Managed ServersO%& does not spport a single domain 1ith mltiple service !s managed servers or mltiple clsters.O%& :anaged %erverAdmin %erver,-% ConsoleO%& Console%ervice 0rodcers and ConsmersO%& :anaged %erverO%& :anaged %erverO%& :anaged %erverO%& :anaged %erverO%& :anaged %erverOSB &luster 1OSB &luster +Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 33.omain 5opolog'/ OSB &oe4istence # All O%& topologies can coe/ist 1ith any other clsters or managed servers.# 3or prodction, having %OA and O%& in separate clsters is recommended.2omainOther :anaged %erverAdmin %erverOther :anaged %erverO%& :anaged %erverO%& :anaged %erver%OA :anaged %erver%OA :anaged %erverOSB &luster SOA &luster Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 3>Review/ .omain 5emplates#A domain template '.%ar( defines the fll set of resorces 1ithin a domain.#Iemplate extensions are sed to add resorces to, or modify resorces in, an e/isting domain.#Mo can create cstom domain templates from an e/isting domain sing"5 2omain Iemplate &ilder5 ,-% pac&/unpac& tilitiesCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - 37&reating a .omainIo start the 3:, Configration ,i6ard on +K$=, rn one of the follo1ing commands"#0&on$iguring te Managed ServersCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - >1&reating MacinesCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - >2Assigning Servers to MacinesCopyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - >3!4tending a .omain#./tend a domain if yo" 5 Already have an e/isting ,e!-ogic domain, and yo 1ant it to spport O%& fnctions5 Choose not to configre all of the components in O%& 1hile creating yor domain, !t yo 1ant to add these components at a later date !y e/tending yor domain#Ihe Configration ,i6ard ses e/tension templates to e/tend an e/isting ,e!-ogic domain. Copyright 2011, Oracle and/or its affiliates. All rights reserved. 3 - >>Using WLS5 to &reate or Update an OSB .omaincreate_osb_domain.p3"read:emplate;