Have any of you done this before? I want two of my SAN attached CentOS5.3 (x86_64) machines to share a single 200GB mount point using GFS. Both Domain-0''s will store their DomU disk images on the GFS device. This configuration seems like a nice way to perform ''live migration''. So here''s my question: Do I have to setup RedHat clustering to do this? If so, would I cluster JUST the Domain-0''s and NOT the DomU''s? Any help pointing me in the right direction would be greatly appreciated! Thanks Kevin McKeon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, you must configure redhat cluster on dom0''s so you can use gfs and also failover between the virtual machines In case you wanna configure redhat cluster on domU''s, use xvm option on the cluster between the dom0''s. Between the domU''s cluster, use the option "virtual machine fence" On Sat, Apr 25, 2009 at 8:22 AM, Kevin McKeon <kevin.w.mckeon@gmail.com> wrote:> Have any of you done this before? > I want two of my SAN attached CentOS5.3 (x86_64) machines to share a single > 200GB mount point using GFS. Both Domain-0''s will store their DomU disk > images on the GFS device. This configuration seems like a nice way to > perform ''live migration''. > So here''s my question: > Do I have to setup RedHat clustering to do this? If so, would I cluster JUST > the Domain-0''s and NOT the DomU''s? > Any help pointing me in the right direction would be greatly appreciated! > Thanks > Kevin McKeon > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Daniel Theodoro (LPIC-1) Junior Level Linux Professional (LPIC-2) Advanced Level Linux Professional _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks - Do I need to setup clustering between my DomU''s as well? I''m not looking to take advantage of any of the clustering features (like failover of services) I simply want a GFS filesystem to be shared so I can do manual live migrations. Like this: -Both Dom0''s will see the same SAN attached GFS, lets call it /myGFS -The /myGFS mount point will contain domU1.img and domU2.img with their respective config files -The first Dom0 host will run the domU1.img and the second Dom0 host will run the domU2.img In this scenario, would I still need clustering setup on my DomUs? Thanks for your help! kevin On Sat, Apr 25, 2009 at 9:03 AM, Theodoro <daniel.theodoro@gmail.com> wrote:> Yes, you must configure redhat cluster on dom0''s so you can use gfs > and also failover between the virtual machines > > In case you wanna configure redhat cluster on domU''s, use xvm option > on the cluster between the dom0''s. Between the domU''s > cluster, use the option "virtual machine fence" > > > On Sat, Apr 25, 2009 at 8:22 AM, Kevin McKeon <kevin.w.mckeon@gmail.com> > wrote: > > Have any of you done this before? > > I want two of my SAN attached CentOS5.3 (x86_64) machines to share a > single > > 200GB mount point using GFS. Both Domain-0''s will store their DomU disk > > images on the GFS device. This configuration seems like a nice way to > > perform ''live migration''. > > So here''s my question: > > Do I have to setup RedHat clustering to do this? If so, would I cluster > JUST > > the Domain-0''s and NOT the DomU''s? > > Any help pointing me in the right direction would be greatly appreciated! > > Thanks > > Kevin McKeon > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > Daniel Theodoro > > (LPIC-1) Junior Level Linux Professional > (LPIC-2) Advanced Level Linux Professional >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Apr 25, 2009 at 8:40 PM, Kevin McKeon <kevin.w.mckeon@gmail.com> wrote:> Thanks - Do I need to setup clustering between my DomU''s as well?No.> I''m not > looking to take advantage of any of the clustering features (like failover > of services) I simply want a GFS filesystem to be shared so I can do manual > live migrations.If you have a SAN, why not simply assign a LUN for each domU, and allow both dom0 to access it? Raw devices generally provides MUCH better performance compared to file-backed storage. Plus, cluster file system (like GFS) generally have lower performance compared to non-cluster file system (like ext3), so putting domU images on GFS would lower its performance even more. An exception is if you have high-performance NAS (like highend Netapp box), or you''re absolutely sure that domU will only need low disk I/O troughput. In this scenario using file-backed images on top of NFS from a NAS would be easier. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users