Configuring Fencing in the Web UI
You can use the web UI to configure different kinds of fencing configurations.
The configuration options that become available in the UI depend on the fencing type you create. For example, if you configure SBD fencing for a cluster, the web UI might present different options to those you see when you configure IPMI LAN fencing.
For the purposes of providing an overview of configuring fencing, the following sections show you how to configure SDB fencing in a cluster. The examples assume you have completed the steps discussed in SBD Fencing.
Creating a Fencing Device
Use the Cockpit HA Cluster Management web UI to create a fencing device for a cluster. For the purposes of the example, the procedure steps shown are those for creating device for SDB fencing.
What do you need?
The steps in the following procedure assume you have completed the following:
-
Configured a shared storage device to be accessible from all nodes that in the HA cluster. A shared storage device is needed for cluster service and application messaging, and for cluster SBD fencing.
-
Completed the steps discussed in SBD Fencing.
Steps
To create a fencing device using the HA Cluster Management web UI application, perform the following steps:
Configuring Fence Device Arguments
Use the Cockpit HA Cluster Management web UI to configure parameters for a fencing device.
What do you need?
-
The following proedure assumes you have created a fencing device for the cluster.
-
For more information on creating fencing devices, see About Fencing Configuration (stonith) and Creating a Fencing Device.
Configuring arguments for a fencing device is a task for advance use cases, and the precise configuration required depends upoon the cluster environment, the device hardware, and so on.
The following table gives an overview of some file device arguments you can set in the HA Cluster Management web UI:
Note:
The properties available in the UI can vary depending upon the type of fencing device you're configuring.
Property | Default | Overview |
---|---|---|
pcmk_reboot_timeout
|
60s | Advanced use only. Specifies a device-specific timeout value to use for
reboot actions instead of that specified by stonith-timeout .
|
pcmk_off_timeout
|
60s | Advanced use only. Specifies a device-specific timeout value to use for
off actions instead of that specified by stonith-timeout .
|
pcmk_reboot_retries
|
2 | Advanced use only. The maximum number of times to retry the reboot command within the timeout period. |
pcmk_status_retries
|
2 | Advanced use only. The maximum number of times to try the
status command within the timeout period.
|
Steps
To configure the arguments for a fencing device in the HA Cluster Management web UI application, perform the following steps: