收藏 分销(赏)

weblogic集群部署forlinux.docx

上传人:二*** 文档编号:4575343 上传时间:2024-09-30 格式:DOCX 页数:23 大小:52.10KB
下载 相关 举报
weblogic集群部署forlinux.docx_第1页
第1页 / 共23页
亲,该文档总共23页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、Oracle WebLogic Server 11 g 集群部署 On Linux本文环境平台:RedHat AS 5 , 8G RAM 软件:WebLogic Server llgRl 硬件:HpBL460刀片服务器配置集群应用的必要条件集群中的所有Server必须位于同一网段,并且必须是IP广播(UDP)可到达的;集群中的所有Server必须使用相同的版本,包括Service Pack;集群中的Server必须使用永久的静态IP地址。动态IP地址分配不能用于集群环境。如果服务器位于防火墙后面,而客户机位于防火墙外面,那么服务器必须有公共的静态IP地址,只有这样, 客户端才能访问服务器;要以

2、CLUSTER方式运行,必须有包含CLUSTER许可的LICENSE才行;集群规划操作系统集群规划操作系统TurboLinuxTurboLinux网络配置角色proxyproxyTurboLinux IP: 172.19.114.203 PORT:7001 Administrator ServerTurboLinuxIP: 172,19.114.203 PORT:7005TurboLinux IP: 172.19.114.204 PORT:7005TurboLinux IP: 172.19.114.205 PORT:7005Managed ServerManaged ServerManaged

3、 Server备注apache服务器叩ache服务器管理服务器受管理服务器1受管理服务器2受管理服务器3安装 WeblogicllgrlConfiguration Wizard 酉己置域wlsnodel bin$ hostnameAdd or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used

4、 to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I1-| Serveri | All Local Addresses | 7003| N/A | false |Use above value or select another option:1 - Modify Name- Modify Listen address*2 - Modify Listen port- Modify SSL enabled3 - D

5、oneEnter option number to select OR ExitPreviousNext 2Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.I

6、Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I1-| Serveri | All Local Addresses | 7003| N/A | false |Modify nListen address OR ExitPreviousNext Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment

7、 has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.Name* | Listen address* | Listen port | SSL listen port | SSL enabled |I I I I I1-| Serveri | 172.19.114.203 | 7003 | N/A | false |Use above value or select another option:1 -

8、 Modify “Name”- Modify Listen address2 - Modify “Listen port- Modify HSSL enabled113 - DoneEnter option number to select OR ExitPreviousNext 5Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each

9、Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I1| Serveri | 172.19.114,203 | 7003 | N/A | false |Use above value or select another option:1 - Add- Modify2 - DeleteEnter option

10、number to select OR ExitPreviousNext 1Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.Name* | Listen add

11、ress* | Listen port | SSL listen port | SSL enabled |I I I I I1| Serveri | 172.19.114.203 | 7003 | N/A | false |Enter name for a new OR ExitPreviousNext Server!Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Man

12、aged Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I11 Serveri | 172.19.114.203 | 7003 | N/A | false |2-| Server2 | All Local Addresses | 7003 | N/A | false |Use a

13、bove value or select another option:1 - Modify “Name”- Modify Listen address2 - Modify Listen port- Modify nSSL enabled3 - DoneEnter option number to select OR ExitPreviousNext 2Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment ha

14、s o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I11 Serveri | 172.19.114.203 | 7003 | N/A | false |2-| Server2 | All Local Addresses | 7003| N

15、/A | false |Use above value or select another option:1 - Modify “Name”- Modify Listen address2 - Modify Listen port- Modify HSSL enabled113 - DoneModify nListen address* OR ExitPreviousNext 172.19,114.204Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical

16、 production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I11 Serveri | 172.19.114.203 | 7003 | N/A | false |2-| Server? | 172

