概述linux集群部署,记录关键的几个步骤如下:1.做两个InstallationManager安装工具,一个控制平台(79),一个HIS(78),两个node 2.服务器获取文件,sftp root@10.224.130.18p@ssw0rd3.get /opt/software/IBM/agent.zip /opt/software/IBM/ exit安装InstallationManager# 78、79上安装InstallationManagercd /opt/softwaremkdir agentunzip -q agent.zip -d agentcdagent /tools./imcl install com.ibm.cic.agent -repositories ../repository.config -acceptLicense安装WAS AS 8.5.5#两个服务器都安装WASmkdir WAS_ND_V8.5.5_3unzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_1_OF_3.zipunzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_2_OF_3.zipunzip -q -d WAS_ND_V8.5.5_3 WAS_ND_V8.5.5_3_OF_3.zipcd /opt/IBM/InstallationManager/eclipse/tools/./imcllistAvailablePackages -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 安装HISmkdirWAS_V8.5.5_SUPPLunzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_1_OF_3.zipunzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_2_OF_3.zipunzip -q -d WAS_V8.5.5_SUPPLWAS_V8.5.5_SUPPL_3_OF_3.zipcd /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.xm lLoadModuleproxy_module modules/mod_proxy.soLoadModuleproxy_connect_module modules/mod_proxy_connect.soLoadModuleproxy_ftp_module modules/mod_proxy_ftp.soLoadModuleproxy_http_module modules/mod_proxy_http.soLoadModuleproxy_balancer_module modules/WebSphereCE/mod_proxy_balancer.so<VirtualHost *:80>ProxyPass /platform/ws balancer://clusterProxyPassReverse /platform/ws balancer://cluster<Proxy balancer://cluster>BalancerMember http://10.128.104.78:8086/platform/ws loadfactor=1 route=platform1 BalancerMember http://10.128.104.79:8086/platform/ws loadfactor=1 route=platform2</Proxy></VirtualHost>如果用到webservice需要定义代理跳转<Proxy balancer://cluster>创建dmgr node# 79 创建管理台cd /opt/IBM/WebSphere/AppServer/bin/./manageprofiles.sh -create -templatePath "../profileTemplates/dmgr/" -cellName standardCell01 -nodeNamestandardNodeManager01 -profileName Dmgr01#等待一会出现SUCCESS: Success: Profile Dmgr01 now exists../manageprofiles.sh–help 获取帮助#启动DMcd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin./startManager.sh#等待ADMU3000I: Server dmgr open for e-business; process id is进入控制台http://10.128.104.79:9060/ibm/console/出现创建AppSrv node# 78 79 创建两个应用nodecd /opt/IBM/WebSphere/AppServer/bin/./manageprofiles.sh -create -templatePath "../profileTemplates/managed"-nodeName standardNode01 -cellNameDemoCell01-profileName AppSrv01-hostNameshjt-mtbzh-app1./manageprofiles.sh -create -templatePath "../profileTemplates/managed"-nodeName standardNode02-cellNameDemoCell02 -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#deleteprofile./manageprofiles.sh -delete -profileName AppSrv01#出现INSTCONFSUCCESS: Success: The profile no longer exists.#手动删除/opt/IBM/WebSphere/AppServer/profiles和log下AppSrv01DM中添加受管节点,配置hostscd/root/etcvim hosts加入:10.128.104.78 shjt-mtbzh-app110.128.104.79 shjt-mtbzh-app2pingshjt-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.#启动nodecd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin./startNode.sh建立IHS建立clustersAdd numbers-> server在server中加入变量增加属性及内存DMGR增加内存Server增加内存servercom.ibm.websphere.webservices.DisableIBMJAXWSEngine trueserverHttpSessionIdReuse true在应用apply应用改变lib加载顺序修改default_hostHttpserver 80 端口自动跳转到某个应用在目录opt/IBM/HTTPServer/htdocs修改index.html 加入立即调整<meta http-equiv='refresh' content='0;url=framework'/>#删除"$InstallManagerHome"/eclipse/tools/imcluninstallAll "$InstallManagerHome"/eclipse/tools/imcl help"$InstallManagerHome"/eclipse/tools/imcllistInstalledPackages/var/ibm/InstallationManager/uninstall/uninstall#其他ntpdate pwdrebootchmod 777查看端口lsof -i:8080mkdir agentmkdir WAS_ND_V8.5.5_3mkdir WAS_V8.5.5_SUPPLzip -r filename.zip filesdirunzip -q -d agent/ NDTRIAL.agent.installer.linux.gtk.x86_64.zipunzip -q -d was.repo.8550.ndtrial/ was.repo.8550.ndtrial_part1.zipunzip -q -d was.repo.8550.ndtrial/ was.repo.8550.ndtrial_part2.zipunzip -q -d was.repo.8550.ndtrial/ was.repo.8550.ndtrial_part3.zipunzip -q -d WAS_V8.5.5_SUPPL WAS_V8.5.5_SUPPL_1_OF_3.zip unzip -q -d WAS_V8.5.5_SUPPL WAS_V8.5.5_SUPPL_2_OF_3.zip unzip -q -d WAS_V8.5.5_SUPPL WAS_V8.5.5_SUPPL_3_OF_3.zipstandard 9080plateform 9081framework 9082cas 9083。