relayctl

relayctl for interactive relayd control

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

enable or disable hosts

$ sudo relayctl host disable 192.0.2.216
$ sudo relayctl host enable 192.0.2.216