[DRBD-user] DRBD notification

Igor Neves igor at 3gnt.net
Tue Nov 6 11:18:46 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, 5 Nov 2007 09:32:23 -0500
"Graham, Simon" <Simon.Graham at stratus.com> wrote:

> Take a look at 'drbdsetup /dev/drbd0 events' -- this command will
> output state changes and other events as they occur (including a
> special line output for split-brain when it occurs) -- you can write
> a script that parses the output from this command and reacts
> immediately...

Thanks very much, this is use full, and very easy to take this data and
write it to SQL or whatever, and do one pretty good look GUI :D.

Thanks very much.

> 
> Simon
> 
> > -----Original Message-----
> > From: drbd-user-bounces at linbit.com [mailto:drbd-user-
> > bounces at linbit.com] On Behalf Of Igor Neves
> > Sent: Monday, November 05, 2007 7:32 AM
> > To: drbd-user at linbit.com
> > Subject: [DRBD-user] DRBD notification
> > 
> > Hi,
> > 
> > There is some kind of notification (email, execute some script or
> > something) implemented in drbd?
> > 
> > I need DRBD to be reactive to some situations:
> > * Split-Brain (IMPORTANT)
> > * State Change (primary->secondary) (LESS IMPORTANT)
> > * Sync's (MUCH LESS IMPORTANT)
> > * ...
> > 
> > I can do some cron job script, to parse the output of '/proc/drbd'
> > every minute of so, but i want something more professional. It's
> > there anything something like this in DRBD?
> > 
> > I'm using drbd 8.0.6 release.
> > 
> > Thanks for the help.
> > Igor Neves


---------
Igor Neves <igor.neves at 3gnt.net>
3GNTW - Tecnologias de Informação, Lda
 
 sip igor at 3gnt.net 	jid igor at jabber.3gnt.org
 icq 249075444		tlm 00351914503611




More information about the drbd-user mailing list