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.1启动顺序:
export JAVA_HOME=/app/IBM/WebSphere/AppServer/java
export LANG=zh_CN.gb18030(linux) Zh_CN.GB18030(AIX)
 
/data2/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startNode.sh
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh master
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1
/data2/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server2
/data2/IBM/HTTPServer/bin/apachectl –k start

 

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
启动过程细节

相关文章:

  • 2021-12-06
  • 2021-07-29
  • 2021-05-22
  • 2022-01-16
  • 2022-12-23
  • 2022-02-09
猜你喜欢
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2021-09-19
  • 2021-11-30
相关资源
相似解决方案