Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thu, May 28, 2009 at 02:36:40PM -0700, Alireza Nematollahi wrote: > Hi guys, > > I wanted to know if there is any handler in DRBD that is activated when > DRBD's peer is disconnected? So, what I'm looking for is basically, when > the DRBD peer is for whatever reason is not there anymore, I want the > peer to run a command. care to share your conceptual ideas? > Anybody knows how to do this? first, there is the "fence-peer" handler (still better known as the "outdate-peer" handler). called whenever a Primary loses connection. then there is the "drbdsetup events" interface. hth. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed