安装WAS9.0,打补丁到9.0.5.9
2021.10.5
#安装WAS9.0,打补丁到9.0.5.9
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1.50 1.22 19% 17919 6% /
/dev/hd2 4.62 2.11 55% 52882 10% /usr
/dev/hd9var 2.50 1.93 23% 4644 2% /var
/dev/hd3 13.12 5.66 57% 5303 1% /tmp
/dev/hd1 5.12 0.33 94% 1609 3% /home
/dev/hd11admin 0.12 0.12 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 4.38 1.45 67% 10354 3% /opt
/dev/livedump 0.25 0.25 1% 4 1% /var/adm/ras/livedump
/dev/softlv 6.00 5.92 2% 51 1% /soft
/dev/testlv 2.00 1.99 1% 7 1% /test01
# ifconfig -a
en0: flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
inet XX.XX.XX.XX netmask 0xffffff00 broadcast 9.200.104.255
tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
chfs -a size=10G /test01
mkdir -p /test01/was_9
mkdir -p /test01/IM
on local mac
scp aix.gtk.ppc_1.8.9004.20190423_2015.zip root@XX.XX.XX.XX:/test01/IM
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:bCUk29Vd9yGeb9wRrQhE2mLiBMatU1H20udgylX3Poc.
Please contact your system administrator.
Add correct host key in /Users/jason_zhao/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/jason_zhao/.ssh/known_hosts:2
ECDSA host key for XX.XX.XX.XX has changed and you have requested strict checking.
Host key verification failed.
lost connection
scp sdk.repo.8035.java8.aix.zip root@XX.XX.XX.XX:/test01/sdk08
from XX.XX.XX.XX
scp Install_Mgr_v1.6.2_AIXPPC_WASv8.5.5.zip XX.XX.XX.XX:/test01/IM
scp com.ibm.cic.agent.offering_1.9.1003.20200730_2125.zip XX.XX.XX.XX:/test01/IM_upgrade
on XX.XX.XX.XX
cd /test01
cd IM
Install_Mgr_v1.6.2_AIXPPC_WASv8.5.5.zip
unzip -d Install_Mgr_v1.6.2_AIXPPC_WASv8.5.5.zip
ksh: unzip: not found.
scp unzip-5.51-1.aix5.1.ppc.rpm XX.XX.XX.XX:/test01/
on XX.XX.XX.XX
rpm -i unzip-5.51-1.aix5.1.ppc.rpm
unzip Install_Mgr_v1.6.2_AIXPPC_WASv8.5.5.zip
./installc
ERROR: You must use "-acceptLicense" command line option to accept the license agreements for package IBMallation Manager.
./installc -acceptLicense
Installed com.ibm.cic.agent_1.6.2000.20130301_2248 to the /opt/IBM/InstallationManager/eclipse directory.
#
on XX.XX.XX.XX
scp was.repo.90501.nd.zip root@XX.XX.XX.XX:/test01/was_9
on 104.235
unzip was.repo.90501.nd.zip
cd /test01/was_9/
chmod -R 777 *
5) 确认可安装产品库。
/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /test01/was_9/repository.config
com.ibm.websphere.ND.v90_9.0.5001.20190828_0616
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 -repositories /test01/was_9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
CRIMA1099E ERROR: The "IBM WebSphere Application Server Network Deployment 9.0.5.1" installation package requires Installation Manager version "1.8.5" or later (internal version tolerance "1.8.5000"). The running Installation Manager is version "1.6.2" (internal version "1.6.2000.20130301_2248").
重新升级Installation Manager(参考命令如下)
./imcl install com.ibm.cic.agent -repositories installation_files/repository.config -preferences offering.service.repositories.areUsed=false
cd /test01/IM_upgrade
unzip com.ibm.cic.agent.offering_1.9.1003.20200730_2125.zip
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.cic.agent -repositories /test01/IM_upgrade/repository.config -preferences offering.service.repositories.areUsed=false
WARNING: Running Installation Manager version 1.6.2 (internal version 1.6.2000.20130301_2248).
WARNING: Found Installation Manager version 1.9.1.3 (internal version 1.9.1003.20200730_2125).
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 -repositories /test01/was_9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
CRIMA1270E ERROR: The IBM WebSphere Application Server Network Deployment package requires the IBM SDK, Java Technology Edition, Version 8 package. Install IBM SDK, Java Technology Edition, Version 8 together with IBM WebSphere Application Server Network Deployment .
Explanation: To function correctly, these packages must be installed together.
User Action: Add the specified package to your installation. If the package is not available, you might need to add repositories.
#
unzip sdk.repo.8035.java8.aix.zip
4) 确认可安装产品库。
/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /test01/sdk08/repository.config
com.ibm.java.jdk.v8_8.0.5035.20190422_0948
安装SDK—8.0
cd /test01/sdk08
chmod -R 777 *
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.java.jdk.v8_8.0.5035.20190422_0948 -repositories /test01/sdk08/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.java.jdk.v8_8.0.5035.20190422_0948 -repositories /test01/sdk08/repository.config -acceptLicense
ERROR: The installation package 'IBM SDK, Java Technology Edition, Version 8' requires components supplied by other packages.
The required components might be supplied by the following installation packages:
Package: Any IBM product edition that supports IBM SDK Java Technology Edition for Installation Manager consult the product documentation
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 com.ibm.java.jdk.v8_8.0.5035.20190422_0948 -repositories /test01/was_9/repository.config,/test01/sdk08/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
CRIMA1179E ERROR: The following errors were generated while installing.
CRIMA1179E ERROR: Available disk space at /opt is insufficient. Total required space is 1.58 GB. Total available space is 1.15 GB.
chfs -a size=10G /opt
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 com.ibm.java.jdk.v8_8.0.5035.20190422_0948 -repositories /test01/was_9/repository.config,/test01/sdk08/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
Installed com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 to the /opt/IBM/WebSphere/AppServer directory.
Installed com.ibm.java.jdk.v8_8.0.5035.20190422_0948 to the /opt/IBM/WebSphere/AppServer directory.
/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
# /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12
/opt/IBM/WebSphere/AppServer/bin/versionInfo.sh--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time October 6, 2021 10:08:20 AM CST
Installation
--------------------------------------------------------------------------------
Product Directory /opt/IBM/WebSphere/AppServer
Version Directory /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /var/ibm/InstallationManager/logs
Product List
--------------------------------------------------------------------------------
JAVA8 installed
ND installed
Installed Product
--------------------------------------------------------------------------------
Name IBM SDK, Java Technology Edition, Version 8
Version 8.0.5.35
ID JAVA8
Build Level pap6480sr5fp35-20190418_01
Build Date 04/18/19
Architecture PPC64
Installed Product
--------------------------------------------------------------------------------
Name IBM WebSphere Application Server Network Deployment
Version 9.0.5.1
ID ND
Build Level f5011934.01
Build Date 8/28/19
Package com.ibm.websphere.ND.v90_9.0.5001.20190828_0616
Architecture PPC64
Installed Features WebSphere Application Server traditional
EJBDeploy tool for pre-EJB 3.0 modules
Embeddable EJB container
Stand-alone thin clients and resource adapters
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
#
#
cd /opt/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -default
INSTCONFSUCCESS: Success: Profile AppSrv01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt for more information about this profile.
# ./startServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 8585386
#
http://XX.XX.XX.XX:9060/ibm/console
##打补丁9.0.5.9
mkdir was_905_FP9
scp 9.0.5-WS-WAS-FP009.zip root@XX.XX.XX.XX:/test01/was_905_FP9
unzip 9.0.5-WS-WAS-FP009.zip
##列出补丁
/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /test01/was_905_FP9/repository.config
com.ibm.websphere.BASE.v90_9.0.5009.20210823_0038
com.ibm.websphere.ILAN.v90_9.0.5009.20210823_0038
com.ibm.websphere.ND.v90_9.0.5009.20210823_0038
com.ibm.websphere.NDDMZ.v90_9.0.5009.20210823_0038
##安装补丁
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5009.20210823_0038 -repositories /test01/was_905_FP9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
ERROR: Running processes have been detected that may interfere with the current operation. Stop all WebSphere and related processes before continue.
#停止WAS进程
cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
#
./stopServer.sh server1
ADMU0116I: Tool information is being logged in file
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/stopServer.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server server1 stop completed.
#重新打补丁
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5009.20210823_0038 -repositories /test01/was_905_FP9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
CRIMA1179E ERROR: The following errors were generated while updating.
CRIMA1179E ERROR: Available disk space at /usr is insufficient. Total required space is 855.16 MB. Total available space is 756.41 MB.
#调整/usr文件系统空间配置
chfs -a size=10G /usr
#重新打补丁
/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5009.20210823_0038 -repositories /test01/was_905_FP9/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense
Updated to com.ibm.websphere.ND.v90_9.0.5009.20210823_0038 in the /opt/IBM/WebSphere/AppServer directory.
# #
# pwd
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12
--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------
Report at date and time October 7, 2021 7:10:39 AM CST
Installation
--------------------------------------------------------------------------------
Product Directory /opt/IBM/WebSphere/AppServer
Version Directory /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory /var/ibm/InstallationManager/logs
Product List
--------------------------------------------------------------------------------
JAVA8 installed
ND installed
Installed Product
--------------------------------------------------------------------------------
Name IBM SDK, Java Technology Edition, Version 8
Version 8.0.5.35
ID JAVA8
Build Level pap6480sr5fp35-20190418_01
Build Date 04/18/19
Architecture PPC64
Installed Product
--------------------------------------------------------------------------------
Name IBM WebSphere Application Server Network Deployment
Version 9.0.5.9
ID ND
Build Level f5092134.01
Build Date 8/23/21
Package com.ibm.websphere.ND.v90_9.0.5009.20210823_0038
Architecture PPC64
Installed Features WebSphere Application Server traditional
EJBDeploy tool for pre-EJB 3.0 modules
Embeddable EJB container
Stand-alone thin clients and resource adapters
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
#
------------------------------------------------------------------------------------------
如果你觉得文章有用,欢迎打赏
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!