Hello Martin

We encountered a similar issue in with a client I had and the solution we decided to use was a MariaDB Galera Cluster, It allows a full replication and give you master election in case of node failure.

https://mariadb.com/kb/en/mariadb/what-is-mariadb-galera-cluster/

Assaf


On 26/01/16 12:49, Martin Stiborský 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 <http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#%21/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