What is the best way to detect a cluster failover, meaning that my replicated VMs get started on another node? In /var/log/syslog I found the following maybe relevant messages, but don't know on which message to look after:
Bash:
May 27 17:10:22 bohr corosync[2084]: [MAIN ] Completed service synchronization, ready to provide service
May 27 17:13:22 bohr pve-ha-lrm[2416]: successfully acquired lock 'ha_agent_bohr_lock'
May 27 17:13:22 bohr pve-ha-lrm[2416]: watchdog active
May 27 17:13:22 bohr pve-ha-lrm[2416]: status change wait_for_agent_lock => active