一、摘要
二、WAS补丁升级步骤
2.1、对WAS文件进行备份
7 tar -cvf /$bak_dir/was_bak.tar /$was_install_dir/AppServer
2.2、停止AppServer、NodeAgent、Dmgr
- 依次停止所有AppServer、NodeAgent、Dmgr
- 停止AppServer
7 cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
7 ./stopServer.sh $ServerName
- 停止NodeAgent
7 cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
7 ./stopNode.sh
- 停止Dmgr
7 cd /$was_install_dir/AppServer/profiles/$Dmgr/bin
7 ./stopManager.sh
2.3、安装WAS8.5补丁
- 待停止所有Server、NodeAgent、Dmgr后,用IM工具安装WAS8.5.5.12的补丁
7 cd $IM_install_dir/eclipse/tools
- 使用如下命令安装补丁
7 ./imcl install com.ibm.websphere.ND.v85_8.5.5012.20170627_1018 \
7 -nl en,zh_CN -properties cic.selector.nl=zh_CN \
7 -repositories http://10.252.33.245/IBM/fixpack/linux85512 \
7 -installationDirectory $was_install_dir/AppServer \
7 -eclipseLocation $was_install_dir/AppServer \
7 -sP -acceptLicense
- 安装后使用如下命令检测安装结果
7 cd $was_install_dir/AppServer/bin
7 ./versionInfo.sh
2.4、启动Dmgr、NodeAgent和AppServer
- 依次启动Dmgr、NodeAgent、AppServer
- 启动Dmgr
7 cd /$was_install_dir/AppServer/profiles/$Dmgr/bin
7 ./startManager.sh
- 启动NodeAgent
7 cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
7 ./startNode.sh
- 启动AppServer
7 cd /$was_install_dir/AppServer/profiles/$NodeAgent/bin
7 ./startServer.sh $ServerName
三、回退步骤
如升级后出现异常,可以利用IM工具卸载WAS8.5.5.12实现回退。
7 cd $IM_install_dir/eclipse/tools
7 ./imcl rollback com.ibm.websphere.ND.v85_8.5.5008.20151112_0939 $was_install_dir/AppServer -installationDirectory $was_install_dir/AppServer -showProgress -acceptLicense