release notes | Book: 1.9.5, 1.9.12 (opt, FHS), 2.11 (FHS), 2.12 (FHS), 2.13 (FHS), 2.14 (FHS), | Wiki | Q&A black_bg
Web: Multi-page, Single page | PDF: A4-size, Letter-size | eBook: epub black_bg

Files

In this section we will have a look at the configuration and log files of dCache.

The dCache software is installed in one directory, normally /opt/d-cache/. All configuration files can be found here.

In the previous section we have already seen how a domain is restarted:

[root] # /opt/d-cache/bin/dcache restart <domainName>

Log files of domains are by default stored in /var/log/<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/*.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 /opt/d-cache/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 /opt/d-cache/config/PoolManager.conf, pools read their configuration from <poolDir>/pool/setup at startup.