[rabbitmq-discuss] create a policy for concrete nodes

Simon MacMullen simon at rabbitmq.com
Mon May 13 11:10:56 BST 2013


On 13/05/2013 11:06, Slyth wrote:
> rabbitmqctl set_policy ha-mirror "^mirror\." \
>> '{"ha-mode":"nodes","ha-params":"rabbit at rab5,rabbit at rab6","ha-sync-mode":"automatic"}'

Try:

rabbitmqctl set_policy ha-mirror "^mirror\." \
 
'{"ha-mode":"nodes","ha-params":["rabbit at rab5","rabbit at rab6"],"ha-sync-mode":"automatic"}'

The nodes needs to be a list of strings.

Cheers, Simon


More information about the rabbitmq-discuss mailing list