From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Make fenced manual override work as fencing
Date: Fri, 29 Feb 2008 14:24:09 -0500 [thread overview]
Message-ID: <20080229192409.GC12537@redhat.com> (raw)
In-Reply-To: <1204150606.13733.0.camel@ayanami.boston.devel.redhat.com>
Pushed.
On Wed, Feb 27, 2008 at 05:16:46PM -0500, Lon Hohberger wrote:
> -static void update_cman(char *victim, char *method)
> +void update_cman(char *victim, char *method)
> {
> cman_handle_t ch;
> struct cman_node node;
> diff --git a/fence/fenced/fd.h b/fence/fenced/fd.h
> index 988a412..0b78d19 100644
> --- a/fence/fenced/fd.h
> +++ b/fence/fenced/fd.h
> @@ -192,5 +192,6 @@ int update_cluster_members(void);
> int is_member(char *name);
> int is_fenced(char *name);
> fd_node_t *get_new_node(fd_t *fd, int nodeid, char *in_name);
> +void update_cman(char *victim, char *agent);
>
> #endif /* __FD_DOT_H__ */
> diff --git a/fence/fenced/recover.c b/fence/fenced/recover.c
> index 82a3c42..7f8aace 100644
> --- a/fence/fenced/recover.c
> +++ b/fence/fenced/recover.c
> @@ -406,6 +406,7 @@ static void fence_victims(fd_t *fd, int start_type)
> syslog(LOG_WARNING, "fence \"%s\" overridden by "
> "administrator intervention", node->name);
>
> + update_cman(node->name, "override");
> list_del(&node->list);
> free(node);
> }
>
>
--
Lon Hohberger - Software Engineer - Red Hat, Inc.
prev parent reply other threads:[~2008-02-29 19:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-27 22:15 [Cluster-devel] [PATCH] Make fenced manual override work as fencing Lon Hohberger
2008-02-27 22:16 ` Lon Hohberger
2008-02-29 19:24 ` Lon Hohberger [this message]
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=20080229192409.GC12537@redhat.com \
--to=lhh@redhat.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;
as well as URLs for NNTP newsgroup(s).