17、.19.114.204 | 7003 | N/A | false |Use above value or select another option:1 - Modify Name- Modify Listen address*2 - Modify Listen port- Modify nSSL enabled3 - DoneEnter option number to select OR ExitPreviousNext 5Configure Managed Servers:Add or delete configuration information for Managed Server

18、s. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.I Name* | Listen address* | Listen port | SSL listen port | SSL enabled | _l I I I I I11 Serveri | 172.19.114.203 | 7003| N/A | false |2-| S

19、erver21 172.19.114.204 | 7003| N/A | false |Use above value or select another option:1 - Add- Modify2 - Delete- Discard ChangesEnter option number to select OR ExitPreviousNext 1Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment ha

20、s o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I11 Serveri | 172.19.114.203 | 7003 | N/A | false |2-| Server? | 172.19.114.204 | 7003 | N/A |

21、 false |Enter name for a new OR ExitPreviousNext Server3Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers4Each Managed Server is an instance of WebLogic Server used to host enterprise applications.

22、| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l III I I7003N/Afalse2| Server? | 172.19.114.204 | 7003 | N/A | false |3-| Server3 | All Local Addresses | 7003| N/A | false |Use above value or select another option:1 - Modify “Name”2 - Modify Listen address3 - Modify “Liste

23、n port4 - Modify HSSL enabled115 - DoneEnter option number to select OR ExitPreviousNext 2Configure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server use

24、d to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I11 Serveri |7003|N/A|false|2| Server21|7003|N/A|false|3-| Server3 | All Local Addresses | 7003| N/A | false |Modify nListen address0 OR ExitPreviousNext Configure Managed Servers:Ad

25、d or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers4Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I

26、I7003N/Afalse2| Server? | 2| Server? | 7003N/A | false3-| Server31 172.19.114.205 | 7003 | N/A | false |Use above value or select another option:1 - Modify “Name”2 - Modify Listen address3 - Modify “Listen port4 - Modify HSSL enabled115 - DoneEnter option number to select OR ExitPreviousNext 5Config

27、ure Managed Servers:Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers.Each Managed Server is an instance of WebLogic Server used to host enterprise applications.| Name* | Listen address* | Listen port | SSL listen port | SS

28、L enabled |_l I I I I I1| Serveri | 172.19.114,203 |7003|N/A|false|2|Server2| 172.19.114,204 |7003|N/A|false|3-| Server31 172.19.114.205 | 7003 | N/A | false |Use above value or select another option:1 - Add2 - Modify3 - Delete4 - Discard ChangesEnter option number to select OR ExitPreviousNext next

29、Configure Clusters:Add or delete configuration information for clusters. A cluster consists of multiple server instances wor king together toprovide increased scalability and reliability.| Name* | Cluster messaging mode | Multicast address | Multicast port | Cluster address |_l I I I IEnter name for

30、 a new Cluster OR ExitPreviousNext cluster1Configure Clusters:Add or delete configuration information for clusters. A cluster consists of multiple server instances wor king together toprovide increased scalability and reliability.| Name* | Cluster messaging mode | Multicast address | Multicast port

31、| Cluster address |_l I I I II1-| cluster 1 | unicast | N/A | N/A |Use above value or select another option:1 - Modify Name2 - Modify Cluster messaging mode3 - Modify Cluster address4 - DoneEnter option number to select OR ExitPreviousNext 2Configure Clusters:Add or delete configuration information

32、for clusters. A cluster consists of multiple server instances wor king together to provide increased scalability and reliability.*Enter index number to modify Cluster messaging model|multicast-2|unicast3|UnspecifiedEnter index number to select OR ExitResetAccept 1Configure Clusters:Add or delete con

33、figuration information for clusters. A cluster consists of multiple server instances wor king together toprovide increased scalability and reliability.| Name* | Cluster messaging mode | Multicast address | Multicast port | Cluster address |_l I I I II1-| cluster 1 | multicast | 239.192.0.0 |7001|Use

