Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] Patch for stonith_admin-fence-peer.sh
@ 2014-06-19 21:46 Digimer
  0 siblings, 0 replies; only message in thread
From: Digimer @ 2014-06-19 21:46 UTC (permalink / raw)
  To: drbd-dev

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-19 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19 21:46 [Drbd-dev] Patch for stonith_admin-fence-peer.sh Digimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox