Skip to content

Commit

Permalink
Update Legion.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
unbit committed Jan 1, 2013
1 parent 18f64fd commit ccfbf01
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Legion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,28 @@ You can reduce the split brain problem asking the Legion subsystem to check for
The legion-quorum is the option for the job

Actions
*******

Each one of the four phases of a legion (setup,death,lord,unlord) can trigger an action. The actions system is modular so you can
add new kind of actions.

Currently the supported actions are:

cmd:<command>
-------------

run a shell command

signal:<num>
------------

raise a uWSGI signal

log:<msg>
---------

log a message

For example you could combine the log action with the alarm subsystem to have cluster monitoring for free...

0 comments on commit ccfbf01

Please sign in to comment.