<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>=&gt; rabbitmqctl set_policy ha-one &quot;^cust1\.&quot; &quot;{&quot;&quot;ha-mode&quot;&quot;:&quot;&quot;exactly&quot;&quot;,&quot;&quot;ha-params&quot;&quot;:1}&quot;<br>
</div><div><br></div><div>When I execute the command &quot;rabbitmqctl list_policies&quot; 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&gt; rabbit1&amp;rabbit2 should have one pattern, say &quot;customer&quot; =&gt; rabbitmqctl set_policy ha-one &quot;^customer\.&quot; &quot;{&quot;&quot;ha-mode&quot;&quot;:&quot;&quot;exactly&quot;&quot;,&quot;&quot;ha-params&quot;&quot;:2}&quot;</div>
<div>b&gt; rabbit3&amp;rabbit4 should have one pattern, say &quot;merchant&quot; =&gt;�rabbitmqctl set_policy ha-one &quot;^merchant\.&quot; &quot;{&quot;&quot;ha-mode&quot;&quot;:&quot;&quot;exactly&quot;&quot;,&quot;&quot;ha-params&quot;&quot;:2}&quot;</div>
<div><br></div><div>Please any one could explain this behavior and how to achieve? Thank you.</div><div><br></div></div>