Skip to content

Commit

Permalink
Remove prescriptive cache / origin locations
Browse files Browse the repository at this point in the history
In the original XCache configurations, we forced oss.localroot to a
location other than "/" for security reasons. We don't need to do this
anymore because Pelican sets up the $(RunDirLocation)/export indirection
  • Loading branch information
brianhlin authored and turetske committed Nov 5, 2024
1 parent 9f9a09d commit a91a433
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion systemd/osdf-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ XRootD:
## Sitename is the resource name this cache is registered as under Topology.
## You must set this.
Sitename: TOPOLOGY_RESOURCE_NAME

Cache:
DataLocation: "/mnt/osdf"
RunLocation: /run/pelican/xrootd/osdf-cache
1 change: 0 additions & 1 deletion systemd/osdf-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ XRootD:
## Sitename is the resource name this origin is registered as under Topology.
## You must set this.
Sitename: TOPOLOGY_RESOURCE_NAME
Mount: "/mnt/osdf"
Port: 1095
Origin:
NamespacePrefix: "/MY_NAMESPACE"
Expand Down
2 changes: 0 additions & 2 deletions systemd/pelican-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ Logging:
Federation:
## The main URL for your federation. You must specify this.
DiscoveryUrl:
Cache:
DataLocation: "/mnt/pelican"
3 changes: 1 addition & 2 deletions systemd/pelican-origin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Federation:
## Set Hostname to the external DNS name this can be accessed over, if
## different than the current hostname.
# Hostname:
XRootD:
Mount: "/mnt/pelican"

Origin:
NamespacePrefix: "/MY_NAMESPACE"
## Enable multiuser to support Unix-based file ownership in the objects being served.
Expand Down

0 comments on commit a91a433

Please sign in to comment.