was日志存放地址node
若是本身的没有去手动修改WAS的日志配置路径的话,WAS的日志应该是在,当前所跑的 profile下面的相应节点下的log 目录
例如:
D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs
这个WIN 的,其余的操做系统的路径也差很少。web
启动WAS集群:apache
1. 启动DMGR服务器
登陆10.10.160.123app
#cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin操作系统
#./startManager.sh插件
等待出现进程号,说明DMGR启动成功日志
2. 启动节点server
登陆10.10.160.123xml
# cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./startNode.sh
等待出现进程号,说明节点启动成功
登陆10.10.160.124
#cd /opt/IBM/WebSphere/AppServer/profiles/Custom01/bin
# ./startNode.sh
等待出现进程号,说明节点启动成功
3. 启动server
登陆10.10.160.123
# cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./startServer.sh server1
等待出现进程号,说明节点启动成功
4. 启动IHS
#cd /opt/IBM/HTTPServer/bin
#./apachectl start
5. 启动集群
登陆Https://10.10.160.123:9043/ibm/console
用户名:admin
密码:admin
进入:服务器-> 集群-> WebSphere Application Server 集群->勾选“WASCluster ”点“启动”,等待3-5分钟,刷新状态,显示已启动便可开始部署应用。
6. 部署应用
部署应用时,管理模块同时选中“WebSphere: cell=oacluster1Cell01,cluster=WASCluster”和“WebSphere:cell=oacluster1Cell01,node=oacluster1Node01,server=webserver1”,勾选“IedsOA”,点选“应用”,在最后概览的时候只要不出现“应用程序模块未映射至 Web 服务器。每一个 Web 服务器的插件配置文件(plugin-cfg.xml)是根据映射至它的应用程序模块生成的,所以 Web 服务器不会将请求路由至此应用程序。要更改此选项,请选择“将模块映射至服务器”步骤。”警告,等待5-10分钟两个节点同步,就能够启动应用。
部署应用成功后,须要等待5-10分钟两个节点同步,能够查看节点1:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/oacluster1Cell01和节点2:/opt/IBM/WebSphere/AppServer/profiles/Custom01/installedApps/oacluster1Cell01,若是出现IedsOA_war.ear目录,说明两个节点同步成功。
关闭WAS集群:
- 关闭应用
进入:应用程序->应用程序类型->WebSphere 企业应用程序->勾选“IedsOA_war”点击“中止”,等待1-2分钟,刷新状态,显示关闭便可
- 关闭集群
进入:服务器-> 集群-> WebSphere Application Server 集群->勾选“WASCluster ”点“中止”,等待3-5分钟,刷新状态,显示已关闭便可,若是遇到同步不成功的状况,这步能够跳过。
- 关闭HIS
进入:服务器->服务器类型->Web服务器->点选“Webserver1”,点击“中止”,几秒钟就能关闭
- 关闭server
登陆10.10.160.123
# cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./stopServer.sh server1 –username admin –password admin
- 关闭节点
登陆10.10.160.123
# cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
# ./stopNode.sh –username admin –password admin
登陆10.10.160.124
#cd /opt/IBM/WebSphere/AppServer/profiles/Custom01/bin
# ./stopNode.sh –username admin –password admin
关闭节点1和节点2能够同时进行
- 关闭DMGR
登陆10.10.160.123
#cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
#./stopManager.sh –username admin –password admin