Master-Master setup

I couldn’t get complete help from my last post but thanks to dominik who tried his best…
So I am trying to setup HA master-master …
So i set up a master with web UI and one satellite.
The web interface is up and running with master IP. Also i have added a check for satellite host.
I made config as per How to set up High-Availability Masters
After this i followed few more steps as per Initial Sync for new Endpoints in a Zone where i copied the content(/var/lib/icinga2/icinga2.state and /var/lib/icinga2/api/packages/_api) from master to satellite (this is to make satellite also a master)
I tested to shutdown the master to see if the other node will take over but it didn’t …may be i am incomplete with the process.
Could you please guide what would be the next steps or what am i missing.

Master 1
object Endpoint “ftest01.xyz-software.com” {
}

object Endpoint “ftest02.xyz-software.com” {
host = “192.168.1.246”
}

object Zone “master” {
endpoints = [ “ftest01.xyz-software.com”, “ftest02.xyz-software.com” ]
}

object Zone “global-templates” {
global = true
}

object Zone “director-global” {
global = true
}

Disabled features: compatlog debuglog elasticsearch gelf graphite icingadb influxdb influxdb2 livestatus opentsdb perfdata statusdata syslog

Enabled features: api checker command ido-mysql mainlog notification

Master 2
object Endpoint “ftest01.xyz-software.com” {
host = “192.168.1.244”
port = “5665”
}

object Zone “master” {
endpoints = [ “ftest01.xyz-software.com”, “ftest02.xyz-software.com” ]
}

object Endpoint “ftest02.xyz-software.com” {
}

object Zone “global-templates” {
global = true
}

//object Zone “director-global” {
// global = true
//}
Disabled features: command compatlog debuglog elasticsearch gelf graphite icingadb influxdb influxdb2 livestatus notification opentsdb perfdata statusdata syslog
Enabled features: api checker ido-mysql mainlog

Thanks

Everything is described in the docs at Distributed Monitoring - Icinga 2

Did you take care of the database(s) ?

Hi Marcus
I followed the documentation, after that only i was able to atleast setup something. I think some troubleshooting steps would help fix this…