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] XCP XenAPI fencing script (clustering support)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XCP XenAPI fencing script (clustering support)
From: m c <mcspam4me@xxxxxxxxx>
Date: Wed, 30 Mar 2011 22:09:17 +1100
Delivery-date: Wed, 30 Mar 2011 04:13:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=56zXSQKoJAzy7K1FHQ8UTNNHkJA9SgAxhgeTstbJWJg=; b=AY65lnQmsUW7tcWion7AdUABiNiXZflY9bEQ4GIqkOGhTw5lDWlEsDF2GLE9/CYX7c qZH3yvJrnBIYMTK3UykOmh0/MI8LYJL58DDMZeLXmo5XDy6MHQbgquJ+tBdnwVVXQy76 EBJyuPJkQIMZQcs6rsdUKt2uJqQf8wWLH7PEE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=owyDh5Bh2W0ehnMa0jeL96KHs5aJKpRfxuKzx1vt8hhQbB34hrjYNKIhKJspdxt08i J+BU+EWzPfVcHP3i727HWQer6LlPJZFLCeMs5UNK2LMq1J8dU+fwU3xdEEt+gfoVwHyz ejIIsbmOG2DPdcjOlwsyzbzL0EmrwVGxHOc5A=
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
Hi,

I think this would be the best forum, let me know if not.

I am in the middle of writing fencing scripts for Citrix XenServer virtual machines (specifically for use with Redhat Clustering, but will also work from pacemaker etc) and I noticed that XCP uses the same XenAPI (from what I can tell).

Just wondering if someone would be able to test the scripts on XCP and let me know if they work.

The latest tar ball can be downloaded from the following URL:-

Once extracted a test can be performed as follows (the following will just list all the VM's and their current state, it will not turn reboot a machine so is safe):-

cd /tmp
tar xvzf fence-xenserver-0.8.tar.gz
cd fence-xenserver-0.8
./fence_cxs_redhat.py  -o list -s http://192.168.1.1/ -l root -p <passwd>

That should be enough to test if it is functioning properly. Appreciate any feedback.

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