Skip to content

3 CEPH Configuration

apeters1971 edited this page Oct 29, 2014 · 4 revisions

Gateway configuration

This describes the additional configuration on each XRootD gateway. Ideally you run this gateway directly on all OSDs. You need to create a CEPH keyring for ID diamond. You can also create one ID per VO and/or a pair of pools for each VO and change the XRootD configuration file (next chapter) accordingly.

Create /etc/ceph/ceph-diamond.conf

[global]
  mon host = <your mon host>

Create /etc/ceph/ceph.client.diamond.keyring

[client.diamond]
    key = <your-key>
    caps mon = "allow r"
    caps osd = "allow x, allow rwx pool=diamond-metadata, allow rwx pool=diamond-data"

Set ownership to XRootD

chown xrootd:xrootd /etc/ceph/ceph-diamond.conf /etc/ceph/ceph.client.diamond.keyring