Upgrading OpenShift installation using service template#

You can upgrade an OpenShift installation using service template.

Note: Upgrades of OpenShift using a service template will be deprecated in future versions of HCL™ Accelerate.

Note: If you are running an HCL Accelerate version prior to 2.4, you need to uninstall the product and perform a full installation of version 2.4.x found here and skipping Steps 5 and 7 because you are not required to uninstall the MongoDB.

HCL Accelerate installation properties are stored in the /home/.ucv/settings.json file on the computer where you installed the product. If the user that is upgrading the product is not the user who installed it, ensure that the settings.json file is copied to the upgrading user's /home/.ucv directory before upgrading.

In addition to the requirements for all installation scenarios, you need the following items:

When you run the installer, it checks for an existing installation. If the installer finds a previous version, it uses installed properties, such as your product access key, and assumes that you are upgrading the product.

  1. Download the installation file for your environment.

    Note: For macOS and Linux installations, set the appropriate permissions before running the file: sudo chmod +x.

    Visit the FlexNet download center and select the file for your environment. Or you can download the installation file directly from the following URLs:

  2. Complete installation by responding to the prompts described in the following steps.

    When the script starts, you are prompted to accept the license. You can explicitly accept the license without viewing it by appending the following parameter to the command:

    ./<Accelerate-installation-file\> **--license=accept**

  3. At the Please enter your HCL Accelerate access key prompt, accept the default value.

    The default value is the key you entered when you installed the product. If you are upgrading from the Community Edition, enter your new Standard Edition key.

  4. At the Enter your encryption key or leave blank to use the default. Key must be at least 8 characters prompt, enter your encryption key or leave blank to use the default encryption key.

    Note: The encryption key must be at least 8 characters. Save the encryption key to use for further upgrades.

  5. At the Choose the platform prompt, select OpenShift (DEPRECATED - using OpenShift Template).

  6. At the Enter the location where the HCL Accelerate files will be installed prompt, specify where to put the installation files.

  7. At the What version of MongoDB are you using? prompt, use the arrow keys to select the required version and then press enter.

  8. At the What version of OpenShift is being used? Specify in <major_version>.<minor_version> format. prompt, enter the OpenShift version.

  9. At the Openshift Project Name (existing project) Default prompt, enter the OpenShift project name.

  10. At the Name of installation user (existing user) Default prompt, enter the name of the installation user.

  11. At the Enter the application name for HCL Accelerate in OpenShift (unique name for the HCL Accelerate instance within a project) Default prompt, enter the name of the installation user.

  12. At the Choose one prompt, use the arrow keys to select Upgrade existing instance and then press enter.

  13. At the Should the installer perform the upgrade operations automatically for you at this time? prompt, enter Y.

    Note: The installer verifies server and project space.

  14. At the Is this project you want to use? prompt, use the arrow keys to select Yes and then press enter.

    Note: The installer verifies the HCL Accelerate plug-in framework and creates the required update files. When the aforementioned process is successfully completed, Installer complete! is displayed on the last line.

  15. At the Press [Enter] to exit prompt, press enter.

After the upgrade is complete, open HCL Accelerate and verify that the software is upgraded to the required version.

Parent topic: Upgrading an OpenShift application