Difference: CREAMConfigurationFile (3 vs. 4)

Revision 42012-12-06 - LisaZangrando

Line: 1 to 1
 
META TOPICPARENT name="SystemAdministratorDocumentation"

The CREAM configuration file

Changed:
<
<

The configuration file structure

>
>
 
Changed:
<
<
The structure of the CREAM configuration file (/opt/glite/etc/glite-ce-cream/cream-config.xml) is composed of three kinds of XML elements:
>
>

The CREAM configuration file structure

The default location of the CREAM configuration file is /opt/glite/etc/glite-ce-cream/cream-config.xml. It is a XML file composed of a set of elements basically of three different types:
 
  • commandexecutor which defines the specific capabilities (e.g. delegation, job management, activity management) provided by CREAM
  • dataSource used for setting up the access to CREAM DB (MySQL)
  • authzchain which defines the security authorization layer based on ARGUS service or gJAF
Changed:
<
<
The CREAM configuration file looks like the following schema:
>
>
The configuration file looks like the following schema:
 
<service id="CREAM service (core2)">
Line: 18 to 19
  <commandexecutor id="the id" category="the category"
Changed:
<
<
commandqueuesize="500" commandqueueshared="false" commandworkerpoolsize="50" filename="/usr/share/java/EXECUTOR_NAME.jar">
>
>
...
  ...
Changed:
<
<
<dataSource name="datasource_creamdb"
>
>
<dataSource name="datasource_name"
  type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory"
Changed:
<
<
driverClassName="org.gjt.mm.mysql.Driver" username="lisa" password="lisa" maxActive="200" maxIdle="30" maxWait="10000" url="jdbc:mysql://localhost:3306/creamdb?autoReconnect=true" validationQuery="SELECT 1" testOnBorrow="true" testWhileIdle="true" timeBetweenEvictionRunsMillis="20000" minEvictableIdleTimeMillis="90000" logAbandoned="false" removeAbandoned="true" removeAbandonedTimeout="30"
>
>
...
  />

Changed:
<
<
<parameter name="blackListFile" value="/etc/lcas/ban_users.db" /> <plugin name="admincheckpip" classname="org.glite.ce.commonj.authz.gjaf.AdminCheckerPIP"> <parameter name="adminList" value="/etc/grid-security/admin-list" />

<plugin name="gridmappdp" classname="org.glite.ce.commonj.authz.gjaf.GridMapServicePDP"> <parameter name="gridMapFile" value="/etc/grid-security/grid-mapfile" />

<plugin name="vomspdp" classname="org.glite.ce.commonj.authz.gjaf.VomsServicePDP"> <parameter name="gridMapFile" value="/etc/grid-security/grid-mapfile" />

>
>
...
 
Changed:
<
<
>
>
...
 

Deleted:
<
<
 

The CommandExecutor

Changed:
<
<
The commandexecutor represents the implementation of specific functionality provided by CREAM (e.g. delegation, job management, activity management). Its XML structure is as following:
>
>
The commandexeuctor represents the implementation of specific functionality provided by CREAM (e.g. delegation, job management, activity management). More than one commandexecutor can be defined in the configuration file and its XML structure is as following:
 
<commandexecutor
Line: 99 to 64
  ...
Added:
>
>
 
Changed:
<
<
The list the commandexecutor attributes and elements with their meaning:
>
>
The above XML structure shows that a commandexeuctor is composed of a set of well defined attributes and a set of parameters which are strictly dependent on the specific commandexecutor. The following is the list of the mandatory attributes with their meaning:
 
  • id: the unique id (*)
  • category: the name of the category to which the commandexecutor belongs (e.g. DELEGATION_MANAGEMENT, JOB_MANAGEMENT, ACTIVITY_MANAGEMENT) (*)
  • commandqueuesize: the size of the in memory prefetched command queue (default: 500) (*)
Line: 110 to 77
 
  • filename: the path of the jar implementing the commandexecutor (*)
  • parameter: represents a name/value couple defined for the specific commandexecutor. The name is case-sensitive.
Changed:
<
<
* you shouldn't need to change the proposed default.
>
>
* please DO NOT change the default value which comes from the YAIM configuration.
 
Changed:
<
<

The BLAH Executor

>
>

The BLAH Executor

 This executor implements the CREAM's job management capabilities and it is based on the BLAH component. The following attributes and parameters are accepted for well defining this commandexecutor:
  • id: "BLAH executor"
  • category: "JOB_MANAGEMENT"
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback