WAS集群安装手册样本.docx

上传人:b****6 文档编号:5152215 上传时间:2022-12-13 格式:DOCX 页数:19 大小:5.17MB
下载 相关 举报
WAS集群安装手册样本.docx_第1页
第1页 / 共19页
WAS集群安装手册样本.docx_第2页
第2页 / 共19页
WAS集群安装手册样本.docx_第3页
第3页 / 共19页
WAS集群安装手册样本.docx_第4页
第4页 / 共19页
WAS集群安装手册样本.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

WAS集群安装手册样本.docx

《WAS集群安装手册样本.docx》由会员分享,可在线阅读,更多相关《WAS集群安装手册样本.docx(19页珍藏版)》请在冰豆网上搜索。

WAS集群安装手册样本.docx

WAS集群安装手册样本

一、系统环境

1、安装系统环境:

Centos6.4_64。

2、安装前置环境:

将如下内容作为SHELL脚本内容写入某个文献并赋予执行权限,内容中各别途径依照实际环境修改即可。

#!

/bin/bash

mkdir/zyi

mv/etc/yum.repos.d/CentOS-*/zyi

mv/zyi/CentOS-Media.repo/etc/yum.repos.d/

cat>/etc/yum.repos.d/CentOS-Media.repo<

[c6-media]

baseurl=file:

///media/

gpgcheck=1

enabled=1

gpgkey=file:

///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

EOF

rpm--import/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

mount-oloop/home/chp/linux/CentOS-6.4-x86_64-bin-DVD1.iso/media/

cd/media/Packages

yum-yinstallcompat-libstdc++-*libXp-1.0.0-15.1.el6.*libXft-2.3.1-2.el6.*libXtst-1.2.1-2.el6.*gtk2-2.18.9-12.el6.*ksh-0621-19.el6.x86_64.rpmPackageKit-glib-*PackageKit-gtk-module*gtk2-engines-*libcanberra-gtk2*

3、优化系统内核

修改配备文献vim/etc/profiles,增长如下内容

ulimit-SHn655350

echonever>/sys/kernel/mm/transparent_hugepage/enabled

修改配备文献vim/etc/sysctl.conf,增长如下内容

vm.overcommit_memory=1

net.core.somaxconn=65535

net.core.rmem_default=256960

net.core.rmem_max=513920

net.core.wmem_default=256960

net.core.wmem_max=513920

dev_max_backlog=4096

net.core.optmem_max=81920

net.ipv4.tcp_mem=131072 262144 524288

net.ipv4.tcp_rmem=8760 256960 4088000

net.ipv4.tcp_wmem=8760 256960 4088000

net.ipv4.tcp_keepalive_time=1800

net.ipv4.tcp_keepalive_intvl=30

net.ipv4.tcp_keepalive_probes=3

net.ipv4.tcp_sack=1

net.ipv4.tcp_fack=1

net.ipv4.tcp_timestamps=0

net.ipv4.tcp_window_scaling=1

net.ipv4.tcp_syncookies=1

net.ipv4.tcp_tw_reuse=1

net.ipv4.tcp_tw_recycle=1

net.ipv4.tcp_fin_timeout=30

net.ipv4.ip_local_port_range=1024 65000

net.ipv4.tcp_max_syn_backlog=4096

4、修改计算机名及hosts文献

vim/etc/sysconfig/network

vim/etc/hosts

二、布置安装

一、安装准备条件

准备环境:

Centos6.4_x64位系统,需要安装桌面环境。

安装依赖包:

使用光驱或者ISO挂载安装盘CentOS-6.4-x86_64-bin-DVD1.iso,并执行附件中install.sh脚本

安装包:

agent.installer.linux.gtk.x86_64_1.8.3000.0606_0047.zip

WASND_v8.5.5_1of3.zip

WASND_v8.5.5_2of3.zip

WASND_v8.5.5_3of3.zip

补丁包:

8.5.5-WS-WAS-FP0000009-part1.zip

8.5.5-WS-WAS-FP0000009-part2.zip

JDK包

WASJDK7.tar.gz

二、开始布置安装

1、一方面挂载系统安装盘

2、新建文献,将脚本内容粘贴到文献,赋予执行权限并且执行。

3、安装IBM软件安装管理工具

解压安装文献到某个目录

解压完毕进入insmana,执行./install安装“安装管理工具”

安装WAS,一方面解压WAS3个安装包到某个目录

然后通过IBM安装工具进行安装

此步选取“None”

续:

补丁安装,此步是后期布置应用过程中发现存在问题,IBM售后解决。

补丁包:

8.5.5.0-ws-wasprod-ifpm90932.zip

将补丁包解压到某个途径,打开InstallManager管理工具进行升级,一方面配备更新库途径。

此步注意将下方“Searchservicerepositoriesduringinstallationandupdates.”勾选去掉。

选取解压补丁包途径

点击update,最后Finish即可。

三、配备集群

另:

下文需要机器名字,分别命名服务器甲乙为linuxwas1linuxwas2

2、在服务器甲(linuxwas1)创立dmgr概要文献

进入安装目录:

/opt/IBM/WebSphere/AppServer/bin/

创立dmgr命令:

./manageprofiles.sh-create-profileNameDmgr01-templatePath/opt/IBM/WebSphere/AppServer/profileTemplates/dmgr/

3、启动dmgr,进入控制台

/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/startServer.shDmgr01

http:

//ip:

9060/admin/console

4、重启dmgr

/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/stopServer.shDmgr01

/opt/IBM/Websphere/AppServer/profiles/Dmgr01/bin/startServer.shDmgr01

5、服务器甲(linuxwas1)创立概要文献FNCPE01

./manageprofiles.sh-create-profileNameFNCPE01-templatePath/opt/IBM/WebSphere/AppServer/profileTemplates/managed

6、服务器甲把FNCPE01添加到dmgr管理:

/opt/IBM/WebSphere/AppServer/profiles/FNCPE01/bin/addNode.shlinuxwas18879

7、创立集群CPECluster:

注:

只选取当前一种节点

到此为止,创立CPECluster成功。

8、在服务器乙(linuxwas2)创立概要文献FNCPE02

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh-create-profileNameFNCPE02-templatePath/opt/IBM/WebSphere/AppServer/profileTemplates/managed

9、将FNCPE02添加到服务器甲(linuxwas1)dmgr管理:

/opt/IBM/WebSphere/AppServer/profiles/FNCPE02/bin/addNode.shlinuxwas18879

10、为CPECluster添加成员:

选取服务器乙(linuxwas2)节点

集群成员完毕添加。

11、重启linuxwas1和linuxwas2WebSphereCPECluster当前有两位成员。

可以通过

dmgr01管理界面看到。

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 高等教育 > 艺术

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1