Upgrading remote components
This section describes how to upgrade the Remote ETL Engine, Gateway Server, and Capacity Agent that are needed to collect data from your environment.
Step 1: Upgrade the Remote ETL Engine
This topic describes how to upgrade the Remote ETL Engine silently. A sample response file with default settings is included in the Remote ETL Engine upgrade image. In the upgrade process, BMC Helix Capacity Optimization detects the existing version of the Remote ETL Engine and saves all the existing settings for the upgrade process. You can either retain the default values or change them and save the file.
- Log in as a root user to the computer where you want to upgrade the Remote ETL Engine, and create a temporary directory. Example: HOCO_temp.
- Download the upgrade files from ftp://<customerprefix>-opt-ftp.onbmc.com/FromOnDemand/optimize-onprem.
- Extract the downloaded files to the temporary directory. Ensure that the temporary directory is different from the installation directory to avoid any file sharing conflict.
- Generate the API key from the BMC Helix Capacity Optimization. You will need to specify this key while configuring the bearer authorization token in the options file. For details on generating the API key, see Generating-an-API-key-for-programmatic-access.
- Open the credentials.key file in a text editor, and copy the authorization token.
"Authorization":"<Bearer token>" - At the shell prompt, change to the directory where you extracted the downloaded files. Example: HOCO_temp/BCO/Disk1.
- Navigate to the directory where you extracted the downloaded files and locate the sample response file. Example: HOCO_temp/BCO/Disk1/silentInstallTemplates/BCO_ADDITIONAL_SERVER_REMOTE_EE.txt.
- Edit the BCO_ADDITIONAL_SERVER_REMOTE_EE.txt file in a text editor.
In the -J AUTH_TOKEN property, paste the token that you have copied in Step 4. Modify other properties of the file according to your preferences as listed below, and save the file.
- Open a shell prompt and navigate to the directory that contains the installation files. Example: /BCO/Disk1
Launch the silent installer:
./setup.sh -i silent -DOPTIONS_FILE=<file path>/BCO_ADDITIONAL_SERVER_REMOTE_EE.txtIf the path contains spaces, enclose the path and options file name in quotation marks.
After the installation is complete a confirmation message about successful installation is displayed.
- Verify the installation:
- Log in with the user credentials that you used for installation. Example: cpit.
- Navigate to the installation directory. Example: /opt/bmc/BCO.
- Run the command: ./cpit status
- Verify that the Scheduler service is running.
The following steps (2, 3, and 4) are required only if you plan to use the Capacity Agent for collecting data.
Step 2: Install the BMC Helix Client Gateway
Install the BMC Helix Client Gateway to establish a connection between BMC Cloud and your on-premises datacenter. BMC Helix Client Gateway is a non-VPN solution to securely connect to your on-premises BMC Helix services. You must install a small client in your environment to facilitate this connection. For more information, see BMC Helix Client Gateway connectivity.
To use the BMC Helix Client Gateway, open a technical support issue, and BMC will provide the client installer. Depending on your requirements, BMC will help you plan for a single or multiple virtual machines.
Step 3: Upgrade the Gateway Server
Preparing to upgrade the Gateway Server
- Upgrade the Gateway Server on the same computer where you have upgraded the Remote ETL Engine.
- Use a non-privileged and non-root user account for upgrading the Gateway Server. The non-privileged user must be created on the installation computer before running the installer and must have access to use cron on the computer. This user owns all the Gateway Server files and runs most of the processes. The installer does not create the installation owner.
- KSH library must be available on the Linux system where you want to upgrade the Gateway Server.
In the upgrade process, BMC Helix Capacity Optimization detects the existing version of the Gateway Server and saves all the existing settings for the upgrade process. You can either retain the default values or change them and save the file.
Upgrading the Gateway Server
- Log in as a non-root user to the computer where you want to upgrade the Gateway Server and create a temporary directory. Example: HOCO_temp/BCO/Disk1.
- Download the installation files from ftp://<customerprefix>-opt-ftp.onbmc.com/FromOnDemand/optimize-onprem.
- Extract the Gateway Server installation files to the temporary directory by running this command:
tar -xvf TSCO_GatewayServer_<version>_Linux.tar - In the directory where you extracted the Gateway Server installation files, navigate to the ./BCO/Disk1/silent directory.
Copy the HO_ConsoleSilentInstallOptions.txt file to a new directory.
This file contains the installation properties that are specified as name and value pairs with prefix tags. You can retain the default values or modify the properties of the file according to your preferences as listed below, and save the file. However, BMC recommends retaining the default values in the options file for the upgrade.- Change to the directory that contains the extracted Gateway Server installation files.
- Start the upgrade process by running the following command:
./setup.sh -i silent -DOPTIONS_FILE=<fileLocationPath>/HO_ConsoleSilentInstallOptions.txtThe variable <fileLocationPath> represents the location where you saved the options file. If the path contains spaces, enclose the path and options file name in quotation marks. - If the installation is executed as a non-root user, the /installLocation/b1configVVVV.sh script (where vvvv is the Gateway Server version) must be executed as the root user to complete the installation. The b1configVVVV.sh script is executed automatically when the Gateway Server install is done by the root user.
Verify that the upgrade is successful.
Step 4: Upgrade the Capacity Agent
If you have installed the Gateway Server to collect data, you must install the Capacity Agent on the infrastructure that you want to monitor.
The Capacity Agent collects data from the managed systems in your environment. After collecting data, the Agent transfers it to the Gateway Server. You can upgrade the Capacity Agent using a Shell script or a Docker container. For instructions, see Upgrading-the-Capacity-Agent.