No, only one master should have config in the /etc/icinga2/conf.d
directory. This is done via commenting the “include recursive conf.d” in /etc/icinga2/icinga2.conf
.
But the icinga2 node wizard
command will do that when setting the second master up as a satellite at first and then manually promote it to a master (manually editing the zones.conf and copying the ca, it’s in the docs).
The webinterface can point to both instance of icinga, but the Icinga Director must only point to the config master, as @moreamazingnick said.
Also do not create/edit endpoints and zones in the Director! It can lead to big problems with config sync. Only add/edit those in the zones.conf files. This goes for masters and satellites, agents hosts can be created via the Directors “Icinga2 Agent” setting.