How to configure the use of SSH when using the fence_apc fencing agent?

Solution Verified - Updated

Environment

Red Hat Enterprise Linux 5

Issue

How to configure the use of SSH when using the fence_apc fencing agent

Resolution

Use the secure="0" (to disable SSH) or secure="1" (to enable SSH) parameters.

Example entries from cluster.conf

<fencedevices>
        <fencedevice agent="fence_apc" ipaddr="1.1.1.1" login="ExampleCompany" name="ExampleAPC1" passwd="xxxxx" secure="1"/>
        <fencedevice agent="fence_apc" ipaddr="1.1.1.2" login="ExampleCompany" name="ExampleAPC2" passwd="xxxxx" secure="1"/>
</fencedevices>

Diagnostic Steps

If secure="on" is present in the cluster.conf, fencing may not occur.

SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.