Howto: Cloud Computing (3)

3) Install openQRM-server

Now please install the openqrm-server-entire package e.g. via dpkg :

dpkg -i openqrm-server-entire-4.3-ubuntu804.i386.deb && apt-get install -f

For this howto we leave the mysql root password empty. If you set it you need to also
configure this in /usr/lib/openqrm/etc/openqrm-server.conf before the installation.

As the final step for the system installation please remove apparmor by running :

root@cloud:~# dpkg -r apparmor apparmor-utils
(Reading database ... 40020 files and directories currently installed.)
Removing apparmor-utils ...
Removing apparmor ...
Unloading AppArmor profiles : done.
root@cloud:~# dpkg --purge apparmor apparmor-utils
(Reading database ... 39968 files and directories currently installed.)
Removing apparmor ...
Purging configuration files for apparmor ...
Removing apparmor-utils ...
Purging configuration files for apparmor-utils ...
root@cloud:~#

After that we have to re-initialyze and start the openQRM-server :

root@cloud:~# /etc/init.d/openqrm-server init openqrm openqrm
Initializing the openQRM-database
First startup detected. Running initialization.
NOTICE: Running initialization without uninstallation first !
Initializing the openQRM-database
 * Reloading web server config apache2                                                                       [ OK ]
Adding password for user openqrm
Adding password for user anonymous
Creating the default kernel version 2.6.24-19-server
Creating kernel default version 2.6.24-19-server (initramfs initrd)
-> using initrd-template from /usr/lib/openqrm/etc/templates/openqrm-initrd-default.tgz
Creating the initrd as initramfs
25409 blocks
 System startup links for /etc/init.d/openqrm-server already exist.
root@cloud:~#
root@cloud:~# /etc/init.d/openqrm-server start
Starting the openQRM-server ver. 4.3
Starting enabled openQRM-server plugins
root@cloud:~#

You can now login to http://[ip-address-of-your-server]/openqrm
(username : openqrm password : openqrm -> recommended to be changed on first login)

Since we plan to use "lvm-nfs" as our storage for the golden-server-images for the Cloud
we have to install the "nfs-kernel-server" package :

    apt-get install nfs-kernel-server

And we plan to use an Iscsi-Target to provide the disks for the Cloud vms so we need
to install the "iscsitarget" package :

    apt-get install iscsitarget

After that we reset the iscsi-target configuration at /etc/ietd.conf.
openQRM will manage this fully automatically for us :

root@cloud:~# > /etc/ietd.conf
root@cloud:~# cat /etc/ietd.conf
root@cloud:~# /etc/init.d/iscsitarget restart
Removing iSCSI enterprise target devices: succeeded.
Stopping iSCSI enterprise target service: succeeded.
Removing iSCSI enterprise target modules: succeeded.
Starting iSCSI enterprise target service: succeeded.
root@cloud:~#

 

The following step 4 will explain howto Configure the openQRM-server