2007/7/5, Ciro Iriarte <[EMAIL PROTECTED]>:
2007/6/27, Ciro Iriarte <[EMAIL PROTECTED]>: > 2007/6/27, Lars Marowsky-Bree <[EMAIL PROTECTED]>: > > On 2007-06-27T01:53:20, Ciro Iriarte <[EMAIL PROTECTED]> wrote: > > > > > Hi, i have a basic heartbeat2 cluster running (the only resource is a > > > floating ip address) and drbd-0.7.14 running on it's own on SLES9SP3. > > > Anybody has a procedure to tie them up?, i'm kind of lost even with > > > hb_gui (i'm not sure about Master/Slave ID for example). > > > > > > I can live with an active/standby filesystem but don't know if i > > > should use a drbd, drbddisk or filesystem resource. > > > > If you're using "crm yes", you will find my first take at documenting > > this here: http://wiki.linux-ha.org/DRBD/HowTov2 > > > > I've tested this, but I might have made some mistakes transcribing the > > details to the wiki page. Please let me know what improvements would be > > helpful. > > > > > > Regards, > > Lars > > > > -- > > Teamlead Kernel, SuSE Labs, Research and Development > > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) > > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > Looks exactly what i was looking for, thanks!! > > Ciro > Well, just found time to test the configuration guide, but looks i'm having problems with cibadmin (and i'm almost sure it's my fault).Modified the initial configuration example and saved it on a xml file, while trying to import it i get this error: ---------------- asusis-ope1:~/ha # cibadmin -C -x drbd.xml Call cib_create failed (-24): Required section was missing <failed/> ---------------- Config: ---------------- <master_slave id="ms-hadata0"> <meta_attributes id="ma-ms-hadata0"> <attributes> <nvpair id="ma-ms-hadata0-1" name="clone_max" value="2"/> <nvpair id="ma-ms-hadata0-2" name="clone_node_max" value="1"/> <nvpair id="ma-ms-hadata0-3" name="master_max" value="1"/> <nvpair id="ma-ms-hadata0-4" name="master_node_max" value="1"/> <nvpair id="ma-ms-hadata0-5" name="notify" value="yes"/> <nvpair id="ma-ms-hadata0-6" name="globally_unique" value="false"/> <nvpair id="ma-ms-hadata0-7" name="target_role" value="stopped"/> </attributes> </meta_attributes> <primitive id="hadata0" class="ocf" provider="heartbeat" type="drbd"> <instance_attributes id="ia-hadata0"> <attributes> <nvpair id="ia-hadata0-1" name="drbd_resource" value="hadata0"/> </attributes> </instance_attributes> </primitive> </master_slave> ---------------- Any directions will be welcome. Ciro.
Got it :) asusis-ope1:~/ha # cibadmin -C -o places drbdlocation.xml asusis-ope1:~/ha # cibadmin -C -o constraints -x drbdlocation.xml Ciro
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
