Make sure no disks are out of sync. To do so, log in into a hypervisor and run the following command:
Repair all the degraded disks before proceeding to the upgrade process.
Run the following command from the CP server to stop the OnApp service:
Stop the Apache server:
Download and install the latest OnApp YUM repository file:
Install latest CloudBoot dependencies:
Run the following command from the Control Panel server terminal to display the list of hypervisors with their IP addresses:
This command will also show whether hypervisors are eligible for live upgrade.
If the command liveUpdate is not available then it may be located in the sbin directory instead (cd /usr/local/sbin).
Ensure the line beginning filter = in /etc/lvm/lvm.conf on each Hypervisor has the following syntax:
- Run lvmdiskscan from each hypervisor to enable those changes if a change was required.
Run the following commands from the Control Panel server terminal for each hypervisor:
The synchronization will take approximately three minutes for each hypervisor.
Run the following command for every hypervisor in turn:
At this stage, an error message about degraded disks may be displayed. VDisks should still be unpaused, but may be degraded. Check the number of degraded disks by repeating step 1 above after restarting the controller.Check for any nodes in a state other than ACTIVE using 'onappstore nodes' from the Backup Server
Make sure that the package versions are upgraded by running the following command on each HV:
Check that the storage controllers have been started cleanly by running the following command on each HV:
Check that the disk hotplug slots came up fine on each hypervisor:
Start the Apache server:
Start the OnApp service:
If you do not have a dedicated backup server you must mount your Template and Backup repository to the Hypervisor for VS provisioning and backups to work, for example from your Control Panel server:
Add to /etc/exports on the Control Panel server:
Add to Custom Config on the Hypervisor and run them manually on the command line (In this example we are mounting from 192.168.10.101):
mkdir -p /onapp/backups && mount -t nfs 192.168.10.101:/onapp/backups /onapp/backups
mkdir -p /onapp/templates && mount -t nfs 192.168.10.101:/onapp/templates /onapp/templates