[DRBD-user] Split Brain notification fails

andschais at gmail.com andschais at gmail.com
Thu Dec 10 18:30:19 CET 2009

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


Hi all, this is my first post at DRBD list, my name is Andres and i'm noob
at drbd.
I'm trying to install a HA Debian Lenny cluster with Pacemaker + DRBD.
Is almost done, so i am testing it. My problem is that when I forced a split
brain, drbd didn't send a notification email as I configured at drbd.conf :
.....
    fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
    split-brain "/usr/lib/drbd/notify-split-brain.sh andres at mymail.com";
}

If i try to run notify-split-brain.sh manually from command line I get the
following error:
# sh /usr/lib/drbd/notify-split-brain.sh andres at mymail.com
      /usr/lib/drbd/notify-split-brain.sh: line 9: syntax error near
unexpected token `>'
      /usr/lib/drbd/notify-split-brain.sh: line 9: `exec > >(2>&- ; logger
-t "$PROG[$$]" -p local5.info) 2>&1'

I'm not a bash expert and line 9 is quite confusing for me.
Can someone help me at this point?
Thans in advance.
Andres.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091210/77474611/attachment.htm>


More information about the drbd-user mailing list