Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
2 changes for the online documentation: (which is excellent!)
*
1.*
On the page:
http://www.drbd.org/users-guide/s-heartbeat-crm.html#s-heartbeat-crm-config
the section:
"Adding a DRBD-backed service to the cluster configuration"
the configuration shown in the grey box does not validate to the DTD. I
had to add
<attributes>
</attributes>
tags to the configuration to make it work.
example:
<group ordered="true" collocated="true" id="rg_mysql">
<primitive class="heartbeat" type="drbddisk" provider="heartbeat" id="drbddisk_mysql">
<instance_attributes>
<attributes>
<nvpair name="target_role" value="started"/>
<nvpair name="1" value="mysql"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="ocf" type="Filesystem" provider="heartbeat" id="fs_mysql">
<instance_attributes>
* <attributes>*
<nvpair name="device" value="/dev/drbd0"/>
<nvpair name="directory" value="/var/lib/mysql"/>
<nvpair name="type" value="ext3"/>
* </attributes>*
</instance_attributes>
</primitive>
<primitive class="ocf" type="IPaddr" provider="heartbeat" id="ip_mysql">
<instance_attributes>
* <attributes>*
<nvpair name="ip" value="192.168.42.1"/>
* </attributes>*
</instance_attributes>
</primitive>
<primitive class="lsb" type="mysql" provider="heartbeat" id="mysql"/>
</group>
*2.
*the /usr/lib/ocf/resource.d/heartbeat/Filesystem meta-data command
states that the
<nvpair name="type" value="ext3"/>
should really be
<nvpair name="fstype" value="ext3"/>
*
*although it did not seem to matter in my case. I am using ext3 and it may just not care unless you are using another FSType.
Thanks!!
-Jeff Humes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080306/c2954ca9/attachment.htm>