[ClusterLabs] Centreon HA Cluster - VIP issue

Adil BOUAZZAOUI adil.bouazzaoui at tmandis.ma
Sun Sep 3 07:59:57 EDT 2023


Hello,

My name is Adil, I'm working for Tman company, we are testing the Centreon HA cluster to monitor our infrastructure for 13 companies, for now we are using the 100 IT license to test the platform, once everything is working fine then we can purchase a license suitable for our case.

We're stuck at scenario 2: setting up Centreon HA Cluster with Master & Slave on a different datacenters.
For scenario 1: setting up the Cluster with Master & Slave and VIP address on the same network (VLAN) it is working fine.

Scenario 1: Cluster on Same network (same DC) ==> works fine
Master in DC 1 VLAN 1: 172.30.9.230 /24
Slave in DC 1 VLAN 1: 172.30.9.231 /24
VIP in DC 1 VLAN 1: 172.30.9.240/24<http://172.30.15.30/24>
Quorum in DC 1 LAN: 192.168.253.230/24<http://192.168.1.10/24>
Poller in DC 1 LAN: 192.168.253.231/24<http://192.168.1.20/24>

Scenario 2: Cluster on different networks (2 separate DCs connected with VPN) ==> still not working
Master in DC 1 VLAN 1: 172.30.9.230 /24
Slave in DC 2 VLAN 2: 172.30.10.230 /24
VIP: example 102.84.30.XXX. We used a public static IP from our internet service provider, we thought that using a IP from a site network won't work, if the site goes down then the VIP won't be reachable!
Quorum: 192.168.253.230/24<http://192.168.1.10/24>
Poller: 192.168.253.231/24<http://192.168.1.20/24>


Our goal is to have Master & Slave nodes on different sites, so when Site A goes down, we keep monitoring with the slave.
The problem is that we don't know how to set up the VIP address? Nor what kind of VIP address will work? or how can the VIP address work in this scenario? or is there anything else that can replace the VIP address to make things work.
Also, can we use a backup poller? so if the poller 1 on Site A goes down, then the poller 2 on Site B can take the lead?

we looked everywhere (The watch, youtube, Reddit, Github...), and we still couldn't get a workaround!

the guide we used to deploy the 2 Nodes Cluster: https://docs.centreon.com/docs/installation/installation-of-centreon-ha/overview/

attached the 2 DCs architecture example, and also most of the required screenshots/config.


We appreciate your support.
Thank you in advance.



Regards
Adil Bouazzaoui

[cid:image003.png at 01D8A2AB.F7B7B9F0]
Adil BOUAZZAOUI
Ingénieur Infrastructures & Technologies
GSM         : +212 703 165 758
E-mail  : adil.bouazzaoui at tmandis.ma<mailto:adil.bouazzaoui at tmandis.ma>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10863 bytes
Desc: image001.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 24845 bytes
Desc: 1.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 48044 bytes
Desc: 2.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.png
Type: image/png
Size: 17201 bytes
Desc: 3.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.png
Type: image/png
Size: 50482 bytes
Desc: 4.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5.png
Type: image/png
Size: 61823 bytes
Desc: 5.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6.png
Type: image/png
Size: 23163 bytes
Desc: 6.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0016.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7.png
Type: image/png
Size: 11857 bytes
Desc: 7.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8.png
Type: image/png
Size: 40081 bytes
Desc: 8.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centreon.png
Type: image/png
Size: 17922 bytes
Desc: centreon.png
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230903/42b9fbcf/attachment-0019.png>


More information about the Users mailing list