[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Newbie question on network and VM management

Thanks a lot, Ian!

I found that people also use libvit tool to install VMs. I have tried that and it kind of works. The problem is that I cannot find the traces of the VM configs. For example:

virt-install -n vm11 -r 512 -f ~/vm11.qcow2 -s 12 -c ~someuser/ubuntu-14.04.1-desktop-amd64.iso  --vnc --noautoconsole --accelerate --network=bridge:xenbr0 --hvm

Where does libvitr or Xen stores the vm11's configs?

On Tue, Feb 3, 2015 at 2:45 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Mon, 2015-02-02 at 20:24 -0800, Tengiz Dawkins wrote:

>Â - isolated network

This isn't done via xl, but via your distro's usual network
configuration infrastructure. Host networking setup is covered for a
variety of distros in

An isolated is simply a bridge with no physical network device on it.

>Â - a VM with an eth0 connected that to network

bridge=<name> in the vif option in your cfg file. xl.cfg(5) references
the xl-network-configuration doc for this, which is installed in the
docs dir or online at

>Â - how to create a VM and install OS from a ISO cd image

That depends on the guest OS in question. You might find something
useful in the Category:<whatever> wiki page for the OS you are
interested in.

The general technique is to extract the necessary kernel+installer
initrd from the ISO and boot them on a guest with the ISO attached as a
cdrom device. e.g. http://wiki.xen.org/wiki/Category:Debian links to
http://wiki.xen.org/wiki/Debian_Guest_Installation_Using_Debian_Installer which describes things for Debian (including a trick of using pygrub to automate the extraction of the files from the iso, which is distro specific)

> Is there a simple doc explaining real life examples?

The wiki has some general getting started guides, as well as more
specific guides for particular distros etc.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.