hoststatectl

hoststatectl for interactive hoststated control

$ sudo hoststatectl show summary
Type      Id    Name                            Avlblty Status
service    0    www                                     down
table      0    webpool                                 active (2 hosts up)
host       3    192.0.2.217                     0.00%   down
host       2    192.0.2.216                     100.00% up
host       1    192.0.2.215                     0.00%   down
host       0    192.0.2.214                     100.00% up
table      1    sorry                                   active (1 hosts up)
host       4    192.0.2.200                     100.00% up

enable or disable hosts

$ sudo hoststatectl host disable 192.0.2.216
$ sudo hoststatectl host enable 192.0.2.216