[Linux-cluster] clustering inside of vmware -- fencing
Kevin Anderson
kanderso at redhat.com
Thu Oct 9 21:18:42 UTC 2008
There is a new implementation of the fence_vmware agent written in
python in the GIT tree:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=tree;f=fence/agents/vmware;h=d07bfd7a8d6f445f15f793626cf493a9edf11833;hb=refs/heads/master
This one uses the new libfence python infrastructure and hopefully does
what you need. Check it out and let us know.
Kevin
On Thu, 2008-10-09 at 14:55 -0600, Andrew A. Neuschwander wrote:
> VMware::VmPerl.pm a deprecated api. The current vmware perl api is the
> VI Perl Toolkit (VMware::VIM2Runtime). I have a centos 5.2 gfs cluster
> running in a VMware ESX cluster (with virtualcenter). I have a mix of
> CentOS VMs and physical machines participating in the GFS cluster.
>
> I modified the fence_vixel agent to use this new api, and called it
> fence_vi3. It's fairly basic and works, but could use some improvements.
> I've been using it for almost a year:
>
> https://www.redhat.com/archives/cluster-devel/2007-November/msg00056.html
>
> The old fence_vmware agent logs into a single ESX/GSX server using the
> old api and resets the targeted guest. fence_vi3 logs into the
> VirtualCenter and resets the requested VM. This is needed in a ESX
> cluster, since you don't know on which ESX machine your Centos/Rhel
> guest is running.
>
> I don't know if this is a supported setup, but it works. I've done a lot
> of heavy testing and optimizing of gfs in this setup. My volume group
> which hold my gfs filesystems is 14TB and has been in production for a
> good 6 months. Obviously, YMMV.
>
> -Andrew
> --
> Andrew A. Neuschwander, RHCE
> Linux Systems/Software Engineer
> College of Forestry and Conservation
> The University of Montana
> http://www.ntsg.umt.edu
> andrew at ntsg.umt.edu - 406.243.6310
>
>
> Terry Davis wrote:
> > Hello,
> > I am trying to set up a RHEL5 cluster inside of VMware (client request). I
> > see there are hints of a fence_vmware script floating around. I found one
> > on sources.redhat.com but this, coupled with the latest toolkit from vmware
> > yields a missing VMware::VmPerl.pm file. This got me to step back and think
> > about this a bit further.
> >
> > 1) is this a supported configuration?
> > 2) what am I missing with the fence_vmware script?
> > 3) can anyone share any working configurations with this?
> >
> > Thanks!
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster at redhat.com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list