[Gluster-users] xen+glusterfs+live migration?

Visco Shaun visco31 at gmail.com
Tue Feb 24 14:57:34 UTC 2009


Hi

i tried to perform a live migration of a vm in xen, created from an
image shared between two computer nodes in a network through glusterfs
located at same path location in both nodes. But the migration failed.
Can any one explain me how to setup such a migration?

The server, which was a third node, was exporting the image file of the
vm to the same location in both the nodes so that the after migration
too the image path remains the same.

Mounting the glusterfs was done with option -d disable.

Besides as i saw in some article i tried 'tap:aio' instead of 'file' but
that resuiltedin failure of booting of the vm from node 1 itself.Also
the same xend-config.sxp file is there on both nodes.

Saw in the technical FAQ that a live migration using glusterfs by xen is
possible, I wonder what i did wrong?

Can anyone help me on this trouble?


-- 
Thanks & Regards
visco
-------------- next part --------------
volume client
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.10.10.2
  option remote-subvolume brick
end-volume

-------------- next part --------------
volume brick
  type storage/posix
  option directory /root/images/ 
end-volume

volume server
  type protocol/server
  subvolumes brick
  option transport-type tcp/server # For TCP/IP transport
  option auth.ip.brick.allow *
end-volume
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xend-config.sxp
Type: text/x-emacs-lisp
Size: 306 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090224/426680b2/attachment.bin>
-------------- next part --------------
kernel = "/boot/xen-vmlinuz"
ramdisk = "/boot/initrd-xen.img"
memory = 256
name = "centos.5-2.64"
vif = [ '' ]
#dhcp= "dhcp"
#disk = ['tap:aio:/root/images/centos.5-2.64.img,sda1,w']
disk = ['file:/root/images/centos.5-2.64.img,sda1,w']
root = "/dev/sda1 ro"
#extra = "fastboot"
vfb = ['type=vnc,vncunused=1,vncpasswd="zoom"']



More information about the Gluster-users mailing list