You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/configure-cache-auth.md
+67-64Lines changed: 67 additions & 64 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,26 @@
2
2
3
3
Before you continue, make sure [default Cache Server](configure-cache.md) is configured on first place. Enabling authenticated cache is optionali and additional do default cache instance. This chapter describes all the steps needed.
:heavy_exclamation_mark: Make sure you've in place following pre-requisities from [install step here](install.md):
10
+
Make sure you've in place following pre-requisities from [install step here](install.md):
11
+
10
12
*__Service certificate:__ create copy of the certificate to `/etc/grid-security/xrd/xrd{cert,key}.pem`
11
-
* set owner of the directory `/etc/grid-security/xrd/` to `xrootd:xrootd` user:
12
-
```
13
-
$ chown -R xrootd:xrootd /etc/grid-security/xrd/
14
-
```
13
+
* Set owner of the directory `/etc/grid-security/xrd/` to `xrootd:xrootd` user:
14
+
15
+
$ chown -R xrootd:xrootd /etc/grid-security/xrd/
16
+
15
17
*__Network ports__: allow connections on port `8443 (TCP)`
16
18
17
-
:heavy_exclamation_mark: Beware, authenticated cache requires presence of the [config file](../configs/xrootd-stashcache-cache-server.cfg) `/etc/xrootd/xrootd-stashcache-cache-server.cfg`.
19
+
Beware, authenticated cache requires presence of the [config file](../configs/xrootd-stashcache-cache-server.cfg)`/etc/xrootd/xrootd-stashcache-cache-server.cfg`.
18
20
19
21
Now, create symbolic link to existing configuration file with `-auth` postfix:
The following section describes required configuration to have a functional non-authenticated StashCache Cache (not origin server!). StashCache Cache package `stashcache-cache-server` needs to be manually configured from pre-existing XRootD configuration.
6
6
7
7
## Cache server
8
-
!!! Note: While example of the configuration file below provides combination of _authenticated_ and _non-authenticated__Cache_, the non-authenticated cache is considered to be default and authenticated cache just optional (additional) service. If you're about to configure in addition _authenticated cache_ read to the end of this document and then follow post-installation of [authenticated part here](configure-cache-auth.md).
8
+
!!! Note:
9
+
While example of the configuration file below provides combination of _authenticated_ and _non-authenticated__Cache_, the non-authenticated cache is considered to be default and authenticated cache just optional (additional) service. If you're about to configure in addition _authenticated cache_ read to the end of this document and then follow post-installation of [authenticated part here](configure-cache-auth.md).
9
10
10
11
For configuring **cache** one needs to define directive `pss.origin redirector.osgstorage.org:1024` (not `all.manager redirector.osgstorage.org+ 1213` directive as it is in case of [configuring origin](configure-origin.md)).
11
12
`StashCache-daemon` package provides default configuration file `/etc/xrootd/xrootd-stashcache-cache-server.cfg`. Example of the configuration of cache server is as follows:
Copy file name to clipboardExpand all lines: docs/admin/configure.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ xrootd.monitor all auth flush 30s window 5s fstat 60 lfn ops xfr 5 dest redir fs
28
28
```
29
29
30
30
## Cache server
31
-
!!! Note:
32
-
:bangbang: While example of the configuration file below provides combination of _authenticated_ and _non-authenticated__Cache_, the non-authenticated cache config is considered to load by system as default.
31
+
!!! Note
32
+
While example of the configuration file below provides combination of _authenticated_ and _non-authenticated__Cache_, the non-authenticated cache config is considered to load by system as default.
33
33
34
34
For configuring **cache** one needs to define directive `pss.origin redirector.osgstorage.org:1024` (not `all.manager redirector.osgstorage.org+ 1213` directive as it is in case of configuring **origin**).
35
35
`StashCache-daemon` package provides default configuration file `/etc/xrootd/xrootd-stashcache-cache-server.cfg`. Example of the configuration of cache server is as follows:
Copy file name to clipboardExpand all lines: docs/admin/install.md
+31-29Lines changed: 31 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,20 @@ Before starting the installation process, consider the following mandatory point
13
13
14
14
*__User IDs:__ If they do not exist already, the installation will create the Linux user IDs condor and xrootd
15
15
*__Service certificate:__ The StashCache service uses a host certificate at `/etc/grid-security/host*.pem`
16
-
*__Network ports:__ The StashCache service must talk to:
17
-
* the central collector on port `9619 (TCP)`
18
-
* XRootD service on port `1094 (TCP)`
19
-
* and allow XRootD service over HTTP on port `8000 (TCP)`
16
+
*__Network ports:__ The StashCache service must listen on ports:
17
+
* the central collector on port `9619 (TCP)`
18
+
* XRootD service on port `1094 (TCP)`
19
+
* and allow XRootD service over HTTP on port `8000 (TCP)`
20
20
*__Hardware requirements:__ We recommend that a StashCache server has at least 10Gbps connectivity, 1TB of disk space, and 8GB of RAM.
21
-
* More information about hardware and system configuration of existing caches you can find at [Upgrade status page](../ops/upgrades.md).
21
+
* More information about hardware and system configuration of existing caches you can find at [Upgrade status page](../ops/upgrades.md).
22
+
23
+
If installing the (optional) authenticated StashCache, you need to do in addition the following:
22
24
23
-
If installing authenticated StashCache, you need to do in addition following:
24
25
*__Service certificate:__ create copy of the certificate to `/etc/grid-security/xrd/xrd{cert,key}.pem`
25
-
* set owner of the directory `/etc/grid-security/xrd/` to `xrootd:xrootd` user:
26
-
```
27
-
$ chown -R xrootd:xrootd /etc/grid-security/xrd/
28
-
```
26
+
* set owner of the directory `/etc/grid-security/xrd/` to `xrootd:xrootd` user:
27
+
28
+
$ chown -R xrootd:xrootd /etc/grid-security/xrd/
29
+
29
30
*__Network ports__: allow connections on port `8443 (TCP)`
30
31
31
32
As with all OSG software installations, there are some one-time steps to prepare in advance:
@@ -40,29 +41,30 @@ As with all OSG software installations, there are some one-time steps to prepare
40
41
The StashCache daemon consists of an XRootD server and an HTCondor-based service for collecting and reporting statistics about the cache. To simplify installation, OSG provides convenience RPMs that install all required software with a single command:
41
42
42
43
1. Clean yum cache:
43
-
```
44
-
[root@client ~]$ yum clean all --enablerepo=*
45
-
```
44
+
45
+
[root@client ~]$ yum clean all --enablerepo=*
46
+
46
47
47
48
2. Update software, this command will update all packages on your system:
48
-
```
49
-
[root@client ~]$ yum update
50
-
```
49
+
50
+
[root@client ~]$ yum update
51
+
51
52
52
53
3. Install the StashCache metapackage from OSG repository:
Copy file name to clipboardExpand all lines: docs/ops/register.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,26 +11,27 @@ You can see the current state of affairs here:
11
11
To register a cache instance go [here](https://oim.grid.iu.edu/oim/resourceedit) (with a cert in your browser). Fill in the required fields, example is displayed below:
!!! Note: Contact Information (will be pre-filled, add or modify as you see fit) - there are several types of contact, administrative and security are the most important to the GOC - __DO NOT__ check the WLCG resource box; Add a Update comment if you'd like.
22
+
!!! Note:
23
+
Contact Information (will be pre-filled, add or modify as you see fit) - there are several types of contact, administrative and security are the most important to the GOC - __DO NOT__ check the WLCG resource box; Add a Update comment if you'd like.
23
24
24
25
### Confirming and submitting StashCache resource registration:
25
-
*you must click the __"Acceptable Use Policy"__ checkbox
26
+
*Tou must click the __"Acceptable Use Policy"__ checkbox
26
27

27
28
Hit the __blue__ submit button.
28
29
29
30
## Configuring resource monitoring for RSV
30
31
E.g. for the Nebraska instance the status of the following command is checked:
0 commit comments