[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Advice on distributed filesystems, nfs, gfs and so on


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Jose de Paula Eufrasio Junior <jose.junior@xxxxxxxxx>
  • Date: Tue, 6 Apr 2010 02:27:30 -0300
  • Delivery-date: Mon, 05 Apr 2010 22:28:31 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=eztwZxFYC2E9d5c7ZwIdy7HJITZ7T3Lxby2q/OFxCdPw2IzFqcdXdvaDPgBuntibIK sGzU0PwlOnqy7db1fkakX0ojwh+FUvMSqtSouE8pEZ8EHy7VutiTBtbvIBgLIE2B5bcu PgXE5RLsbGgxulHpx3BKnrNy1/DBOsyVfrO9g=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

So I spent the last 3 to 4 hours trying to figure out how to optimize
sharing content between VMs and Xen Hosts;

I have a fairly simple design, that I am linking here:
http://img297.imageshack.us/img297/4773/path2924.png

Basically, I have a number of VM's that run the same web app, and
there's a load balancer in front of them. There is also an 'adm' vm
that hold the same app, but is accessed directly only by people that
can login and change stuff (add content, configure, etc...) the
application.

There's some content that is added by the admin machine that the
others must see to serve it online, like images or other stuff that
doesn't go into the apps DB. For that I am using a NFS on the Xen
Host. This NFS is mounted RW by the adm VM and RO by the app vms. It
works, but NFS is giving me headaches these last days. The adm VM
sometimes locks the NFS (normally during uploads, sometimes it's not
even a large one). With the NFS locked up all the other VMs starve and
freeze. I changed rsize, wsize and did other configs on the NFS to fix
that. Other example is Lucene index generation, that doesn't quite
agree with NFS sometimes.

What I am llooking for is information on more robust file systems to
acomplish the same. NFS will not cut it when I have to, for example,
migrate VMs from one Xen host to anothe.

I checked on GFS2, and seems that I can use my SAN to share FS between
xen hosts (so putting the images on GFS can make migration easier on
the VM side).. I dont think I can use the app vms as nodes for the GFS
because they VMs are pretty much barebones running only the app and
serving content that is, at the moment, on NFS.

Any idea is welcome.

Thanks.

PS: Sorry if something is written wrong, I am without glasses at the miment! :P

-- 
Josà de Paula EufrÃsio JÃnior (coredump)
MCSO, GRC Professional
http://core.eti.br

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.