Revision 30 as of 2013-05-15 18:48:36

Clear message

LAVA VM disk image for training

Download the VM

VM DISK IMAGE DOWNLOAD

SHA1SUM: ac7fd95d3e408fd8aa0f4428e76a39cdbb54b1b7

Slide sets

Commands for copy and paste

# connecting to the VM
$ ssh lava@localhost -p 2222

# install bzr
$ sudo apt-get install bzr

# get lava-deployment-tool
$ bzr branch lp:lava-deployment-tool
$ cd lava-deployment-tool

# setup the system
$ ./lava-deployment-tool setup -n

# install lava instance
$ ./lava-deployment-tool install -n mylava

# create administrator users
$ ./lava-deployment-tool manage mylava createsuperuser

# install QEMU
$ sudo apt-get install qemu-system

# Create device configuration file
$ cd /srv/lava/instances/mylava
$ mkdir etc/lava-dispatcher/devices
$ cd etc/lava-dispatcher/devices
$ nano qemu01.conf
$ cd

# install client tools
$ sudo apt-get install lava-scheduler-tool lava-dashboard-tool

# authenticate to the API
$ lava-dashboard-tool auth-add http://admin@localhost/RPC2/

# create bundle stream
lava-dashboard-tool make-stream --dashboard-url http://admin@localhost/RPC2/ /anonymous/qemu/

# submit a job 
$ lava-dashboard-tool submit-job http://admin@localhost/RPC2/ qemu.json