<?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=UpdateDcacheTo22</id>
	<title>UpdateDcacheTo22 - 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=UpdateDcacheTo22"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=UpdateDcacheTo22&amp;action=history"/>
	<updated>2026-04-20T22:28:37Z</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=UpdateDcacheTo22&amp;diff=338&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; update instructions.&lt;br&gt; Remark, these instructions are for the mostly for the headnode, but will work fine on the pools also. Some files do not exist in the pools. If one i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=UpdateDcacheTo22&amp;diff=338&amp;oldid=prev"/>
		<updated>2015-08-26T12:29:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; update instructions.&amp;lt;br&amp;gt; Remark, these instructions are for the mostly for the headnode, but will work fine on the pools also. Some files do not exist in the pools. If one i...&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;
update instructions.&amp;lt;br&amp;gt;&lt;br /&gt;
Remark, these instructions are for the mostly for the headnode, but will work fine on the pools also. Some files do not exist in the pools. If one is asked to overwrite a file, always say YES.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This only on Headnode&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SSHDcache&lt;br /&gt;
cd PoolManager&lt;br /&gt;
save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For all:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/opt/d-cache/bin/dcache stop&lt;br /&gt;
rpm -e dcache-server&lt;br /&gt;
     &amp;#039;&amp;#039;&amp;#039;#java versions could differ on pools as they have different OS&amp;#039;s&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
rpm -e java-1.6.0-openjdk-devel-1.6.0.0-1.11.b16.el5 java-1.6.0-openjdk-1.6.0.0-1.11.b16.el5 java-1.6.0-sun-compat-1.6.0.20-1.sl5.jpp&lt;br /&gt;
rpm -e jdk-1.6.0_20-fcs&lt;br /&gt;
rpm -ivh jdk-7u40-linux-x64.rpm&lt;br /&gt;
rpm -ivh dcache-2.2.23-1.noarch.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
both rpms can be found on ccq:/root/Olivier/RPMs/Update&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp -r /opt/d-cache/etc/* /etc/dcache/.&lt;br /&gt;
cp /opt/d-cache/etc/authorized_keys /etc/dcache/admin/.&lt;br /&gt;
cp /opt/d-cache/etc/*key* /etc/dcache/admin/.&lt;br /&gt;
cp /opt/d-cache/config/PoolManager.conf /var/lib/dcache/config/poolmanager.conf&lt;br /&gt;
cp /opt/d-cache/etc/dcache.conf.rpmsave /etc/dcache/dcache.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;edit /etc/dcache/dcache.conf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
replace {portBase} by 22&lt;br /&gt;
add: dcache.user=root&lt;br /&gt;
change value of dcache.home to /usr/share/dcache&lt;br /&gt;
comment out this line:&lt;br /&gt;
   metaDataRepositoryImport=org.dcache.pool.repository.meta.file.FileMetaDataRepository&lt;br /&gt;
&lt;br /&gt;
mv /opt/d-cache/etc/dcachesrm-gplazma.policy.rpmsave /etc/dcache/dcachesrm-gplazma.policy&lt;br /&gt;
edit /etc/dcache/dcachesrm-gplazma.policy also this file as it contains references to the /opt layout.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Only on headnode:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
edit /var/lib/pgsql/data/postgresql.conf&lt;br /&gt;
put max_connections to 1000&lt;br /&gt;
&lt;br /&gt;
restart the machine&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&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>