[Pkg-xen-devel] xen+chroot

Amit Agarwal kahnoie at gmail.com
Mon Dec 15 14:29:00 UTC 2008


I have some questions regarding xen:
My setup is like this: 2 1TB disks with each with /boot and LVM. These two
are in RAID1 configuration on the two disks.Also, I have installed Debian
4.0r5 (etch) with kernel 2.6.18.
So here are some concerns:
Shall I create a new user, chroot it and then create the VMs under this
user? I need to check if this is possible. If it would, then would it
provide additional security?
If not, would there be other ways to secure my server and the virtual
machines?
Also is it good to configure /etc/network/interfaces as
auto lo
iface lo inet loopback

auto xenbr0
iface xenbr0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0
bridge_maxwait 0

Finally, what is the best process to migrate an exisiting linux server into
a VM?
For our first vm we made an image of the partitions sans /boot using dd.
I then created a partition in the LV and mounted it under /mnt, and
formatted this to reiserfs. then did a mount -o loop old.img /mnt/X
But is there a standard way to do it?

Thanks,
Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081215/a7f3b40c/attachment.htm 


More information about the Pkg-xen-devel mailing list