[ClusterLabs] Does pacemaker support to receive the event of VIP changes?

2023-04-13 Thread Qing Feng Hao
Hi Everyone, I have setup a HA cluster with pacemaker, and want to so some special handling when VIP (virtualip) changes. VIP is the virtual ip resource created by pcs like "* virtualip   (ocf::heartbeat:IPaddr2):    Started " But I didn't find it in ClusterMon

Re: [ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-13 Thread Andrei Borzenkov
On 13.04.2023 22:24, Andrei Borzenkov wrote: ... order drbd_vm_after_drbd_fs Mandatory: ms-drbd_fs:promote drbd_vm:start After I added it back I get the same failed "demote" action. Transition Summary: * Stop zfs_drbd_storage:0 (ha1 ) due to node availability *

Re: [ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-13 Thread Andrei Borzenkov
On 12.04.2023 15:44, Philip Schiller wrote: Here are also some Additional some additional information for a failover with setting the node standby. Apr 12 12:40:28 s1 pacemaker-controld[1611990]:  notice: State transition S_IDLE -> S_POLICY_ENGINE Apr 12 12:40:28 s1

[ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-13 Thread Philip Schiller
On clusterlabs.org i found this little detail: https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/epub/advanced-options.html If an otherwise migratable resource depends on another resource via an ordering constraint, there are special situations in which it will be restarted rather