[Pacemaker] Live migration with order constraints

Andreas Kurz andreas at hastexo.com
Thu Nov 10 13:01:12 CET 2011


On 11/10/2011 12:48 PM, Dmitry Golubev wrote:
> Hi,
> 
>>> I am trying to make a live migration of virtual machines (custom resource
>>> agent). The idea is to suspend the virtual machine on one node, remount a
>>> filesystem (on top of DRBD) on another node and resume the virtual machine.
>>
>> May I ask: Why? There is already the VirtualDomain RA which works fine,
>> including live migration.
> 
> Because from what I gather, VirtualDomain RA works only with virsh (KVM/Xen),
> but I need OpenVZ. The second reason is that I have groups of virtual machines
> that work on the same filesystem. There is no way to get this working with
> VirtualDomain RA, especially given the next point:

Then OpenVE RA might fit.

> 
>> Yes, migration only works without order-contraints the migrating service
>> depends on ... and no way to force it.
> 
>> Use existing, working and tested RAs.
> 
> Well, then I will need to hack unfortunately :( I hope it is possible for a
> resource agent to instruct other agents to move...

no, I don't think this is possible IMHO

Regards,
Andreas

-- 
Need help with Pacemaker?
http://www.hastexo.com/now


> 
> Thanks,
> Dmitry
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20111110/adce4315/attachment.sig>


More information about the Pacemaker mailing list