[Linux-HA] Problem with STONITH
Lars Marowsky-Bree
lmb at suse.de
Mon Mar 7 11:52:58 MST 2005
On 2005-03-07T18:23:07, Laurent LE PRIEUR <laurent.le-prieur at ac-nancy-metz.fr> wrote:
> But STONITH carries out a RESET (not one OFF) on the plug.
>
> Can you say to me if there is an option to specify OFF in the place of
> RESET?
In 1.2.x, it is a compile time "option". In hb_resource.c, ca. line
2066, change
rc = s->s_ops->reset_req(s, ST_GENERIC_RESET, nodename);
to
rc = s->s_ops->reset_req(s, ST_POWEROFF, nodename);
In 1.99.x / 2.x, it'll be configurable for the new CRM. (I'm not sure
whether making it configurable is already implemented or whether it's
still on the list, but it will be.)
Sincerely,
Lars Marowsky-Brée <lmb at suse.de>
--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business
More information about the Linux-HA
mailing list