Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Upgrade Static Compute Resources


At first upgrade your static compute resources.

  1. Make sure your compute resource is visible and online in the Control Panel.

  2. Download and install the latest OnApp YUM repository file:

    Code Block
    bash#> rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-5.0.noarch.rpm
  3. Upgrade OnApp compute resource installer package:

    Code Block
    yum update onapp-hv-install
  4. Update your server OS components (if required):

    For XEN compute resource:

    Code Block
    bash# /onapp/onapp-hv-install/onapp-hv-xen-install.sh -y

    For KVM compute resource:

    Code Block
    bash# /onapp/onapp-hv-install/onapp-hv-kvm-install.sh -y
  5. Run compute resource installer:
    For XEN compute resource:

    Code Block
    bash# /onapp/onapp-hv-install/onapp-hv-xen-install.sh 

    For KVM compute resource:

    Code Block
    bash# /onapp/onapp-hv-install/onapp-hv-kvm-install.sh
    Note

    Reboot XEN compute resource, which is running on CentOS 6.x, after upgrade to 4.4.3 XEN version.

  6. Reboot static compute resources.

    For KVM compute resources only: the kernel package update is a part of "Upgrade Static Compute Resources" default procedure. So reboot is required, if kernel package was upgraded and customer is willing Compute Resource(s) running it (for security reason).

    Note

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

    • For all compute resources:

      Code Block
      rake hypervisor:messaging:configure


    • For certain compute resources only:

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

      To perform the configuration for a number of compute resources, separate their IPs with a space.

      For information on manual configuration for Accelerator, refer to RabbitMQ Configuration for Accelerator.

Upgrade Static Backup Servers


After you upgraded static compute resources, proceed to static backup servers upgrade.

  1. Download the OnApp repository:

    Code Block
    bash#> rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-5.0.noarch.rpm
  2. Update the package:

    Code Block
    yum update onapp-bk-install
  3. Run the following script:

    Code Block
    bash#>/onapp/onapp-bk-install/onapp-bk-install.sh
  4. Update your server OS components (if required):

    Code Block
    bash#> /onapp/onapp-bk-install/onapp-bk-install.sh -y