Summary for Patch 576 rev2 (Verified)

Summary Fix for server binaries
Platform Unix
Category bugfix
Valid for 5.0.x, 5.1.x, 5.2.x, 5.3.x, 5.4, 5.4.0.1
Requires 5.0.0.0 - 5.0.1.0: 334, 5.1.0.0 - 5.1.0.1: 334
Client Required Patch/es
Supersedes 571, 565, 555, 558, 557, 553, 537, 533, 528, 527, 518, 516, 513, 512, 506, 505, 503, 499, 483, 478, 470, 469, 453, 451, 446, 420, 440, 430, 428, 425, 406, 386, 381, 377, 376, 375, 355, 373, 365, 372, 543, 509, 502, 479, 456, 455, 409, 345, 343
Superseded by
Affects Server: License Analyzer
Last Updated October 12, 2016

Download now

Download_red patch576-2.tar.gz

Description

Fix in the C++ DateTime class. The affected server files are included.

The following is taken from patch #537: After installation, if not
done before, the old flab files in the archive must be removed (as
openit user):

cd $ARCHIVE_DIR/license
find flexpoller -name "*FLAB*" | xargs rm

$ARCHIVE_DIR can be found in /etc/opt/openit/openit.cfg

The flab must be run for the affected period. Please proceed as
follows (as openit user):

/opt/openit/bin/flab -c /var/opt/openit/etc/daft.conf <start> <end>

<start> and <end> has format YYYY-MM-DD

Supersedes Patch Description

Expand all

Patch 571 — Fix of flab (Ignoring bogus lines)
Some bogus lines in the FLEXlm debug log combined with the 
wrong timestamps could cause errors in the output from 
flab, and thus the report data for the FLEXlm debug log
based data types.
Patch 565 — Fix for filtrator and flab
Corrected package registration for features distributed under packages
without OPTIONS=SUITE.

Fixes a bug in flab. flab now correctly merges status lines from the
FLEXlm debug log and flab/flexpoller files regardless of wether
daemon/version/max available licenses information is available. flab
will no longer produce duplicate entires for same license use when
information level varies depending on source.

After installation, if not done before, the old flab files in the
archive must be removed (as openit user):

cd $ARCHIVE_DIR/license
find flexpoller -name "*FLAB*" | xargs rm

$ARCHIVE_DIR can be found in /etc/opt/openit/openit.cfg

The flab must be run for the affected period. Please proceed as
follows (as openit user):

/opt/openit/bin/flab -c /var/opt/openit/etc/daft.conf <start> <end>

<start> and <end> has format YYYY-MM-DD

NOTE: The following (server) platform does not yet support this
functionality:

space-sun-solaris2.5.1
Patch 555 — Fix on archiver (samcollector)
Archiver does now set non-zero usage when splitting samcollector
records into multiple new records.
Patch 558 — Server update for optimizer
Update for handling server functionality of new LicenseOptimizer data
type (92), supporting actions: Terminate, Quit, Suspend, and Log.

NOTE: The following (server) platform does not yet support this
functionality:

space-sun-solaris2.5.1

NOTE-2: The functionality must be turned on with the console.
Patch 557 — Adding handling of UPGRADE lines in FLEXlm debug log
New rewritten flab missed support for UPGRADE lines in the FLEXlm
debug log. This patch includes update of binary that adds this.

After installation, if not done before, the old FLAB files in the
archive must be removed (as openit user):

cd $ARCHIVE_DIR/license
find flexpoller -name "*FLAB*" | xargs rm

$ARCHIVE_DIR can be found in /etc/opt/openit/openit.cfg

The flab must be run for the affected period. Please proceed as
follows (as openit user):

/opt/openit/bin/flab -c /var/opt/openit/etc/daft.conf <start> <end>

<start> and <end> has format YYYY-MM-DD
Patch 553 — Fix of flab
Because flab does not sort all events internally, there can be some
delayed data that should be appended to existing output files, but
files were sometimes overwritten instead of beeing appended to. This
has been fixed.

Shutdown events from vendor daemons were ignored. This has also been
fixed.

After installation, if not done before, the old FLAB files in the
archive must be removed (as openit user):

cd $ARCHIVE_DIR/license
find flexpoller -name "*FLAB*" | xargs rm

