Quinta debian-xen

From Navigators

Jump to: navigation, search

Contents

Info

* Based on debian-base image.
* 64-bit (amd64).
* Xen 3.2-1
* NTP (Network Time Protocol) synchronized with cuco.di.fc.ul.pt.
* Text: vi, vim, nano.
* Script: Shell, Python, Perl.
* Accounts: root:quinta.

Image Usage

quinta:~$ kadeploy3 -e debian-xen -f nodesfile
quinta:~$ ssh root@node01
node01:~$ xen-create-image --hostname=vm1 --mac=00:16:3E:00:00:01 --force
node01:~$ xm create -c /home/xen/vm1.cfg
vm1 login: root
root@vm1:~$ export http_proxy="http://proxy.di.fc.ul.pt:3128/"
root@vm1:~$ apt-get update

...

To disconnect from the VM, press 'Ctrl'+']'

node01:~$ xm destroy vm1

At the end of the usage, turn off the machine, from front-end:

quinta:~$ quinta off node01 node02 ... nodeN

Image Creation

quinta:~$ kadeploy3 -e debian-base -f nodesfile
quinta:~$ ssh root@node01
node01:~$ apt-get update
node01:~$ apt-get upgrade
node01:~$ apt-get install linux-image-xen-amd64 xen-hypervisor-3.2-1-amd64 xen-utils-3.2-1 xen-tools
node01:~$ apt-get install linux-image-2.6.26-2-xen-amd64 linux-modules-2.6.26-2-xen-amd64
node01:~$ echo "" > /etc/udev/rules.d/70-persistent-net.rules
node01:~$ tgz-g5k user@r11:~/debian-xen.tgz

Descriptor File (dsc3)

name : debian-xen
version : 1
description : Xen image based on Debian Lenny.
author : Vinicius Vielmo Cogo (vielmo <at> lasige <dot> di <dot> fc <dot> ul <dot> pt)
tarball : /home/deploy/images/debian-xen.tgz|tgz
postinstall : /home/deploy/postinstalls/post4all.tgz|tgz|traitement.ash
kernel : /boot/vmlinuz-2.6.26-2-xen-amd64
kernel_params : console=tty0
initrd : /boot/initrd.img-2.6.26-2-xen-amd64
hypervisor : /boot/xen-3.2-1-amd64.gz
hypervisor_params : dom0_mem=1000000
fdisktype : 83
filesystem : ext3
environment_kind : xen
visibility : public
Personal tools
Navigators toolbox