[Linux-HA] extrernal Stonith device...

Lars Marowsky-Bree lmb at suse.de
Tue Mar 15 06:19:11 MST 2005

On 2005-03-15T11:18:25, Peter Weiss <Peter.Weiss at ConSol.de> wrote:

> /etc/ha.d/ha.cf:
> stonith_host itaibi09 external /etc/ha.d/stonith.ibmrsa -h rsa-itaibi12 -c "power state"
> stonith_host itaibi12 external /etc/ha.d/stonith.ibmrsa -h rsa-itaibi09 -c "power state"
> /etc/ha.d/rpc.cfg:
> rsa-itaibi09 /etc/ha.d/stonith.ibmrsa -h rsa-itaibi09 -u USERID -p bmw-linux -c "power state"
> rsa-itaibi12 /etc/ha.d/stonith.ibmrsa -h rsa-itaibi12 -u USERID -p bmw-linux -c "power state"

With your configuration using stonith_host, rpc.cfg is redundant, and
you might wish to remove it to reduce confusion.

The external plugin takes an additional parameter (which it subsequently
ignores) though for obscure reasons.


stonith_host itaibi09 external foo /etc/ha.d/stonith.ibmrsa -h rsa-itaibi12 -c "power state"
stonith_host itaibi12 external foo /etc/ha.d/stonith.ibmrsa -h rsa-itaibi09 -c "power state"

Fixing up the external plugin for 1.99.x is a great pet peeve of mine.

    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