Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thu, Jan 03, 2008 at 06:46:08PM +0100, Malcom wrote: > Hello, > > > > I am now using my drbd 8.06 with heartbeat 2.1.2 with "drbddisk (instead > of an OCF) and it works mostly :-) . > my last tricky problem is that i spend several hours in configurating a > rule that only mounts the drbd filysystem, if the drbd device is primary. > Therefore i am using these following lines, located in my cib.xml: > > ====================== CIB.xml > ============================ > > > <resources> > > <master_slave > id="ms-drbd1"> Argh. drbddisk, class heartbeat is FOR SURE no master_slave resource. either get the OCF drbd resource agent running, which is supposed to be a master_slave thing, then have a place constraint for the Filesystem depending on that drbd resource being "master". good luck. or use drbddisk (heartbeat v1 style resource script), and delete all that master_slave stuff. then simply place the Filesystem resource after the drbddisk resource into a resource group which is configured for colocation and ordered processing of resources. -- : Lars Ellenberg http://www.linbit.com : : DRBD/HA support and consulting sales at linbit.com : : LINBIT Information Technologies GmbH Tel +43-1-8178292-0 : : Vivenotgasse 48, A-1120 Vienna/Europe Fax +43-1-8178292-82 : __ please use the "List-Reply" function of your email client.