1、WAS集群安装手册样本一、系统环境1、安装系统环境:Centos6.4_64。2、安装前置环境:将如下内容作为SHELL脚本内容写入某个文献并赋予执行权限,内容中各别途径依照实际环境修改即可。#!/bin/bashmkdir /zyimv /etc/yum.repos.d/CentOS-* /zyimv /zyi/CentOS-Media.repo /etc/yum.repos.d/cat /etc/yum.repos.d/CentOS-Media.repo /sys/kernel/mm/transparent_hugepage/enabled修改配备文献 vim /etc/sysctl.co
2、nf,增长如下内容vm.overcommit_memory = 1net.core.somaxconn = 65535net.core.rmem_default = 256960net.core.rmem_max = 513920net.core.wmem_default = 256960net.core.wmem_max = 513920dev_max_backlog = 4096net.core.optmem_max = 81920net.ipv4.tcp_mem = 131072 262144 524288net.ipv4.tcp_rmem = 8760 256960 4088000ne
3、t.ipv4.tcp_wmem = 8760 256960 4088000net.ipv4.tcp_keepalive_time = 1800net.ipv4.tcp_keepalive_intvl = 30net.ipv4.tcp_keepalive_probes = 3net.ipv4.tcp_sack = 1net.ipv4.tcp_fack = 1net.ipv4.tcp_timestamps = 0net.ipv4.tcp_window_scaling = 1net.ipv4.tcp_syncookies = 1net.ipv4.tcp_tw_reuse = 1net.ipv4.tc
4、p_tw_recycle = 1net.ipv4.tcp_fin_timeout = 30net.ipv4.ip_local_port_range = 1024 65000net.ipv4.tcp_max_syn_backlog = 40964、修改计算机名及hosts文献vim /etc/sysconfig/networkvim /etc/hosts二、布置安装一、安装准备条件准备环境: Centos6.4_x64位系统,需要安装桌面环境。安装依赖包:使用光驱或者ISO挂载安装盘CentOS-6.4-x86_64-bin-DVD1.iso,并执行附件中 install.sh 脚本安装包:ag
5、ent.installer.linux.gtk.x86_64_1.8.3000.0606_0047.zip WASND_v8.5.5_1of3.zipWASND_v8.5.5_2of3.zipWASND_v8.5.5_3of3.zip补丁包:8.5.5-WS-WAS-FP0000009-part1.zip8.5.5-WS-WAS-FP0000009-part2.zipJDK包WASJDK7.tar.gz二、开始布置安装1、一方面挂载系统安装盘2、新建文献,将脚本内容粘贴到文献,赋予执行权限并且执行。3、安装IBM软件安装管理工具 解压安装文献到某个目录解压完毕进入insmana,执行./ins
6、tall 安装“安装管理工具”安装WAS,一方面解压WAS3个安装包到某个目录然后通过IBM安装工具进行安装此步选取“None”续:补丁安装,此步是后期布置应用过程中发现存在问题,IBM售后解决。补丁包:8.5.5.0-ws-wasprod-ifpm90932.zip将补丁包解压到某个途径,打开Install Manager 管理工具进行升级,一方面配备更新库途径。此步注意将下方“Search service repositories during installation and updates.”勾选去掉。选取解压补丁包途径点击update,最后Finish即可。三、配备集群另:下文需要机
7、器名字,分别命名服务器甲乙为linuxwas1 linuxwas22、在服务器甲(linuxwas1)创立dmgr概要文献进入安装目录:/opt/IBM/WebSphere/AppServer/bin/创立dmgr命令:./manageprofiles.sh -create -profileName Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr/3 、启动dmgr,进入控制台/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/startServer.s
8、h Dmgr01http:/ip:9060/admin/console4、重启dmgr/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/stopServer.sh Dmgr01/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/startServer.sh Dmgr015、服务器甲(linuxwas1)创立概要文献FNCPE01./manageprofiles.sh -create -profileName FNCPE01 -templatePath /opt/IBM/WebSphere/AppSer
9、ver/profileTemplates/managed6、服务器甲把FNCPE01添加到dmgr管理:/opt/IBM/WebSphere/AppServer/profiles/FNCPE01/bin/addNode.sh linuxwas1 88797、创立集群CPECluster:注:只选取当前一种节点到此为止,创立CPECluster成功。8、在服务器乙(linuxwas2)创立概要文献 FNCPE02/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName FNCPE02 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed9、将FNCPE02添加到服务器甲(linuxwas1)dmgr管理:/opt/IBM/WebSphere/AppServer/profiles/FNCPE02/bin/addNode.sh linuxwas1 887910、为CPECluster添加成员:选取服务器乙(linuxwas2)节点 集群成员完毕添加。 11、重启linuxwas1和linuxwas2WebSphere CPECluster当前有两位成员。可以通过 dmgr01管理界面看到。
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1