-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from efajardo/xcache-redir
XCache Redir sub package
- Loading branch information
Showing
5 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Tuning configuration for an XCache redirector | ||
# | ||
# ********************************************************************** | ||
# * WARNING: DO NOT EDIT THIS FILE. IT WILL BE OVERWRITTEN ON UPGRADE * | ||
# ********************************************************************** | ||
# | ||
# Instead of editing this file, | ||
# - Override OSG-provided defaults by dropping a site-specific configuration | ||
# file in `/etc/xrootd/config.d` and prefixing it with "90-" or higher. | ||
# | ||
# Using maxretries 0 to prevent multiple copies of same file in different | ||
# nodes of the logical cache | ||
cms.sched maxretries 0 nomultisrc space 100 fuzz 5 | ||
cms.fxhold noloc 15m 4h | ||
|
||
xrootd.trace emsg login stall redirect | ||
xrd.trace conn | ||
cms.trace defer files redirect stage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Configure a redirector for a group of XCaches | ||
# | ||
# ********************************************************************** | ||
# * WARNING: DO NOT EDIT THIS FILE. IT WILL BE OVERWRITTEN ON UPGRADE * | ||
# ********************************************************************** | ||
# | ||
# Instead of editing this file, | ||
# - Override OSG-provided defaults by dropping a site-specific configuration | ||
# file in `/etc/xrootd/config.d` and prefixing it with "90-" or higher. | ||
# | ||
|
||
# XRootD protocol listening port | ||
if exec xrootd | ||
xrd.port 1094 | ||
fi | ||
|
||
if exec cmsd | ||
xrd.port 1095 | ||
fi | ||
|
||
all.role manager | ||
# Drop your site-specific configuration additions into this directory. | ||
continue /etc/xrootd/config.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Name: xcache | ||
Summary: XCache scripts and configurations | ||
Version: 1.1.1 | ||
Version: 1.2.0 | ||
Release: 1%{?dist} | ||
License: Apache 2.0 | ||
Group: Grid | ||
|
@@ -117,6 +117,19 @@ Requires: xrootd-lcmaps >= 1.5.1 | |
%postun -n cms-xcache | ||
%systemd_postun_with_restart [email protected] [email protected] | ||
|
||
%package -n xcache-redirector | ||
Summary: The XCache redirector | ||
|
||
Requires: %{name} = %{version} | ||
%description -n xcache-redirector | ||
%{summary} | ||
%post -n xcache-redirector | ||
%systemd_post [email protected] [email protected] | ||
%preun -n xcache-redirector | ||
%systemd_preun [email protected] [email protected] | ||
%postun -n xcache-redirector | ||
%systemd_postun_with_restart [email protected] [email protected] | ||
|
||
%prep | ||
%setup -n %{name}-%{version} -q | ||
|
||
|
@@ -203,7 +216,15 @@ mkdir -p %{buildroot}%{_sysconfdir}/grid-security/xrd | |
%config(noreplace) %{_sysconfdir}/xrootd/config.d/90-cms-xcache-local-redirector.cfg | ||
%config(noreplace) %{_sysconfdir}/xrootd/config.d/95-cms-xcache-logging.cfg | ||
|
||
|
||
%files -n xcache-redirector | ||
%config %{_sysconfdir}/xrootd/xrootd-xcache-redir.cfg | ||
%config %{_sysconfdir}/xrootd/config.d/03-redir-tuning.cfg | ||
|
||
%changelog | ||
* Mon Sep 23 2019 Edgar Fajardo <[email protected]> - 1.2.0-1 | ||
- Adding the subpackage for XCache redirector | ||
|
||
* Mon Aug 19 2019 Brian Lin <[email protected]> - 1.1.1-1 | ||
- Restore StashCache HTTP port to 8000 | ||
|
||
|