mercoledì 26 febbraio 2014

Stop and start websphere: dmgr, nodes, and application servers

Let's see a quick example of commands to stop and start all websphere java process of an environment with this logical topology:


The cluster in the example is logically built with 2 application server running on each node.


(*) Physically the deployment manager can reside on the first node for example and the application servers are running on the nodes.


START:

<node1>
was_dir/AppServer/profiles/Dmgr01/bin/startManager.sh                 (*)
was_dir/AppServer/profiles/AppSrv01/bin/startNode.sh
was_dir/AppServer/profiles/AppSrv01/bin/startServer.sh Server1
was_dir/AppServer/profiles/AppSrv01/bin/startServer.sh Server2
...
<nodeN>
was_dir/AppServer/profiles/AppSrv01/bin/startNode.sh
was_dir/AppServer/profiles/AppSrv01/bin/startServer.sh ServerN-1
was_dir/AppServer/profiles/AppSrv01/bin/startServer.sh ServerN


STOP:

<nodeN>
was_dir/AppServer/profiles/AppSrv01/bin/stopServer.sh ServerN-1 -user user -password xyz
was_dir/AppServer/profiles/AppSrv01/bin/stopServer.sh ServerN -user user -password xyz
was_dir/AppServer/profiles/AppSrv01/bin/stopNode.sh -user user -password xyz
...
<node1>
was_dir/AppServer/profiles/AppSrv01/bin/stopServer.sh Server1 -user user -password xyz
was_dir/AppServer/profiles/AppSrv01/bin/stopServer.sh Server2 -user user -password xyz
was_dir/AppServer/profiles/AppSrv01/bin/stopNode.sh -user user -password xyz
was_dir/AppServer/profiles/Dmgr01/bin/stopManager.sh -user user -password xyz

user is the websphere administrative user.

Nessun commento:

Posta un commento