Created
April 21, 2011 03:23
-
-
Save pandemicsyn/933647 to your computer and use it in GitHub Desktop.
Openstack Swift /healthcheck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make sure you've got the "healthcheck" pipeline entry in your [proxy|account|container|object]-server.conf: | |
| [pipeline:main] | |
| pipeline = catch_errors healthcheck cache ratelimit auth proxy-server | |
| # And that you've added the filter for it as well (in the same config of course): | |
| [filter:healthcheck] | |
| use = egg:swift#healthcheck | |
| # Now reload the service and you're ready to roll: | |
| syn@masada:~$ nc proxy1.masada 80 -vv | |
| Connection to proxy1.masada 80 port [tcp/www] succeeded! | |
| GET /healthcheck | |
| HTTP/1.1 200 OK | |
| Content-Type: text/plain; charset=UTF-8 | |
| Content-Length: 2 | |
| Date: Thu, 21 Apr 2011 03:11:06 GMT | |
| Connection: close | |
| OK | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment