sakaiproject/Hilary — pull request #110 by simong (2012-09-24 22:05:08+00:00)
Title: Clustered starting and stopping of tenants.

This PR brings in clustered start and stop of tenants.
It requires [redis](http://redis.io/download) for it's publish/subscribe capabilities so it'll be one dependency extra.

I looked into taking down a tenant server programatically and there seems to be no good (scalable) way to do it. I therefor opted to just add a middleware that checks if the server is in `maintenance mode` or not.

I've tried this out on 2 app nodes:
* OS X host with Cassandra and redis
* Ubuntu VM

and was able to start/stop/delete tenants in a clustered way. It should all be hooked into the Admin UI and display properly. (I found one bug where the page doesn't display the tenant list when creating a new tenant, but will leave that for another PR)

When the global authentication comes in, I'll secure these services as well.