This file is indexed.

/usr/share/doc/cluster-glue/stonith/README.ibmrsa-telnet is in cluster-glue 1.0.12-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
ibmrsa-telnet - External stonith plugin for HAv2 (http://linux-ha.org/wiki)
                Connects to IBM RSA Board via telnet and switches power
                of server appropriately.

Description:

 IBM offers Remote Supervisor Adapters II for several
 servers. These RSA boards can be accessed in different ways.
 One of that is via telnet. Once logged in you can use 'help' to
 show all available commands. With 'power' you can reset, power on and
 off the controlled server. This command is used in combination
 with python's standard library 'telnetlib' to do it automatically.

Code snippet for cib

 It's useful to give a location preference so that the stonith agent
 is run on the/an other node. This is not necessary as one node can kill
 itself via RSA Board. But: If this node becomes crazy my experiences
 showed that the node is not able to shoot itself anymore properly.

 You have to adjust parameters, scores and timeout values to fit your
 HA environment.

<?xml version="1.0" ?>
<cib>
    <configuration>
        <resources>
            <primitive id="r_stonith-node01" class="stonith" type="external/ibmrsa" provider="heartbeat" resource_stickiness="0">
                <operations>
                    <op name="monitor" interval="60" timeout="300" prereq="nothing" id="r_stonith-node01-mon"/>
                    <op name="start" timeout="180" id="r_stonith-node01-start"/>
                    <op name="stop" timeout="180" id="r_stonith-node01-stop"/>
                </operations>
                <instance_attributes id="r_stonith-node01">
                    <attributes>
                        <nvpair id="r_stonith-node01-nodename" name="nodename" value="node01"/>
                        <nvpair id="r_stonith-node01-ipaddr" name="ipaddr" value="192.168.0.1"/>
                        <nvpair id="r_stonith-node01-userid" name="userid" value="userid"/>
                        <nvpair id="r_stonith-node01-passwd" name="passwd" value="password"/>
                        <nvpair id="r_stonith-node01-type" name="type" value="ibm"/>
                    </attributes>
                </instance_attributes>
            </primitive>
        </resources>
        <constraints>
            <rsc_location id="r_stonith-node01_not_on_node01" rsc="r_stonith-node01">
                <rule id="r_stonith-node01_not_on_node01_rule" score="-INFINITY">
                    <expression attribute="#uname" id="r_stonith-node01_not_on_node01_expr" operation="eq" value="node01"/>
                </rule>
            </rsc_location>
        </constraints>

    </configuration>
</cib>