Xymon Mailing List Archive search

Setting Xymon up for redundancy/HA

3 messages in this thread

list Carl Melgaard · Thu, 12 May 2011 09:46:44 +0200 ·
Hi,

Im curious how you guys have achieved to setup Xymon for HA/redundancy - so that you can do maintenance etc. on 1 Xymon server, and still keep monitoring hosts with the other.

I've looked at the different approaches in the "Administration Guide", but they all have pros and cons and some are rather complex.

The goals I have: Being able to keep monitoring with 1 xymon server down - have all data etc. sync'ed between the 2 xymon servers, so I don't miss out on historic data - don't get double notifications/alerts - easy administration.

We currently have 4 data centres, spread around on different locations - one possibility would be to have 1 xymon server in each data centre, with the local hosts reporting in to that server, but how do I keep on monitoring those hosts, if the local xymon server crashes?

Hope you can answer some of my questions.


Regards,
Carl Melgaard
list Paul Root · Thu, 12 May 2011 06:10:01 -0500 ·
Not sure about historical data and keeping that in sync. But I used to run 2 servers side by side. I would use rdist to copy the bb-hosts and hobbit-alerts.cfg, etc in sync.

The second server, actually kept the first serves hobbit-alerts.cfg file in a holding tank.  No it's alerts file had one alert, and that was for the first one. If the first went down, it would run a script that would copy the alerts file in place, thus making it the primary. In that alerts file, there is a rule that looks for recovery of the first server, and when that happens, a script is run that copies the backup alert file back in place.

Easy.

This question was posted a couple months ago. Check the archives. I'm pretty sure I posted the scripts.

Paul.


Paul Root
Lead Internet Systems Eng
CenturyLink
quoted from Carl Melgaard
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Carl Melgaard
Sent: Thursday, May 12, 2011 2:47 AM
To: 'xymon at xymon.com'
Subject: [Xymon] Setting Xymon up for redundancy/HA

Hi,

Im curious how you guys have achieved to setup Xymon for HA/redundancy - so that you can do maintenance etc. on 1 Xymon server, and still keep monitoring hosts with the other.

I've looked at the different approaches in the "Administration Guide", but they all have pros and cons and some are rather complex.

The goals I have: Being able to keep monitoring with 1 xymon server down - have all data etc. sync'ed between the 2 xymon servers, so I don't miss out on historic data - don't get double notifications/alerts - easy administration.

We currently have 4 data centres, spread around on different locations - one possibility would be to have 1 xymon server in each data centre, with the local hosts reporting in to that server, but how do I keep on monitoring those hosts, if the local xymon server crashes?

Hope you can answer some of my questions.


Regards,
Carl Melgaard

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
list Olivier Audry · Thu, 12 May 2011 14:53:30 +0200 (CEST) ·
hello

in my company we use drbd with heartbeat and VIP.


1 cluster of two servers with drbd and heartbeat and VIP in each dc (18)
1 central cluster of two servers with drbd and heartbeat and VIP.

I put drbd on fs data and server. We switch this two fs.

the link between local central is done by bbproxy.

this is working very well.

oau

----- Mail original -----
quoted from Carl Melgaard
De: "Carl Melgaard" <user-cdea55422fa4@xymon.invalid>
À: "xymon at xymon.com" <xymon at xymon.com>
Envoyé: Jeudi 12 Mai 2011 09:46:44
Objet: [Xymon] Setting Xymon up for redundancy/HA


Hi, 


Im curious how you guys have achieved to setup Xymon for HA/redundancy – so that you can do maintenance etc. on 1 Xymon server, and still keep monitoring hosts with the other. 


I’ve looked at the different approaches in the “Administration Guide”, but they all have pros and cons and some are rather complex. 


The goals I have: Being able to keep monitoring with 1 xymon server down – have all data etc. sync’ed between the 2 xymon servers, so I don’t miss out on historic data – don’t get double notifications/alerts – easy administration. 


We currently have 4 data centres, spread around on different locations – one possibility would be to have 1 xymon server in each data centre, with the local hosts reporting in to that server, but how do I keep on monitoring those hosts, if the local xymon server crashes? 


Hope you can answer some of my questions. 


Regards, 
Carl Melgaard