Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
From: Digimer <lists@alteeve.ca>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] Patch for stonith_admin-fence-peer.sh
Date: Thu, 19 Jun 2014 17:46:51 -0400	[thread overview]
Message-ID: <53A35A4B.4050408@alteeve.ca> (raw)

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?

                 reply	other threads:[~2014-06-19 21:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A35A4B.4050408@alteeve.ca \
    --to=lists@alteeve.ca \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox