Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DPOD software updates are available from time to time and include enhancements, security updates, component upgrade, bug fixes, etc.

The following sections describe the process of upgrading an existing installation.

Cumulative Upgrade

Up to version The following table describes the upgrade path between versions:

From
To
1.0.7.01.0.8.01.0.8.61.0.9.01.0.10.01.0.10.1
1.0.8.6 1

1.0.7.0 → 1.0.8.0
1.0.8.0 → 1.0.8.6






1.0.9.01.0.7.0 → 1.0.8.0
1.0.8.0 → 1.0.8.6
1.0.8.6 → 1.0.9.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.9.0




1.0.10.01.0.7.

...

0 → 1.0.8.0
1.0.8.0 → 1.0.8.6
1.0.8.6 → 1.0.10.0
1.0.8.0 → 1.0.8.6

...


...

1.0.8.6 → 1.0.10.0

...

1.0.8

...

.6 → 1.0.10.0


1.0.10.11.0.7.0 → 1.0.8.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.10.1
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.10.1
1.0.8.6 → 1.0.10.11.0.9.0 → 1.0.10.1

1.0.11.01.0.7.0 → 1.0.8.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.11.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.11.0
1.0.8

...

.6 → 1.0.11.01.0.9.0 → 1.0.11.01.0.10

...

.0 → 1.0.11.0
1.0.12.0 21.0.7.0 → 1.0.8.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.11.0
1.0.11.0 → 1.0.12.0
1.0.8.0 → 1.0.8.6

...


1.0.8.6 → 1.0.11.0
1.0.11.0 → 1.0.12.0
1.0.8.6 → 1.0.11.0
1.0.11.0 → 1.0.12.0
1.0.9.0 → 1.0.11.0
1.0.11.0 → 1.0.12.0
1.0.10.0

...

→ 1.0.12.01.0.10.1 → 1.0.12.0

1 Up to version 1.0.8.6, the fix pack file

...

does not include previous fix packs, so each fix pack should be applied one by one.

2 Version 1.0.

...

12.0

...

requires at least 1.0.10.0 because of Store engine upgrade and data upgrade issues.

Upgrading a Cell Environment

To upgrade a Cell environment - first stop DPOD on the Cell Manager and on all Cell Members, then upgrade the Cell Members, and only after all Cell Members have been upgraded, upgrade the Cell Managercell environment:

  1. Make sure the entire cell is up and running. Upgrading is possible only if the cell is healthy.
  2. Upgrade the cell manager.
  3. When the cell manager upgrade is complete, the cell manager Web Console will be unavailable. Do not start the services manually on the cell manager unless requested explicitly.
  4. Upgrade all cell members (can be done in parallel).
  5. When the cell members upgrade is complete, start the cell manager services using app-util.sh ("Start All").

Copy the Software Update Files to DPOD Server

  1. DPOD software updates are available through IBM Fix Central. The download consists of two files:
    1. The update file: DPOD-fixpack-<version number>
    .sfs (for example: DPOD-fixpack-1_0_11_0
    1. .sfs
    )
    1. The md5 hash calculation of the update file: DPOD-fixpack-<version number>.md5
    (for example: DPOD-fixpack-1_0_11_0.md5)
  2. Copy the update files to the following directory on DPOD server:

...

  1. /installs/update/fix/TODO

...

  1. If the directory does not exist, execute the following command to create it:

    Code Block
    languagebash
    themeRDark
    mkdir -p /installs/update/fix/TODO


Make Sure there is Enough Disk Space

Root ("/") Mount Point Free Space

The root ("/") mount point requires at least 100MB free space.

Installs ("/installs") Mount Point Free Space

...

Inspect the free space of each mount point. You may use the following command:

Code Block
languagebash
themeRDark
df -h /installs

Output example:
Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/vg_inst-lv_inst  7.0G  5.5G  1.6G  79% /installs

During the software update installation, the internal configuration database is being backed-up. The backup requires additional available disk space on the "/installs" mount point.

...

Inspect the size of the internal configuration database. You may use the following command:

Code Block
languagebash
themeRDark
du -ksh /app/derby/

Output example:
43M     sh /app/derby/


See the following table for required available disk space on Make sure the root ("/") mount point has at least 100 MB free space.


Make sure the "/installs" for the software update:

...

mount point has enough available space using the following table:

Upgrading toAvailable Space on "/installs"
1.0.3.X
700MB + DB SIZE
- 1.0
.4
.
X700MB + DB SIZE1.0.5.X2500MB + DB SIZE1.0.6.X700MB + DB SIZE1.0.7.X3000MB + DB SIZE1.0.8.X2000MB + DB SIZE1.0.
9.X3000MB +
DB SIZE
 internal configuration database size
