informatica:linux:xen
This is an old revision of the document!
Table of Contents
Instalación
A grosso modo, se instala una debian,ubuntu,etc…. y luego el paquete: linux-image-2.6.26-1-xen-amd64
Para crear máquinas Centos:
edit /etc/rinse/centos-5.packages and add the following to the bottom of the file
nss nspr python-iniparse
Crear Máquinas
* Debian
xen-create-image –hostname=xen4 –size=4Gb –swap=256Mb –ip=192.168.1.104 –memory=128Mb –arch=amd64 –role=udev –dir=/home/xen –dist=lenny –force
- CentOS
Primero añadimos las siguientes lineas al fichero:
/etc/rinse/centos-5.packages
nss nspr python-iniparse
Creamos la màquina:
xen-create-image --verbose --hostname=xen5 --size=4Gb --swap=256Mb --ip=192.168.1.105 --memory=128Mb --arch=amd64 --role=udev --dir=/home/xen --dist=centos-5 --mirror=/home/xen/CentOS-5.4-x86_64-netinstall.iso --force --install-method=rinse
Comandos
Arrancar máquina llamada xen2:
xm create /etc/xen/xen2.cfg
Conectar a la máquina por consola en local:
xm console xen2
Apagar a saco una máquina:
xm destroy xen2
Listar las máquinas:
xm list
r running b blocked p paused s shutdown c crashed d dying
informatica/linux/xen.1257775322.txt.gz · Last modified: 2015/04/13 20:19 (external edit)