收藏 分销(赏)

weblogic集群部署forlinux.docx

上传人:二*** 文档编号:4575343 上传时间:2024-09-30 格式:DOCX 页数:23 大小:52.10KB 下载积分:5 金币
下载 相关 举报
weblogic集群部署forlinux.docx_第1页
第1页 / 共23页
本文档共23页,全文阅读请下载到手机保存,查看更方便
资源描述
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地址,只有这样, 客户端才能访问服务器; 要以CLUSTER方式运行,必须有包含CLUSTER许可的LICENSE才行;集群规划 操作系统 集群规划 操作系统 TurboLinux TurboLinux 网络配置 角色 proxy proxy TurboLinux IP: 172.19.114.203 PORT:7001 Administrator Server TurboLinux IP: 172,19.114.203 PORT:7005 TurboLinux IP: 172.19.114.204 PORT:7005 TurboLinux IP: 172.19.114.205 PORT:7005 Managed Server Managed Server Managed Server 备注 apache服务器 叩ache服务器 管理服务器 受管理服务器1 受管理服务器2 受管理服务器3 安装 Weblogicllgrl Configuration Wizard 酉己置域[wls@nodel bin]$ hostname 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 | SSL enabled |_l I I I I I 1->| 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 enabled" 3 - DoneEnter option number to select OR [Exit][Previous][Next]> 2 < Fusion Middleware Configuration Wizard> Configure 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 Name* | Listen address* | Listen port | SSL listen port | SSL enabled |_l I I I I I 1->| Serveri | All Local Addresses | 7003| N/A | false |Modify nListen address" OR [Exit][Previous][Next]> < Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |」I I I I I 1->| Serveri | 172.19.114.203 | 7003 | N/A | false |Use above value or select another option: 1 - Modify “Name”- Modify "Listen address" 2 - Modify “Listen port"- Modify HSSL enabled11 3 - DoneEnter option number to select OR [Exit][Previous][Next]> 5 <Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |_l I I I I I 1| Serveri | 172.19.114,203 | 7003 | N/A | false |Use above value or select another option: 1 - Add- Modify 2 - DeleteEnter option number to select OR [Exit][Previous][Next]> 1 < Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |」I I I I I 1| Serveri | 172.19.114.203 | 7003 | N/A | false |Enter name for a new OR [Exit][Previous][Next]> Server! < Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |_l I I I I I 11 Serveri | 172.19.114.203 | 7003 | N/A | false |2->| Server2 | 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 nSSL enabled" 3 - DoneEnter option number to select OR [Exit][Previous][Next]> 2 <Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |_l I I I I I 11 Serveri | 172.19.114.203 | 7003 | N/A | false |2->| Server2 | 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 HSSL enabled11 3 - DoneModify nListen address** OR [Exit][Previous][Next]> 172.19,114.204 <Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled |_l I I I I I 11 Serveri | 172.19.114.203 | 7003 | N/A | false |2->| Server? | 172.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 enabled" 3 - DoneEnter option number to select OR [Exit][Previous][Next]> 5 <Fusion Middleware Configuration Wizard> Configure 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 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->| Server21 172.19.114.204 | 7003| N/A | false |Use above value or select another option: 1 - Add- Modify 2 - Delete- Discard Changes Enter option number to select OR [Exit][Previous][Next]> 1<Fusion Middleware Configuration Wizard >Configure 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 | SSL enabled |_l I I I I I 11 Serveri | 172.19.114.203 | 7003 | N/A | false |2->| Server? | 172.19.114.204 | 7003 | N/A | false | Enter name for a new OR [Exit][Previous][Next]> Server3<Fusion Middleware Configuration Wizard > Configure Managed Servers: Add or delete configuration information for Managed Servers. A typical production environment has o ne or more Managed Servers4 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 III I I 7003 N/A false 2| 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 address" 3 - Modify “Listen port" 4 - Modify HSSL enabled11 5 - DoneEnter option number to select OR [Exit][Previous][Next]> 2 <Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled | _l I I I I I 11 Serveri ||7003|N/A|false| 2| Server21|7003|N/A|false|3->| Server3 | All Local Addresses | 7003| N/A | false | Modify nListen address0 OR [Exit][Previous][Next]> <Fusion Middleware Configuration Wizard >Configure 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. | Name* | Listen address* | Listen port | SSL listen port | SSL enabled | _l I I I I I 7003 N/A false 2| Server? | 2| Server? | 7003 N/A | false 3->| Server31 172.19.114.205 | 7003 | N/A | false | Use above value or select another option: 1 - Modify “Name” 2 - Modify "Listen address" 3 - Modify “Listen port" 4 - Modify HSSL enabled11 5 - DoneEnter option number to select OR [Exit][Previous][Next]> 5 <Fusion Middleware Configuration Wizard> Configure 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 | SSL enabled | _l I I I I I 1| 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 - Add 2 - Modify 3 - Delete 4 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> next < Fusion Middleware Configuration Wizard> 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 I—Enter name for a new Cluster OR [Exit][Previous][Next]> cluster1 < Fusion Middleware Configuration Wizard> 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 II 1->| cluster 1 | unicast | N/A | N/A ||Use above value or select another option: 1 - Modify "Name" 2 - Modify ''Cluster messaging mode" 3 - Modify "Cluster address" 4 - DoneEnter option number to select OR [Exit][Previous][Next]> 2 <Fusion Middleware Configuration Wizard> Configure Clusters: Add or delete configuration information 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 mode"l|multicast ->2|unicast3|Unspecified Enter index number to select OR [Exit][Reset][Accept]> 1<Fusion Middleware Configuration Wizard >Configure Clusters: Add or delete configuration information for clusters. A cluster consists of multiple server instances wor king together to provide increased scalability and reliability. | Name* | Cluster messaging mode | Multicast address | Multicast port | Cluster address |_l I I I I I1->| cluster 1 | multicast | 239.192.0.0 |7001|| Use above value or select another option: 1 - Add Cluster- Modify Cluster 2 - Delete Cluster- Discard Changes Enter option number to select OR [Exit][Previous][Next]> nextFusion Middleware Configuration Wizard >Assign Servers to Clusters: Assign Managed Servers to a cluster in the domain. Cluster|clusterl [1] Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> ne xt < Fusion Middleware Configuration Wizard> Configure 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 address | Node manager listen port |_l I I I Enter name for a new Machine OR [Exit][Previous][Next]> nextFusion Middleware Configuration Wizard >Creating Domain... 0%25%50%75%100%[111] t*1* *1* 1I... ... “不... ... ...... ... ... “不... rjw rjw...rj* ... ... “不I 编辑WebLogic 口令文件 仓!J 建目录 <DOMAIN_NAME>/servers/<Server_name>/security 并在该目录下创立 boot.properties 文件,内容为: username二 weblogic password=weblogicl将整个WebLogic拷贝到另外两个节点 启动WebLogic服务 建议按照顺序启动服务器,只有当管理服务器首先启动完毕后,受管服务器才能启动完成。当 所有服务器的控制台上出现Server started in RUNNING mode字样时,整个集群启动完毕。 启动管理控制台1、以weblogic用户身份登录登录web03 ; 2、切换至!!<your_weblogic_base>/domain/<your_domainname>/bin 目录3.执行 nohup ./startWebLogic.sh & 启动节点3 [203]服务1、以weblogic用户身份登录登录web03 ; 2、切换至!!<your_weblogic_base>/domain/<your_domainname>/bin 目录 [wls@nodel bin]$ pwd/uOl/wls/weblogic 10/10.3/common/bin [wls@nodel bin]$ who am iwls pts/O 2010-07-01 13:06(192.168.100.7) [wls@nodel bin]$[wls@nodel bin]$ ./config.sh Unable to instantiate GUI, defaulting to console mode. <Fusion Middleware Configuration Wizard> Welcome: Choose between creating and extending a domain. Based on your selection, the Configuration Wizard g uides you through the steps to 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 settings. Enter index number to select OR [Exit][Next]> 1<Fusion Middleware Configuration Wizard >Select Domain Source: Select the source from which the domain will be created. You can create the domain by selecting from t he required components or by selecting from a list of existing domain templates. ->l|Choose Weblogic Platform components| You can choose 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 templa te using the Template 3.执行 nohup ./startManagedWebLogic.sh Serveri :〃372.19.114.203:7001 & 启动节点4 [204]服务 1、以weblogic用户身份登录登录web04; 2、切换至!!<your_weblogic_base>/domain/<your_domainname>/bin 目录 3.执彳亍 nohup ./startManagedWebLogic.sh Server2 ://372.19.114.203:7001 & 启动节点7 [205]服务 1、以weblogic用户身份登录登录web05 ; 2、切换至kyoujweblogic_base>/domain/<your_domainname>/bin 目录 3.执行 nohup ./startManagedWebLogic.sh Server3 :〃372.I9,:L:14,203:7001 & 附: 注:startManagedWebLogic.sh 用法: Usage: ./startManagedWebLogic.sh SERVER_NAME {ADMIN_URL}for example: ./startManagedWebLogic.sh managedserverl ://nodel.nhis :7001停止WebLogic服务 停止节点3 [203]服务1、以weblogic用户身份登录登录web03 ; 2、切换至!!<your_weblogic_base>/domain/<your_domainname>/bin 目录3.执 行./stopManagedWebLogic.sh Serveri :〃172・19・114,203:7001 weblogic webl ogicl停止节点4 [204]服务 1、以weblogic用户身份登录登录web04 ;2、切换至ij<your_weblogic_base>/domain/<your_domainname>/bin 目录 3.执 彳亍./stopManagedWebLogic.sh Server2 :〃172・19・114,203:7001 weblogic webl ogicl停止节点5 [205]服务 1、以weblogic用户身份登录登录web05 ;2、切换至!!<your_weblogic_base>/domain/<your_domainname>/bin 目录 3.执 行./stopManagedWebLogic.sh Ser
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

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

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

关于我们      便捷服务       自信AI       AI导航        抽奖活动

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

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

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

关注我们 :微信公众号    抖音    微博    LOFTER 

客服