Installing Xen On CentOS 5.0 (i386)

por | 23 febrero, 2008

xm list


xm console vm01

after the installation, we stay at the vm01 console. To leave it, type CTRL+] if you are at the console, or CTRL+5 if you’re using PuTTY. You will then be back at the dom0 console.

xm shutdown vm01

To start vm01 again, run:
xm create /etc/xen/vm01

Autostart Virtual Machine:
ln -s /etc/xen/vm01 /etc/xen/auto

Here are the most important Xen commands:

xm create -c /path/to/config – Start a virtual machine.
xm shutdown <name> – Stop a virtual machine.
xm destroy <name> – Stop a virtual machine immediately without shutting it down. It’s as if you switch off the power button.
xm list – List all running systems.
xm console <name> – Log in on a virtual machine.
xm help – List of all commands.

xen tricks