0.WAS学习地址:
http://www.open-open.com/doc/list/276?pn=1
http://www.doc88.com/p-7498799200332.html
http://www.doc88.com/p-087655435197.html
1.WAS 各服务脚本的路径(UNIX环境下):
1.2停止中间件顺序则相反,比如unix下停止was中间件:
/data2/IBM/HTTPServer/bin/apachectl –k stop # (WAS 6.0时的命令)
/data2/IBM/HTTPServer/bin/httpd -d /data2/IBM/HTTPServer -k stop -f /data2/IBM/HTTPServer/conf/httpd.conf # (WAS6.0时的命令)
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh server1
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh server2
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh master
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopNode.sh
/data2/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/stopManager.sh
注意:启动的时候需要先启动master后才能启动其他的节点,如果水平集群则要先停止从服务器再停止主服务器,启动则先启动主再启动从。
2.示例-启动node agent 服务器:
[root@TEST144239 /]# cd /data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
[root@TEST144239 bin]# sh startNode.sh
ADMU0116I: 正在文件
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/nodeagent/startServer.log
中记录工具信息
ADMU0128I: 正在启动具有 AppSrv01 概要文件的工具
ADMU3100I: 正在从服务器读取配置:nodeagent
ADMU3200I: 服务器已启动。正在等待初始化状态。
ADMU3000I: 为电子商务开放服务器 nodeagent;进程标识为 4911