Hi, I have a shared disk presented to two hosts. A domU is living on it. Do I can safely pause the domU on one host, and then start/resume it on the other one? Would that work somehow, or would that trash the filesystem of the domU? kind regards Sebastian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sebastian Reitenbach schrieb:> Hi, > > I have a shared disk presented to two hosts. A domU is living on it. > Do I can safely pause the domU on one host, and then start/resume it on the > other one? Would that work somehow, or would that trash the filesystem of > the domU?Theoretically, yes. Practically, no. Stop the domU on one host and start it on the second. Additionally, add some logic to prevent (accidental) starting the domU on both machines. The filesystem will definitely be destroyed if the domU is started/unpaused on two machines. -- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
If he''s using shared storage between two Xen machines, would he not be able to simply migrate from one to the other?? xm migrate <options> On Nov 16, 2007 12:16 PM, Stephan Seitz <s.seitz@netz-haut.de> wrote:> Sebastian Reitenbach schrieb: > > Hi, > > > > I have a shared disk presented to two hosts. A domU is living on it. > > Do I can safely pause the domU on one host, and then start/resume it on the > > other one? Would that work somehow, or would that trash the filesystem of > > the domU? > > Theoretically, yes. > Practically, no. Stop the domU on one host and start it on the second. > Additionally, add some logic to prevent (accidental) starting the domU > on both machines. > The filesystem will definitely be destroyed if the domU is started/unpaused > on two machines. > > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------> Jeffrey Lane - W4KDH <------------------- www.jefflane.org Another cog in the great Corporate Wheel The internet has no government, no constitution, no laws, no rights, no police, no courts. Don''t talk about fairness or innocence, and don''t talk about what should be done. Instead, talk about what is being done and what will be done by the amorphous unreachable undefinable blob called "the internet user base." -Paul Vixie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
If you want to share a vm between 2 hosts and migrate the vm without stopping it you ned to use a cluster file system. On SuSE we normally use OCFS2, on redhat I believe it''s gfs. One of the issues we''ve encountered with OICFS2 is that it doesn''t do sparce files. My firm has been experimenting with using Veritas cluster file system with XEN on SLES 10.1. We arfe going at it slowly since it''s not a supported as a configuration by either Novell or Symantec at the moment. On Nov 16, 2007 8:02 AM, Sebastian Reitenbach <sebastia@l00-bugdead-prods.de> wrote:> Hi, > > I have a shared disk presented to two hosts. A domU is living on it. > Do I can safely pause the domU on one host, and then start/resume it on the > other one? Would that work somehow, or would that trash the filesystem of > the domU? > > kind regards > Sebastian > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Rob Aronson Storage, Virtualization and Orchestration Practice Manager, Novacoast USA _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > If you want to share a vm between 2 hosts and migrate the vm without > stopping it you ned to use a cluster file system. On SuSE we normally > use OCFS2, on redhat I believe it''s gfs. One of the issues we''ve > encountered with OICFS2 is that it doesn''t do sparce files. My firm > has been experimenting with using Veritas cluster file system with XEN > on SLES 10.1. We arfe going at it slowly since it''s not a supported as > a configuration by either Novell or Symantec at the moment.Does OCFS2 support mmap well enough now to allow dselect/apt/etc to work? When I tried it last time (~18 months ago), I couldn''t use it as a root filesystem for this reason. ClusterNFS has a really nifty feature that allowed you to name a file with the MAC or IP address encoded into the filename, which allows different nodes to see different versions of the files, eg something like /etc/hostname$192.168.2.7$ Do any of the clustered filesystems you mentioned have that or similar features? Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Tomasz Chmielewski <mangoo@wpkg.org> wrote:> Sebastian Reitenbach schrieb: > > Hi, > > > > I have a shared disk presented to two hosts. A domU is living on it. > > Do I can safely pause the domU on one host, and then start/resume it onthe> > other one? Would that work somehow, or would that trash the filesystemof> > the domU? > > It should work flawlessly. > > Moreover, you don''t need to pause the domU, you can use (live) migration > to move the domU between the hosts. >Thank you all for your input. The disks are raw devices, the domU is directly installed onto it, not in a file on a filesystem on that device. The reason why I am aksing is, I want to use virtual Xen nodes in a Cluster, and I want to know when on one node the virtual domain is paused, and I start the same domain on a different host, whether it will trash my filesystem for that node, or whether I can do that without damage? It''s about how I will treat a paused virtual domain in the cluster, either as running or as stopped. kind regards Sebastian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Nov 19, 2007 at 03:52:52PM +1100, James Harper wrote:> > ClusterNFS has a really nifty feature that allowed you to name a file > with the MAC or IP address encoded into the filename, which allows > different nodes to see different versions of the files, eg something > like /etc/hostname$192.168.2.7$GFS allows something similiar called ''context dependent path names'': http://www.d2om.com/docs/manuals/csgfs/browse/4.5/SAC_Global_File_System/s1-manage-pathnames.html Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users