Doing something like this should suffice, with the info derived from juju status as Gustavo suggests. Also this mechanism provides for a general purpose chaos monkey for testing scenarios:
$ juju ssh $MACHINE sudo shutdown now
Doing something like this should suffice, with the info derived from juju status as Gustavo suggests. Also this mechanism provides for a general purpose chaos monkey for testing scenarios:
$ juju ssh $MACHINE sudo shutdown now