To configure fencing, you need to configure one or more STONITH resources.
Procedure 4.3. Adding a STONITH Resource
Start the Linux HA Management Client and log in to the cluster as described in Section 4.1, “Linux HA Management Client”.
In the left pane, select and click +.
In the next dialog, set the following parameters for the resource:
Enter a unique ID for the resource.
From the list, select the resource agent class .
From the list, select the STONITH plug-in for controlling your STONITH device. A short description for this plug-in is displayed below.
Below , set the .
Activate if you want the cluster to monitor the fencing device. For more information, refer to Section 8.4, “Monitoring Fencing Devices”.
Click . The next window shows a summary of the parameters that you have already defined for that resource. All required for the selected STONITH plug-in are listed. You need to edit them in order to set them to appropriate values. You may also need to add more attributes or monitor operations, depending on your deployment and settings. For details how to do so, refer to Adding or Modifying Meta and Instance Attributes and Section 4.7, “Configuring Resource Monitoring”.
If all parameters are set according to your wishes, click to finish the configuration of that resource. The configuration dialog is closed and the main window shows the newly added resource.
To complete your fencing configuration add constraints, or use clones or both. For more details, refer to Chapter 8, Fencing and STONITH.