《WAS集群安装手册(6页).doc》由会员分享,可在线阅读,更多相关《WAS集群安装手册(6页).doc(6页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、-WAS集群安装手册-第 6 页一、系统环境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/sysc
2、tl.conf,增加以下内容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 4088
3、000net.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.ip
4、v4.tcp_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 脚本
5、安装包:agent.installer.linux.gtk.x86_64_1.8.3000.20150606_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软件安装管理工具 解压安装文件到某个目录解压完成进入insman
6、a,执行./install 安装“安装管理工具”安装WAS,首先解压WAS的3个安装包到某个目录然后通过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/st
8、artServer.sh 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/WebSp
9、here/AppServer/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和linuxwas2的WebSphere CPECluster现在有两位成员。可以通过 dmgr01管理界面看到。
限制150内