Hi Martin,

I might be missing something but I have set up a 2 node high availability
cluster by having 2 servers defined in the same zone and having them both
running a database locally. They are configured to talk to their local
database only. The Icinga cluster protocol keeps the instances in sync
which in turn update their local DB. I do need some sort of replication for
things like the web interface users data base. You need to think about
zones and how and where checks run though. This set up is working well for
me at the minute (though the cluster node's aren't geographically dispersed
and I don't mind if checks run from both servers. )

Mark



On 26 January 2016 at 10:49, Martin Stiborský <martin.stibor...@gmail.com>
wrote:

> Hello,
> some time ago I've been asking here for some details about implementing HA
> for Icinga2 master server.
> I need two master servers, one is located in Europe, the second one in US.
> The concern I have is the database server, I'd really like to have
> dedicated database server for both master server geographical location.
> So I did, I habe two DB servers and these two are configured for
> master-master replication.
> That works. Now, how Icinga handle that?
>
> When I configured each Icinga2 instance to use its database server, I
> immediatelly got "duplicate items" error and deadlocks.
> Now I have restored the database and pointed both icinga masters to the
> same database, but everything is now doubled, checks, hosts…oops, that's
> different problem I guess.
>
> So, my question is, is there anybody with similar scenario? The icinga
> database replicated?
> What the "instane_name" from IdoMySqlConnection object does?
>
> http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-idomysqlconnection
>
> Any hints, please?
>
> Thanks for help!
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to