$ARCHIVE_DIR can be found in /etc/opt/openit/openit.cfg

The flab must be run for the affected period. Please proceed as
follows (as openit user):

/opt/openit/bin/flab -c /var/opt/openit/etc/daft.conf <start> <end>

<start> and <end> has format YYYY-MM-DD
Patch 537 — New processing of flexlog2 by flab and filtrator
flab and filtrator has been rewritten to share the processing of
FLEXlm debug log data (flexlog2) differently. This is done mainly for
simplifying maintenance.

After installation, the old FLAB files in the archive must be removed
and the flab must be run for the affected period. Please proceed as
follows (as openit user):

cd $ARCHIVE_DIR/license
find flexpoller -name "*FLAB*" | xargs rm
/opt/openit/bin/flab -c /var/opt/openit/etc/daft.conf <start> <end>

$ARCHIVE_DIR can be found in /etc/opt/openit/openit.cfg
<start> and <end> has format YYYY-MM-DD
Patch 533 — Fix forcelower options for FLEXlm debug log based data
Filtrator now correctly processes FLEXlm debug log data when the
case-sensitity options (username-forcelower and hostname-forcelower)
are set to "true".
Patch 528 — filtrator ingoring flexpoller conflicts
Filtrator can now ignore flexpoller events that might conflict with
usage events from the FLEXlm debug log.

When to ignore, is set with:

ignore-flexpoller-usage(String)="<value>"{}

The <value> can be:

   <value>  = Never ignore
   period = Ignore when debug events occur within the poll period
   always = Always ignore
Patch 527 — flab fix on server shutdown detection
FLAB: A bug resulted in false detection of license server shutdown,
causing some license usage to be dropped.
Patch 518 — filtrator and flab update
flab now accepts the option "-d <prod-list>", where
<prod-list> is a comma separated list (without space) with names
of products. Old flab data for these products will be deleted.

filtrator will now reset all licenses in use to zero when a "SHUTDOWN
request" is read from the flexlog file.
Patch 516 — filtrator fix
Fixed bug causing events at 0:00:00 to be counted twice.
License clients, flexlogcollector.
Patch 513 — filtrator fix
Sometimes when filtrator processed OUT + IN usage across GMT midnight,
data could be missing. This has now been fixed for these platforms:

NOTE: The AIX4.2 binary will not be included.
Patch 512 — filtrator fix
When processing FLEXlm debug data, a weakness in the sorting algorithm
caused certain events to occur out of order, resulting in incorrect
usage reported. This has now been fixed.

NOTE: The AIX4.2 binary does not support FLEXnet debug log data.
Patch 506 — filtrator fix for flexpoller/flab data
Will now include debug events occurring after license server startup
but prior to first flexpoller/flab event. (These debug events would
previously be ignored.)
Patch 505 — filtrator mapping fix
Corrected mapping to local time in stead of GMT.
Patch 503 — flab fix
Fixed bug in FlexLog Archive Builder which sometimes caused usage to
be lost when license daemon was shut down.
Patch 499 — Fixes bugs in filtrator: prime time
Fixes bug in prime time correction of licpoll data in filtrator.
Patch 483 — Fixes bugs in filtrator: flexlog-count-zero-as-one
Fixes bug in the flexlog-count-zero-as-one functionality, causing inaccurate
measures when multiple OUT and/or IN lines appeared in the FLEXlm debug log
with the same time stamp.
Patch 478 — Update for license back end
flab doesn't leave tmp files in TEMP_DIR.

filtrator has added logging of flexlog processing: To activate flexlog
process logging, edit /var/opt/openit/etc/daft.conf, and change the
value of daft.filtrator.log.processing.flexlog2 from 'false' to
'true'.
Patch 470 — Update for license back end
Fixed bug which in rare cases caused wildly high number of licenses
in use at daemon shutdown.
Patch 469 — Update for license back end
Corrected an error which in some special cases caused
license usage to be over-reported.
Patch 453 — Update for license back end
Added support for handling "REStarted" lines in FLEXlm output.
Better handling of simultaneous IN and OUT lines.
Better handling of partially completed Optimizer data logs.
Patch 451 — Update for filtrator
Added support for license usage where a system service is
intermediating license distribution between the FLEXlm server and the
application.

