刚接触一个新项目,使用的是websphere,有一天websphere的admin console打不开了。尝试重启服务。但是刚开始不太明白nodeagent, dmgr的关系。导致后来重启服务后application servers启动不了,一直报node agent inactive。后来查了下相关资料。知道启动服务要按照顺序,同时启动成功与否要看相关的log。
启动顺序如下:
1.Stop servers in sequence.
1.1 Stop app servers.
(Admin Console > servers > all servers > stop application servers)
1.2 Stop nodeagent (D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > stopNode.bat *Run as administrator )
1.3 Stop dmgr
(D:\IBM\WebSphere\AppServer\profiles\Dmgr01\bin > stopManager.bat * Run as administrator)
2.Start servers in sequence.
2.1 Start dmgr
((D:\IBM\WebSphere\AppServer\profiles\Dmgr01\bin > startManager.bat * Run as administrator)
2.2 Start node agent
(D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin > startNode.bat *Run as administrator)
2.3 Start app servers
(Admin Console > servers > all servers > start application servers)
一般服务有什么问题,就照这个顺序重新启动一遍,就可以愉快的玩耍啦!