Luiz Angelo Daros de Luca
2008-Aug-12 22:17 UTC
[Xen-users] Avoid resources(disks) conflict on a multiserver envorioment
Hello, I have 3 servers connected to a SAN (EVA 4100) providing my xen disks. If I try to run two machines with conflict access in the same server, xen shows me an erros and quits. However, I can still bring up the same virtual machine on two servers, which migth lead to some disk problems :-) Is there any way to automagicly avoid xen conflics over some dom0 servers? (not letting me turn on one vm if it is up in another server) I''m trying to implement some checks on the vm config file (as it is python) and using file-based locks on a ocfs2 partition. It''s not quite clear but it is the best I found until now. Any better ideas, please? Thanks, -- Luiz Angelo Daros de Luca luizluca@gmail.com ICQ: 19290419 I Know, "Where you wanted to go today", but I decided to stop here instead! MS Windows _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra
2008-Aug-12 22:43 UTC
Re: [Xen-users] Avoid resources(disks) conflict on a multiserver envorioment
On Tue, Aug 12, 2008 at 5:17 PM, Luiz Angelo Daros de Luca <luizluca@gmail.com> wrote:> Is there any way to automagicly avoid xen conflics over some dom0 > servers? (not letting me turn on one vm if it is up in another server)i don''t know the details; but there are some scripts for HA that define xen VMs as resources. http://www.linux-ha.org/XenResource it can manage restarting, STONITH, migrations... or simply forbid you from running more than one of a given resource -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users