WebSphere8 批量安装和制作介质服务器

WAS 8.5 介质准备

1、安装install manager

2、安装IBM Packaging Utility

unzip pu.offering.disk.linux_1.5.3000.20120531_2025.zip

cd disk_linux/InstallerImage_linux

./consoleinst.sh

跟着向导安装。

3、安装PU

mkdir pu

cd pu

unzip ../pu_1.5.3.zip

./imcl install com.ibm.cic.packagingUtility -repositories /software/pu -acceptLicense

1 精简安装包

只抽取自己需要的安装包,以及合适的安装平台,整合补丁。加快安装的速度。

1 准备原始介质

1)

mkdir /softw/WAS_ND_V8.5

cd /softw/WAS_ND_V8.5

unzip ../WAS_ND_V8.5_1_OF_3.zip

unzip ../WAS_ND_V8.5_2_OF_3.zip

unzip ../WAS_ND_V8.5_3_OF_3.zip

2)

mkdir /softwart/WS_SDK_JAVA_TEV7.0/

cd /softwart/WS_SDK_JAVA_TEV7.0/

unzip ../WS_SDK_JAVA_TEV7.0_1OF3_WAS_8.5.zip

unzip ../WS_SDK_JAVA_TEV7.0_2OF3_WAS_8.5.zip

unzip ../WS_SDK_JAVA_TEV7.0_3OF3_WAS_8.5.zip

3)

mkdir /softwart/WAS_V85_SUPPL

cd /softwart/WAS_V85_SUPPL

unzip ../WAS_V85_SUPPL_1_OF_3.zip

unzip ../WAS_V85_SUPPL_2_OF_3.zip

unzip ../WAS_V85_SUPPL_3_OF_3.zip

4)

mkdir /softwart/WAS85JDK7FP2

cd /softwart/WAS85JDK7FP2

unzip ../7.0.4.0-WS-IBMWASJAVA-part1.zip

unzip ../7.0.4.0-WS-IBMWASJAVA-part2.zip

5)

mkdir /softwart/WAS85FP2

cd /softwart/WAS85FP2

unzip ../8.5.0-WS-WAS-FP0000002-part1.zip

unzip ../8.5.0-WS-WAS-FP0000002-part2.zip

6)

mkdir /softwart/IHS85FP2

cd /softwart/IHS85FP2

unzip ../8.5.0-WS-WASSupplements-FP0000002-part1.zip

unzip ../8.5.0-WS-WASSupplements-FP0000002-part2.zip

2抽取需要的介质:

2.1抽取介质的命令:

./PUCL copy packageID_version -repositories source_repository -platform os=os,arch=arch -target destination_repository –acceptLicense

2.2抽取方法:

1)先用linstall manager查出packageID_version

./imcl listAvailablePackages -repositories /software/WAS_ND_V8.5

com.ibm.websphere.ND.v85_8.5.0.20120501_1108

2)然后使用packaging utility抽取到目录

./PUCL copy com.ibm.websphere.ND.v85_8.5.0.20120501_1108 -repositories /software/WAS_ND_V8.5 -target /IBM/WASND8.5  -acceptLicense

2.3

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.ND.v85_8.5.0.20120501_1108 -repositories /software/WAS_ND_V8.5 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64  -acceptLicense;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.IHS.v85_8.5.0.20120501_1108 -repositories /software/WAS_V85_SUPPL -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.PLG.v85_8.5.0.20120501_1108 -repositories /software/WAS_V85_SUPPL -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539 -repositories /software/WS_SDK_JAVA_TEV7.0 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.ND.v85_8.5.2.20130327_1831 -repositories /software/WAS85FP2 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.IHS.v85_8.5.2.20130327_1831 -repositories /software/IHS85FP2 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.PLG.v85_8.5.2.20130327_1831 -repositories /software/IHS85FP2 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

[root@CNTLXC0005 PackagingUtility]# ./PUCL copy com.ibm.websphere.IBMJAVA.v70_7.0.4000.20130319_1844 -repositories /software/WAS85JDK7FP2 -platform os=aix,arch=ppc64 -target /software/WS8.5aix64 -acceptLicense ;

The operation completed successfully.

检查软件包是否完整:

[root@CNTLXC0005 tools]# ./imcl listAvailablePackages -repositories /software/WS8.5aix64

com.ibm.websphere.IBMJAVA.v70_7.0.1000.20120424_1539

com.ibm.websphere.IBMJAVA.v70_7.0.4000.20130319_1844

com.ibm.websphere.IHS.v85_8.5.0.20120501_1108

com.ibm.websphere.IHS.v85_8.5.2.20130327_1831