1.0.10.X
4000MB + DB SIZE
- 1.0.
11
12.X
4000MB + DB SIZE
4000MB + internal configuration database size


If there is not enough free disk enough available space on the "/installs" mount point, you may free some by deleting files from the following directories:

DirectoryDescription
/installs/update/fix/TODORemove old DPOD update files (.sfs)
/installs/update/fix/backupsRemove old DPOD backup directories
/installs/APPL-setup
Remove DPOD installation file/installs/MonTierInstallerRemove the content of this directory
/installs/rpms
Remove the content of this directorydirectories

Follow Special Steps

Some versions require special steps. Make sure to follow them:

...

Install the Software Update

Execute the following command from the location where you downloaded the update files tocommands:

Code Block
languagebash
themeRDark
cd /installs/update/fix/TODO
MonTierUpdateInstaller.sh -u DPOD-fixpack-<version number>.sfs -s DPOD-fixpack-<version number>.md5

For example:
MonTierUpdateInstaller.sh -u DPOD-fixpack-1_0_1112_0.sfs -s DPOD-fixpack-1_0_1112_0.md5

...


Please review the upgrade log file if the console displays any error messages.


Note

Do not interrupt the software update process after it has started.

Manual Steps during Software Update

Some versions require manual steps in order to complete the upgrade. These steps are described below.

Rerunning the Installer after Installer Update

Some versions make changes to the installer file itself (`MonTierUpdateInstaller.sh`). In that case, the following message will be displayed, and the command above installer should be rerun manually:

Code Block
languagebash
themeRDark
INFO file MonTierUpdateInstaller.shFound new version of the software update installer... updating
Software update installer was updated successfully.
INFO
importantImportant !!! Please run the software update installer again.

Rerunning the Installer after Operating System Update

Some versions upgrade the operating system (CentOS) when DPOD is installed in Appliance Mode.

In that case, the installer should be rerun manually after the OS upgrade is complete and the server is restarted.

Running Store Data Migration Tool

Some versions include new versions of the Store engine, which might require some of the existing data to be migrated to a newer format or structure.

If the upgrade process detects data that should be migrated before applying the upgrade, the following message will be displayed, and the data migration tool should be run manually:

Code Block
languagebash
themeRDark
Some of the stored application data cannot be run MonTierUpdateInstaller.sh again.
Note

Do not interrupt the software update process after it has started.

...

migrated to the latest version of the Store service.
A data migration tool has been deployed in /installs/data-migration-tool.
You may run it using the following command:
/installs/data-migration-tool/data-migration-tool.sh

Configuring the Data Migration Tool

You may edit the configuration file /installs/data-migration-tool/data-migration-tool.conf before running the tool.
The following entries are of interest (other settings should not change unless advised otherwise by IBM support):

  1. duration.limit (default: 999999) - limits the execution time in minutes.
    This option is useful if you want to schedule the tool to run during off-peak time.
    In such a case, you can limit the tool to run for a few hours each time and schedule it to start when off-peak time starts, so performance will not be impacted during peak time hours.
  2. delete.kibana_indices (default: true) - determines whether Kibana indices should be deleted or not.
    true - Delete old Kibana indices - all exiting Kibana dashboards and other settings will be deleted.
    false - Keep Kibana indices and try to migrate them to the new store engine version - however, it is up to you to fix the indices manually according to Kibana's documentation.

Running the Data Migration Tool

  1. Make sure DPOD is up and running. The data migration tool is designed to work while DPOD is up and running, so users may sign in to DPOD and use it while the data migration tool is upgrading the data in the background.
  2. Since the tool is a long-running process, it is recommended to run it in a "no hang-up" mode, which will cause the process to continue running even after the SSH session is closed. In this mode, the console output is written to nohup.log file in the local directory. Use the following command to run the tool:

    Code Block
    languagebash
    themeRDark
    nohup /installs/data-migration-tool/data-migration-tool.sh &


  3. The data migration process may take anywhere between a few minutes and a few days, depending on the amount of data, the server load and the server hardware. A rough estimation of the time left will be presented while the process is running.
  4. Please review the data migration tool log file if the console displays any error message.

Interrupting the Data Migration Tool

Pressing Ctrl+C or setting duration.limit in the configuration file will stop the tool during the migration process.

Stopping the tool will cause it to re-process the last index that was in the middle of the migration on the next run.

While this is usually not an issue, note that on some cases it may cause complications, for example:

  1. The user wants the tool to run during a nightly maintenance window, between 2-4 AM.
  2. The tool is scheduled using cron to 2 AM and the duration.limit setting is set to 120 minutes.
  3. For this specific user, depending on its hardware and data sizes, processing of each index takes about 3 hours.
  4. Since the tool is interrupted after 2 hours, on the next night, the tool will try to migrate the same index again and will never advance to the next index.