After the patch is installed modify

  /var/opt/openit/etc/daft.conf

and add line

  intermediate(String)=""{}

in object

  filtrator.corrections

To activate this functionality, edit /var/opt/openit/etc/daft.conf. Locate
the filtrator.corrections.intermediate object, and set it's value to reflect
the user + host intermediating the license usage.
Example:

        intermediate(String)="SYSTEM+myhost"{}

Where 'myhost' is the host, and 'SYSTEM' is the user.

Both user and host must be written as they appear in the lmstat output.
Patch 446 — Fix of license back-end (flab)
Fixed bug causing usage lasting longer than 4 hours to be dropped when
producing fewer than 6 FLAB-files per day.
Patch 420 — Updates on filtrator
This patch updates filtrator.

1: Added support for correcting usage loss caused by conflict
between flexlogcollector data and flexpoller data.

2: Removed deamon as a criterion for processing flexlogcollector
and flexpoller files.

After installing, use

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

to regenerate data (where <start> and <end> are dates on YYYY-MM-DD
format).
Patch 440 — Fix error when parsing hostnames for License Events data
This update fixes and error when parsing hostnames from FLEXlm
debug log when generating the License Events data type. Hostnames
on the form

  HostA  [HostA1123]

will now correctly be parsed just as "HostA".
Patch 430 — Fix bug in processing of FLEXlm debug log data
When events occured exactly at the same time in FLEXlm debug
log file and in the accompanying flexpoller file, a wrong
test (<= instead of <) would make filtrator ignore the 
event from the FLEXlm debug log file.

This error would be very rare in real data and was detected
in manually constructed data when testing other issues.
Patch 428 — Allow filtrator to rename non-flex product name
Only when using FLEXlm license data collection does the
installation "force" users to define product names. When installing
e.g IBM LUM and Elan/Abaqus the default name is most likely 
used (i.e IBM_LUM and ABAQUS). This is not a problem if there
are never any overlapping features on the licenses servers, but
this is often not the case.

This update allows filtrator to automatically rename the default
product names when they are encountered, from IBM_LUM to 
IBM_LUM-<host>, from ABAQUS to ABAQUS-<host> and from ClearCase
to ClearCase-<host>, to avoid trying to wrongly merge data from
different license servers.

To activate this edit

  /var/opt/openit/etc/daft.conf

and in object

  filtrator.corrections

set

  default-product-adjustment(Bool)="true"{}

Please note that if there are redundant klients for e.g IBM_LUM
you can not use this options without having configured the LUM
product names to a shared name different from the default to get
the correct behaviour.
Patch 425 — New options for processing of FLEXlm debug log data
This patch adds functionallity that allows processing of FLEXlm
debug log data with check out and in lasting 0 seconds to be
accounted with a 1 second duration.

After the patch is installed modify

  /var/opt/openit/etc/daft.conf

and add line

  flexlog-count-zero-as-one(Bool)="true"{}

in object

  filtrator.corrections
Patch 406 — Fix of back-end procssing of FLEXlm debug log data
Back-end processing (flab) of FLEXlm debug log data would only read the
first section of data when multiple section where collected in the same
log file.
Patch 386 — Bugfixes for license processing
This patch fixes two problems with processing of license data


Multiple license agents with same polling offset
------------------------------------------------

If two or more license client poll the same product but do 
not have disting polling times (different offset) the
back-end has problems separating the data from the two 
correctly which will result in incorrect data.

After installing, use

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

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


Improved parsing of data for License logfile events data type
-------------------------------------------------------------

Now ignoring "comments" when parsing FLEXlm debug for this data
type. They occationally contains wildly wrong dates which would
cause problems when parsing.
Patch 381 — Improved back-end processing for FLEXlm debug logs
This patch updates the FLEXlm debug log back-end processing
program (flab) with a binary that can work with less frequent
status dumps than the current "one file per hour" scheme.

This improves both speed of this binary and also reduced disk
use (fewer files generated).

To get any benefit the following must be done after the
patch has been installed.

Edit

  /var/opt/openit/etc/daft.conf

and change value of object

  flab.build.files-per-day

from "24" to "2".

