Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Commit db74cd0

Browse files
Merge pull request #983 from matyasselmeci/pr/SOFTWARE-5164.byelcmaps
Remove LCMAPS info
2 parents 796f082 + 6a0d11f commit db74cd0

5 files changed

Lines changed: 38 additions & 160 deletions

File tree

docs/data/stashcache/install-cache.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,20 @@ To use HTTPS:
206206

207207
1. Add a certificate according to the [instructions above](#ensure-the-xrootd-service-has-a-certificate)
208208

209-
1. Create a file named `/etc/xrootd/config.d/11-cache-https.cfg` with the following contents:
209+
1. Uncomment `set EnableVoms = 1` in `/etc/xrootd/config.d/10-osg-xrdvoms.cfg`
210210

211-
# Support HTTPS access to unauthenticated cache
212-
if named stash-cache
213-
http.cadir /etc/grid-security/certificates
214-
http.cert /etc/grid-security/xrd/xrdcert.pem
215-
http.key /etc/grid-security/xrd/xrdkey.pem
216-
http.secxtractor /usr/lib64/libXrdLcmaps.so
217-
fi
211+
!!! note "Upgrading from OSG 3.5"
212+
If upgrading from OSG 3.5, you may have a file with the following contents in `/etc/xrootd/config.d`:
213+
214+
# Support HTTPS access to unauthenticated cache
215+
if named stash-cache
216+
http.cadir /etc/grid-security/certificates
217+
http.cert /etc/grid-security/xrd/xrdcert.pem
218+
http.key /etc/grid-security/xrd/xrdkey.pem
219+
http.secxtractor /usr/lib64/libXrdLcmaps.so
220+
fi
221+
222+
You must delete this config block or XRootD will fail to start.
218223

219224

220225
Manually Setting the FQDN (optional)
@@ -314,12 +319,15 @@ STASHCACHE_DaemonVersion = "1.0.0"
314319
Updating to OSG 3.6
315320
-------------------
316321

317-
The OSG 3.5 series is reaching end-of-life on May 1, 2022.
322+
The OSG 3.5 series has reached end-of-life on May 1, 2022.
318323
Admins are strongly encouraged to move their caches to OSG 3.6.
319324

320325
See [general update instructions](../../release/updating-to-osg-36.md).
321326

322-
Unauthenticated caches (`xrootd@stash-cache` service) do not need any configuration changes.
327+
Unauthenticated caches (`xrootd@stash-cache` service) do not need any configuration changes,
328+
unless HTTPS access has been enabled.
329+
See the ["enable HTTPS on the unauthenticated cache" section](#enable-https-on-the-unauthenticated-cache))
330+
for the necessary configuration changes.
323331

324332
Authenticated caches (`xrootd@stash-cache-auth` service) may need the configuration changes described in the
325333
[updating to OSG 3.6 section](../xrootd/xrootd-authorization.md#updating-to-osg-36)

docs/data/xrootd/install-standalone.md

Lines changed: 11 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ DateReviewed: 2022-03-24
44
Install XRootD Standalone
55
=========================
66

7-
!!!bug "OSG 3.5 EL7 version compatibility"
8-
There is an incompatibility with EL7 < 7.5 and XRootD available from OSG 3.5 due to an issue with the
9-
`globus-gsi-proxy-core` package
10-
11-
127
[XRootD](http://xrootd.org/) is a hierarchical storage system that can be used in many ways to access data,
138
typically distributed among actual storage resources.
149
In its standalone configuration, XRootD acts as a simple layer exporting data from a storage system to the outside world.
@@ -46,26 +41,18 @@ Installing XRootD
4641
If your collaboration(s) don't support these new protocols, install or remain on the
4742
[OSG 3.5 release series, with the osg-upcoming repositories enabled](../../release/notes.md).
4843

49-
Note that OSG 3.5 will reach its end-of-life in [May 2022](../../release/release_series.md#series-overviews).
44+
Note that OSG 3.5 has reached its end-of-life on [May 1, 2022](../../release/release_series.md#series-overviews).
5045

5146
!!! warning "Requirements for XRootD-Multiuser with VOMS FQANs"
5247
Using XRootD-Multiuser with a VOMS FQAN requires mapping the FQAN to a username, which requires a `voms-mapfile`.
5348
Support is available in `xrootd-voms 5.4.2-1.1`, in the OSG 3.6 repos, though it is expected in XRootD 5.5.0.
5449
If you want to use multiuser, ensure you are getting `xrootd-voms` from the OSG repos.
5550

56-
To install an XRootD Standalone server, run one of the following commands based on your installed
57-
[OSG release series](../../release/release_series.md#series-overviews):
58-
59-
- OSG 3.6 (recommended):
60-
61-
:::console
62-
root@xrootd-standalone # yum install osg-xrootd-standalone
63-
64-
- OSG 3.5
51+
To install an XRootD Standalone server, run the following command:
6552

66-
:::console
67-
root@xrootd-standalone # yum install osg-xrootd-standalone \
68-
--enablerepo=osg-upcoming
53+
```console
54+
root@xrootd-standalone # yum install osg-xrootd-standalone
55+
```
6956

7057
Configuring XRootD
7158
------------------
@@ -120,26 +107,6 @@ The following configuration steps are optional and will likely not be required f
120107
If you do not need any of the following special configurations, skip to
121108
[the section on using XRootD](#using-xrootd).
122109

123-
#### Enabling Hadoop support (deprecated, EL 7 Only)
124-
125-
!!! info "OSG 3.5 end-of-life"
126-
Hadoop is no longer supported in OSG 3.6 and OSG 3.5 will reach its end-of-life at the
127-
[beginning of May 2022](../../release/release_series.md#series-overviews).
128-
129-
Hadoop File System (HDFS) based sites should utilize the `xrootd-hdfs` plugin to allow XRootD to access their storage:
130-
131-
1. Install the XRootD HDFS plugin package:
132-
133-
:::console
134-
root@host # yum install xrootd-hdfs
135-
136-
1. Add the following configuration to `/etc/xrootd/xrootd-clustered.cfg`:
137-
138-
:::file
139-
ofs.osslib /usr/lib64/libXrdHdfs.so
140-
141-
For more information, see [the HDFS installation documents](../install-hadoop.md).
142-
143110

144111
#### Enabling multi-user support
145112

@@ -152,30 +119,22 @@ The `xrootd-multiuser` plugin allows XRootD to write files on the storage system
152119
[authenticated](xrootd-authorization.md) user instead of the `xrootd` user.
153120
If your XRootD service only allows read-only access, you should skip installation of this plugin.
154121

155-
To set up XRootD in multi-user mode, perform the following steps, install the `xrootd-multiuser` package:
122+
To set up XRootD in multi-user mode, install the `xrootd-multiuser` package:
156123

157124
``` console
158-
root@host # yum install xrootd-multiuser
125+
root@xrootd-standalone # yum install xrootd-multiuser
159126
```
160127

161128
#### Enabling CMS TFC support (CMS sites only)
162129

163130
For CMS sites, there is a package available to integrate rule-based name lookup using a `storage.xml` file.
164131
If you are not setting up a service for CMS, skip this section.
165132

166-
To install an `xrootd-cmstfc`, run one of the following commands based on your installed
167-
[OSG release series](../../release/release_series.md#series-overviews):
168-
169-
- OSG 3.6 (recommended):
133+
To install an `xrootd-cmstfc` on OSG 3.6, run the following command:
170134

171-
:::console
172-
root@xrootd-standalone # yum install --enablerepo=osg-contrib xrootd-cmstfc
173-
174-
- OSG 3.5
175-
176-
:::console
177-
root@xrootd-standalone # yum install xrootd-cmstfc \
178-
--enablerepo=osg-upcoming
135+
``` console
136+
root@xrootd-standalone # yum install --enablerepo=osg-contrib xrootd-cmstfc
137+
```
179138

180139
You will need to add your `storage.xml` to `/etc/xrootd/storage.xml` and then add the following line to your XRootD
181140
configuration:

docs/data/xrootd/install-storage-element.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,6 @@ For information on how to configure xrootd-lcmaps authorization, please refer to
294294
For CMS users, there is a package available to integrate rule-based name lookup using a `storage.xml` file.
295295
See [this documentation](install-standalone.md#enabling-cms-tfc-support-cms-sites-only).
296296

297-
### (Optional) Adding Hadoop support to XRootD
298-
299-
For documentation on how to export your Hadoop storage using XRootD please see
300-
[this documentation](install-standalone.md#enabling-hadoop-support-deprecated-el-7-only)
301-
302297
### (Optional) Adding Multi user support for an XRootd server
303298

304299
For documentation how to enable multi-user support using XRootD see

docs/data/xrootd/xrootd-authorization.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
title: Configuring XRootD Authorization
2-
DateReviewed: 2021-11-12
2+
DateReviewed: 2022-05-06
33

44
Configuring XRootD Authorization
55
================================
@@ -192,27 +192,6 @@ so if you are using the mappings provided in `/usr/share/osg/voms-mapfile-defaul
192192
you will have to copy them to `/etc/grid-security/voms-mapfile`.
193193

194194

195-
### Authenticating Proxies (deprecated) ###
196-
197-
!!! info "OSG 3.5 end-of-life"
198-
OSG 3.5 will reach its end-of-life in [May 2022](../../release/release_series.md#series-overviews).
199-
200-
In [OSG 3.5](../../release/release_series.md#series-overviews), [LCMAPS](../../security/lcmaps-voms-authentication.md) is
201-
used to authenticate X.509 and VOMS proxies to usernames utilized by the
202-
[authorization database](#authorization-database).
203-
Perform the following instructions on all data nodes:
204-
205-
1. Install [CA certificates](../../common/ca.md#installing-ca-certificates) and
206-
[manage CRLs](../../common/ca.md#managing-certificate-revocation-lists)
207-
208-
1. Copy your host certificate and key to `/etc/grid-security/xrd/xrdcert.pem` and `/etc/grid-security/xrd/xrdkey.pem`,
209-
respectively.
210-
211-
1. Configure the [LCMAPS VOMS plugin](../../security/lcmaps-voms-authentication.md)
212-
213-
1. Any subject DN or VOMS FQAN mappings from LCMAPS will result in usernames that can be used in the
214-
[authorization database](#authorization-database).
215-
216195
### Authorization database ###
217196

218197
XRootD allows configuring fine-grained file access permissions based on authenticated identities and paths.

0 commit comments

Comments
 (0)