[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] How do I clone maintenance mode record ?
- To: "'hobbit (at) hswn.dk'" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] How do I clone maintenance mode record ?
- From: "Root, Paul" <Paul.Root (at) qwest.com>
- Date: Thu, 9 Jul 2009 13:22:13 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- Thread-index: AcoAuKGO6fLnIy0RR9aiHTxoqvN/lQACUjQg
- Thread-topic: [hobbit] How do I clone maintenance mode record ?
I have a separate hobbit-alerts.cfg file for the secondary. It simply monitors the primary, and if the primary goes down, runs a script to copy the primaries -alerts file into place.
Then it has a recovery script to turn itself back off.
The primary rdists the pertinent files over nightly.
Paul Root IM/MNS Infrastructure
-----Original Message-----
From: Alan Sparks [mailto:asparks (at) doublesparks.net]
Sent: Thursday, July 09, 2009 12:10 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] How do I clone maintenance mode record ?
T.J. Yang wrote:
>
> I am rsyncing configuration files from hobbit1( primary) to hobbit2 (standby) server.
>
> But without maintenance mode records of hobbit1 copy over, hobbit2 will generate alerts for hosts that had been put into maintenance mode already.
>
> Currently I tried to rsync "data/disabled" directory and restart hobbit2 server but the maintenace web page still show less hosts on hobbit2.
>
> Anyone know where is the maintenance records store at beside "data/disabled" ?
>
>
I recall, from a code browse some time ago, that the alerts module used
the acknowledge.log in deciding whether alerts had been sent -- you may
need to copy that over. I thought it odd, having that in the logs/
directory but used as a data file - but you might look at that.
-Alan
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk