Why it is giving such error?
Thanks and regards
From: M.A. Williamson [mailto:maw48@xxxxxxxxxxxxxxxx] On Behalf Of Mark
Sent: Sunday, 9 December 2007 7:48 AM
To: P, Namitha
Subject: [Xen-users] multiple dom0s (was: Re: [Xen-devel] ragarding xen
I hope you don't mind but I've copied my reply onto xen-users for public
I am trying to create two privileged domains for better
I have set up XEN on sles10 sp1. Created VMs on that.
Is it possible to create two domain0's? If it is possible how can we
make them to manage VMs.
I tried a lot to get document on such topics...but I failed to get
dom0 is much like a domU but it is special in a number of ways. Two
1) can access the real hardware - by default dom0 owns all the real
in the system
2) can manage other domains
Number 1 can be extended to domUs using the pciback / pcifront drivers.
allows you to dedicate PCI devices to PV domUs. If you want, you can
these domUs to be "backends" for certain devices, so that they export
devices as virtual disks or virtual network interfaces to other domUs,
like dom0 does. Or they can just use the devices themselves to improve
performance. Giving a domain this ability means that you are trusting
much as dom0.
A more restricted form of this would be to just dedicate, say, a serial
to a domain. There's basic support so that HVM domains can be given
dedicated access to USB devices. And in the xen-unstable tree it's now
possible to dedicate PCI devices to HVM domUs - and isolate them so they
can't damage the system.
Number 2 is currently reserved only for dom0 and there's no way of
another domain to share this function.
There are lots of possibilities here, depending on what you're trying to
From: M.A. Williamson [mailto:maw48@xxxxxxxxxxxxxxxx] On Behalf Of
Sent: Monday, 3 December 2007 9:26 AM
Cc: P, Namitha
Subject: Re: [Xen-devel] ragarding xen in sles10
If you google around a bit you may find some backup scripts that
hacked up... I can't think of a specific project you'd go to off the
I am new to xen . I need to develop one project that will back up
virtual machine from host. Is there any "script which will support
in host. Or any script which is used to list files of virtual
in the host..........please help me in this regards
You could parse the config file to figure out what disk files are used
VM. Or you could use the xenstore-* (e.g. xenstore-ls) commands to
details from Xenstore regarding what the paths of the virtual disks
Or, more simply, you could just adopt a naming strategy for your
virtual disks based on their config file name / hostname. And then
your backup scripts to understand that (e.g. domain with "hostname"
config file /etc/xen/hostname and disk /vm-disks/hostname.disk).
site-specific but if it works for you, that's what counts.
Personally, I just rsync backup the contents of /mnt/vm/, which
my VM's virtual disks (having shut the VMs down first). I also
rsync /etc/xen/ to my backup device. This doesn't record which disk
to which VM but it does make it easy to restore the whole lot at once
rsync them back). If I ever need to restore a particular VM I can do
manually without to much hassle.
Actually, I've been working on a much more advanced backup script for
up VMs in a home / smaller deployment environment. I'm waiting on
my employers regarding whether I can release this publically. For
interested, there's some details at
http://www.cl.cam.ac.uk/~maw48/vm-backup-pictures/ - but don't hold
breath for it to be released because it could take a long while to get
permission, if it's allowed at all.