OnApp 6.6 Static Compute Resources with IS Update

12 April 2022

This document provides information on fixes implemented as a part of the 6.6 update, as well as the upgrade instructions for static compute resources with integrated storage.

Fixes

The following issues were fixed in the scope of the OnApp 6.6 update.

KeyRelease NotesAffected Versions
STORAGE-2565 (SUPPORT-3537)

NBD crash occurred in static compute resources on the user's side.

6.5 - 6.6 Patch 1

Upgrade Static Compute Resources with Integrated Storage (CentOS7 KVM only)

Before upgrading static compute resources with integrated storage, you should first check if you have enough memory for the storage upgrade. To do that, run the following command:

1
2
# cd /usr/pythoncontroller
# ./python3 ./check_ram_before_upgrade.pyc
  • If there is enough RAM and you can proceed with upgrade, you will see the following response:

    1
    
    Cloud is ready to upgrade
    
  • If there is not enough memory on the storage controller for the upgrade, you will see the following response:

    1
    2
    3
    4
    5
    
    Warning increase RAM for IS Controller 0 at HV 192.168.1.37 at least to 2278 MB
     
    Warning increase RAM for IS Controller 1 at HV 192.168.1.38 at least to 1248 MB
     
    Warning increase RAM for IS Controller 0 at HV 192.168.1.38 at least to 1248 MB
    

In this case, you should increase the Controller RAM to the number shown in the above script. After doing that you can proceed with the upgrade.

After you made sure that you have enough memory, follow the next procedure to upgrade static compute resources with integrated storage:

  1. Disable services monitoring (by monit, if used), stop storage controller and libvirt related services:

    1
    2
    3
    4
    
    # monit unmonitor all
    # /etc/init.d/SANController stop
    # systemctl stop libvirtd
    # /etc/init.d/storageAPI stop
    
  2. Update system packages (if required):

    1
    
    # /onapp/onapp-hv-install/onapp-hv-kvm-install.sh -y
    
  3. Run compute resource installer (to update OnApp, compute resource and Integrated Storage components):

    1
    
    # /onapp/onapp-hv-install/onapp-hv-kvm-install.sh
    
  4. Reboot compute resource if it is requested by the installer (on step 3).

  5. If reboot isn’t required, remove the onapp-storage-startup.lock file:

    1
    
    # rm -f /run/onapp-storage-startup.lock
    
  6. If reboot isn’t required, run Storage startup script:

    1
    
    # /onapp/onapp-storage-startup/onapp-storage-startup.sh
    

Upgrade Backup Server with Integrated Storage (CentOS7 KVM only)

To upgrade backup servers with Integrated Storage, follow the next procedure:

  1. Stop storage controller related services:

    1
    2
    
    # /etc/init.d/SANController stop
    # /etc/init.d/storageAPI stop
    
  2. Update system packages (if required):

    1
    
    # /onapp/onapp-bk-install/onapp-bk-install.sh -y
    
  3. Run Backup Server installer (to update OnApp Backup Server and Integrated Storage components):

    1
    
    # /onapp/onapp-bk-install/onapp-bk-install.sh
    
  4. If reboot isn’t required (you are on the recent kernel): remove the onapp-storage-startup.lock file:

    1
    
    # rm -f /run/onapp-storage-startup.lock
    
  5. If reboot isn’t required (you are on the recent kernel): run Storage startup script:

    1
    
    # /onapp/onapp-storage-startup/onapp-storage-startup.sh