Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 06dba495 authored by loktionova_n's avatar loktionova_n
Browse files

dcache conf

parent 220605ea
No related branches found
No related tags found
No related merge requests found
# Puppet Managed File
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xylophone [
<!ENTITY % dCache-config PUBLIC "-//dCache//ENTITIES dCache Properties//EN" "/unused/path" >
%dCache-config;
]>
<!--+
| This file affects how dCache's info-provider, the component that is
| responsible for publishing GLUE information into BDII. Some of the
| information Glue requires is independent of dCache; for example, the
| site's "Unique ID" is something that a dCache instance doesn't know.
| For this reason, you must configure this file to include that information.
|
| Each configuration option contains a brief description of option,
| including whether the option is for GLUE 1.3, GLUE 2.0 or both.
|
| A word of causion: be careful when using characters that have special
| meaning in XML. If you wish to use the less-than (<) or the
| ampersand (&) symbols, be sure to write them as '&lt;' and '&amp;'
| respectively.
+-->
<xylophone>
<!--+
| LISTS OF ITEMS THAT DESCRIBE YOUR SITE.
+-->
<lists>
<!--+
| SRM-supported-VOs [1.3, 2.0] When publishing the SRM interface,
| we list the supported VOs. You should record this list here. For
| example:
|
| <list name="SRM-supported-VOs">
| <item>atlas</item>
| <item>lhcb</item>
| <item>dteam</item>
| <item>ops</item>
| </list>
+-->
<list name="SRM-supported-VOs">
</list>
<!--+
| GlueServiceOwner [1.3]: when publishing an SRM interface as a
| GlueService, we may specify any number of "owners" for this
| service. Just add an item element inside the list element for each
| owner. For example:
|
| <list name="SRM-GlueServiceOwners">
| <item>University of X</item>
| <item>Institute Y</item>
| <item>Funding body A</item>
| <item>Funding body B</item>
| </list>
|
| It's OK to leave this empty and no owners will be published.
+-->
<list name="SRM-GlueServiceOwners">
</list>
<!--+
| The store unit *@* is special. It's not a wildcard "match-all"
| unit but rather a default store unit. It matches all requests
| that have no other store unit matches. Requests that utilise
| some part of the namespace where no store unit is defined will
| take the *@* (or "default") store unit.
|
| A site may choose to configure store units for all parts of the
| namespace that a VO can access; if so, then that requests from
| that VO's members will always have some specific store unit and
| will never utilise the *@* default store unit.
|
| If requests from a VO's members may use some part of the namespace
| where no store unit is defined then those requests will utilise
| the *@* default store unit.
|
| Those VOs whos members can issue requests that attract the
| *@* default store unit should be present in the following
| list. Any VO listed in this list must also have a corresponding
| entry in the "VO-to-path" mapping below.
|
| Here is an example of the list:
|
| <list name="default-store-unit-VOs">
| <item>dteam</item>
| <item>ops</item>
| </list>
+-->
<list name="default-store-unit-VOs">
</list>
</lists>
<!--+
| MAPPINGS FROM ONE STRING TO ANOTHER.
+-->
<mapping>
<!--+
| This describes how to map dCache's store units to their
| corresponding VO. It is used to publish VO names when some
| dCache storage is accessible (for reading, writing, staging,
| or any combination thereof).
|
| If you wish to avoid publishing a VO for a particular store
| unit then use an empty string ('') for the replace-with value.
|
| Here is an example. Note that no VO information will be
| published for store unit local-users:default@osm
|
| <map name="unit-to-VO">
| <sub match="atlas:default@osm" replace-with="atlas"/>
| <sub match="ops:default@osm" replace-with="ops"/>
| <sub match="alice:disk@osm" replace-with="alice"/>
| <sub match="alice:tape@osm" replace-with="alice"/>
| <sub match="local-users:default@osm" replace-with=""/>
| <default value="UNDEFINEDVO"/>
| </map>
|
| It is recommended to keep the default value as 'UNDEFINEDVO' so any
| misconfigurations are easy to identify.
+-->
<map name="unit-to-VO">
<default value="UNDEFINEDVO"/>
</map>
<!--+
| The unit-to-path map describes how to map store units to the base
| path that clients should used when writing into dCache. It is used
| when publishing the Installed Capacity information.
|
| In general, the value should be the top-most directory that has the
| store unit tags defined; however, there may be circumstances where
| it makes more sense to publish a different directory.
|
| Here is an example:
|
| <map name="unit-to-path">
| <sub match="atlas:default@osm"
| replace-with="/pnfs/example.org/data/atlas"/>
| <sub match="ops:default@osm"
| replace-with="/pnfs/example.org/data/ops"/>
| <sub match="alice:disk@osm"
| replace-with="/pnfs/example.org/data/alice/disk"/>
| <sub match="alice:tape@osm"
| replace-with="/pnfs/example.org/data/alice/tape"/>
| <default value="/UNDEFINEDPATH"/>
| </map>
|
| It is recommended to keep the default value as '/UNDEFINEDPATH' so
| misconfigurations are easy to identify.
+-->
<map name="unit-to-path">
<default value="/UNDEFINEDPATH"/>
</map>
<!--+
| Map the named VO to the corresponding path.
|
| This mapping is used when publishing a group of SRM reservations
| with the same SRM space description. This grouping is done
| per VO, so each such reservation-group has a corresponding
| single VO.
|
| When publishing an SRM reservation-group, we are required to
| publish a corresponding path. This may be used by the SRM client
| to build a path into which they may write.
|
| Here is an example:
|
| <map name="VO-to-path">
| <sub match="ops"
| replace-with="/pnfs/example.org/data/ops"/>
| <sub match="atlas"
| replace-with="/pnfs/example.org/data/atlas"/>
| <default value="/UNDEFINEDPATH"/>
| </map>
|
| It is recommended to keep the default value as '/UNDEFINEDPATH' so
| misconfigurations are easy to identify.
+-->
<map name="VO-to-path">
<default value="/UNDEFINEDPATH"/>
</map>
<!--+
| Offline disk storage accounting.
|
| The Installed Capacity of WLCG allows for a site to publish
| information about storage that is somehow allocated but not
| actually available for immediate use. Examples where this might
| be used include:
|
| o if hardware has been purchased but not yet commissioned,
|
| o if pools are offline for any extended period (e.g., hardware
| is being repared) and dCache is then unaware of the pools.
|
| Such capacity is unknown to dCache, so must be accounted for
| manually. This is done with the following map.
|
| Such space is accounted for against some specific VO. To avoid
| configuring yet another list, the list of candidate VOs is taken
| from SRM-supported-VOs (see above). Therefore, to publish
| offline storage allocated for some VO, that must be listed in
| SRM-supported-VOs.
|
| To publish offline storage for a VO, the VO-to-offline-disk map
| should convert the VO name to the corresponding number of bytes
| of offline storage. The following example shows how to define that
| 100 TiB of offline storage is for the Atlas VO.
|
| <map name="VO-to-offline-disk">
| <sub match="atlas" replace-with="109951162777600"/>
| <default value="0"/>
| </map>
|
| NOTE 1. the values configured here will inflate the reported
| size of the dCache instances "installed capacity".
|
| NOTE 2. be very careful that you do not to leave stale
| information here.
+-->
<map name="VO-to-offline-disk">
<default value="0"/>
</map>
</mapping>
</xylophone>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment