WebSphere V7 靜默安裝及集羣配置最少命令

 WebSphere V7 靜默安裝及集羣配置最少命令

response安裝腳本setup.txt:

-OPT silentInstallLicenseAcceptance="true"
-OPT installType="installNew"
-OPT profileType="none"
-OPT feature="languagepack.console.all"
-OPT feature="languagepack.server.all"
-OPT PROF_enableAdminSecurity="false"
-OPT installLocation="/opt/IBM/WebSphere/AppServer"

安裝命令:
./install -options setup.txt -silent
創建部署管理器:
./manageprofiles.sh -create -templatePath "/opt/IBM/WebSphere/AppServer/profileTemplates/management" -serverType DEPLOYMENT_MANAGER  -hostName rhost1 -enableAdminSecurity true -adminUserName  admin -adminPassword  admin -isDefault -defaultPorts

創建服務器:
./manageprofiles.sh -create  -templatePath "/opt/IBM/WebSphere/AppServer/profileTemplates/managed" -hostName rhost1 -isDefault  -defaultPorts
./manageprofiles.sh -create  -templatePath "/opt/IBM/WebSphere/AppServer/profileTemplates/managed" -hostName rhost2 -isDefault  -defaultPorts

聯合節點:
./addNode.sh rhost1 8879 -profileName Custom01 -username admin -password admin


注意:
1、在聯合節點之前要在/etc/hosts中加入相關的IP 地址及主機名,並且修改爲正確的主機名:
例如:
192.168.11.44   rhost1
192.168.11.45   rhost2
2、注意防火牆設置,添加服務端口或關閉防火牆。
否則會導致不能聯合節點

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章