Data Flow Probe Auto Upgrade

Data Flow Probe Auto Upgrade Overview

In version 10.33, the Data Flow Probe auto upgrade mechanism is fully available. That is, once UCMDB server is upgraded to version 10.33, the probe auto upgrade capability is in place. This capability enables you to upgrade all the connected probes of version 10.22 (or later, with or without a CUP) in your environments with just several clicks, without having to access the probe servers anymore.

Compared to the traditional manual probe deployment approach (uninstall the old probe and then install the new probe), in general it takes 20-40 minutes to upgrade multiple probes (say, 100 or 200 probes) in parallel with the probe auto upgrade mechanism.

The time required for upgrading all the connected probes equals to that of the probe that takes the longest duration to finish upgrade among all the connected probes. The network latency would be a impact factor, which has impact on the time the probe downloads resources from the UCMDB Server. HPE Software lab testing shows the following results: A total of 60 connected probes finished upgrade in 40 minutes, while the majority of them finished around 20-30 minutes with network latency less than 1 millisecond.

Supported Probes

In version 10.33, probes that satisfy the following criteria are supported for auto upgrade:

  • Supported versions. The probe auto upgrade and deployment mechanism supports upgrading probes from any of the following versions to version 10.33 automatically:

    • 10.22 (with or without a CUP)
    • 10.30
    • 10.31
    • 10.32
  • Union and non-FIPS mode probes on Windows machine

The following probes are not supported for auto upgrade in version 10.33:

  • FIPS mode probes
  • Separate mode probes
  • Probes on Linux machine
  • Integration service

  • Two probes installed on a same Windows machine

Important  

  • Before the upgrade, make sure that:

    • all Data Flow Probe related command line windows and probe related folders are closed. Otherwise when the probe auto upgrade agent backs up probe folders, backing up of those files may fail as they are occupied.
    • ports 5436 and 5437 are free, as these two ports will be used during the probe upgrade.
  • If the UCMDB_Probe and the UCMDB_Probe_DB services run under custom account, make sure you grant full control to the user of the <DataFlowProbe> folder before the probe auto upgrade starts, and revert the control after the upgrade.

  • If you are upgrading UCMDB, and you have Data Flow Probes in your environment that satisfy the probe auto upgrade requirements, make sure you select No when asked if you want to deploy the latest Content Pack, and manually deploy the latest Content Pack after you have completed upgrading the UCMDB server.

Data Flow Probe Auto Upgrade Workflow

The Data Flow Probe Auto Upgrade workflow contains the following steps:

  1. The UCMDB Administrator upgrades UCMDB server from version 10.22 (or later, with or without a CUP) to version 10.33.

    During the upgrade, the Administrator selects the Automatically update Data Flow Probe to 10.33 option. As a result, the probe auto upgrade agent package is placed under the <UCMDB_Server>\content\probe_patch folder, and the Data Flow Probe installer package is placed under the <UCMDB_Server>\content\probe_installer folder.

  2. The UCMDB Administrator starts version 10.33 UCMDB server.

    1. On the UCMDB server, Package Manager deploys the probe auto upgrade agent and Data Flow Probe installer packages into the Unified Resource Manager (URM) by using the Packaging Services.
    2. Data Flow Probes connected to the UCMDB server download the probe installer and probe auto upgrade agent packages from the UCMDB server, and then start the probe upgrade logic.

    3. The probe upgrade logic registers the probe auto upgrade agent as a service and starts it.

  3. The probe auto upgrade agent performs the following operations:

    1. Performs pre-check to decide if the probe is ready for upgrade. For example, if there is enough disk space available or not, and if the probe is of a supported version.
    2. Generates the response file required for silent installation.
    3. Downloads UCMDB_DataFlowProbe_10.33.exe from the UCMDB server.

    4. Stops the following services: UCMDB_Probe, UCMDB_Probe_DB, and UCMDB_Probe_XmlEnricher.

    5. Performs silent installation with the Update option.

      During this step, Performs post-upgrade tasks, including merging customized settings, creating and adjusting database tables, such as splitting tables (version 10.22 to version 10.33), columns, indexes, and so on.

    6. Starts all three services after the installation is done: UCMDB_Probe, UCMDB_Probe_DB, and UCMDB_Probe_XmlEnricher.
    7. Reports probe upgrade status to the UCMDB server, and save probe auto upgrade logs to UCMDB Server. For example: <UCMDB_Server>\runtime\log\probeUpgradeLogs\10.22to10.33\success.

      Note If the upgrade is successful, the log would be placed under the success folder; if failed, the logs would be placed under the failed folder.

Troubleshooting Probe Auto Upgrade

The following files will be replaced with the ones from your environment:

  • <DataFlowProbe>\conf\postgresql.conf
  • <DataFlowProbe>\conf\probeMgrList.xml
  • <DataFlowProbe>\conf\WrapperGatewayCustom.conf
  • <DataFlowProbe>\conf\WrapperManagerCustom.conf
  • <DataFlowProbe>\conf\security\ssl.properties
  • <DataFlowProbe>\conf\security\HPProbeKeyStore.jks
  • <DataFlowProbe>\conf\security\HPProbeTrustStore.jks
  • <DataFlowProbe>\conf\enricher.properties
  • <DataFlowProbe>\conf\EnricherServiceSettings.ini
  • <DataFlowProbe>\bin\WrapperEnv.conf

  • <DataFlowProbe>\bin\wrapper-platform.conf
  • <DataFlowProbe>\bin\WrapperManager.conf
  • <DataFlowProbe>\bin\WrapperGateway.conf
  • <DataFlowProbe>\bin\xmlenricher\WrapperEnricher.conf

Problem: After finishing probe auto upgrade, the probe cannot not be started, and many properties in DataFlowProbe.properties are empty. This happens when probe backing up configuration files failed.

Solution: You need to manually upgrade the probe, which means uninstall the probe and install version 10.33 probe manually.