1) Installing the operation system
System requirements for this howto :
- one system for the openQRM-server
Please notice that this howto is using a single system to provide the Cloud Computing service !
Of course it is possible (and recommended) to adapt and scale-up this basic Cloud-Environment with additional storage- and virtualization servers.
-> openQRM is not only a GUI for a single virtualiazation technology but supports :
- all mainstream virtualization technologies
- rapid- and transparent deployment of virtualization Hosts
- management of remote virtualization Hosts
-> for openQRM it does not matter to manage a virtulization technology installed on the openQRM-server itself or on one or more remote virtualization Hosts.
The first step in this howto is to download and install Ubuntu 8.04-server on the system dedicated for the openQRM (Cloud-) server. We have selected Ubuntu for this howto but of course it is possible to choose another distribution of your choice.
Create a separated partition for the Ubuntu root-filesystem, create an additional swap partition and reserve the rest of the harddisk-space for lvm.
-> Later we will use this lvm space for storing the filesystem-images so it is recommended to
reserve >10GB for the lvm.
For the installation we do not care about the lvm yet since we will create it manually later.
So, just make sure to install to a separated partition and to reserve a big part of the harddisk space for the lvm.
After the installation please install lvm2 by running :
sudo apt-get install lvm2
Then initialyze the lvm on the reserved partition and create a volume groupp
(in this howto the volume group name will be "vol") by running :
root@cloud:~# pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created
root@cloud:~# vgcreate vol /dev/sda3
Volume group "vol" successfully created
root@cloud:~#
It should look similar to this :
root@cloud:~# vgdisplay
--- Volume group ---
VG Name vol
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 20.31 GB
PE Size 4.00 MB
Total PE 5200
Alloc PE / Size 0 / 0
Free PE / Size 5200 / 20.31 GB
VG UUID xIlKuX-rVPZ-QRO4-InDt-xnIn-DlI3-y8SWMS
root@cloud:~#
Now please go on with the second step in this howto, Setting up the virtualization technology