cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Xen virtual machine fencing
Date: Thu, 05 Oct 2006 12:25:29 -0400	[thread overview]
Message-ID: <1160065529.18145.12.camel@rei.boston.devel.redhat.com> (raw)

Hi,

I committed an updated agent for fencing Xen virtual machines to CVS.
It allows fencing of any virtual machine from any other host in the
cluster, and handles the case where the VM no longer exists.  Note that
there is no 'on' function mostly due to the fact that it would require a
lot of configuration knowledge about the VM which is currently not
available.

The README is not 100% complete, and neither are any of the features
mentioned in TODO. ;)

Basically, here's how to get it running:

  - build (requires nss, openais, cman, & nspr development stuff)
  - install openais + cman
  - generate a key file (e.g. dd if=/dev/urandom
    of=/etc/cluster/fence_xvm.key bs=4096 count=1)
  - scp /etc/cluster/fence_xvm.key to all dom0 cluster nodes.
  - start cman
  - start fence_xvmd with whatever options you like on all members of
    the dom0 cluster (must be started with same options cluster-wide
  - start domU nodes
  - scp /etc/cluster/fence_xvm.key to all domU machines.
  - install fence_xvm on domU nodes
  - fence_xvm -H <name of domU>  || fence_xvm -u -H <uuid>
    (boom)

If anyone wants to take up the ball on anything in the TODO, let me
know.  (If you want to implement the SSL part, you need to use the
nss/nspr libraries, and NOT openssl, due to licensing and other
reasons).

-- Lon



                 reply	other threads:[~2006-10-05 16:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1160065529.18145.12.camel@rei.boston.devel.redhat.com \
    --to=lhh@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).