WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] migration, shared storage and fencing

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] migration, shared storage and fencing
From: David Heidt <david@xxxxxxxxxxxxxxxx>
Date: Fri, 13 Aug 2010 14:18:34 +0200
Delivery-date: Fri, 13 Aug 2010 05:19:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (X11/20100411)
Hello List,

how do you guys manage the following scenario:

two host Dom0s: Alice and Bob with shared SAN (fibre)
one DomU: Chalie. Charlies filesystem resides on the shared storage.

* Charlie is running per default on Alice
* Alice is shutting down for maintainance and ist automatically
(heartbeat) migrating Charlie live to Bob
* Charlie is now running on Bob
* Alice is returning
* The foolish admin types on Alice's shell: "xm crea Charlie.cfg" ->
Charlie possibly broken, at least unusable!


My idea was to write a wrapper script for xm to check first, if Charlie
is already running on the partner Node and, if so, offering live migration.
In my first try I wrote a script that checked 'xm list' on the remote
host via ssh. But I don't want to rely on ssh, nor do I want to leave
unprotected ssh-root-keys on the servers.

My idea is to ask the xend-relication-service for running DomUs. Can
this be done somehow from the shell?

Cheers,

David


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>