1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > linux部署was找不到8879端口 WAS8.0与IHS集群安装与配置指导手册

linux部署was找不到8879端口 WAS8.0与IHS集群安装与配置指导手册

时间:2018-11-11 11:25:11

相关推荐

linux部署was找不到8879端口 WAS8.0与IHS集群安装与配置指导手册

一、was集群架构设计

本文实验环境:使用了4个虚拟机,其中1个虚机36.0.8.120为管理节点dmgr01,两个受管节点was01与was02,一个IHS服务器用来分发用户过来的请求到受管节点。

二、安装准备工作

1、配置yum源到系统安装光盘

#首先挂载光盘:

mkdir -p /mnt/cdrom

mount /dev/cdrom /mnt/cdrom

#其次配置yum源

#cd /etc/yum.repos.d

#vi local.repo 添加如下内容:

[Local]

name=Local

baseurl=file:///mnt/cdrom

enable=1

gpcheck=1

gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release

2、安装配置基础运行环境

yum -y install compat-libstdc++

yum -y install compat-db

yum -y install ksh

yum -y install gtk2

yum -y install gtk2-engines

yum -y install libXp

yum -y install libXmu

yum -y install libXtst

yum -y install pam

yum -y install rpm-build

yum -y install elfutils

yum -y install elfutils-libs

yum -y install libXft

yum -y install libstdc++

yum -y install compat-db.i686

yum -y install gtk2.i686

yum -y install gtk2-engines.i686

yum -y install libXp.i686

yum -y install libXmu.i686

yum -y install libXtst.i686

yum -y install pam.i686

yum -y install elfutils-libs.i686

yum -y install libXft.i686

yum -y install libstdc++.i686

yum -y install elfutils-devel.i686

3、停止iptables、selinux服务

# service iptables stop

# service ip6tables stop

# chkconfig iptables off

# chkconfig ip6tables off

#修改selinux为disabled

setenforce 0

#vi /etc/selinux/config

将SELINUX=enforcing改为SELINUX=disabled

三、安装WAS

1、设置xmanager

配置图形渲染ip:

export DISPLAY=36.0.8.57:0.0

2、运行xclock命令

显示小时钟插件代表配置正确

3、安装IM

cd /soft/imforlinux

jar -xvf *

chmod u+x install

chmod -R 755 ./*

./install

按照向导安装即可

4、安装was软件

启动IM

/opt/IBM/InstallationManager/eclipse

./launcher

解压was安装介质

cd /soft/was_ins

jar -xvf CZM9KML.zip

jar -xvf CZM9LML.zip

jar -xvf CZM9MML.zip

jar -xvf CZVG4ML.zip

5、为was打补丁同步骤4

6、以dmgr01克隆虚拟机webapp1和webapp2

7、在dmgr01上创建管理节点dmgr01

cd /app/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -create -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/dmgr -profileName dmgr01 -profilePath /app/IBM/WebSphere/AppServer/profiles/dmgr01

8、在webapp1和webapp2上创建node节点

cd /app/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -create -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/managed -profileName webapp01 -profilePath /app/IBM/WebSphere/AppServer/profiles/webapp01

./manageprofiles.sh -create -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/managed -profileName webapp02 -profilePath /app/IBM/WebSphere/AppServer/profiles/webapp02

./manageprofiles.sh -create -templatePath /app/IBM/WebSphere/AppServer/profileTemplates/managed -profileName webapp03 -profilePath /app/IBM/WebSphere/AppServer/profiles/webapp03

9、添加受管理节点至管理节点

首先检查各节点是否已经创建

#./manageprofiles.sh -listProfiles

在任意受管理节点执行如下命令:

./addNode.sh dmgr01 8879

四、配置集群及IHS服务

1、登录console

通过console口appserver集群向导配置app集群

2、安装IHS

jar -xvf CZM91ML.zip;jar -xvf CZM94ML.zip;jar -xvf CZM95ML.zip;jar -xvf CZXR9ML.zip

12、确保已经安装IM

在安装ihs和plugin时如果将ihs和plugin单独部署请务必安装toolbox,该工具为配置plugin的工具

3、使用Toolbox配置plugin

cd /ihs/IBM/WebSphere/Toolbox/WCT

sh wct.sh 弹出图形化界面进行plugin配置

4、按照向导配置完成后,拷贝刚刚配置完成的文件到dmgr

cd /ihs/IBM/WebSphere/Plugins/bin

scp configurewebserver1.sh

在dmgr01上执行

./configurewebserver1.sh

此时通过was的console口登录后刷新界面点击web服务器即可看到我们刚才添加的ihs服务器了~

5、重新配置IHS管理员密码

cd /ihs/IBM/HTTPServer/bin

./htpasswd -cm ../conf/admin.passwd ihsadmin

6、重新启动admin server

./adminctl start

7、使用was的console口管理ihs的启停,生成插件、传播插件

8、本次我们搭建的环境为集群所以还必须登录was的console口后设置:更新全局 Web 服务器插件配置并负责更新后的配置文件到ihs服务器

scp /app/IBM/WebSphere/AppServer/profiles/dmgr01/config/cells/plugin-cfg.xml

阅读(9742) | 评论(0) | 转发(0) |

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。