0、拷贝解压ifph52925升级包
通过FTP工具,把压缩包传到服务器,
unzip -d test01 9.0.0.0-ws-was-ifph52925.zip
1、停掉was 服务
ps -ef |grep was
kill -9 pid(上面查到was对应的pid)
或者
---- 停止AppSrv01(地址根据自己实际AppSrv01地址)
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh server1
---- 停止AppSrv02
/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/stopServer.sh server1
2、切换至root用户
su -root
3、进入到imcl目录下:
cd /opt/IBM/InstallationManager/eclipse/tools
4.查看可用升级包
./imcl listAvailableFixes com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 -repositories /home/was/workspace/9.0.0.0-ws-was-ifph52925
--- /home/was/workspace/9.0.0.0-ws-was-ifph52925 为升级包解压路径
会看到如下图所示,可用升级包:
5、升级
imcl install 9.0.0.0-WS-WAS-IFPH52925_9.0.0.20230320_1005 -repositories /test01/was_905_FP9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
---- 解压升级包地址 /test01/was_905_FP9/repository.config,根据实际地址替换
升级成功会有对应提示。
6.重启Was,退出root用户,启动was服务
---- 启动AppSrv01(地址根据自己实际AppSrv01地址)
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1
---- 启动AppSrv02
/opt/IBM/WebSphere/AppServer/profiles/AppSrv02/bin/startServer.sh server1
启动成功,即升级成功