Tags:
, view all tags
-- MassimoSgaravatto - 2011-10-28

CREAM manual installation for EMI-2 release

1 Installation and Configuration

mv axis2.war ce-cream.war
  • stop tomcat5 service
service tomcat5 stop
  • copy ce-cream.war in /usr/share/tomcat5/webapps/
  • start tomcat5 service
service tomcat5 start
  • wait for a while until the ce-cream.war file is unpacked.
  • stop tomcat5 service
service tomcat5 stop
  • copy axis2.xml file
copy [CREAM_WKA]/emi.cream-ce.cream-common/config/axis2.xml in /usr/share/tomcat5/webapps/ce-cream/WEB-INF/conf
  • copy cream-config.xml file
copy [CREAM_WKA]/emi.cream-ce.cream/config/cream-config.xml in /etc/glite-ce-cream/cream-config.xml
  • configure /etc/glite-ce-cream/cream-config.xml file:
    • set the correct value for the "BLAH_JOBID_PREFIX" parameter. Example:
<parameter name="BLAH_JOBID_PREFIX" value="cre10_" />
    • set the correct value for the "HOST_SMP_SIZE" parameter. Example:
<parameter name="HOST_SMP_SIZE" value="2" />
    • set the correct values for “factory”, “username”, “password” attributes in the "datasource_creamdb" section.
How to choice the value for “factory” attribute?
 jar tvf /var/lib/tomcat5/common/lib/*dbcp* | grep BasicDataSourceFactory | sed -e 's/.* //g' | sed -e 's/.class//'
  • set the correct values for “factory”, “username”, “password” attributes in the "datasource_delegationdb" section.
How to choice the value for “factory” attribute?
 jar tvf /var/lib/tomcat5/common/lib/*dbcp* | grep BasicDataSourceFactory | sed -e 's/.* //g' | sed -e 's/.class//'
  • copy log4j.properties file
copy [CREAM_WKA]/stage/etc/glite-ce-cream/log4j.properties in /etc/glite-ce-cream/log4j.properties
  • copy glite-ce-cream-authorization.mar file
copy [CREAM_WKA]/emi.cream-ce.cream/lib/glite-ce-cream-authorization.mar in /usr/share/tomcat5/webapps/ce-cream/WEB-INF/modules/
  • copy glite-ce-cream.aar file
copy [CREAM_WKA]/emi.cream-ce.cream/lib/glite-ce-cream.aar in /usr/share/tomcat5/webapps/ce-cream/WEB-INF/services
  • copy the following scripts in /usr/bin/
[CREAM_WKA]/stage/usr/bin/glite-cream-copyProxyToSandboxDir.sh
[CREAM_WKA]/stage/usr/bin/glite_cream_load_monitor
[CREAM_WKA]/stage/usr/bin/glite-ce-cream-purge-proxy
[CREAM_WKA]/stage/usr/bin/glite-ce-cream-purge-sandbox
[CREAM_WKA]/stage/usr/bin/glite-cream-createsandboxdir
  • copy the following jar libraries in /usr/share/java/
[CREAM_WKA]/stage/usr/share/java/glite-ce-cream-delegationExecutor.jar
[CREAM_WKA]/stage/usr/share/java/glite-ce-cream-blahExecutor.jar
[CREAM_WKA]/stage/usr/share/java/glite-ce-cream-core.jar
[CREAM_WKA]/stage/usr/share/java/glite-ce-common-java.jar
[CREAM_WKA]/stage/usr/share/java/glite-ce-cream-api-java.jar 
[CREAM_WKA]/stage/usr/share/java/glite-jdl-api-java.jar 
[CREAM_WKA]/stage/usr/share/java/argus-pep-api-java.jar
[CREAM_WKA]/stage/usr/share/java/argus-pep-common.jar
[CREAM_WKA]/stage/usr/share/java/delegation-java.jar
[CREAM_WKA]/stage/usr/share/java/trustmanager*  
[CREAM_WKA]/stage/usr/share/java/vomsjapi.jar 
(?) mysql-connector-java.jar 
(?) classad.jar
  • create the following links
ln -s /usr/share/java/trustmanager.jar /usr/share/tomcat5/common/lib/\[trustmanager\].jar
ln -s /usr/share/java/trustmanager-axis.jar /usr/share/tomcat5/common/lib/\[trustmanager-axis\].jar
ln -s /usr/share/java/vomsjapi.jar /usr/share/tomcat5/common/lib/\[vomsjapi].jar
ln -s /usr/share/java/mysql-connector-java.jar /usr/share/tomcat5/common/lib/\[mysql-connector-java].jar
ln -s /usr/share/java/delegation-java.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[delegation-java\].jar
ln -s /usr/share/java/argus-pep-common.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[argus-pep-common\].jar
ln -s /usr/share/java/argus-pep-api-java.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[argus-pep-api-java\].jar
ln -s /usr/share/java/glite-jdl-api-java.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[glite-jdl-api-java\].jar
ln -s /usr/share/java/classad.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[classad\].jar
ln -s /usr/share/java/glite-ce-cream-api-java.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[glite-ce-cream-api-java\].jar
ln -s /usr/share/java/glite-ce-common-java.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[glite-ce-common-java\].jar
ln -s /usr/share/java/glite-ce-cream-core.jar /usr/share/tomcat5/webapps/ce-cream/WEB-INF/lib/\[glite-ce-cream-core\].jar
  • [trustmanager-tomcat].jar, [trustmanager].jar and [bcprov].jar links must exist in /usr/share/tomcat5/server/lib
[trustmanager-tomcat].jar -> /usr/share/java/trustmanager-tomcat.jar
[trustmanager].jar -> /usr/share/java/trustmanager.jar
[bcprov].jar -> /usr/share/java/bcprov.jar
  • [bcprov].jar link must exist in /usr/share/tomcat5/common/lib
[bcprov].jar -> /usr/share/java/bcprov.jar
  • start tomcat5 service
service tomcat5 start
Edit | Attach | PDF | History: r9 | r6 < r5 < r4 < r3 | Backlinks | Raw View | More topic actions...
Topic revision: r4 - 2011-11-02 - EricFrizziero
 

  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback