Hi list! I wish to know if to migrate a domU from a Xen server to another Xen server in LAN I need to create a cluster between these Xen servers, or can I migrate the virtual machines without having the servers in cluster? Thank you very much! Bye. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, shacky schrieb:> can I migrate the virtual machines without having the servers in > cluster?you don''t need such a cluster. You have to enable relocation in the xend-config.sxp file, and the guests have to be reside on a network storage, like NFS (for file based guests), SAN (fiberchannel) or ISCSI. Many people here using gfs (global file system) which is a cluster filesystem. If you do so, please use a dedicated network for relocation for security and performance reasons. cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz wrote:> If you do so, please use a dedicated network for relocation for security > and performance reasons.does anybody has datapoints (or anecdotical evidence) about performance using the same network for storage and relocation? -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> you don''t need such a cluster. You have to enable relocation in the > xend-config.sxp file, and the guests have to be reside on a network > storage, like NFS (for file based guests), SAN (fiberchannel) or ISCSI. > Many people here using gfs (global file system) which is a cluster > filesystem.Can''t I migrate a domU wich is using LVM storage? Neither in non-realtime? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, shacky schrieb:> Can''t I migrate a domU wich is using LVM storage? Neither in > non-realtime?Why not? You can, but not just a plain Volume. You have to setup any SAN based storage. I personally using ISCSI with Multipath and LVM as backend. cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Why not? You can, but not just a plain Volume. You have to setup any SAN > based storage. I personally using ISCSI with Multipath and LVM as backend.But does the storage need to be on another machine or it could be on the same Xen server? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, shacky schrieb:> But does the storage need to be on another machine or it could be on > the same Xen server?sure, it could be the same. Export: ====== Dom0_1 - data/vm01_disk -> ISCSI Dom0_1 - data/vm01_swap -> ISCSI Import: ====== Dom0_1 <- ISCSI - /dev/sdx Dom0_1 <- ISCSI - /dev/sdy Dom0_2 <- ISCSI - /dev/sdx Dom0_2 <- ISCSI - /dev/sdy the config files have to be the same -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shacky wrote:>> you don''t need such a cluster. You have to enable relocation in the >> xend-config.sxp file, and the guests have to be reside on a network >> storage, like NFS (for file based guests), SAN (fiberchannel) or ISCSI. >> Many people here using gfs (global file system) which is a cluster >> filesystem. >> > > Can''t I migrate a domU wich is using LVM storage? > Neither in non-realtime? >You can shut it down, image it, and boot the image on the other machine. With your DHCP and DNS setups done correctly, you can even edit the config file when transferring it and have it boot as a separate machine, but from an identical OS image. The trick is useful for development. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, Nico Kadel-Garcia schrieb:> You can shut it down, image it, and boot the image on the other machine.or instead off shutting down, use "pause" and "restore". cu denny -- Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog: http://www.nopsis.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Denny Schierz wrote:> hi, > > Nico Kadel-Garcia schrieb: > > >> You can shut it down, image it, and boot the image on the other machine. >> > > or instead off shutting down, use "pause" and "restore". > > cu denny >I don''t recommend that. If your migration is not in such a crying rush, better to have the system cleanly shut down and rebooted. This allows you the opportunity to set any other configuration changes needed in migrating it to the other service, such as network and memory. Also, when I last tried it, it failed miserably, so I''ve not pursued it. It may work well for you: I first started working with Xen almost a year ago, and things change and get fixed. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Sun, Aug 26, 2007 at 11:58:14PM +0100, Nico Kadel-Garcia wrote:> Denny Schierz wrote: > >or instead off shutting down, use "pause" and "restore". > > > I don''t recommend that. If your migration is not in such a crying rush, > better to have the system cleanly shut down and rebooted. This allows > you the opportunity to set any other configuration changes needed in > migrating it to the other service, such as network and memory. > > Also, when I last tried it, it failed miserably, so I''ve not pursued it. > It may work well for you: I first started working with Xen almost a year > ago, and things change and get fixed.Last time I tried this it also crashed and burned, creating massive corruption on the block device in the process, so I assumed it was not possible. Here''s what I did: - paused the domain - created new logical volume with exactly the same name/path on other dom0 - used dd to copy the content of original logical volume to the new one - copied the xen save file over to new dom0 - restored from this save file - saw lots of error messages about IO errors and filesystem inconsistencies, domain then paniced before I could shut it down so if this is meant to work I''d suggest there are bugs in it. Cheers, Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users