WAS JDK升级实施方案

WAS各个组件(jdk、WAS SERVER、IHS、WAS SDK等)版本的升级都使用updateInstaller来进行,且updateInstaler的版本要比was的版本或补丁的版本要高,否则无法打补丁。

1.1.1.1 介质下载
 最新补丁下载地址:

WebSphere Application Server V6.0.2 Fix Pack 33 for AIX platforms

   最新的WAS JDK版本补丁下载:

32-bit Power PC Java SDK

2/13/2009

US English

86576561

FC

FTP

DD

 IBM Update Installer 7.0 下载:

32-bit Power PC (tar.gz)

12/08/2008

US English

111405814

FTP

DD

注意:

要区分32位,还是64位下载,检查方法是在server1SystemOut.log的第四行,检查 Java version中,是否有ppc64等字样.

                 升级JDK实施步骤

  updateInstaller 更新

1)、如果服务器上装有旧版本的updateInstaller 需要您先卸载旧版本。

进入Update_Installer_root/UpdateInstaller/uninstall directory

执行:./uninstall.sh

 2)、最新版本IBM Update Installer 7.0安装

      A、可以使用图形界面,或静默安装(以下是静默安装)

1)、./install -options "response_file_name" -silent

需要修改responsefile.updiinstaller.txt 中的参数,

2)、编辑文件。
-OPT silentInstallLicenseAcceptance="true"
-OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"

3)、执行下述命令。
   ./install -silent -options " response_file_name "

4)、察看install的日志。
  /opt/IBM/WebSphere/UpdateInstaller/logs/install/log.txt

(Aug 19, 2008 6:41:20 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Installing component: nif.componentmap.jre, percent complete: 97%
(Aug 19, 2008 6:41:20 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Installing component: package.java.jre, percent complete: 97%
(Aug 19, 2008 6:41:22 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Installing component: package.java.jre, percent complete: 98%
(Aug 19, 2008 6:41:24 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Installing component: package.java.jre, percent complete: 99%
(Aug 19, 2008 6:41:25 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Installing component: package.java.jre, percent complete: 100%
(Aug 19, 2008 6:41:26 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: 90SCreateEmptyUPDIDirs, percent complete: 100%
(Aug 19, 2008 6:41:26 PM), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(Aug 19, 2008 6:41:26 PM), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Aug 19, 2008 6:41:26 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1,INSTCONFSUCCESS

 

                 B、要求UpdateInstallerAppServer同一层目录,

/opt/IBM/WebSphere/AppServer

/opt/IBM/WebSphere/UpdateInstaller

安装JDK 最新版本补丁

1)、执行AppServer下的 . /opt/IBM/WebSphere/AppServer/bin/setupCmdLine.sh

注意. /间有空格

 

2)、安装JDK最新补丁。(以下两种方式进行安装)

      A、图形界面下安装:

          ${UPD_INST_HOME}/bin目录下,启动UpdateInstaller

#./update.sh

弹出对话框,开始安装WAS JDK补丁。

       B、静默安装

         1)、进入/washome/WebSphere/UpdateInstaller/responsefiles

         2)、编辑文件install.txt

-W maintenance.package=/tmp/6.0.2-WS-WASJavaSDK-AixPPC32-FP00000033.pak

-OPT rootUserHasRunSlibcleanCommandSuccessfully="true"

-W product.location=/opt/IBM/WebSphere/AppServer

-W update.type="install"

3)、执行下面命令

./update.sh -silent -options responsefileinstall.txt的绝对路径)

3)、验证安装

执行下面命令,验证升级是否成功。

进入/opt/IBM/WebSphere/AppServer/java/bin

执行./java –version可以查看最新的版本。

http://wangsuiri.blogbus.com/logs/35410883.html

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14710393/viewspace-754916/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14710393/viewspace-754916/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值