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

Re: [Xen-users] AoE server & client on same physical xen box?



On Tue, 22 Jan 2008, Tom Mornini wrote:

Assuming you're running bridged network mode, I'd be highly surprised if this didn't work.

--
-- Tom Mornini

On Jan 22, 2008, at 12:31 PM, rabbtux rabbtux wrote:

A while back, I did some testing with Aoe on my xen boxes.  I found
that I could not get an Aoe partition from Dom0 served to a DomU on
the same box.  My conclusion is that you can't  get an Aoe server and
Aoe client to work on the same box, even between Dom0 and DomU, or a
pair of DomUs.  Is there something I might be missing?  Anyone else
successful?

I had to make a change to the vblade.c code... there's a packet size check that seems to fail... I have no idea why it is only an issue in XEN configurations, but it seems that it is... Here's the change:

--- vblade-14/aoe.c     2006-11-20 09:48:05.000000000 -0800
+++ vblade-14.tom/aoe.c 2007-04-17 19:07:35.000000000 -0700
@@ -202,7 +202,7 @@
                        perror("read network");
                        exit(1);
                }
-               if (n < 60)
+               if (n < 20)
                        continue;
                p = (Aoehdr *) buf;
                if (ntohs(p->type) != 0x88a2)

that seems to be sufficient to make vblade work "on the same box"

-Tom


_______________________________________________
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®.