Location of Various TDS DirectoriesFor performance and space reasons, you may want some TDS directories on larger and higher performance disks. For instance:
content/thredds). If not in its entirety than
perhaps these inparticular:
content/thredds/logs).content/thredds/cache).${TOMCAT_HOME}/logs).The easiest way to change the location of non-data directories is with symbolic links. For
instance, if Tomcat is installed on a smaller and/or lower performance disk (say /opt)
but /data is a larger and higher performance disk, your ${TOMCAT_HOME}
directory might look something like this:
my.server.edu: cd /opt/tdsA my.server.edu: pwd /opt/apache-tomcat-6.0.29-tdsA my.server.edu: ll total 128 -rw-r--r-- 1 tomcat tomcat 37950 Jul 19 07:01 LICENSE -rw-r--r-- 1 tomcat tomcat 557 Jul 19 07:01 NOTICE -rw-r--r-- 1 tomcat tomcat 8669 Jul 19 06:59 RELEASE-NOTES -rw-r--r-- 1 tomcat tomcat 6670 Jul 19 07:01 RUNNING.txt drwxr-xr-x 3 tomcat tomcat 1024 Oct 24 06:42 bin/ drwxr-xr-x 4 tomcat tomcat 512 Nov 1 18:14 conf/ lrwxrwxrwx 1 tomcat tomcat 30 Aug 17 18:15 content -> /data/tds/tdsA/content/ drwxr-xr-x 2 tomcat tomcat 512 Aug 9 15:02 lib/ lrwxrwxrwx 1 tomcat tomcat 27 Aug 17 18:16 logs -> /data/tds/tdsA/logs/ drwxr-xr-x 2 tomcat tomcat 512 Oct 22 12:04 temp/ drwxr-xr-x 7 tomcat tomcat 512 Nov 1 18:33 webapps/ drwxr-xr-x 3 tomcat tomcat 512 Aug 9 19:38 work/ my.server.edu:
For some of the non-data directories, there are configuration settings available for changing their locations:
agg/, cdm/, wcs/ e.g.)
can be configured with the dir child element of the various caching elements in
the threddsConfig.xml file. However,
we recommend using a symbolic link to move content/thredds
instead (more detail here).
The location of your data directories is configured in your
configuration catalog(s). So, if your data is located in
/data/pub, you simply use the appropriate /data/pub locations in your
various dataset configurations (datasetRoot, datasetScan, and
featureCollection elements).
This document is maintained by Unidata and was last updated November 2010.
Send comments to
THREDDS support.