In this section we will have a look at the configuration and log files of dCache.
The dCache software is installed in various directories
according to the Filesystem Hierarchy Standard. All
configuration files can be found in /etc/dcache
.
In the previous section we have already seen how a domain is restarted:
[root] #
dcache restart <domainName>
Log files of domains are by default stored in
/var/log/dcache/<domainName>.log
. We
strongly encourage to configure logrotate to rotate the dCache
log files to avoid filling up the log file system. This can
typically be achieved by creating the file
/etc/logrotate.d/dcache
with the following
content:
/var/log/dcache/*.log {
compress
rotate 100
missingok
copytruncate
}
More details about domains and cells can be found in Chapter 6, The Cell Package.
The most central component of a dCache instance is the
PoolManager
cell. It reads additional configuration
information from the file
/var/lib/dcache/config/poolmanager.conf
at
start-up. However, it is not necessary to restart the domain
when changing the file. We will see an example of this below.
Similar to /var/lib/dcache/config/poolmanager.conf
,
pools read their configuration from
<poolDir>/pool/setup
at startup.