[DRBD-user] what's the correct procedure for promoting secondary to primary (when primary is down)?

Felix Frank ff at mpexnet.de
Fri Sep 21 16:51:39 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

the scenario is really very common and requires no action aside from
those documented everywhere.

On 09/21/2012 04:17 PM, Lonni J Friedman wrote:
> I'm trying to do a proof of concept, in which I was attempting to
> synthetically simulate the failure of the primary.   I did this by
> bringing down the network interface on the primary.  Prior to doing
> that, drbd-overview reported everything as being in sync
> (UpToDate/UpToDate).

Then after pulling the plug - what does drbd-overview tell you now?
What's your local disk state (on the secondary)?

I suspect it's no longer UpToDate. If you wonder why it's not, please
examine the kernel logs on your secondary. All state changes are usually
logged and explained. Fell free to share them if they are not helpful on
their own.

Cheers,
Felix



More information about the drbd-user mailing list