加入收藏 | 设为首页 | 会员中心 | 我要投稿 我爱制作网_沈阳站长网 (https://www.024zz.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

was8.5.5-linux集群部署

发布时间:2022-11-07 12:43:19 所属栏目:Linux 来源:
导读:  概述

  linux集群部署,记录关键的几个步骤如下:

  1.做两个InstallationManager安装工具,一个控制平台(79),一个HIS(78),两个node

  2.服务器获取文件集群linux,sftp root@10.224.130.
  概述
 
  linux集群部署,记录关键的几个步骤如下:
 
  1.做两个InstallationManager安装工具,一个控制平台(79),一个HIS(78),两个node
 
  2.服务器获取文件集群linux,sftp root@10.224.130.18p@ssw0rd
 
  3.get /opt/software/IBM/agent.zip /opt/software/IBM/exit
 
  安装InstallationManager
 
  # 78、79上安装InstallationManager
 
  cd /opt/software
 
  mkdir agent
 
  unzip -q agent.zip -d agent
 
  cd agent /tools
 
  ./imcl install com.ibm.cic.agent -repositories ../repository.config -acceptLicense
 
  安装WAS AS 8.5.5
 
  #两个服务器都安装WAS
 
  mkdir WAS_ND_V8.5.5_3
 
  unzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_1_OF_3.zip
 
  unzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_2_OF_3.zip
 
  unzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_3_OF_3.zip
 
  cd /opt/IBM/InstallationManager/eclipse/tools/
 
  ./imcl listAvailablePackages -repositories /opt/software/IBM/WAS_ND_V8.5.5_3
 
  ./imcl install com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 -repositories /opt/software/IBM/WAS_ND_V8.5.5_3-acceptLicense
 
  安装HIS
 
  #78 安装HIS
 
  mkdir WAS_V8.5.5_SUPPL
 
  unzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_1_OF_3.zip
 
  unzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_2_OF_3.zip
 
  unzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_3_OF_3.zip
 
  cd /opt/IBM/InstallationManager/eclipse/tools/
 
  ./imcl install com.ibm.websphere.IHS.v85_8.5.5000.20130514_1044 -repositories /opt/software/IBM/WAS_V8.5.5_SUPPL/ -properties user.ihs.httpPort=80 -acceptLicense
 
  ./imcl install com.ibm.websphere.PLG.v85_8.5.5000.20130514_1044 -repositories /opt/software/IBM/WAS_V8.5.5_SUPPL/ -acceptLicense
 
  # 修改/opt/IBM/HTTPServer/conf/httpd.conf,添加以下两行
 
  LoadModule was_ap22_module /opt/IBM/WebSphere/Plugins/bin/64bits/mod_was_ap22_http.so
 
  WebSpherePluginConfig /opt/IBM/WebSphere/Plugins/config/IHS/plugin-cfg.xml
 
  LoadModule proxy_module modules/mod_proxy.so
 
  LoadModule proxy_connect_module modules/mod_proxy_connect.so
 
  LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
 
  LoadModule proxy_http_module modules/mod_proxy_http.so
 
  LoadModule proxy_balancer_module modules/WebSphereCE/mod_proxy_balancer.so
 
  ProxyPass /platform/ws balancer://cluster
 
  ProxyPassReverse /platform/ws balancer://cluster
 
  BalancerMember :8086/platform/ws loadfactor=1 route=platform1
 
  BalancerMember :8086/platform/ws loadfactor=1 route=platform2
 
  如果用到webservice需要定义代理跳转
 
  创建dmgr node
 
  # 79 创建管理台
 
  cd /opt/IBM/WebSphere/AppServer/bin/
 
  ./manageprofiles.sh -create -templatePath "../profileTemplates/dmgr/" -cellName standardCell01 -nodeName standardNodeManager01 -profileName Dmgr01
 
  #等待一会 出现 SUCCESS: Success: Profile Dmgr01 now exists.
 
  ./manageprofiles.sh–help 获取帮助
 
  #启动DM
 
  cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
 
  ./startManager.sh
 
  #等待ADMU3000I: Server dmgr open for e-business; process id is
 
  进入 控制台:9060/ibm/console/
 
  集群linux_高俊峰linux高端集群实战视频教程_集群linux
 
  创建AppSrv node
 
  # 78 79 创建两个应用node
 
  cd /opt/IBM/WebSphere/AppServer/bin/
 
  ./manageprofiles.sh -create -templatePath "../profileTemplates/managed"-nodeName standardNode01 -cellName DemoCell01-profileName AppSrv01-hostNameshjt-mtbzh-app1
 
  ./manageprofiles.sh -create -templatePath "../profileTemplates/managed"-nodeName standardNode02-cellName DemoCell02 -profileName AppSrv02 -hostNameshjt-mtbzh-app2
 
  #出现 INSTCONFSUCCESS: Success: Profile AppSrv01 now exists.
 
  INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt for more informat
 
  #delete profile
 
  ./manageprofiles.sh -delete -profileName AppSrv01
 
  #出现INSTCONFSUCCESS: Success: The profile no longer exists.
 
  #手动删除/opt/IBM/WebSphere/AppServer/profiles和log下AppSrv01
 
  DM中添加受管节点,配置hosts
 
  cd /root/etc
 
  vim hosts
 
  加入 :10.128.104.78 shjt-mtbzh-app1
 
  10.128.104.79 shjt-mtbzh-app2
 
  ping shjt-mtbzh-app2
 
  在 78 79上加入受控
 
  cd /opt/IBM/WebSphere/AppServer/bin/
 
  ./addNode.sh 10.128.104.79-profileName AppSrv01
 
  #出现 ADMU0003I: Node standardNode02 has been successfully federated.
 
  #启动node
 
  cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
 
  ./startNode.sh
 
  建立IHS
 
  建立clusters
 
  Add numbers-> server
 
  在server中加入变量
 
  增加属性及内存
 
  DMGR增加内存
 
  Server增加内存
 
  server com.ibm.websphere.webservices.DisableIBMJAXWSEngine true
 

(编辑:我爱制作网_沈阳站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!