was6靜默式安裝與打補丁過程

 

 

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

http://ip:9060/ibm/console

user: admin

以下文章點擊率最高

Loading…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營