<?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=InstallDcacheShadowPoolConfiguration</id>
	<title>InstallDcacheShadowPoolConfiguration - 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=InstallDcacheShadowPoolConfiguration"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=InstallDcacheShadowPoolConfiguration&amp;action=history"/>
	<updated>2026-05-16T07:05:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=InstallDcacheShadowPoolConfiguration&amp;diff=144&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === Configuration of dCache v1.9.5 pool ===  *See section &quot;Creating and configuring pools&quot; on http://www.dcache.org/manuals/Book-1.9.13/start/in-install.shtml *[[Installin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=InstallDcacheShadowPoolConfiguration&amp;diff=144&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === Configuration of dCache v1.9.5 pool ===  *See section &amp;quot;Creating and configuring pools&amp;quot; on http://www.dcache.org/manuals/Book-1.9.13/start/in-install.shtml *[[Installin...&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;
=== Configuration of dCache v1.9.5 pool ===&lt;br /&gt;
&lt;br /&gt;
*See section &amp;quot;Creating and configuring pools&amp;quot; on http://www.dcache.org/manuals/Book-1.9.13/start/in-install.shtml&lt;br /&gt;
*[[Installing_dcache_pool]] gives a description on how to add a pool v180&lt;br /&gt;
&lt;br /&gt;
==== Headnode settings ====&lt;br /&gt;
*On the headnode in PoolManager.conf add these lines&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
psu create pool pool2-shadow&lt;br /&gt;
psu create unit -net    192.168.99.0/255.255.255.0&lt;br /&gt;
psu addto ugroup all_net 192.168.99.0/255.255.255.0&lt;br /&gt;
psu addto ugroup in_net 192.168.99.0/255.255.255.0&lt;br /&gt;
psu addto ugroup in_server 192.168.99.0/255.255.255.0&lt;br /&gt;
psu addto pgroup cms pool2-shadow&lt;br /&gt;
psu addto pgroup becms pool2-shadow&lt;br /&gt;
psu addto pgroup default pool2-shadow&lt;br /&gt;
psu addto pgroup out_buf pool2-shadow&lt;br /&gt;
psu addto pgroup phedex_pools pool2-shadow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Pool node settings ====&lt;br /&gt;
&lt;br /&gt;
*behar030 has been used as the reference storage box&lt;br /&gt;
*Install dcache software&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://www.dcache.org/downloads/1.9/dcache-server-1.9.5-29.noarch.rpm&lt;br /&gt;
rpm -ivh dcache-server-1.9.5-29.noarch.rpm&lt;br /&gt;
wget http://www.dcache.org/downloads/1.9/dcache-srmclient-1.9.5-23.noarch.rpm&lt;br /&gt;
rpm -ivh dcache-srmclient-1.9.5-23.noarch.rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*In the v180 setup the dCacheSetup file differs from the template file with several aspects&lt;br /&gt;
**ourHomeDir and ourHome are set&lt;br /&gt;
**serviceLocatorHost is defined to &amp;#039;&amp;#039;hostname&amp;#039;&amp;#039;&lt;br /&gt;
**java version is not set to a specific version&lt;br /&gt;
**java_options are different&lt;br /&gt;
**metaDataRepository, metaDataRepositoryImport, parallelStreams, srmBufferSize, srmTcpBufferSize, billingToDb parameters are set explicitely&lt;br /&gt;
**logArea=/var/log/dcache is set to specific subdirectory&lt;br /&gt;
*The v180 file has been put in place with the necessary changes&lt;br /&gt;
*The v195 log4j.properties is kept&lt;br /&gt;
*PoolManager.conf: seems to be the default file in v180 and the v195 and v180 don&amp;#039;t seem to differ&lt;br /&gt;
*dcache.kpwd: put file of behar030 in place&lt;br /&gt;
*dcachesrm-gplazma.policy: put behar030 file in place&lt;br /&gt;
*logConfig.xml: kept v195 file&lt;br /&gt;
*node_config: set behar030 version of file but change the&lt;br /&gt;
*srm_setup.env keep 195 file&lt;br /&gt;
*/opt/pnfs/etc/pnfs_config: no such file&lt;br /&gt;
*/usr/etc/pnfsSetup: no such file&lt;br /&gt;
 &lt;br /&gt;
*generate keys&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/d-cache/config/&lt;br /&gt;
ssh-keygen -t rsa1 -b  768 -f ./server_key -N &amp;quot;&amp;quot; &lt;br /&gt;
ssh-keygen -t rsa1 -b 1024 -f ./host_key   -N &amp;quot;&amp;quot; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*run install script &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/opt/d-cache/install/install.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*make log directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdkir /var/log/dcache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*look into http://mon.iihe.ac.be/trac/t2b/wiki/Installing_dcache_pool for the procedure to add a pool to the headnode&lt;br /&gt;
*In short it goes like this&lt;br /&gt;
**there is a poollist file on the pool node /opt/d-cache/config/pool2-shadow.poollist. It contains this line&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pool2-shadow  /storage/1/pool  sticky=allowed recover-space recover-control recover-anyway lfs=precious tag.hostname=pool2-shadow&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**must make sure this /storage/1/pool/data directory exists, in this case made a symlink to a larger partition&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ln -s /var/storage /storage&lt;br /&gt;
mkdir /var/storage&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**then create the pool&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/opt/d-cache/bin/dcache pool create 20g /storage/2/pool/ &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**Don&amp;#039;t forget to add the pool in PoolManager.conf on the headnode and restart dcache on both headnode and poolnode&lt;br /&gt;
*some more directories are created when the dcache is started&lt;br /&gt;
*scp ccq:/root/dCache_essential_config/behar030_essential_config/setup /storage/1/pool/setup.orig.behar&lt;br /&gt;
 &lt;br /&gt;
*Add lcg-CA rpms&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/EGI-trustanchors.repo&lt;br /&gt;
mv EGI-trustanchors.repo /etc/yum.repos.d/&lt;br /&gt;
yum install ca-policy-egi-core&lt;br /&gt;
yum install lcg-CA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*start dcache &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/opt/d-cache/bin/dcache start&lt;br /&gt;
&amp;lt;/pre&amp;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>