Summary for Patch 591 rev2 (Verified)

Summary Handling of error situations when adding data to database.
Platform Unix
Category functionality
Valid for 5.1.x, 5.2.x, 5.3.x, 5.4.x
Requires 590, 5.1.0.0 - 5.2.0.0: 458, 5.1.0.0 - 5.1.1.0: 399
Client Required Patch/es
Supersedes 490
Superseded by
Affects Server: Core
Last Updated October 12, 2016

Download now

Download_red patch591-2.tar.gz

Description

The back end will now check every record which it processes, before
putting it into the database. If a record on base level in the
database has incorrect number of fields, it will be put into a
separate file on the base level in the database. If there are
erroneous records, a warning will be issued, indicating how many
errors where found.

In addition, add will not exit when the processing of a data type
fails. It will just leave the data type, and continue on the next.

NOTE: See README of patch 490 for a description of how to activate the
functionality of patch 490.

NOTE_2: If a client is installed on the same host, patch #398 should
also be installed on 5.1 - 5.1.1.

Supersedes Patch Description

Expand all

Patch 490 — Support for merging different archive types
Adds support for merging data from different archive types into the
database.

Minor bugfix on aggregation of week data to year resolution.

To merge data from different sources, add the follwing directive in
/etc/opt/openit/openit.cfg of the server:

LICENSE_DATABASE_REPLACEABLE $CONFIG_DIR/archive-replacement

In addition, create the /var/opt/openit/etc/archive-replacement file
containing lines of format:

<data type name>:<classification name>

The names must match those in acc_types, but with each caret
replaced by a space. There must be no extra spaces in the names.

Each line will specify which classifications of a data type should be
used as a basis for replacement of old data in the database. E.g:

Total license use v2.0:Product
Total license use v2.0:Package
Total license use v2.0:Feature

This will cause the backend to scan all "Product:Package:Feature" of
new data. If any of the found data matches with the old records found
in the database, these records will be replaced. The old records which
does not match with the new data, will remain in the database. The
"old" behaviour is to remove all old data. If there is no
archive-replacement lines for a data type, the old behaviour will
apply for this data type.

NOTE: The "Feature version" should not be specified in the
archive-replacement file.

NOTE_2: If a client is installed on the same host, patch #398 should
also be installed on 5.1 - 5.1.1.

Installation

Unpack tar file in e.g /tmp/patch on the Open iT server. Do the
following as root:

  cd /tmp/patch
  ./patch.pl

Corresponding Windows Patches

No corresponding Patches available.



Back to Version List