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
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. -- 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
