<div dir="ltr"><div>Hi Team,</div><div><br></div>I have created clustered environment with two rabbitmq nodes and I have created below policy on one the node called rabbit1,<div>=> rabbitmqctl set_policy ha-one "^cust1\." "{""ha-mode"":""exactly"",""ha-params"":1}"<br>
</div><div><br></div><div>When I execute the command "rabbitmqctl list_policies" on rabbit1 and rabbit2 nodes, both the nodes are displaying polices. Is that the right behaviour?</div><div><br></div><div>And if it is the right behaviour, then how to run different policies in different nodes like below. </div>
<div>If there are 4 nodes in the cluster, </div><div>a> rabbit1&rabbit2 should have one pattern, say "customer" => rabbitmqctl set_policy ha-one "^customer\." "{""ha-mode"":""exactly"",""ha-params"":2}"</div>
<div>b> rabbit3&rabbit4 should have one pattern, say "merchant" => rabbitmqctl set_policy ha-one "^merchant\." "{""ha-mode"":""exactly"",""ha-params"":2}"</div>
<div><br></div><div>Please any one could explain this behavior and how to achieve? Thank you.</div><div><br></div></div>