WildFly CLI - Starting and Stopping Instances: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 18: Line 18:


<pre>
<pre>
/host=r4:shutdown
/host=r4:shutdown [--restart=true]
</pre>
</pre>



Revision as of 17:59, 29 February 2016

Internal

Overview

There is a shutdown command and a :shutdown operation. The shutdown commands sends the :shutdown operation to the server (in standalone mode) or to the host controller specified by the --host=... argument and waits for the controller to close connection.

By default there's no restart.

The target can be restarted if --restart=true argument is used.

CLI Operations

Shutdown a Host Controller

To shutdown a remote host controller, together with all its associated servers:

/host=r4:shutdown [--restart=true]

Shutdown an Entire Cluster

/host=h2:shutdown
/host=h3:shutdown
/host=h4:shutdown
/host=h1:shutdown

Leave the domain controller for last.

Also See

reload