Difference between revisions of "Installing Chimera"

From GridPP Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
Chimera is the new namespace provider for dCache, replacing PNFS. It is built on database technology, but is designed in such a way that it will still be possible to view the contents of the virtual filesystem /pnfs/... Access to files in this filesystem will be possible via NFSv3 and NFSv4.1 (which is very interesting).
+
Chimera is the new namespace provider for dCache, which replaced PNFS. It is built on database technology, but is designed in such a way that it will still be possible to view the contents of the virtual filesystem /pnfs/... Access to files in this filesystem is possible via NFSv3 and NFSv4.1 .
  
As of July 2007, Chimera is not yet ready for production and there are no mechanisms in place to migrate an existing PNFS installation to Chimera. This will come in the future.
 
  
== Initial steps ==
+
*[https://www.dcache.org/manuals/Book-3.2/config/cf-chimera-fhs.shtml dCache book entry for chimera]
 
+
Following the instructions [http://trac.dcache.org/trac.cgi/wiki/ChimeraSetup here], it is necessary to have:
+
 
+
1. dCache version >= beta-1.8.0-6
+
2. Chimera-EA-xxx.tar(needed for NFS interface)
+
3. JDK >= 1.5.0
+
4. ant
+
5. JDBC interface to RDBMS (tested with Postgres 8.x, Oracle 10g and DB2 v9.1)
+
 
+
It is necessary to have the following variables defined:
+
 
+
[root@wn3 Chimera-EA]# export JAVA_LIBDIR=/usr/java/jdk1.5.0_10/lib
+
[root@wn3 Chimera-EA]# export JNI_LIBDIR=/usr/java/jdk1.5.0_10/lib
+
 
+
But then when I try to build Chimera:
+
 
+
[root@wn3 Chimera-EA]# ant run_nfs3
+
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
+
 
+
I am using this version of ant (from the jpp repos):
+
 
+
# rpm -qa|grep ant
+
ant-1.6.5-4jpp
+
 
+
[root@wn3 ~]# rpm -ql ant
+
/etc/ant.conf
+
/etc/ant.d
+
/usr/bin/ant
+
/usr/bin/antRun
+
/usr/share/ant
+
/usr/share/ant/etc
+
/usr/share/ant/etc/ant-update.xsl
+
/usr/share/ant/etc/changelog.xsl
+
/usr/share/ant/etc/junit-frames-xalan1.xsl
+
/usr/share/ant/etc/log.xsl
+
/usr/share/ant/etc/tagdiff.xsl
+
/usr/share/ant/lib
+
/usr/share/doc/ant-1.6.5
+
/usr/share/doc/ant-1.6.5/KEYS
+
/usr/share/doc/ant-1.6.5/LICENSE
+
/usr/share/doc/ant-1.6.5/NOTICE
+
/usr/share/doc/ant-1.6.5/README
+
/usr/share/doc/ant-1.6.5/WHATSNEW
+
/usr/share/java/ant
+
/usr/share/java/ant-1.6.5.jar
+
/usr/share/java/ant-launcher-1.6.5.jar
+
/usr/share/java/ant-launcher.jar
+
/usr/share/java/ant.jar
+
 
+
There is some information on the ant [http://ant.apache.org/faq.html#NoClassDefFoundError webpages] but in this case, CLASSPATH is not defined.
+
 
+
== Log files ==
+
 
+
chimeraDomain.log was continually being filled with "no mapPath" messages, which arose due to files being in the namespace, but not on disk. These have been suppressed in the beta8 release. The location of the log file is determined in the chimera-config.xml file in /opt/d-cache/config.
+
 
+
nohup.out gets quite large. I think something has to be done about this, not very happy about using nohup when starting up Chimera.
+

Latest revision as of 10:53, 1 August 2018

Chimera is the new namespace provider for dCache, which replaced PNFS. It is built on database technology, but is designed in such a way that it will still be possible to view the contents of the virtual filesystem /pnfs/... Access to files in this filesystem is possible via NFSv3 and NFSv4.1 .