Upgrade ADB ES

NOTE
  • ADB ES upgrades are supported between versions whose release dates differ by no more than one year. If the difference between the release dates of the source and target versions exceeds one year, perform a sequential upgrade through at least one intermediate version (unless there are other requirements in earlier releases).

  • If you upgrade from versions where ADB Control and ADBM were part of the ADB bundle, follow the steps described in Migration of ADB Control and ADBM metadata during ADB ES installation.

Launch upgrade

To upgrade an ADB ES cluster version, follow these steps:

  1. Upload a new ADB ES cluster bundle (see the Upload a cluster bundle to ADCM step in the Create a cluster article). As a result, the bundle information is shown on the Bundles page in ADCM.

    The ADB ES bundle on the Bundles page
    The ADB ES bundle on the Bundles page
  2. On the Clusters page, click the The Upgrade icon icon for the ADB ES cluster that you want to upgrade. The icon becomes available after the bundle is successfully loaded in the previous step. The bundle version must be higher than the current cluster version.

    The Upgrade icon
    The Upgrade icon
  3. In the window that opens, select the bundle version in the Upgrade to version field and click Upgrade.

    Upgrade preparation dialog
    Upgrade preparation dialog
  4. In the dialog that opens, confirm the action by clicking Run.

    This starts the upgrade preparation job, Upgrade: <bundle_version>, where <bundle_version> is the selected bundle version, for example Upgrade: 1.1.0_b2 (enterprise). When the job completes successfully, the ADB ES cluster status changes to ready to upgrade.

  5. On the Clusters page, click the The Actions icon The Actions icon icon in the Actions column and select the Upgrade action.

    Select the Upgrade action
    Select the Upgrade action

    If you upgrade ADB ES from 1.1.1 or earlier to 1.2.0 or later, the Upgrade action allows you to specify the GID for the adbes system group.

  6. In the dialog that opens, confirm the action by clicking Run.

    Confirm the Upgrade action
    Confirm the Upgrade action

    As a result, the Upgrade job starts. To view the upgrade progress of specific components, you can open the job details in the Jobs tab.

    The Upgrade action progress
    The Upgrade action progress

    Upon successful completion, the ADB ES cluster status changes to installed, and the updated cluster version is shown in the Version column of the Clusters page. If the upgrade fails, check the logs in the Upgrade job details for errors.

    Upgrade completed
    Upgrade completed
NOTE

An ADB ES bundle can include updates for the ADBC and ADBM agents. To update them to the newer version, run the Reinstall action on the respective ADBC agents and ADBM agents services in all connected ADB clusters after the ADB ES upgrade.

Set up GID for ADB ES group when upgrading to 1.2.0

In ADB ES, for SSL to work correctly, certificate files must have owners and groups as specified in Manage SSL. In ADB ES 1.2.0, the adbes system group was introduced and is used as the owner group for the keystore and truststore files used by ADB Control, ADBM, and AD Eureka.

When upgrading ADB ES from 1.1.1 or earlier to 1.2.0 or later, the bundle automatically creates the adbes system group with the GID that you specify (3033 by default). Before the upgrade, you have to assign this GID to the keystore and truststore files on each host where ADB Control, ADBM, and AD Eureka are installed.

  1. If you use environment variables to set up SSL for ADBM (such as ADBM_CORE_SSL_KEY_STORE and ADBM_CORE_SSL_TRUST_STORE), remove them.

  2. Assign a GID to the required keystore and truststore files. For example:

    $ chgrp 3033 /opt/ssl/adcc-server/truststore.p12 /opt/ssl/adcc-server/keystore.p12
  3. Start the upgrade process.

  4. In the Upgrade action form, in the ADB ES group GID field, enter the specified GID, for example 3033.

    ADB ES group GID field in the Upgrade action
    ADB ES group GID field in the Upgrade action
  5. Click Next and then Run to complete the upgrade. During the upgrade, the bundle will create the adbes group with this specified GID.

IMPORTANT

