[DRBD-user] Pacemaker, Xen and temporary dual primary

Lars Marowsky-Bree lmb at suse.com
Thu Jul 11 21:40:05 CEST 2013

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

On 2013-07-05T13:14:44, Jarno Elonen <jarno.elonen at housemarque.fi> wrote:

> 1) Is there a Pacemaker script (ocf?) that could do Xen live migration
> through *temporary* dual primary mode?

No. But this is actually not needed at all.

What you want is a Xen block script that switches the primary/secondary
mode at the right time. (That is probably not feasible with pacemaker
managing the DRBD instance.)

With each DRBD instance dedicated to a single VM, that ought to work

The VM never actually accesses the block storage from both nodes

There shouldn't be a need for dual-primary headaches here. The script
should not be too hard; you can likely look at block-dmmd and model on


Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

More information about the drbd-user mailing list