Update to openQRM on Debian

This HowTo is about how to update an existing openQRM environment to the latest openQRM version on Debian.

Requirements

  • an existing openQRM Installation

Get the openQRM

This howto to update an existing openQRM environment works for the openQRM Community Edition in the same way as for the openQRM Enterprise Edition.

The update procedure for openQRM is straight forward.

Get the openQRM Community Edition at sourceforge.net/projects/openqrm/ or get the openQRM Enterprise Edition from www.openqrm-enterprise.com

As 'root' change to the ../src directory and run:

make && make update

The 'make' phase is downloading the new components for the openQRM and preparing the source for an installation or update. The 'make update' phase actually is doing the following actions to update the existing openQRM setup:

As the first step the update procedure creates a current state-backup as described in our howto about Backup your existing openQRM environment.

As second setp it creates a 'mirror' directory /usr/share/openqrm_pre_update. This is to compare the contents of all configuration files in a later step.

As the third step it actually runs the install action which then overwrites the current /usr/share/openqrm content.

As the fourth step the update procedure checks all configuration files and applies the current configured values to the new installation.

As the fivth step it applies eventually database schema updates.

As last step it updates the kernel initrd-files (used by network-deployment) and restarts openQRM

Please notice!

After the update it is required to restart the 'openqrm-client' on all integrated systems!

Only for the openQRM Enterprise Edition (skip if you are using the openQRM Community Edition)

The openQRM Enterprise Edition forwards to the License-Upload.

Please select the Enterprise Public, Server and eventual Clients License keys and click on submit.

Please notice!

With openQRM 5.1 the following plugins got merged:
citrix + citrix-storage to citrix
kvm + kvm-storage to kvm
xen + xen-storage to xen

The following plugins got re-named:
lxc-storage to lxc
openvz-storage to lxc

For those plugins the VM configuration directory changed from /var/lib/[plugin-name]-storage to /var/lib/[plugin-name]. e.g. for the KVM-Storage plugin it is required to move the previous VM configuration directory /var/lib/kvm-storage to /var/lib/kvm. For KVM-Storage please run the following command as 'root' to do the directory migration.

mv /var/lib/kvm-storage /var/lib/kvm

The update procedure will not do this automatically since it is recommended to have this directory mounted from a NAS!

Please notice!

If you are using any of the above plugins the safest way to do the update to 5.1 is to stop and remove all appliances and VM resources (just keeping the VM Images), then do the update. The 5.1 version provides an easy way to get the Images back into openQRM. Then simply create new VM resources and add new servers with the existing VM Images.

Here a screenshot of the openQRM UI after the successful update to openQRM

Here a screenshot of the version details of the openQRM Setup after updating it to version 5.1

Congratulations!! You have successfully updated openQRM!

Links

openQRM Community - http://www.openqrm.com
openQRM Project at sourceforge - http://sourceforge.net/projects/openqrm
openQRM Enterprise - http://www.openqrm-enterprise.com
openQRM at Twitter - https://twitter.com/openQRM
openQRM at Facebook - https://www.facebook.com/openQRM