Skip to content

Commit

Permalink
add pool manager config
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Mar 27, 2024
1 parent 7d5d7d4 commit 13f1220
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
36 changes: 36 additions & 0 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ data:
/opt/dcache/bin/chimera chmod 0777 /data || true
/opt/dcache/bin/chimera mkdir /data/g2 || true
/opt/dcache/bin/chimera chown 1000:1000 /data/g2 || true
/opt/dcache/bin/chimera mkdir /data/s2 || true
/opt/dcache/bin/chimera chown 1000:1000 /data/s2 || true
export: |-
/data *(rw,no_root_squash)
Expand Down Expand Up @@ -211,4 +213,38 @@ data:
htpasswd: |-
admin:$apr1$nq7.vQxE$tvmghVXGplwv/SNpNYGiC1
poolmanager.conf: |-
psu create unit -store *@*
psu create unit -net 0.0.0.0/0.0.0.0
psu create unit -net ::/0
psu create unit -protocol */*
psu create ugroup any-protocol
psu addto ugroup any-protocol */*
psu create ugroup any-store
psu addto ugroup any-store *@*
psu create ugroup world-net
psu addto ugroup world-net 0.0.0.0/0.0.0.0
psu addto ugroup world-net ::/0
psu create pgroup default
psu create link default-link any-protocol any-store world-net
psu set link default-link -readpref=10 -writepref=10 -cachepref=10 -p2ppref=-1
psu addto link default-link default
psu create link default-outside-linkgroup any-protocol any-store world-net
psu set link default-outside-linkgroup -readpref=10 -writepref=10 -cachepref=10 -p2ppref=10
psu addto link default-outside-linkgroup default
psu create linkGroup default-linkgroup
psu set linkGroup custodialAllowed default-linkgroup true
psu set linkGroup replicaAllowed default-linkgroup true
psu set linkGroup nearlineAllowed default-linkgroup true
psu set linkGroup outputAllowed default-linkgroup true
psu set linkGroup onlineAllowed default-linkgroup true
psu addto linkGroup default-linkgroup default-link
immutable: true
12 changes: 11 additions & 1 deletion templates/door.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ spec:
mountPath: /opt/dcache/etc/linkgroupauthz.conf
subPath: linkgroupauthz.conf
readOnly: true
- name: poolmanager-conf
mountPath: /opt/dcache/var/config/poolmanager.conf
subPath: poolmanager.conf
readOnly: true
- name: certs
mountPath: /etc/grid-security
readOnly: true
Expand Down Expand Up @@ -136,4 +140,10 @@ spec:
name: {{ $.Release.Name }}-configmap
items:
- key: "linkgroupauthz"
path: "linkgroupauthz.conf"
path: "linkgroupauthz.conf"
- name: poolmanager-conf
configMap:
name: {{ $.Release.Name }}-configmap
items:
- key: "poolmanager.conf"
path: "poolmanager.conf"

0 comments on commit 13f1220

Please sign in to comment.