SUSE Support

Here When You Need Us

evaluating parameters and testing of STONITH (HEARTBEAT)

This document (3232493) is provided subject to the disclaimer at the end of this document.

Environment


SUSE Linux Enterprise Server 10

Situation

You would like to setup STONITH for heartbeat, but you do not know which devices can be configured, what each device needs as parameters and whether you can test it.

Resolution

To see a list of all available STONITH plugins issue

stonith -L

you will get a list like:

apcmaster
apcmastersnmp
apcsmart
baytech
cyclades
drac3
external/ibmrsa
external/riloe
external/riloe.t
external/ssh
ibmhmc
ipmilan
meatware
null
nw_rpc100s
rcd_serial
rps10
ssh
suicide
wti_nps

the next step is to know which parameters your device will use, for this we assume that you use an "riloe", so you issue

stonith -t external/riloe -n

which will give you

hostname ilo_hostname ilo_user ilo_password ilo_can_reset ilo_protocol ilo_powerdown_method

these are the parameters necessary. Please keep in mind that the parameters needed are different with the different plugins. Don't expect the parameters to be the same for different devices.

To test you would issue now somthing similar to this, adapted to your needs of course:

stonith -t external/riloe hostname=guest_name ilo_hostname=guest_ilo_name ilo_user=rolf ilo_password=blubber ilo_can_reset=0 ilo_protocol=2.0 ilo_powerdown_method=button -l

Please notice that the STONITH man page states that

-p

should precede any parameter given. But this is only valid for heartbeat version 1, heartbeat version 2 expects you to give the name of the parameter and its value, without a preceding -p.

After this you have all information needed to setup a STONITH device in heartbeat and you testet its functionality.

 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3232493
  • Creation Date: 28-Nov-2007
  • Modified Date:04-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.