Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The CREAM configuration file for the EMI-2 release | ||||||||
Line: 8 to 8 | ||||||||
The CREAM configuration file structureThe 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:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The configuration file looks like the following schema: | ||||||||
Line: 47 to 47 | ||||||||
Changed: | ||||||||
< < | The Command Executor | |||||||
> > | The Command Executor configuration | |||||||
The commandexecuctor represents the implementation of specific functionality provided by CREAM (e.g. delegation, job management, activity management). At the current time CREAM provides three different commandexecuctors (BLAHExecutor, ActivityExecutor and DelegationExecutor) but new ones can be implemented and configured. The configuration of a commandexecutor is based on a well defined structure composed of a set of mandatory attributes and parameters which are specific for each executor: | ||||||||
Line: 72 to 72 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 204 to 204 | ||||||||
* please DO NOT change the default value which comes from the YAIM configuration. | ||||||||
Added: | ||||||||
> > | The JDBC datasource configurationCREAM relies on an external relational database to store its internal state (e.g. jobs, activities, delegations, commands queue, etc). This improves fault tolerance as it guarantees that this information is preserved across restarts of CREAM. Moreover, the use of a SQL database improves responsiveness of the service while performing queries which are needed by the usual CREAM operations, such as getting the list of jobs associated with a specific user. The CREAM deployment provides MySQL as preferred database, but any SQL database accessible through JDBC should be well supported although we don't have yet experience on it. Note that the database server can be installed on a dedicated host, or can share the same machine hosting CREAM. The JDBC connection is configured by the following template:<dataSource name="datasource_name" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" driverClassName="org.gjt.mm.mysql.Driver" username="the user" password="the password" maxActive="200" maxIdle="30" maxWait="10000" url="jdbc:mysql://localhost:3306/DATABASE_NAME?autoReconnect=true" validationQuery="SELECT 1" testOnBorrow="true" testWhileIdle="true" timeBetweenEvictionRunsMillis="20000" minEvictableIdleTimeMillis="90000" logAbandoned="false" removeAbandoned="true" removeAbandonedTimeout="30" />We suggest not to change the default values coming from the YAIM configuration. Moreover please check the section 1.5.5 of the System Administrator Guide (i.e. https://wiki.italiangrid.it/twiki/bin/view/CREAM/SystemAdministratorGuideForEMI2 ![]() The security authorization layer configurationCREAM supports two different authorization systems based on the ARGUS authorization framework or the gJAF (grid Java Authorization Framework) system. The configuration depends on the authZ system selected. In case of ARGUS the XML section looks like this:<adminlist filename="/etc/grid-security/admin-list"/> <argus-pep name="pep-client1" resource_id="CREAM_PEPC_RESOURCEID" cert="TOMCAT_HOSTCERT_LOCATION" key="TOMCAT_HOSTKEY_LOCATION" passwd="" mapping_class="org.glite.ce.cream.authz.argus.ActionMapping"> <endpoint url="ARGUS_PEPD_ENDPOINTS" /> </argus-pep>while the configuration of the gJAF system is: <authzchain name="chain-1"> <plugin name="localuserpip" classname="org.glite.ce.commonj.authz.gjaf.LocalUserPIP"> <parameter name="glexec_bin_path" value="/usr/sbin/glexec" /> <parameter name="glexec_probe_cmd" value="/usr/bin/id" /> <parameter name="methods" value="JobRegister, putProxy, getProxyReq, renewProxyReq, getTerminationTime, destroy" /> </plugin> <plugin name="bannerpdp" classname="org.glite.ce.commonj.authz.gjaf.BlackListServicePDP"> <parameter name="blackListFile" value="/etc/lcas/ban_users.db" /> </plugin> <plugin name="admincheckpip" classname="org.glite.ce.commonj.authz.gjaf.AdminCheckerPIP"> <parameter name="adminList" value="/etc/grid-security/admin-list" /> </plugin> <plugin name="gridmappdp" classname="org.glite.ce.commonj.authz.gjaf.GridMapServicePDP"> <parameter name="gridMapFile" value="/etc/grid-security/grid-mapfile" /> </plugin> <plugin name="vomspdp" classname="org.glite.ce.commonj.authz.gjaf.VomsServicePDP"> <parameter name="gridMapFile" value="/etc/grid-security/grid-mapfile" /> </plugin> </authzchain> | |||||||
-- LisaZangrando - 2012-12-04 |