Shutdown all grids on a host at once

classic Classic list List threaded Threaded
2 messages Options
namluc.tran@euranova.eu namluc.tran@euranova.eu
Reply | Threaded
Open this post in threaded view
|

Shutdown all grids on a host at once

Hello, 

Using Java, how can I shutdown all the grids started on a current host? 

Thank you and best regards, 

Tran Nam-Luc
vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: Shutdown all grids on a host at once

You can use Visor command line utility to do this. Run 'ignitevisorcmd.sh' script, use 'open' command to connect Visor to topology and run 'kill -ih' command. It will give you the list of hosts that have nodes. Choose one of them and Visor will stop all nodes on that host (note that it can be a local or remote host - Visor supports both).

For all options provided by 'kill' command, type 'help kill'.

-Val