34、 above value or select another option:1 - Add Cluster- Modify Cluster2 - Delete Cluster- Discard ChangesEnter option number to select OR ExitPreviousNext nextFusion Middleware Configuration WizardAssign Servers to Clusters:Assign Managed Servers to a cluster in the domain.Cluster|clusterl 1Enter num

35、ber exactly as it appears in brackets to toggle selection OR ExitPreviousNext ne xtConfigure Machines:Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start remote servers.| Name* | Node manager listen add

36、ress | Node manager listen port |_l I I IEnter name for a new Machine OR ExitPreviousNext nextFusion Middleware Configuration WizardCreating Domain.0%25%50%75%100%111t*1* *1* 1I. . “不. . . . . “不. rjw rjw.rj* . . “不I编辑WebLogic 口令文件仓!J 建目录 /servers/security 并在该目录下创立 boot.properties 文件,内容为: username二

37、weblogic password=weblogicl将整个WebLogic拷贝到另外两个节点启动WebLogic服务建议按照顺序启动服务器,只有当管理服务器首先启动完毕后,受管服务器才能启动完成。当 所有服务器的控制台上出现Server started in RUNNING mode字样时,整个集群启动完毕。启动管理控制台1、以weblogic用户身份登录登录web03 ;2、切换至!/domain/bin 目录3.执行 nohup ./startWebLogic.sh &启动节点3 203服务1、以weblogic用户身份登录登录web03 ;2、切换至!/domain/bin 目录wls

38、nodel bin$ pwd/uOl/wls/weblogic 10/10.3/common/binwlsnodel bin$ who am iwls pts/O 2010-07-01 13:06(192.168.100.7)wlsnodel bin$wlsnodel bin$ ./config.shUnable to instantiate GUI, defaulting to console mode.Welcome:Choose between creating and extending a domain. Based on your selection, the Configurat

39、ion Wizard g uides you through the stepsto generate a new or extend an existing domain.-1 (Create a new WebLogic domain| Create a WebLogic domain in your projects directory.2|Extend an existing WebLogic domain| Use this option to add new components to an existing domain and modify configuration sett

40、ings.Enter index number to select OR ExitNext 1Select Domain Source:Select the source from which the domain will be created. You can create the domain by selecting from t he required components orby selecting from a list of existing domain templates.-l|Choose Weblogic Platform components| You can ch

41、oose the Weblogic component(s) that you want supported in your domain.2|Choose custom template| Choose this option if you want to use an existing template. This could be a custom created template using the Template3.执行 nohup ./startManagedWebLogic.sh Serveri :372.19.114.203:7001 & 启动节点4 204服务1、以webl

42、ogic用户身份登录登录web04;2、切换至!/domain/bin 目录3.执彳亍 nohup ./startManagedWebLogic.sh Server2 :/372.19.114.203:7001 & 启动节点7 205服务1、以weblogic用户身份登录登录web05 ;2、切换至kyoujweblogic_base/domain/bin 目录3.执行 nohup ./startManagedWebLogic.sh Server3 :372.I9,:L:14,203:7001 & 附:注:startManagedWebLogic.sh 用法:Usage: ./startMan

43、agedWebLogic.sh SERVER_NAME ADMIN_URLfor example:./startManagedWebLogic.sh managedserverl :/nodel.nhis :7001停止WebLogic服务停止节点3 203服务1、以weblogic用户身份登录登录web03 ;2、切换至!/domain/bin 目录3.执行./stopManagedWebLogic.sh Serveri :17219114,203:7001 weblogic webl ogicl停止节点4 204服务1、以weblogic用户身份登录登录web04 ;2、切换至ij/domain/bin 目录3.执彳亍./stopManagedWebLogic.sh Server2 :17219114,203:7001 weblogic webl ogicl停止节点5 205服务1、以weblogic用户身份登录登录web05 ;2、切换至!/domain/bin 目录3.执行./stopManagedWebLogic.sh Ser

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 通信科技 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服