> Make a location constraint that prefers the DRBD ressource in Master state on > your first node. But why do you want to do this anyway? Only if the other > node is considerably slower or has some other deficits. > > Beware that your resource_stickiness is not higher than the location > perference.
Due to budget constraints I can only have 2 machines, but I want to split the load across them so I'm trying a set up with a primary partition on each machine and its secondary on the opposite machine. So obviously if a machines fails I need it to sync back and become primary again after recovery so that the load is split between the machines again. >From what I've heard a primary/primary setup with GFS/OCFS2 isn't a good idea for mission critical services just yet so I'm trying this more complicated option. After some reading, I'm assuming location constraints would normally be done with heartbeat v2? Is it possible to do something similar with heartbeat v1? I've got auto failback switched on, but since drbd is being started by init it won't switch back . Can drbd be managed more fully in heartbeat v1? On 20/02/2008, Michael Schwartzkopff <[EMAIL PROTECTED]> wrote: > Am Mittwoch, 20. Februar 2008 14:11 schrieb Guy: > > > Hi, > > > > I'm busy trying out DRBD for the first time. I've got it all set up > > and it runs nicely, but when the Primary fails (stopping heartbeat), > > the Secondary becomes Primary and stays that way once the Primary > > comes back up again. > > I've been through drbd.conf, particularly the after-sb-xpri options > > but I still can't see any way to make the old Primary become Primary > > again. > > Is there some way of doing this that I'm missing? > > > > Thanks for any help. > > Guy > > > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: [EMAIL PROTECTED] > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht München HRB 114375 > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > -- Don't just do something...sit there! _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
