Skip to contentSkip to conversation

Patch for stonith_admin-fence-peer.sh

Drbd-dev Digimer 1 participant 1 message Jun 19, 2014

Subsystems (2)
lore
Share & tools
lore

Digimer

author
#0 lore raw

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

usr/lib/drbd/stonith_admin-fence-peer.sh renamed from usr/lib/drbd/stonith_admin-fence-peer.sh.orig +1 -1
@@ -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."
Signature · 3 lines
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?