4/2) Configuration of the openQRM-server
Now we setup the lvm-iscsi storage server.
Go to "Storage" -> new Storage server. Select "Lvm Storage Server (Iscsi)", select the openQRM server system as the resource

give a name for the new storage server and save.

The storage overview should look like this now :

Now create a new Iscsi image-location
Go to the "lvm-storage" plugin, select the just created Lvm-iscsi storage server

select the volume group (in this howto "vol")

and create a new image location "ubuntu" with 1000M storage space.

Click on "refresh" afterwards
This will create and activate the following entry (Lun) in the Iscsi-Target :

On the system console this will now look like :
root@cloud:~# cat /etc/ietd.conf
Target ubuntu
IncomingUser ubuntu w1kc32fs8ngq
Lun 1 Path=/dev/mapper/vol-ubuntu,Type=fileio
root@cloud:~#
We will now create a new Iscsi-deployment server-image using the just created Iscsi storage location and the previously created lvm-nfs server-image as "golden-image". That means we will "install" the Iscsi server-image on-deployment time from the lvm-nfs server-image template. Here how this goes :
Go to "Image" -> new Image, select the Lvm-iscsi storage server as location

give a name (here we choose "ubuntu_iscsi"). Make sure the Rootdevice select-box shows your "ubuntu_iscsi" (iscsi-) image.
Now, a serious one. We are going to install this Iscsi image from the (lvm-)nfs template so make sure to select your "ubuntu_nfs" (lvm-nfs) server-image template in the "Install-from-Nfs" select box.

So, now we have an image which is configured to do the following :
- mount the (yet empty) iscsi-lun as the rootfs ("ubuntu_iscsi")
- mount the (lvm-) nfs "golden-image" template ("ubuntu_nfs")
- rsync the template to the rootfs (from "ubuntu_nfs" to "ubuntu_iscsi")
- umount the nfs "golden-image" ("ubuntu_nfs")
- continue startup from the now populated rootfs on the iscsi-lun ("ubuntu_iscsi")
Please notice that all steps are being secured by authenticating the rootfs against the resource !
Now we are going to start this image on the vm we created before via an appliance.
Go to "Appliance" -> new appliance, select the "idle" system (the VMware-server2 virtual machine) as the resource

select the "Ubuntu" kernel, the "ubuntu_iscsi" server-image and set the resource-type to "VMware Server 2 vm".

In the appliance-overview select the new created appliance and click on "start".
This will deploy the appliance to the idle resource.
Here a screenshot of the deployment phase during boot-up :

After deployment the appliance will be fully up, running from the Iscsi-lun which is now fully
populated with the rootfs template from the (lvm-)nfs server-image.
Now please stop the appliance again. We used it just to tranfser the "golden-image" from the
lvm-nfs storage to the Iscsi-lun.
When the appliance is fully stopped again we need to disable the "install-from-nfs" deployment parameter by editing the image and just save it with the given defaults.
Otherwise this image (and its clones) will execute the "install-from-nfs" step each startup.

The "ubuntu_iscsi" server-image can now be used by the Cloud.
btw: also the "ubuntu_nfs" image can be used by the Cloud but here we focus on the Iscsi-deployment.
The openQRM-server system and environemnt is now ready setup and we continue with the configuration of the cloud-subsystem.
You can of course repeat the previous steps to get more/different server-images from the image-shelf and transfer them to the various supported storage-types. For now we will go with just one image since it anyway will be cloned for each Cloud-reqeust
As the final step in this howto we now go on with the configuration of the openQRM Cloud