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

news/2024/7/7 19:43:36

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. 上传到服务器直接安装即可


http://lihuaxi.xjx100.cn/news/633393.html

相关文章

R语言raster包计算多个栅格图像平均值、标准差的方法

本文介绍基于R语言中的raster包&#xff0c;批量读取多张栅格图像&#xff0c;对多个栅格图像计算平均值、标准差&#xff0c;并将所得新的栅格结果图像保存的方法。 在文章R语言raster包批量读取单一或大量栅格图像&#xff08;https://blog.csdn.net/zhebushibiaoshifu/artic…

Linux网络常用命令(ifconfig/ethtool/nmon+n)

Linux网络常用命令ifconfig可设置网络设备的状态&#xff0c;或是显示目前的设置ethtool 是用于查询及设置网卡参数的命令服务端监控工具&#xff1a;nmonnmon可监控的数据类型ifconfig可设置网络设备的状态&#xff0c;或是显示目前的设置 显示linux系统中当前服务器中的全部…

zerotier虚拟网络配置,局域网与外网如同局域网一样访问。

zerotier:可以搭建用于自己的虚拟网络&#xff0c;经过授权连接成功之后彼此都在同一网段&#xff0c;可以像在局域网一样互相访问。 1.创建zerotier账户 2.创建网络&#xff08;Create A Network&#xff09;并记住网络标识&#xff08;NETWORK ID&#xff09; 一、openwrt设…

【bug记录】translateZ在z轴运动会裁去屏幕外的内容,有个边框(安卓异常,ios正常)

问题描述 最近在写公司app的用户年终盘点&#xff0c;首页需要做个动效。大概效果就是很多花或者其他元素从屏幕里往屏幕外扩散的效果。 我立马想到了用transform来做&#xff0c;只要将图片在z轴上进行移动就行&#xff0c;然后再配合filer: blur()加强元素的层叠关系。 但是…

nacos2.x集群版搭建

1. 预备环境准备 请确保是在环境中安装使用: 64 bit OS Linux/Unix/Mac&#xff0c;推荐使用Linux系统。--这里使用linux系统64 bit JDK 1.8&#xff1b;下载. 配置。Maven 3.2.x&#xff1b;下载. 配置。3个或3个以上Nacos节点才能构成集群。官网地址:集群部署说明 2、服务器…

MyBatis面试专题及答案【二】

9、MyBatis 与 Hibernate 有哪些不同&#xff1f;答&#xff1a;1&#xff09;Mybatis 和 hibernate 不同&#xff0c;它不完全是一个 ORM 框架&#xff0c;因为 MyBatis 需要程序员自己编写 Sql 语句&#xff0c;不过 mybatis 可以通过 XML 或注解方式灵活配置要运行的 sql 语…

关于 国产麒麟系统上长时间运行Qt程序.xsession-erros文件占满磁盘导致无法写入 的解决方法

若该文为原创文章&#xff0c;转载请注明原文出处 本文章博客地址&#xff1a;https://hpzwl.blog.csdn.net/article/details/128660728 红胖子(红模仿)的博文大全&#xff1a;开发技术集合&#xff08;包含Qt实用技术、树莓派、三维、OpenCV、OpenGL、ffmpeg、OSG、单片机、软…

常用数据处理方法

后续慢慢补充。 Pandas 以下代码需要&#xff1a; import pandas as pd读取数据 df pd.read_csv(path)得到一个 data_frame对象。 表的大致概况 表头、表尾数据 df.head() # 输出表头5项 df.tail() # 输出表尾5项表大致情况 describe df.describe() # 关于表大致数据表每…