[Drbd-dev] Patch for stonith_admin-fence-peer.sh

Digimer lists at alteeve.ca
Thu Jun 19 23:46:51 CEST 2014


This will help with debugging by telling pacemaker who called stonith_admin.

--- /usr/lib/drbd/stonith_admin-fence-peer.sh.orig	2014-06-19 
15:15:31.281041648 -0400
+++ /usr/lib/drbd/stonith_admin-fence-peer.sh	2014-06-19 
17:38:37.532311566 -0400
@@ -30,7 +30,7 @@
  fi

  for p in $DRBD_PEERS; do
-  stonith_admin --fence $p
+  stonith_admin --tag drbd --fence $p
    rc=$?
    if [ $rc -eq 0 ]; then
      log "stonith_admin successfully fenced peer $p."



-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?


More information about the drbd-dev mailing list