《weblogic集群部署forlinux精品资料.doc》由会员分享,可在线阅读,更多相关《weblogic集群部署forlinux精品资料.doc(28页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、=OracleWebLogicServer11g集群部署On Linux=本文环境平台:【RedHatAS5】,8GRAM软件:WebLogicServer11gR1硬件:HpBL460刀片服务器配置集群应用的必要条件集群中的所有Server必须位于同一网段,并且必须是IP广播(UDP)可到达的;集群中的所有Server必须使用相同的版本,包括ServicePack;集群中的Server必须使用永久的静态IP地址。动态IP地址分配不能用于集群环境。如果服务器位于防火墙后面,而客户机位于防火墙外面,那么服务器必须有公共的静态IP地址,只有这样,客户端才能访问服务器;要以CLUSTER方式运行,必
2、须有包含CLUSTER许可的LICENSE才行;集群规划操作系统网络配置角色备注TurboLinuxIP:172.19.114.201proxyapache服务器TurboLinuxIP:172.19.114.202proxyapache服务器TurboLinuxIP:172.19.114.203PORT:7001AdministratorServer管理服务器TurboLinuxIP:172.19.114.203PORT:7005ManagedServer受管理服务器1TurboLinuxIP:172.19.114.204PORT:7005ManagedServer受管理服务器2TurboL
3、inuxIP:172.19.114.205PORT:7005ManagedServer受管理服务器3安装Weblogic11gr1使用ConfigurationWizard配置域wlsnode1bin$hostnamewlsnode1bin$pwd/u01/wls/weblogic10/10.3/common/binwlsnode1bin$whoamiwlspts/02010-07-0113:06(192.168.100.7)wlsnode1bin$wlsnode1bin$./config.shUnabletoinstantiateGUI,defaultingtoconsolemode.Wel
4、come:-Choosebetweencreatingandextendingadomain.Basedonyourselection,theConfigurationWizardguidesyouthroughthestepstogenerateaneworextendanexistingdomain.-1|CreateanewWebLogicdomain|CreateaWebLogicdomaininyourprojectsdirectory.2|ExtendanexistingWebLogicdomain|Usethisoptiontoaddnewcomponentstoanexisti
5、ngdomainandmodifyconfigurationsettings.EnterindexnumbertoselectORExitNext1SelectDomainSource:-Selectthesourcefromwhichthedomainwillbecreated.Youcancreatethedomainbyselectingfromtherequiredcomponentsorbyselectingfromalistofexistingdomaintemplates.-1|ChooseWeblogicPlatformcomponents|YoucanchoosetheWeb
6、logiccomponent(s)thatyouwantsupportedinyourdomain.2|Choosecustomtemplate|Choosethisoptionifyouwanttouseanexistingtemplate.ThiscouldbeacustomcreatedtemplateusingtheTemplate|Builder.EnterindexnumbertoselectORExitPreviousNextnextApplicationTemplateSelection:-AvailableTemplates|_BasicWebLogicServerDomai
7、n-10.3.2.010.3x|_WebLogicAdvancedWebServicesExtension-10.3.2.010.32EnternumberexactlyasitappearsinbracketstotoggleselectionORExitPreviousNextnextEditDomainInformation:-|Name|Value|_|_|_|1|*Name:|base_domain|EntervalueforNameORExitPreviousNextnhisEditDomainInformation:-|Name|Value|_|_|_|1|*Name:|nhis
8、|Useabovevalueorselectanotheroption:1-ModifyName2-DiscardChangesEnteroptionnumbertoselectORExitPreviousNextnextSelectthetargetdomaindirectoryforthisdomain:-TargetLocation=Enternewvalueorusedefault/u01/wls/weblogic10/user_projects/domainsEnternewTargetLocationORExitPreviousNextnextConfigureAdministra
9、torUserNameandPassword:-CreateausertobeassignedtotheAdministratorrole.Thisuseristhedefaultadministratorusedtostartdevelopmentmodeservers.|Name|Value|_|_|_|1|*Username:|weblogic|2|*Userpassword:|3|*Confirmuserpassword:|4|Description:|Thisuseristhedefaultadministrator.|Useabovevalueorselectanotheropti
10、on:1-ModifyUsername2-ModifyUserpassword3-ModifyConfirmuserpassword4-ModifyDescriptionEnteroptionnumbertoselectORExitPreviousNext2ConfigureAdministratorUserNameandPassword:-CreateausertobeassignedtotheAdministratorrole.Thisuseristhedefaultadministratorusedtostartdevelopmentmodeservers.*Userpassword:=
11、Enternew*Userpassword:ORExitResetAcceptConfigureAdministratorUserNameandPassword:-CreateausertobeassignedtotheAdministratorrole.Thisuseristhedefaultadministratorusedtostartdevelopmentmodeservers.|Name|Value|_|_|_|1|*Username:|weblogic|2|*Userpassword:|*|3|*Confirmuserpassword:|4|Description:|Thisuse
12、risthedefaultadministrator.|Useabovevalueorselectanotheroption:1-ModifyUsername2-ModifyUserpassword3-ModifyConfirmuserpassword4-ModifyDescription5-DiscardChangesEnteroptionnumbertoselectORExitPreviousNext3ConfigureAdministratorUserNameandPassword:-CreateausertobeassignedtotheAdministratorrole.Thisus
13、eristhedefaultadministratorusedtostartdevelopmentmodeservers.*Confirmuserpassword:=Enternew*Confirmuserpassword:ORExitResetAcceptConfigureAdministratorUserNameandPassword:-CreateausertobeassignedtotheAdministratorrole.Thisuseristhedefaultadministratorusedtostartdevelopmentmodeservers.|Name|Value|_|_
14、|_|1|*Username:|weblogic|2|*Userpassword:|*|3|*Confirmuserpassword:|*|4|Description:|Thisuseristhedefaultadministrator.|Useabovevalueorselectanotheroption:1-ModifyUsername2-ModifyUserpassword3-ModifyConfirmuserpassword4-ModifyDescription5-DiscardChangesEnteroptionnumbertoselectORExitPreviousNextnext
15、DomainModeConfiguration:-EnableDevelopmentorProductionModeforthisdomain.-1|DevelopmentMode2|ProductionModeEnterindexnumbertoselectORExitPreviousNext2JavaSDKSelection:-1|SunSDK1.6.0_14/u01/wls/weblogic10/jdk160_14_R27.6.5-32-2|JRockitSDK1.6.0_14/u01/wls/weblogic10/jrockit_160_14_R27.6.5-323|OtherJava
16、SDKEnterindexnumbertoselectORExitPreviousNext2SelectOptionalConfiguration:-1|AdministrationServer2|ManagedServers,ClustersandMachines3|RDBMSSecurityStoreEnterindexnumbertoselectORExitPreviousNext1SelectOptionalConfiguration:-1|AdministrationServerx2|ManagedServers,ClustersandMachines3|RDBMSSecurityS
17、toreEnterindexnumbertoselectORExitPreviousNext2SelectOptionalConfiguration:-1|AdministrationServerx2|ManagedServers,ClustersandMachinesx3|RDBMSSecurityStoreEnterindexnumbertoselectORExitPreviousNextnextConfiguretheAdministrationServer:-Enteradminstrationserverconfigurations.EachWebLogicServerdomainm
18、usthaveoneAdministrationServer.TheAdministrationServerhoststheAdministrationConsolewhichisusedtoperformadministrativetasks.|Name|Value|_|_|_|1|*Name:|AdminServer|2|*Listenaddress:|AllLocalAddresses|3|Listenport:|7001|4|SSLlistenport:|N/A|5|SSLenabled:|false|Useabovevalueorselectanotheroption:1-Modif
19、yName2-ModifyListenaddress3-ModifyListenport4-ModifySSLenabledEnteroptionnumbertoselectORExitPreviousNext2ConfiguretheAdministrationServer:-Enteradminstrationserverconfigurations.EachWebLogicServerdomainmusthaveoneAdministrationServer.TheAdministrationServerhoststheAdministrationConsolewhichisusedto
20、performadministrativetasks.|Name|Value|_|_|_|1|*Name:|AdminServer|2|*Listenaddress:|AllLocalAddresses|3|Listenport:|7001|4|SSLlistenport:|N/A|5|SSLenabled:|false|EntervalueforListenaddressORExitPreviousNext172.19.114.203ConfiguretheAdministrationServer:-Enteradminstrationserverconfigurations.EachWeb
21、LogicServerdomainmusthaveoneAdministrationServer.TheAdministrationServerhoststheAdministrationConsolewhichisusedtoperformadministrativetasks.|Name|Value|_|_|_|1|*Name:|AdminServer|2|*Listenaddress:|172.19.114.203|3|Listenport:|7001|4|SSLlistenport:|N/A|5|SSLenabled:|false|Useabovevalueorselectanothe
22、roption:1-ModifyName2-ModifyListenaddress3-ModifyListenport4-ModifySSLenabled5-DiscardChangesEnteroptionnumbertoselectORExitPreviousNextnextConfigureManagedServers:-AddordeleteconfigurationinformationforManagedServers.AtypicalproductionenvironmenthasoneormoreManagedServers.EachManagedServerisaninsta
23、nceofWebLogicServerusedtohostenterpriseapplications.|Name*|Listenaddress*|Listenport|SSLlistenport|SSLenabled|_|_|_|_|_|_|EnternameforanewORExitPreviousNextServer1ConfigureManagedServers:-AddordeleteconfigurationinformationforManagedServers.AtypicalproductionenvironmenthasoneormoreManagedServers.Eac
24、hManagedServerisaninstanceofWebLogicServerusedtohostenterpriseapplications.|Name*|Listenaddress*|Listenport|SSLlistenport|SSLenabled|_|_|_|_|_|_|1-|Server1|AllLocalAddresses|7003|N/A|false|Useabovevalueorselectanotheroption:1-ModifyName2-ModifyListenaddress3-ModifyListenport4-ModifySSLenabled5-DoneE
25、nteroptionnumbertoselectORExitPreviousNext2ConfigureManagedServers:-AddordeleteconfigurationinformationforManagedServers.AtypicalproductionenvironmenthasoneormoreManagedServers.EachManagedServerisaninstanceofWebLogicServerusedtohostenterpriseapplications.|Name*|Listenaddress*|Listenport|SSLlistenport|SSLenabled|