was6静默式安装与打补丁过程
一、上传介质,升级包,升级工具到服务器某个目录.
用等Ftp客户端将Was6.0.2安装介质,UpdateInstall7,Was6.0.2.29补丁包上传到服务器某个目录,上传过程这里略。
二、解压WAS6安装介质,
Gzipd –d WASND_6.0.2_AIX_64_C846JML.tar.gz
Tar xvf WASND_6.0.2_AIX_64_C846JML.tar
三、编辑WAS6静默式安装脚本。
分别编辑was6.txt was6dmgr.txt文件,根据实际环境来编辑。
Cp responsefile.nd.txt was6.txt
Cp responsefile.pct.NDdmgrProfile.txt was6dmgr.txt
Vi was6.txt
-W silentInstallLicenseAcceptance.value=”true”
-P wasProductBean.installLocation=”/opt/IBM/WebSphere/AppServer”
-P samplesProductFeatureBean.active=”true”
-P javadocsProductFeatureBean.active=”true”
-W ndsummarypanelInstallWizardBean.launchPCT=”true”
-W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=”/setup/wasset/was/WAS/was6dmgr.txt”
注意:/setup/wasset/was/WAS 是was6.0.2软件解压目录
Vi was6dmgr.txt
-W profilenamepanelInstallWizardBean.profileName=”Dmgr01″
-W profilenamepanelInstallWizardBean.isDefault=”true”
-P installLocation=”/opt/IBM/WebSphere/AppServer/profiles/Dmgr01″
-W nodehostandcellnamepanelInstallWizardBean.nodeName=”wasDmNode01″
-W nodehostandcellnamepanelInstallWizardBean.hostName=”aix01″ #这里aix01是机器hostname
-W nodehostandcellnamepanelInstallWizardBean.cellName=”was6Cell01″
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost=”9060″
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost_secure=”9043″
-W pctdmgrprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS=”9809″
-W pctdmgrprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS=”8879″
-W pctdmgrprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=”9404″
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=”9406″
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=”9405″
-W pctdmgrprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS=”9101″
-W pctdmgrprofileportspanelInstallWizardBean.CELL_DISCOVERY_ADDRESS=”7277″
-W pctdmgrprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS=”9352″
注:以上端口要根据实际情况来填,考虑到机房现场客户的机器都是一些布暑过其它应用的机器。所以可能已经装有其它版本的was,所以,最好之前运行netstat –na | grep listen 来看看以上的端口是否已经给占用。
-W winservicepanelInstallWizardBean.winServiceQuery=”true”
-W winservicepanelInstallWizardBean.accountType=”localsystem”
-W winservicepanelInstallWizardBean.userName=”wasadmin”
-W winservicepanelInstallWizardBean.password=”wasadmin”
-W winservicepanelInstallWizardBean.startupType=”manual”
-W profiletypepanelInstallWizardBean.selection=”dmgr”
四、执行was6安装脚本
./install -options “was6.txt ” -silent
五、解压安装升级工具
Gzip –d 7.0.0.9-WS-UPDI-AixPPC64_52.tar.gz
Tar xvf 7.0.0.9-WS-UPDI-AixPPC64_52.tar
六、静默式安装升级工具
cd UpdateInstaller
cp responsefile.updiinstaller.txt was7update.txt
vi was7update
-OPT silentInstallLicenseAcceptance=”true”
-OPT installLocation=”/opt/IBM/WebSphere/UpdateInstaller”
./install -options “/opt/IBM/WebSphere /UpdateInstaller/was7update.txt ” -silent
六、将补丁包迁移到补丁包目录
Cp 6.0.2-WS-WAS-AixPPC64-FP00000029.pak /opt/IBM/WebSphere/UpdateInstaller/maintenance
七、静默式安装补丁。
Cd /opt/IBM/WebSphere/UpdateInstaller/responsefiles
Vi install.txt
-W maintenance.package=”/opt/IBM/WebSphere/UpdateInstaller/maintenance/”
-W product.location=”/opt/IBM/WebSphere/AppServer”
-W update.type=”install”
Cd /opt/IBM/WebSphere/UpdateInstaller/
./update.sh -options responsefiles/install.txt –silent
八、查看WAS版本
Cd /opt/IBM/WebSphere/AppServer/bin
./versionInfo.sh
九、启动WAS DMGR
Cd /opt/IBM/WebSphere/AppServer/Profiles/dmgr01/bin
./startManager.sh
十、网络访问DMGR
user: admin
以下文章点击率最高
Loading…