Upgrading OpenShift installations#
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:
- Configured OpenShift client instance. This topic uses Minishift for local instance installations.
- OpenShift command line tool, OC, installed on the client.
- Access to the PEM-format certificate and private key that you can use to configure OpenShift routes.
- Master node: 2 vCPU, 8 GB RAM, 30 GB storage.
- Other nodes: 1vCPU, 8 GB RAM, 15 GB storage.
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.
Download the installation file for your environment.
Note: For macOS and Linux installations, set the appropriate permissions before running the file:
sudo chmod +x.
- Linux: https://hcl-velocity-binaries.s3.amazonaws.com/accelerate-hcl-install-latest-linux
- Windows: https://hcl-velocity-binaries.s3.amazonaws.com/accelerate-hcl-install-latest-win.exe
- Mac OS: https://hcl-velocity-binaries.s3.amazonaws.com/accelerate-hcl-install-latest-macos
- Run the downloaded executable file.
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:
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.
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.
At the Choose the platform prompt, select
At the Enter the location where the HCL Accelerate files will be installed prompt, specify where to put the installation files.
At the What version of MongoDB are you using? prompt, use the arrow keys to select the required version and then press enter.
At the What version of OpenShift is being used? Specify in <major_version>.<minor_version> format. prompt, enter the OpenShift version.
At the Openshift Project Name (existing project) Default prompt, enter the OpenShift project name.
At the Name of installation user (existing user) Default prompt, enter the name of the installation user.
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.
At the Choose one prompt, use the arrow keys to select Upgrade existing instance and then press enter.
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.
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.
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