Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The CREAM configuration file | ||||||||
Changed: | ||||||||
< < | The structure of the CREAM configuration file (/opt/glite/etc/glite-ce-cream/cream-config.xml) is composed of three kind of XML elements:
| |||||||
> > |
The configuration file structureThe structure of the CREAM configuration file (/opt/glite/etc/glite-ce-cream/cream-config.xml) is composed of three kinds of XML elements:
| |||||||
| ||||||||
Added: | ||||||||
> > | The CREAM configuration file looks like the following schema:
<service id="CREAM service (core2)"> <commandexecutor id="the id" category="the category" commandqueuesize="500" commandqueueshared="false" commandworkerpoolsize="50" filename="/usr/share/java/EXECUTOR_NAME.jar"> <parameter name="name_1" value="value_1" /> <parameter name="name_2" value="value_2" /> ... <parameter name="name_x" value="value_x" /> </commandexecutor> <dataSource name="datasource_creamdb" type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory" 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" /> <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> </service> | |||||||
The CommandExecutor | ||||||||
Changed: | ||||||||
< < | The commandexecutor represent the implementation of specific functionality provided by CREAM (e.g. delegation, job management, EMI-ES activity management). Its XML structure is as following: | |||||||
> > | The commandexecutor represents the implementation of specific functionality provided by CREAM (e.g. delegation, job management, activity management). Its XML structure is as following: | |||||||
<commandexecutor |