Created
February 7, 2013 08:50
-
-
Save lxndrp/4729653 to your computer and use it in GitHub Desktop.
This file contains 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
# haproxy frontend role | |
haproxy: { | |
services: { | |
rabbitmq_portmapping: { | |
mode: "tcp", | |
port: "4369", | |
backends: { | |
nodes: { | |
search: {"role:inf_rabbitmq-clusternode"}, | |
attributes: [ "" ], | |
raw: [ "" ] | |
}, | |
options: { | |
check: true | |
} | |
} | |
} | |
} | |
} | |
# haproxy backend role | |
failover: { | |
mode: "active" # mode: "standby" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment