WAS创建Dmgr和AppSrv

#创建一个管理节点

./manageprofiles.sh -create \
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/dmgr \
-nodeProfilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 \
-profileName Dmgr01 \
-cellName testCell01 \
-nodeName testCell01Manager01 \
-appServerNodeName testCell01Node01 \
-enableAdminSecurity true \
-adminUserName wasadmin \
-adminPassword password \
-validatePorts

INSTCONFSUCCESS: Success: Profile Dmgr01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt for more information about this profile.

#创建一个受管节点

./manageprofiles.sh -create \
-profileName AppSrv02 \
-profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv02 \
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed \
-nodeName testCell01Node02 \
-isDefault \
-enableAdminSecurity true \
-validatePorts

INSTCONFSUCCESS: Success: Profile Dmgr01 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt for more information about this profile


./manageprofiles.sh -create \
-profileName AppSrv03 \
-profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv03 \
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed \
-nodeName testCell01Node03 \
-isDefault \
-enableAdminSecurity true \
-validatePorts

INSTCONFSUCCESS: Success: Profile AppSrv03 now exists. Please consult /opt/IBM/WebSphere/AppServer/profiles/AppSrv03/logs/AboutThisProfile.txt for more information about this profile.

#静默卸载
.uninstall -silent

#删除安装目录
cd /opt/IBM
rm -rf *

#删除残余文件
rm -rf vpd.properties

你可能感兴趣的:(IBM,websphere)