Hi,
I've encountered some problem following the documentation on the ha
website while trying to setup my cluster.
Now I've reached the point where I've a working two node active/passive
cluster (HA 2.1.3) with one resource (Apache2) and DRBD 8.2.4 working in
the same two host as primary/secondary.
Can anyone summarize (or redirect me to something non the net) how to
integrate the drbd as a resource in heartbeat?
I've tried to add the following (from my active node) to my cib.xml
while heartbeat is up using the command:
cibadmin --obj_type resources -U -x drbd.add
drbd.add:
<master_slave id="ms-drbd0">
<meta_attributes id="ma-ms-drbd0">
<attributes>
<nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/>
<nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/>
<nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/>
<nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/>
<nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/>
<nvpair id="ma-ms-drbd0-6" name="globally_unique"
value="false"/>
<nvpair id="ma-ms-drbd0-7" name="target_role"
value="stopped"/>
</attributes>
</meta_attributes>
<primitive id="drbd0" class="ocf" provider="heartbeat"
type="drbd">
<instance_attributes id="ia-drbd0">
<attributes>
<nvpair id="ia-drbd0-1" name="drbd_resource" value="drbd0"/>
</attributes>
</instance_attributes>
</primitive>
</master_slave>
But I received the following error:
Call cib_modify failed (-22): The object/attribute does not exist
TIA for help.
--
Marco.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems