MXS-1417: Add drain server command to MaxCtrl

The `drain server` commands removes a server from all services and waits
until all the connections for it are closed. Once the server is no longer
in use, it will be set into maintenance mode and put back into the
services where it was removed from.
This commit is contained in:
Markus Mäkelä
2018-05-19 02:23:24 +03:00
parent a60f55e375
commit 6d1c0e5ba6
2 changed files with 113 additions and 0 deletions

View File

@ -88,6 +88,7 @@ program
.command(require('./show.js'))
.command(require('./set.js'))
.command(require('./clear.js'))
.command(require('./drain.js'))
.command(require('./enable.js'))
.command(require('./disable.js'))
.command(require('./create.js'))