# Bestman-Gateway install from OSG-1.2.0 on tier2-05: mkdir -p /state/partition1/apps/bestman-1.2.0 rm /state/partition1/apps/bestman ln -s bestman-1.2.0 /state/partition1/apps/bestman cd /state/partition1/apps/bestman-1.2.0 . /opt/pacman/latest/setup.sh time pacman -trust-all-caches -get http://software.grid.iu.edu/osg-1.2:Bestman . setup.sh vdt-post-install vdt-ca-manage setupca --location local --url osg $VDT_LOCATION/vdt/setup/configure_bestman --server y --user daemon --cert /etc/grid-security/http/httpcert.pem --key /etc/grid-security/http/httpkey.pem --http-port 8080 --https-port 8443 --globus-tcp-port-range 63001,65000 --enable-gateway --with-tokens-list "ATLASDATADISK[desc:ATLASDATADISK][40000][owner:atlas][retention:CUSTODIAL][latency:ONLINE][usedBytesCommand:/bin/echo $[(`/bin/df /ibrix/data/dq2-cache | tail -1 | awk '{print $3}'`)*1024]];ATLASMCDISK[desc:ATLASMCDISK][20000][owner:atlas][retention:CUSTODIAL][latency:ONLINE][usedBytesCommand:/bin/echo $[(`/bin/df /ibrix/data/dq2-cache | tail -1 | awk '{print $3}'`)*1024]];ATLASUSERDISK[desc:ATLASUSERDISK][10000][owner:atlas][retention:CUSTODIAL][latency:ONLINE][usedBytesCommand:/bin/echo $[(`/bin/df /ibrix/data/dq2-cache | tail -1 | awk '{print $3}'`)*1024]];ATLASPRODDISK[desc:ATLASPRODDISK][30000][owner:atlas][retention:CUSTODIAL][latency:ONLINE][usedBytesCommand:/bin/echo $[(`/bin/df /ibrix/data/dq2-cache | tail -1 | awk '{print $3}'`)*1024]];ATLASGROUPDISK[desc:ATLASGROUPDISK][30000][owner:atlas][retention:CUSTODIAL][latency:ONLINE][usedBytesCommand:/bin/echo $[(`/bin/df /ibrix/data/dq2-cache | tail -1 | awk '{print $3}'`)*1024]]" --with-transfer-servers gsiftp://tier2-02.ochep.ou.edu --with-allowed-paths=/ibrix/data/dq2-cache export EDITOR=emacs visudo # add: ---- #Defaults requiretty # be sure that line is commented out if it already exists Cmnd_Alias SRM_CMD = /bin/rm, /bin/mkdir, /bin/rmdir, /bin/mv, /bin/cp, /bin/ls Runas_Alias SRM_USR = ALL, !root daemon ALL=(SRM_USR) NOPASSWD: SRM_CMD ---- # so we always have an updated grid-mapfile: ln -s /share/apps/globus/grid-security/grid-mapfile /etc/grid-security/ vdt-control --list vdt-control --enable fetch-crl vdt-control --enable vdt-rotate-logs vdt-control --enable vdt-update-certs vdt-control --on # as user: srm-copy file://///home/hs/tmp/test1 srm://tier2-05.ochep.ou.edu:8443/srm/v2/server\?SFN=/ibrix/data/dq2-cache/test/test1 -spacetoken ATLASDATADISK srm-copy srm://tier2-05.ochep.ou.edu:8443/srm/v2/server\?SFN=/ibrix/data/dq2-cache/test/test1 file://///home/hs/tmp/test2 srm-ping srm://tier2-05.ochep.ou.edu:8443/srm/v2/server srm-sp-tokens srm://tier2-05.ochep.ou.edu:8443/srm/v2/server srm-get-space-tokens srm://tier2-05.ochep.ou.edu:8443/srm/v2/server?SFN=/ srm-get-space-tokens -space_desc=ATLASPRODDISK srm://tier2-05.ochep.ou.edu:8443/srm/v2/server?SFN=/ srm-get-space-metadata -space_tokens=ATLASPRODDISK,ATLASUSERDISK srm://tier2-05.ochep.ou.edu:8443/srm/v2/server?SFN=/