I have setup icinga in ha master with one db node, and two masters, as in the ‘Icinga2 Distributed Monitoring’ described Setup works well, and master role and db connection are changed after a few seconds as expected.
My problem is, that the master2 always gets active and master1 pauses his IDO connection.
But I think master01 should keep his connection, also when master2 gets back online.
Is there an option that can affect this behave?
Hope someone can tell me where’s my mistake.
Icinga2 version: r2.12.3-1
Disabled features: command compatlog debuglog elasticsearch gelf graphite icingadb influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker ido-mysql mainlog notification
OS: debian 11 (bullseye) kernel version: 5.10.0-11-amd64