[Pacemaker] Fwd: drbd outdate peer

rasto at linbit.com rasto at linbit.com
Fri Sep 11 21:26:38 UTC 2009


On Fri, September 11, 2009 8:44 pm, Fausto Lombardi wrote:
> Furthermore, if I insert
> outdate-peer "echo $DRBD_RESOURCE > /tempfile"; and unplug the replication
> link ethernet I see in /tempfile the word r1 that is the name of the
> resource.
>
> Instead if I insert
> outdate-peer "echo $DRBD_PEER > /tempfile"; and unplug the replication link
> ethernet the file /tempfile is blank.
>
> So the $DRBD_PEER variable is blank, why????

Yes this is a bug in recent DRBD. As a workaround you can hardcode
"DRBD_PEER=... /usr/lib64/heartbeat/drbd-peer-outdater" in outdate-peer
handler and it will work.

Rasto Levrinc

-- 
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.





More information about the Pacemaker mailing list