Well the first thing to do, is to bring up DRBD and then mount it. So
you need something like this first:

               <primitive class="heartbeat" id="drbd_disk" provider="heartbeat" 
type="drbddisk">
                    <operations>
                        <op id="drbd_disk_mon" interval="120s" name="monitor" 
timeout="60s"/>
                    </operations>
                    <instance_attributes id="drbd_disk_inst_attr">
                        <attributes>
                            <nvpair id="drbd_disk_attr_1" name="1" 
value="stacked-resource"/>
                        </attributes>
                    </instance_attributes>
                </primitive>

And after this, you use what I've posted above.

-- 
heartbeat incompatible with drbd8-utils in jaunty
https://bugs.launchpad.net/bugs/369124
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is a bug assignee.

Status in “heartbeat” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: heartbeat

The version of drbd shipped with jaunty now outputs a warning when using 
"state" with drbdadm:
  'drbdadm state' is deprecated, use 'drbdadm role' instead.
Unfortunately when heartbeat sees this warning it thinks drbdadm has failed.
The result is that heartbeat cannot be used with drbd in jaunty.
There is a discussion on the heartbeat users list:
http://www.gossamer-threads.com/lists/linuxha/users/54352

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to