[GMCC] WAS8补丁升级方案
一、摘要
二、WAS补丁升级步骤
2.1、对WAS文件进行备份
tar -cvf /$bak_dir/was_bak.tar /$was_install_dir/AppServer
2.2、停止AppServer、NodeAgent、Dmgr
☑ 依次停止所有AppServer、NodeAgent、Dmgr
nodeselector☑ 停止AppServer
cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
./stopServer.sh $ServerName
☑ 停止NodeAgent
cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
./stopNode.sh
☑ 停止Dmgr
cd /$was_install_dir/AppServer/profiles/$Dmgr/bin
./stopManager.sh
2.3、安装WAS8.5补丁
☑ 待停止所有Server、NodeAgent、Dmgr后,用IM工具安装WAS8.5.5.12的补丁
cd $IM_install_dir/eclipse/tools
☑ 使用如下命令安装补丁
./imcl install com.ibm.websphere.ND.v85_8.5.5012.20170627_1018 \
-nl en,zh_CN -properties cic.selector.nl=zh_CN \
-repositories 10.252.33.245/IBM/fixpack/linux85512 \
-installationDirectory $was_install_dir/AppServer \
-eclipseLocation $was_install_dir/AppServer \
-sP -acceptLicense
☑ 安装后使用如下命令检测安装结果
cd $was_install_dir/AppServer/bin
./versionInfo.sh
2.4、启动Dmgr、NodeAgent和AppServer
☑ 依次启动Dmgr、NodeAgent、AppServer
☑ 启动Dmgr
cd /$was_install_dir/AppServer/profiles/$Dmgr/bin
./startManager.sh
☑ 启动NodeAgent
cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
./startNode.sh
☑ 启动AppServer
cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
./startServer.sh $ServerName
三、回退步骤
如升级后出现异常,可以利用IM工具卸载WAS8.5.5.12实现回退。
cd $IM_install_dir/eclipse/tools
./imcl rollback com.ibm.websphere.ND.v85_8.5.5008.20151112_0939 $was_install_dir/AppServer -installationDirectory $was_install_dir/AppServer -showProgress -acceptLicense
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论