WAS命令行管理概要文件
注意点:如下几个命令在was nd 6.0适合,6.1以及之后的版本更换成manageprofile.sh命令
--非ND环境下创建Application Server Profile
??? ./wasprofile.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -profileName AppSrvLinux -profilePath /IBM/WebSphere/AppServer -nodeName NodeLinux -cellName CellLinux -hostName '192.168.1.24'
?? ?
--把受管概要文件连接到DMGR
?? ?cd /IBM/IBM/WebSphere/AppServer/profiles/AppSrvLinux/bin
?? ?./addNode.sh 192.168.159.128 8879
?? ?
--把Windows机器上的概要文件连接到DMGR
?? ?addNode.sh 192.168.159.128 8879
--webserver重新添加
?? ?cp /IBM/IBM/WebSphere/Plugins/bin/configwebserver1.sh /IBM/IBM/WebSphere/AppSever/profiles/Dmgr01
/bin
?? ?cd /IBM/IBM/WebSphere/AppSever/profiles/Dmgr01/bin
?? ?./configwebserver1.sh
-- 添加webserver完成之后在管理控制台的远程 Web 服务器管理 选项当中输入./htpasswd -cm ../conf/admin.passwd admin 中输入的用户名和密码,然后启动adminServer(执行./adminctl start)即可远程启动和关闭Webserver