com.ibm.websphere.ND.v85_8.5.0.20120501_1108

com.ibm.websphere.ND.v85_8.5.2.20130327_1831

com.ibm.websphere.PLG.v85_8.5.0.20120501_1108

com.ibm.websphere.PLG.v85_8.5.2.20130327_1831

把/software/WS8.5aix6打包

cd /software

tar -cvf WS8.5aix64.tar WS8.5aix64

配置http或ftp 介质服务器

直接把在ppa帐号下载的介质解压是无法直接放在http或者FTP上安装。因为一下原因:

Repositories shipped with WSAS install media are split in multiple zip file due to size issues. When extracted to single directory they work  fine as local repositories.But IM cannot serve split repositories  (disk1, disk2) using IM. Repositories downloaded from IBM which are  split into multiple disks cannot be served from a Web or FTP server . You need to use Packaging utility to merge these repositories into  single repository and then server it via FTP or WebServer.  Repositories generated or combined using the IBM Packaging Utility are made suitable for being served from Web or FTP Servers.  

The IBM Packaging Utility is a free companion tool to Installation  Manager  

     IBM Packaging Utility and IBM Installation Manager can be used  independently of each other

     IBM Packaging Utility capabilities:  

         Generate a new repository containing one or more product  repositories  

         Delete packages from an existing repository, such as unneeded fix pack levels 

         Combine a split repository into a single repository (important for servers) 

         Produces a local repository at as output                                                                        

Packaging Utility processes these kinds of repositories so they can be consumed by IM when downloading repositories from server. Repositories generated using IBM Packaging Utility are always full installation repositories, capable of installing a product from scratch. Generated  enterprise repository can have fix pack included and that repository is capable of installing product from scratch,automatically updated to that fix pack level. Same repository can upgrade an existing product installation to that fix pack level                                    

                                                                       

Packaging utility :                                                    

Packaging Utility, Version 1.6              

&myns=swgrat&mynp=OCSSDV2W&mync=R                                      

                                                                       

Please review following WSTE                                           

Webcast replay: Managing Repositories for Installation of WebSphere Application Server V8              

                                                                       

1、解压原始软件包

2、使用PU处理安装包:

./PUCL copy <package> –repositories <source repository URLs> -target <target repository URL>

例如:

./PUCL copy com.ibm.websphere.APPCLIENT.v85_8.5.0.20120501_1108  -repositories /software/WAS_V85_SUPPL -target /software/WAS8.5SUPPL -acceptLicense ;

./PUCL copy com.ibm.websphere.IHS.v85_8.5.0.20120501_1108        -repositories /software/WAS_V85_SUPPL -target /software/WAS8.5SUPPL -acceptLicense ;

./PUCL copy com.ibm.websphere.PLG.v85_8.5.0.20120501_1108        -repositories /software/WAS_V85_SUPPL -target /software/WAS8.5SUPPL -acceptLicense ;

./PUCL copy com.ibm.websphere.PLUGCLIENT.v85_8.5.0.20120501_1108 -repositories /software/WAS_V85_SUPPL -target /software/WAS8.5SUPPL -acceptLicense ;

./PUCL copy com.ibm.websphere.WCT.v85_8.5.0.20120501_1108        -repositories /software/WAS_V85_SUPPL -target /software/WAS8.5SUPPL -acceptLicense ;

3、配置apache

这里把介质都放在独立的文件系统/software,把software上下文件重定向到目录里面。

vi /etc/httpd/conf/httpd.conf

在最后增加以下代码

Alias /software "/software"

<Directory "/software">

AllowOverride None

</Directory>

4、在install manager测试http服务器

./imcl listAvailablePackages -repositories http://10.143.17.148/software/WS8.5JAVA7

./imcl listAvailablePackages -repositories http://10.143.17.148/software/WASND8.5

./imcl listAvailablePackages -repositories http://10.143.17.148/software/WAS8.5SUPPL

5、修改响应文件的:

<repository location='http://10.143.17.148/software/WAS8.5SUPPL'/>

6、批量安装

部署好之前的准备工作,批量安装大量的was 服务器变得很简单。

安装好

./imcl -acceptLicense -showProgress  input /software/IHS.xml -log /software/IHS.xml_log.xml

./imcl -acceptLicense -showProgress -updateAll -repositories http://10.143.17.148/software/ihs85fp02 ;

./imcl -acceptLicense -showProgress -updateAll -repositories http://10.143.17.148/software/was85jdk7fp02 ;

批量定制安装install manager

  1. 运行consoleinst.sh,录制响应文件。
  2. 把响应文件替换原来介质里面的install.xml
  3. 上传到服务器直接安装即可

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值