Upgrade Cloud with Static Servers (6.1 to 6.2)

Before upgrading to OnApp 6.2 Stable from 6.1, it is necessary to upgrade to OnApp 6.1.0-240 update

This guide explains how to upgrade from OnApp Cloud 6.1.0-240 Update to 6.2 Stable for a cloud with static servers. Follow the procedure listed below in the provided order to upgrade your cloud. All the packages (Control Panel and Static compute resources) must belong to the same major version to ensure the best performance of your cloud.

Upgrade Control Panel Server


To upgrade the Control Panel server, follow the procedure at Upgrade Guide for Control Panel Server


Upgrade Static Compute Resources


To upgrade static compute resources, follow the next procedure:

  1. Make sure your compute resource is visible and online on the Control Panel.
  2. Download the OnApp YUM repository file:

    # rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-6.2.noarch.rpm
  3. Upgrade OnApp compute resource installer package:

    # yum update onapp-hv-install
  4. Install expect utility:

    # yum -y install expect
  5. Initiate recovery images/iso download by running installer with -t option with the following comand:

    For KVM compute resources:

    # /onapp/onapp-hv-install/onapp-hv-kvm-install.sh -t

    For Xen compute resources: 

    # /onapp/onapp-hv-install/onapp-hv-xen-install.sh -t


If you do not have the /home/mq/onapp/messaging/credentials.yml file on your compute resources and you plan to deploy Accelerator, run the following command on the CP server:

  • For all compute resources:

    rake hypervisor:messaging:configure
  • For certain compute resources only:

    rake hypervisor:messaging:configure['11.0.50.111 11.0.50.112']

    For information on manual configuration for Accelerator, refer to RabbitMQ Configuration for Accelerator.To perform the configuration for a number of compute resources, separate their IPs with a space.


Upgrade Static Compute Resources with Integrated Storage


To upgrade static compute resources with Integrated Storage, follow the next procedure:

  1. Download the OnApp YUM repository file:

    # rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-6.2.noarch.rpm
  2. Install Expect utility:

    # yum -y install expect
  3. Upgrade OnApp compute resource installer package:

    # yum update onapp-hv-install
  4. Initiate recovery images/iso download by running installer with -t option with the following command: 

    For KVM compute resources:

    # /onapp/onapp-hv-install/onapp-hv-kvm-install.sh -t

    For Xen compute resources: 

    # /onapp/onapp-hv-install/onapp-hv-xen-install.sh -t

Upgrade Static Backup Servers


To upgrade static compute resources, follow the next procedure:

  1. Download the OnApp YUM repository file:

    # rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-6.2.noarch.rpm
  2. Upgrade OnApp Backup Server installer package:

    # yum update onapp-bk-install
  3. Update your server OS components:

    # /onapp/onapp-bk-install/onapp-bk-install.sh -y
  4. Run Backup Server installer:

    # /onapp/onapp-bk-install/onapp-bk-install.sh
     The full list of Backup Server installer options.

    Usage: 

    /onapp/onapp-hv-install/onapp-hv-xen-install.sh [-c CONFIG_FILE] [-v BK_VERSION] [-p API_VERSION] [-a] [-y] [-t] [-b] [-d] [-h]

    Where:

    -c CONFIG_FILE
    Custom installer configuration file. Otherwise, the pre-installed one is used.
    -v BK_VERSION
    Custom Backup Tools version
    -p API_VERSION
    Custom StorageAPI version
    -a
    Do NOT be interactive. Process with automatic installation.
    -y
    Update OS packages (except for OnApp provided) with 'yum update'.
    -t

    Initiate Load Balancer Virtual Appliance, OnApp CDN Appliance and Application Server Appliance templates download. The download is initiated if '-a' option is used.

    -bInitiate Base templates download
    -dInstall OnApp Storage related packages. Applicable for CentOS 7.x only.
    -hPrint this info

Upgrade Static Backup Servers with Integrated Storage


To upgrade static compute resources:

  1. Upgrade OnApp intagrated Storage package:

    # yum update onappstore
  2. Install Pipe Viewer tool with the following command:

    # yum -y install pv