Hi, List.
I am trying to configure my V2-style Heartbeat 2.1.3 to use STONITH.
This should give you all a good idea about my current configuration:
# crm_resource -L
Master/Slave Set: database-disk
database-storage-drbd:0 (heartbeat::ocf:drbd)
database-storage-drbd:1 (heartbeat::ocf:drbd)
Resource Group: db-cluster-service
database-filesystem (heartbeat::ocf:Filesystem)
database-ip (heartbeat::ocf:IPaddr)
database-server (heartbeat::ocf:mysql)
The cluster contains two nodes: db-sql1 and db-sql3.
Each node is located on a different data center, and communicate through
a redundant VLAN between the two. Both nodes have two power plugs
connected to different Cyclades power console (one per data center).
In order to power-cycle one of the hosts, I should "reset" both energy
intakes at the same time, or the system will survive.
I managed to write this Clone Resource for my cluster so far:
<clone id="MasterClusterFencingSquad">
<instance_attributes>
<attributes>
<nvpair name="clone_max" value="2"/>
<nvpair name="clone_node_max" value="1"/>
</attributes>
</instance_attributes>
<primitive id="power-console-nikhef" \
class="stonith" type="cyclades" provider="heartbeat">
<instance_attributes>
<nvpair name="ipaddr" value="power-console-nikhef">
<nvpair name="login" value="db-stonith">
<nvpair name="serialport" value="30">
</instance_attributes>
</primitive>
</clone>
My problem is that I can't find a way to tell STONITH "in order to
stonith host db-sql3, turn off plugs number 18 and 28, but don't touch
anything else".
There are other equipments connected to this console, including another
2-hosts cluster for the Database Replication Slave.
Can you please point me what am I missing?
Many thanks in advance.
Regards.
--
Luis Motta Campos is a software engineer,
Perl Programmer, foodie and photographer.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems