<?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=InstallDcache</id>
	<title>InstallDcache - 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=InstallDcache"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=InstallDcache&amp;action=history"/>
	<updated>2026-05-16T09:04:51Z</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=InstallDcache&amp;diff=129&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; == Installation of a dCache v1.9.5 headnode == PageOutline  === Installation of the machine ===  *Installed a base machine **It is a virtual machine on dom04.wn.iih...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=InstallDcache&amp;diff=129&amp;oldid=prev"/>
		<updated>2015-08-26T12:28:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == Installation of a dCache v1.9.5 headnode == &lt;a href=&quot;/index.php?title=PageOutline&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;PageOutline (page does not exist)&quot;&gt;PageOutline&lt;/a&gt;  === Installation of the machine ===  *Installed a base machine **It is a virtual machine on dom04.wn.iih...&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;
== Installation of a dCache v1.9.5 headnode ==&lt;br /&gt;
[[PageOutline]]&lt;br /&gt;
&lt;br /&gt;
=== Installation of the machine ===&lt;br /&gt;
&lt;br /&gt;
*Installed a base machine&lt;br /&gt;
**It is a virtual machine on dom04.wn.iihe.ac.be with 2 CPUs and 2GB of RAM&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dcache2-shadow.iihe.ac.be&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**The name was not chosen maite due to quattor configuration issues.&lt;br /&gt;
**How to install a VM: [[VirtWithKVM1]]&lt;br /&gt;
**This machine was installed not with a file image but with a physical disk for hosting the UI&lt;br /&gt;
**The XML for the machine is [[InstallDcache_VMXML]]&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
*This [[InstallDcache195scratch| page]] overviews the steps for setting up a new headnode with dCache 1.9.5&lt;br /&gt;
**it imports the pnfs database from maite.iihe.ac.be running 1.8.0&lt;br /&gt;
&lt;br /&gt;
These are preliminary tests to upgrade to 1.9.5 first.&amp;lt;br&amp;gt;&lt;br /&gt;
==== install dcache ====&lt;br /&gt;
get it from: http://www.dcache.org/downloads/1.9/index.shtml&lt;br /&gt;
==== get config from old maite ====&lt;br /&gt;
replace /opt/d-cache/etc&amp;lt;br&amp;gt;&lt;br /&gt;
        /opt/d-cache/config&amp;lt;br&amp;gt;&lt;br /&gt;
with the ones on a production machine&amp;lt;br&amp;gt;&lt;br /&gt;
/opt/d-cache/install/upgrade_space_manager_schema.sh  -jdbcUrl=jdbc:postgresql://localhost/dcache  -jdbcDriver=org.postgresql.Driver -dbUser=postgres -dbPass=&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install phpPgadmin ===&lt;br /&gt;
fetch the tar ball from http://phppgadmin.sourceforge.net/doku.php?id=download and install it.&amp;lt;br&amp;gt;&lt;br /&gt;
to do this, untar the thing, mv it to /var/www/html/phpPgAdmin and point the browser to &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
localhost/phpPgAdmin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next, edit /var/www/html/phpPgAdmin/conf/config.inc.php&amp;lt;br&amp;gt;&lt;br /&gt;
and put extra_login_security to false&amp;lt;br&amp;gt;&lt;br /&gt;
Then, login as postgres with no password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Operating and monitoring the dcache headnode ===&lt;br /&gt;
&lt;br /&gt;
*The dcache is operated with &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/opt/d-cache/bin/dcache [status|start|restart|stop]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*In case of troubles config files for all Cells are in&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/var/log/&amp;lt;CELLNAME&amp;gt;.log&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*A web interface is available here&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
localhost:2288&lt;br /&gt;
localhost:8080&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
**Install a browser on the machine &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install firefox&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>