[Pacemaker] Migrate/run resource only if m/s resource is master/promoted on target node

Michael Schwartzkopff misch at multinet.de
Mon Dec 28 13:40:49 UTC 2009


Am Montag, 28. Dezember 2009 14:36:11 schrieb Martin Gombač:
> Hi,
>
> i have mostly working Xen + DRBD + Live migration + Resource fencing,
> but here is a slight issue with my crm config.
>
> I want for resource Hosting to migrate to other node only when the drbd
> resource there is primary. I did try to achieve this using ordering (see
> config below). Currently it can happen, that drbd resouce is still in
> slave (secondary) while migration starts. Example:

What about a colocation constraints refering to the resource in master state?

-- 
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: misch at multinet.de
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




More information about the Pacemaker mailing list