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、注意防火墙设置,添加服务端口或关闭防火墙。
否则会导致不能联合节点