OpenVZ Forum


Home » General » Support » openvz on SAN?
openvz on SAN? [message #27580] Wed, 20 February 2008 04:12 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
Has anyone tried openvz on SAN?
Hows the performance on SAN?

Thanks
Re: openvz on SAN? [message #27597 is a reply to message #27580] Wed, 20 February 2008 11:12 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Hello,

What exactly you are going to do on SAN?

If you want to have failover solution using ext3 partitions on SAN then performance will be good.

If you want to have shared storage based on GFS then performance will be not the same as on ext3 partitions, because GFS itself is very complicated file system with distributed lock manager which uses network for communication.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: openvz on SAN? [message #27598 is a reply to message #27580] Wed, 20 February 2008 11:19 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
I plan to run VPS on SAN. Where we connect multiple server to one SAN. but I believe it wont be good idea after reading your reply.
Re: openvz on SAN? [message #27601 is a reply to message #27598] Wed, 20 February 2008 11:59 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
So, you will need file system like GFS, to be able to mount it on multiple servers at the same time.
You can try to play with GFS a little bit. If nodes will be connected with 1GB network, then performance should be good enough.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: openvz on SAN? [message #27604 is a reply to message #27601] Wed, 20 February 2008 14:54 Go to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Hi, I have deployed openvz using san and gfs.

-apple xserve xraid (fiber channel interface, 2gbit)
-fc switch
-2 nodes with fc card
-openvz running ves with the same ips
-lvs cluster in front to load balance/rewrite layer 3 traffic across ves

To compile the kernel I had to edit some filesystem hooks and add some arguments to functions so that the gfs patch would add, but it was self explanatory. I don't have the patch on me for this but it took only 5 minutes.

The performance is "OK"- I see many processes stay in disk wait for very long, iowait is much higher then it would be on ext3 (unshared). I don't think gfs is really designed for performance at this stage. The performance is much less then ext3 on the same hardware. I set up this openvz/gfs deployment this to meet a technical need (HA) and luckily didn't need screaming performance. I think using an open source alternative like iscsi (no expensive fc equipment) would be lower performance but I am interested in hearing from people doing this.

Rick



-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters

[Updated on: Wed, 20 February 2008 14:56]

Report message to a moderator

Previous Topic: Fedora Core 8 and OS Template Cache
Next Topic: How to do live migrate of VPS over 30gb?
Goto Forum:
  


Current Time: Tue Aug 27 13:57:46 GMT 2024

Total time taken to generate the page: 0.03606 seconds