Summary for Patch 455 (Verified)

Version 5.1.0.1

Full summary
Summary New archiver options
Platform Unix
Category functionality
Requires 334
Client Required Patch/es
Supersedes 409, 345, 343
Superseded by 456 : Verified / Not hidden
Affects Server: License Analyzer
Last Updated September 30, 2009

Download now

Download_red patch455.tar.gz

Description

Allow for configuring what should happen to incoming archive files of
a format that is no longer supported.

In /var/opt/openit/etc/daft.conf, the following objects control this:

"archiver.unsupported" defines target directory

"archiver.unsupported-handling" defines action to be taken, one of
"delete", "move", "ignore"

Supersedes Patch Description

Expand all

Patch 409 — Fixes archiver issue with ignored files in incoming
This patch fixes archiver so that it properly moves corrupt
files from incoming to /var/opt/openit/temp/garbage/

It also fixed an issue which could cause archiver to skip handling
some files in database/incoming/
Patch 345 — Fix loading of recorder data (with recover option)
This patch fixes a problem with loading recorder data.
Archiver failed to accept that last field in line
could have an empty value.

This patch also include a recover option to help
with reprocessing previously failed recorder data.

To do this, manually run the following command
as the "openit" user:

  /opt/openit/bin/archiver -c /var/opt/openit/etc/daft.conf --recover

This will scan the files in the gargabe directory
(usually /var/opt/openit/temp/gargage), check if 
files "failed" with empty last field values and 
if so, insert the missing lines into the archive
and delete the processed file from gargage.

In addition to inserting the data into the archive
you will need to regenerate the recorder data
into the database. Run

  /opt/openit/bin/regenerate_data --archtype recorderevents <start> <end>

and

  /opt/openit/bin/regenerate_data --archtype recorderperiod <start> <end>

(where <start> and <end> are dates on YYYY-MM-DD format).

To void blocking normal archiver operations, it's possible to limit 
the running time of the recover operation by adding the parameter

  --timelimit <time>

where time is given using the P<period> format, e.g

	P2H		2 hours
	P90M		90 minutes 
	P900S		900 seconds
Patch 343 — Fix loading of recorder data
This patch fixes a problem with loading recorder data.
Archiver failed to accept that last field in line
could have an empty value.

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 5.1.0.1