Visit new DAL package TWiki page https://twiki.cern.ch/twiki/bin/view/Atlas/DaqHltDal

Schema Changes

Generation of Segment-Wide Process Environment by Infrastructure Applications

An infrastructure application may provide service used by all applications running inside this segment (e.g. rdb_server, is_server, dbproxy). It is necessary to pass the name of this server to all it's clients. The changes described below allow to automate this process using process environment variables generated by DAL algorithm.

Schema changes: add attributes SegmentProcEnvVarName, SegmentProcEnvVarParentName and SegmentProcEnvVarValue to the InfrastructureApplication class.

If value of the SegmentProcEnvVarName attribute is non-empty, the process environment variable with name equal to value of this attribute is created for any application of the segment the infrastructure application belongs to (use case: pass name of service to all clients in the segment). The value of this variable is calculated depending on the value of the SegmentProcEnvVarValue attribute: it either can be the application ID, or the name of the host the infrastructure application runs on.

If value of SegmentProcEnvVarParentName attribute is not empty, the process environment variable with name equal to the attribute's value is generated for all applications of the segment. The value of the environment is equal to value set for variable corresponding to the SegmentProcEnvVarName from a parent segment (use case: pass name of top-level service to the service of this segment)
Example: segment rdb_server
  1. set rdb_server's SegmentProcEnvVarName=TDAQ_DB_NAME and SegmentProcEnvVarValue=appId
  2. run rdb server with option "-a TDAQ_DB_NAME"
    the "-a" option says: take name from environment with name TDAQ_DB_NAME
    do not use -d XYZ command line option and do not create any process environment to pass name of rdb_server to segment's applications as it was before!
  3. as result of above, the rdb_server will be run with unique application ID and this ID will be passed via TDAQ_DB_NAME process environment variable to all applications of this segment

C++ Algorithms

Java Algorithms

Add Utility to Generate Athentication and DBLookup Files for DBProxy Clients

See "dal_create_db_connection_files -h" for command line options.

This utility creates authentication and dblookup files as requested by the DbProxy clients (PT and L2PU). It uses the information stored in the DBConnection objects in the databases (linked through the TriggerConfiguration object). If the server name in the object is specified as "LOCAL_HOST" the fully qualified name of the machine on which the utility is run will be used.
This utility is meant to be run on all HLT nodes before the PT and L2PU applications configure themselves.