<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=ProdAgent</id>
	<title>ProdAgent - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=ProdAgent"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=ProdAgent&amp;action=history"/>
	<updated>2026-04-20T09:45:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=ProdAgent&amp;diff=218&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === ProdAgent === Most prodagent documentation is coming from the wiki(s). ==== Installation ==== *[https://twiki.cern.ch/twiki/bin/view/CMS/ProdAgentInstallation basic in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=ProdAgent&amp;diff=218&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === ProdAgent === Most prodagent documentation is coming from the wiki(s). ==== Installation ==== *[https://twiki.cern.ch/twiki/bin/view/CMS/ProdAgentInstallation basic in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== ProdAgent ===&lt;br /&gt;
Most prodagent documentation is coming from the wiki(s).&lt;br /&gt;
==== Installation ====&lt;br /&gt;
*[https://twiki.cern.ch/twiki/bin/view/CMS/ProdAgentInstallation basic installation]&lt;br /&gt;
**Using rpms&lt;br /&gt;
*PrdAgentBD https://twiki.cern.ch/twiki/bin/view/CMS/ProdAgentDB&lt;br /&gt;
**Option 2&lt;br /&gt;
**Option 1&lt;br /&gt;
**grant root usage from installation machine.domain with passwd pass&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  grant all privileges on *.* to &amp;#039;root&amp;#039;@&amp;#039;machine.domain&amp;#039; identified by &amp;#039;pass&amp;#039; with grant option;&lt;br /&gt;
  flush privileges;&lt;br /&gt;
  show grants for &amp;#039;root&amp;#039;@&amp;#039;machine.domain&amp;#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**nice error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 mysql&amp;gt;  GRANT UPDATE,SELECT,DELETE,INSERT ON ProdAgentDB_stijn.* TO &amp;#039;ProdAgentUser_stijn&amp;#039;@&amp;#039;machine&amp;#039; IDENTIFIED BY &amp;#039;dummy&amp;#039;;&lt;br /&gt;
ERROR 1145 (42000): The host or user argument to GRANT is too long&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Local DBS/DLS (becms?) ===&lt;br /&gt;
**[https://twiki.cern.ch/twiki/bin/view/CMS/DBS-TDR DBS-TDR]&lt;br /&gt;
**upgrade mysql from 4.1.11 to 5.0.20 to avoid bug&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  ERROR 1170 (42000) at line 227: BLOB/TEXT column &amp;#039;LogicalFileName&amp;#039; used in key specification without a key length&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**also doesn&amp;#039;t work with 4.0.25&lt;br /&gt;
**install jdk5&lt;br /&gt;
**get ant 1.6.7 &lt;br /&gt;
**set JAVAHOME to jdk5&lt;br /&gt;
**modify config file /etc/tomcat5/tomcat5.conf&lt;br /&gt;
***correct JAVA_HOME&lt;br /&gt;
***add export DBS_SERVER_CONFIG=/var/lib/tomcat5/DBS/Servers/JavaServer/etc/context.xml&lt;br /&gt;
**ant dist builds!&lt;br /&gt;
**runAllTests works after changing the clientallowed version to 003&lt;br /&gt;
**tomcat55&lt;br /&gt;
***install tomcat55 with necessary jakarta common jar libs (pool, jdbc, collections)&lt;br /&gt;
***copy the mysql/oracle jar files to CATALINA_HOME/common/lib (from DBS/Servers/JavaServer/lib)&lt;br /&gt;
***make sure the tomcat user exists and has write permisisons on /etc/tomcat5(5), /usr/share/tomcat55, /var/lib/tomcat55 and /var/cache/tomcat55&lt;br /&gt;
***add line &amp;lt;tt&amp;gt;factory=&amp;quot;org.apache.commons.dbcp.BasicDataSourceFactory&amp;quot;&amp;lt;/tt&amp;gt;  to context.xml/DBS.xml when you get error &amp;lt;tt&amp;gt;Root exception is java.lang.ClassNotFoundExcepti\on: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory&amp;quot;&amp;lt;/tt&amp;gt; with client runAlltest.sh&lt;br /&gt;
**client&lt;br /&gt;
***run as user&lt;br /&gt;
***source standard cms/phedex env (use prodagent one)&lt;br /&gt;
***get tag 006&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     cvs co -r v00_00_06 DBS/Clients/Python&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
***modify dbs.config to have the correct name for the DBS host&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*Local DLS (becms)&lt;br /&gt;
**create LFC path according to cms convention&lt;br /&gt;
  export LFC_HOST=laranja.iihe.ac.be&lt;br /&gt;
  lfc-mkdir -p /grid/becms/DLS/MCLocal_1&lt;br /&gt;
**This makes the DLS entrypoint&lt;br /&gt;
  laranja.iihe.ac.be/grid/becms/DLS/MCLocal_1&lt;br /&gt;
**DLS needs the lfc-dli running on the destination. make sure it&amp;#039;s on&lt;br /&gt;
==== Test ====&lt;br /&gt;
  dls-add -i DLS_TYPE_LFC -e laranja.iihe.ac.be/grid/becms/DLS/MCLocal_1 /block1/2 maite.iihe.ac.be&lt;br /&gt;
  dls-get-se -i DLS_TYPE_LFC -e laranja.iihe.ac.be/grid/becms/DLS/MCLocal_1 /block1/2&lt;br /&gt;
  dls-delete -i DLS_TYPE_LFC -e  laranja.iihe.ac.be/grid/becms/DLS/MCLocal_1 /block1/2 maite.iihe.ac.be&lt;br /&gt;
=== LFC ===&lt;br /&gt;
==== Install ====&lt;br /&gt;
*Use quattor lfc template, don&amp;#039;t forget to add lfcmgr user.&lt;br /&gt;
**Make sure you have setup a central LFC for becms only!!&lt;br /&gt;
*Setup base infrastructure:&lt;br /&gt;
**Follow instructions to test and setup base path https://uimon.cern.ch/twiki/bin/view/LCG/LfcAdminGuide#Test_the_LFC_Server&lt;br /&gt;
==== Links ====&lt;br /&gt;
*LFC in gocwiki http://goc.grid.sinica.edu.tw/gocwiki/How_to_set_up_an_LFC_service&lt;br /&gt;
*LFC Admin guide wiki https://uimon.cern.ch/twiki/bin/view/LCG/LfcAdminGuide&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>