If you do not assign the specified GID to the required keystore and truststore files, the upgrade job in ADCM completes successfully, but the ADBM migration service will fail. In this case, assign the GID to the required files after the upgrade and then run the Manage SSL cluster action.

Transfer advanced parameters

If you upgrade from ADB 6.29.1 and earlier, you may need to transfer advanced parameters. In ADB 6.29.1 and earlier, the advanced parameters were configured in the YAML format in the Advanced parameters group of the ADB Control and ADBM services of the ADB cluster.

In ADB ES, the advanced parameters are located in the corresponding services of the ADB ES cluster as shown in the tables below. The agent parameters are located in the corresponding ADB cluster.

ADB Control advanced parameters
Parameter (ADB 6.29.1 and earlier) Current service Current location

Backend app parameters

ADB Control

Backend parameters

Registry app parameters

AD Eureka

Registry parameters

UI server app parameters

ADB Control

UI component parameters

Scheduler app parameters

ADB Control

ADB Control scheduler param

Migration app parameters

ADB Control

Database migration parameters

ADB Control agent properties

ADBC agents

Connected ADB cluster

ADB Control agent hazelcast properties

ADBC agents

Connected ADB cluster

ADBM advanced parameters
Parameter (ADB 6.29.1 and earlier) Current service Current location

Backend app parameters

ADBM

Backend parameters

Backend auth properties

ADBM

Backend parameters

Migration app parameters

ADBM

Database migration parameters

ADBM agent properties

ADBM agents

Connected ADB cluster

Each component has:

  • The app parameters field (for example Backend app parameters in ADB Control) that lists the component environment variables in the ${ENV_VAR:default} form. Use this field as a reference to get the variable names.

  • The environment key-value section (for example Backend server app environment key-value) that you can use to customize the variable values.

NOTE
  • For agents, the reference file is located in the corresponding server component: ADB Control and ADBM.

  • The logback settings do not currently have a dedicated section in ADCM. To specify the log level, use the Log level parameter in each of the components.

Example of transferring a parameter

To transfer a parameter value, copy it and identify the variable name where this value should be applied. For example, to transfer the value of the moveToActiveTimeoutSeconds parameter:

  1. In the ADB cluster (version 6.29.1 or earlier), select the ADB Control service on the Services tab, select the Advanced flag, and expand the Advanced parameters group.

  2. Open the ADB Control agent properties group of parameters (in the YAML format), find the required parameter (moveToActiveTimeoutSeconds in this example), and copy its value.

    ADB Control agent properties in 6.29.1 and earlier
    ADB Control agent properties in 6.29.1 and earlier
  3. To identify the corresponding variable name to be used in ADB ES, navigate to the ADB ES cluster, select the ADB Control service, open the read-only ADCC agents environment reference file field and search it by moveToActiveTimeoutSeconds.

    ADCC agents environment reference file
    ADCC agents environment reference file

    The file contains the following section:

        queryIdCache:
          moveToActiveTimeoutSeconds: ${ADCC_QUERY_ID_CACHE_MOVE_TO_ACTIVE_TIMEOUT_SECONDS:5}

    So the variable name to be used in ADB ES is ADCC_QUERY_ID_CACHE_MOVE_TO_ACTIVE_TIMEOUT_SECONDS.

  4. Because it’s an agent-level parameter, open the connected ADB cluster upgraded to a newer version.

  5. On the Services tab, select the ADBC agents service and navigate to ADB control agent parameters.

  6. In the Environment key-value section, click Add property and enter ADCC_QUERY_ID_CACHE_MOVE_TO_ACTIVE_TIMEOUT_SECONDS as the variable name and the required number of seconds as its value.

    Adding ADBC agents service property
    Adding ADBC agents service property

    The resulting ADBC agents service settings look as follows:

    The resulting ADBC agents service
    The resulting ADBC agents service
  7. Click Save and run the Reconfigure and restart action of the ADBC agents service to apply the changes.

Found a mistake? Seleсt text and press Ctrl+Enter to report it