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. _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker