Dushmant Mohapatra
2007-Jul-10 20:39 UTC
[Xen-users] SAN setup for migration of Xen domains.
Hello, I want to setup an environment where I can test live migration Xen domains (with SAN storage). Initially I had setup my environment as follows: RHEL 5.0 + Xen (Default 3.0.3 version supplied with RHEL 5.0) on 2 Xeon machines. I had also put RHEL 5 Guest domains on each of the machines. The storage for guest domains were allocated as files on the local hard disk on each of the machines (means I did not create separate hard disk partition for the guest domains. Instead allocated as files). Till this there was no SAN involved. Now I want to shift to SAN set up for live migration of Xen domains. I have mapped the two Xeon machines to volumes on SAN. But I am not sure what is to be done after this? Do I need to reinstall everything? So can any one please tell me what all I need to do for this? (Let me know about any pointers to any reading materials related to this topic.) Please help... Regards Dushmanta --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Hierling
2007-Jul-11 13:22 UTC
Re: [Xen-users] SAN setup for migration of Xen domains.
Hi, (means I did not create separate hard disk partition for the guest domains.> Instead allocated as files). > > Till this there was no SAN involved. > > Now I want to shift to SAN set up for live migration of Xen domains. > > I have mapped the two Xeon machines to volumes on SAN. But I am not sure > what is to be done after this? Do I need to reinstall everything?you should create lvms on your san and copy the content of your domu files to the lvms. thats all. if you want to use files (as you have it now) you need a cluster file system on your san, i would not recommend that because if one host fences the other the whole Dom0 doesn''t get any access to the fs on the san, some clusterfs implementations reboots the fenced server (ocfs2). i dont know much about the file backend but i think you can mount the file image and copy the content to the lvm (cpio, tar). regards Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users