public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* RHEL5 - fence: fixed a fence storm with fence_egenera
@ 2008-09-02 22:27 Chris Feist
0 siblings, 0 replies; only message in thread
From: Chris Feist @ 2008-09-02 22:27 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2efa8f8f2efced1d51205f41ce919d6dfd586f76
Commit: 2efa8f8f2efced1d51205f41ce919d6dfd586f76
Parent: d5f2ef1b10bc529ba989781215b48c688b2c42b4
Author: Chris Feist <cfeist@redhat.com>
AuthorDate: Wed Aug 27 13:50:06 2008 -0500
Committer: Chris Feist <cfeist@redhat.com>
CommitterDate: Tue Sep 2 17:23:28 2008 -0500
fence: fixed a fence storm with fence_egenera
4.8 - bz#437867
4.7.z - bz#459501
Committed on behalf of Jim Parsons (jparsons@redhat.com)
---
fence/agents/egenera/fence_egenera.pl | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fence/agents/egenera/fence_egenera.pl b/fence/agents/egenera/fence_egenera.pl
index 577d819..088c7d6 100755
--- a/fence/agents/egenera/fence_egenera.pl
+++ b/fence/agents/egenera/fence_egenera.pl
@@ -297,7 +297,8 @@ sub pserver_shutdown
{
my $rtrn=1;
local *egen_log;
- open(egen_log,">/tmp/eglog");
+ open(egen_log,">>/tmp/eglog");
+ print egen_log "Attempting shutdown at ".`date`."\n";
for (my $trys=0; $trys<20; $trys++)
{
last if (pserver_status != 0);
@@ -316,6 +317,12 @@ sub pserver_shutdown
# do I need to do anything here?
# We'll just wait for now
}
+ elsif (/^Booting/)
+ {
+ # Server is already on the way back up. Do nothing
+ $rtrn=0;
+ last;
+ }
elsif (/^Booted\(KDB\)/ || /^Debugging/ )
{
print egen_log "shutdown: crash dump being performed. Waiting\n";
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-02 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-02 22:27 RHEL5 - fence: fixed a fence storm with fence_egenera Chris Feist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).