You may also remove all FLAB files from the archive
and re-run flab over the whole periode where there
is flexlog2 data.

Note that newer releases will have the default value
changed from 24 to 2.
Patch 377 — Fix bug when handling forcelower (case) in FLC
This patch update the back-end processing to correctly read
the "case-sensitivity" object entries. A bug in the code
caused the data reader to use the wrong config value for
flab/flexpoler data (it used the value of the 
"username-forcelower" instead of the "hostname-forcelower"
value).
Patch 376 — Fix of several filtrator bugs
This patch fixes the followings bugs found in the
license processing binary (filtrator):

USER_REMOVED lines
------------------

Filtrator now correctly handles USER_REMOVED lines
from FLEXlm debug log files.

License mapping files
---------------------

A bug in the parsing of the mapping file could cause
filtrator to crash when parsing 

  license-user-mapping

or

  license-host-mapping

LUM host names
--------------

A bug in license data collection (fixed by #371) caused LUM
node names to include the serial numbers, giving hostnames
like this:

  CAD-NODE-1.us(#194.19.77.134) Serial Number_ 72211XB1934

This patch updates the back-end processing so it filters
out that serial number for the hostnames in collected data.

After installing the patch regenerate data with

  /opt/openit/bin/regenerate_data

to get correct hostnames in the database.
Patch 375 — Fix of several filtrator bugs
This patch fixes the followings bugs found in the
license processing binary (filtrator):

USER_REMOVED lines
------------------

Filtrator now correctly handles USER_REMOVED lines
from FLEXlm debug log files.

License mapping files
---------------------

A bug in the parsing of the mapping file could cause
filtrator to crash when parsing 

  license-user-mapping

or

  license-host-mapping

LUM host names
--------------

A bug in license data collection (fixed by #371) caused LUM
node names to include the serial numbers, giving hostnames
like this:

  CAD-NODE-1.us(#194.19.77.134) Serial Number_ 72211XB1934

This patch updates the back-end processing so it filters
out that serial number for the hostnames in collected data.

After installing the patch regenerate data with

  /opt/openit/bin/regenerate_data

to get correct hostnames in the database.
Patch 355 — Fix serious FLEXlm debug log processing problems
A serious problem has been detected when processing
several debug log files simultaniously when some of the
logs has long gaps (periods where license servers has
been down).

In addition the processing is now able to handle FLEXlm
debug log data collected from host in different time
zones.
Patch 373 — Remove serial number in LUM hostnames
A bug in license data collection (fixed by #371) caused LUM
node names to include the serial numbers, giving hostnames
like this:

  CAD-NODE-1.us(#194.19.77.134) Serial Number_ 72211XB1934

This patch updates the back-end processing so it filters
out that serial number for the hostnames in collected data.

After installing the patch regenerate data with

  /opt/openit/bin/regenerate_data

to get correct hostnames in the database.
Patch 365 — Make filtrator handle overlapping licpoll2 input
License data collected on windows clients sometime last
for longer than 1 hour (with overlapping collectors).

This patch make filtrator accept these files correctly.
Patch 372 — Remove serial number in LUM hostnames
A bug in license data collection (fixed by #371) caused LUM
node names to include the serial numbers, giving hostnames
like this:

  CAD-NODE-1.us(#194.19.77.134) Serial Number_ 72211XB1934

This patch updates the back-end processing so it filters
out that serial number for the hostnames in collected data.

After installing the patch regenerate data with

  /opt/openit/bin/regenerate_data

to get correct hostnames in the database.
Patch 543 — Archiver timezone fix
Data from previous or next day may have to be processed for
completeness. This was sometimes omitted by archiver. This should now
be fixed.
Patch 509 — Archiver fix
A subtle error caused some archive files not to be recognized by
archiver, thereby being rejected. This patch fixes the file
recognition algorithm.
Patch 502 — Archiver update
Improved automatic processing of recently archived flexlog data
(running FLAB with better parameter control).
Patch 479 — Minor archiver update
New name for flexlog files in archive:

<logfile-time>-<archive-time>-<product>-<running-number>.in
Patch 456 — Minor archiver update
Improves handling of files of test data type 88.

See also README of patch 455.
Patch 455 — New archiver options
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"
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 List