ooici/ion-definitions — pull request #218 by labisso (2012-10-08 16:52:06+00:00)
Title: Sample HA configs in r2deploy

I've added sample blocks for HA agent policy configuration to each (non-bootstrap) service in rel2levels. This pull request is to discuss and approve the syntax. At first each service uses the simplest ``npreserving`` policy with a single worker. We also have a ``sensors`` policy which uses hsflow sensors emitted by containers to scale dynamically.

With this syntax, ``policy`` selects the policy engine to use and the ``parameters`` block is passed through to instantiate the policy. This synax allows new policies and behaviors without necessarily adjusting the launch plan directly.

Note that this pull request does not add HA workers to the launch until we enable them in rel2levels.