jk-rotate(1) - Linux man page
Name
jk-rotate - rotate modjk hosts
Synopsis
jk-rotate URL SECONDS [enable|disable] HOST...
Description
Command line application for gracefully putting hosts into and out of rotation in a modjk balancer.
Options
URL
- The url that will provide the api.
- SECONDS
- How long to wait on sleeps.
- ENABLE|DISABLE
- Enable or disable the host.
- HOST
- Hosts to enable/disable.
Examples
Putting two hosts into rotation:
-
jk-rotate "http://myserver/jkmanage?mime=xml" 10 \ enable www001.myserver.com www002.myserver.com - Taking a host out of rotation:
-
jk-rotate "http://myserver/jkmanage?mime=xml" 10 \ disable www003.myserver.com
Author
jk-rotate was written by Steve 'Ashcrow' Milner.
Copyright
Copyright © 2008-2011, Red Hat, Inc
modjkapi is released under the terms of the GPLv3+ license.
See Also
Taboot home page (python-modjkapi distribution point): https://fedorahosted.org/Taboot/