Distributed Monitoring - Icinga 2
Is it possible to configure satellites connecting to different cluster masters when that is a need arises? Thanks
Thanks
Distributed Monitoring - Icinga 2
Is it possible to configure satellites connecting to different cluster masters when that is a need arises? Thanks
Thanks
If you have 2 masters in your master zone the connection should be managed automatically.
Thanks. But I’m looking for a way to have the same satellite connecting to another masters ( not in the master zone)
This sounds like a bad idea to me - please explain your use case for wanting
to do this, and what you are trying to achieve. We may be able to suggest
something which would work, or we may be able to explain why it cannot work.
Antony.
So the idea is to have Geo redundancy for the masters and DBs. In case of a DC outage where both masters and DBs ( with replication across DCs in place ) resides, the satellites zones.conf will be changed to use the masters in the redundant DC. This will also require the certs on all satellites be updated.
So, you already have a shared / replicated DB. That’s good.
In that case I would either have a floating IP between the masters (if your
hosting provider/s support that) and a DNS record pointing at the floating IP,
or else a DNS record pointing at both IPs, provided you’re happy with a
live/live arrangement between the masters.
That also solves the certificate problem - both masters respond to the same DNS
name, either because they share a floating IP, or because DNS points at both.
Is that anything you considered and rejected as a design for some reason?
Antony.
Based on our experience we have had with the inter-dc links ( latency issues and what not ) we don’t want to split masters across.
I’m thinking of using CNAME for masters.
In case of a DC outage -
Update each satellite to use new masters certs ( already signed and copied over )
Update the zones.conf on each satellites.( CNAME names )
Update the DNS CNAME record to point to new masters.
Ok updating the satellites with the new masters certs works. With this, I think the satellites will have a new association with the new masters and it will be a new beginning?. This means, the old masters associated data such as history etc.. won’t be available on the new setup unless there a way to make it happen. Am I right?