Schema Changes
I. Release Patch Area (since tdaq-02-01-00)
Add attribute PatchArea to
SW_Repository class. Use this attribute to specify location of release
patch area. If patch area attribute is non-empty, it's value is taking
into account for calculation of:
- the PATH and the LD_LIBRARY_PATH process environment variables of
sw objects using it;
- the possible binary file names (i.e. if exists, binary will be
taken from the patch area).
See also https://savannah.cern.ch/bugs/?64910.
II. Application Exit Timeout (since tdaq-02-01-00)
Add attribute ExitTimeout to
BaseApplication class. It defines the number of seconds to wait for the
application to exit before sending it a SIGKILL. By default the timeout
is 5 seconds. Increase it (maximum up to 60 seconds), if the
application needs more time to exist cleanly.
See also https://savannah.cern.ch/bugs/?57590.
III. Conversion between application and node id (since
tdaq-02-01-00)
Remove obsolete reset parameter from 2 methods of Partition class. The
new methods are:
- std::string get_app_id(unsigned
short
nodeId)
const throw
(daq::core::AlgorithmError)
- unsigned short get_node_id(const
std::string&
appID)
const
throw (daq::core::AlgorithmError)
The reset of static conversion map is done automatically of a database
action ([re]load, close, update).
See also https://savannah.cern.ch/patch/?4002.
IV. VariableSet contains parameters
(since tdaq-02-01-00)
Replace Variable by Parameter class in Contains relationship of VariableSet class to fix
problem with nested sets (patched in tdaq-02-00-03).
V. Add Coral as DB connection type
(since tdaq-02-01-00)
Extend range of Type
attribute of the DBConnection class. The enumeration range includes
"Coral" (patched in tdaq-02-00-03).
VI. Platforms Compatibility (since tdaq-02-01-00)
Add new class PlatformCompatibility
to describe compatibilities between platforms. The class is derived
from Platform class and has 0
to many relationship CompatibleWith
pointing to self. If one takes tdaq-02-00-03 as an example, the
following compatibility rules can be defined using 3 objects of this
class:
- x86_64-slc5 is CompatibleWith i686-slc5 and i686-slc4
- i686-slc5 is CompatibleWith i686-slc4
If computer runs 64 bits SLC5 (i.e. it's platform is described in OKS
as x86_64-slc5), above
allows to run on it applications with any tags starting from x86_64-slc5, i686-slc5 and i686-slc4. If computer runs 32
bits SLC5 (i.e. it's platform is described in OKS as i686-slc5), above allows
applications with any tags starting from i686-slc5 and i686-slc4.
To be uniquely defined in scope of the partition, the objects of this
class have to be linked OnlineSegment
object via new zero to many CompatibilityInfo
relationship.
VII. Backup Hosts
The backup hosts are used to restart an application in case it's
default host is OFF or down.
The BackupHosts relationship
moved down to the InfrastructureApplication
class.
Add new [0..1] relationship BackupHost
to the Segment class.
The get_backup_hosts()
algorithm of the InfrastructureBase
class was modified to take into account above changes.
VIII. Drop MAC Address of NICs
Modify schema and drop obsolete MAC address from Network Interface
class. The question about IP address is open; it remains in the schema
however should not be used.
Application Type
Add new message passing application type EFD type allocating IDs in [4K
.. 8K[ range. This is required for future prototyping for the data-flow
upgrade.
Utilities Changes
- avoid duplications of tag mappings in
dal_create_sw_repository (since
tdaq-02-01-00, patched in tdaq-02-00-03)
- dal_print_hosts allows to print host for an
application (since
tdaq-02-01-00, patched in tdaq-02-00-03)
- dal_create_db_connection_files
does not create the credentials for database access in an
authentication file, when coral server is used (see https://savannah.cern.ch/bugs/index.php?72817)