<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">><i>hi:
</i>><i> We now get a strange requirement. When the active node enters standby
</i>><i>mode, virtual_ip will not automatically jump to the normal node, but
</i>><i>requires manual operation to achieve the jump of virtual_ip
</i>><i> The mode we use is Active / Passive mode
</i>><i> The Resource Agent we use is ocf: heartbeat: IPaddr2
</i>><i> Hope you can solve my confusion
</i>
Hello,
Can you provide the version of the stack, your config and the command you run to put the node in sandby ?
Best Regards,
Strahil Nikolov</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">-----------------</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Sorry, I don't know how to reply correctly, so I pasted the previous chat content on it<br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The following are the commands we use</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> pcs property set stonith-enabled=false</pre> pcs property set no-quorum-policy=ignore<br> pcs resource create virtual_ip ocf:heartbeat:IPaddr2 ip=${VIP} cidr_netmask=32 op monitor interval="10s"<br><br> pcs resource create docker systemd:docker op monitor interval="10s" timeout="15s" op start interval="0" timeout="1200s" op stop interval="0" timeout="1200s"<br> pcs constraint colocation add docker virtual_ip INFINITY<br> pcs constraint order virtual_ip then docker<br> pcs constraint location docker prefers ${MASTER_NAME}=50<br><br> pcs resource create lsyncd systemd:lsyncd op monitor interval="10s" timeout="15s" op start interval="0" timeout="120s" op stop interval="0" timeout="60s"<br> pcs constraint colocation add lsyncd virtual_ip INFINITY<div><br><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre><div>The version we use is</div><div> Pacemaker 1.1.20-5.el7_7.2</div> Written by Andrew Beekhof</div></div>