mkdir -p /opt/bestman cd /opt/bestman . /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 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 ---- $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][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasdatadisk];\ ATLASMCDISK[desc:ATLASMCDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasmcdisk];\ ATLASUSERDISK[desc:ATLASUSERDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasuserdisk];\ ATLASPRODDISK[desc:ATLASPRODDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasproddisk];\ ATLASGROUPDISK[desc:ATLASGROUPDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasgroupdisk];\ ATLASHOTDISK[desc:ATLASHOTDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlashotdisk];\ ATLASLOCALGROUPDISK[desc:ATLASLOCALGROUPDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlaslocalgroupdisk];\ ATLASSCRATCHDISK[desc:ATLASSCRATCHDISK][175000][owner:atlas][retention:REPLICA][latency:ONLINE][usedBytesCommand:/opt/bestman_apps/spacetoken/token_space.sh atlasscratchdisk]\ " --with-transfer-servers "gsiftp://tier2-02.ochep.ou.edu;gsiftp://tier2-03.ochep.ou.edu;gsiftp://tier2-04.ochep.ou.edu" --with-allowed-paths=/storage/data # Edit bestman/sbin/bestman.server and change this line: MAX_JAVA_HEAP=2048 # Edit bestman/conf/server-config.wsdd and change this line: <parameter name="containerThreads" value="512"/> vdt-control --enable vdt-rotate-logs vdt-control --list vdt-control --on cd /storage/data/ mkdir atlasdatadisk atlasmcdisk atlasuserdisk atlasproddisk atlasgroupdisk atlashotdisk atlaslocalgroupdisk atlasscratchdisk chown atlas. atlas* chmod g+w atlas* cd -You will also need to configure Bestman to user adler32 checksum instead of md5. Please look at BestmanAdler32Checksum for directions for that. If you would like to have Bestman "intelligently" decide the best gridftp server depending on the storage path it is trying to access, you can install the BestmanGridftpPathPlugin plugin. Then, to test it as a regular user:
srm-copy file://///home/hs/tmp/test1 srm://tier2-02.ochep.ou.edu:8443/srm/v2/server\?SFN=/storage/data/griddata/test/test1 -spacetoken ATLASDATADISK srm-copy srm://tier2-02.ochep.ou.edu:8443/srm/v2/server\?SFN=/storage/data/griddata/test/test1 file://///home/hs/tmp/test2 srm-ls srm://tier2-02.ochep.ou.edu:8443/srm/v2/server\?SFN=/storage/data/griddata/test/test1 -fulldetailed srm-ping srm://tier2-02.ochep.ou.edu:8443/srm/v2/server srm-sp-tokens srm://tier2-02.ochep.ou.edu:8443/srm/v2/server srm-get-space-tokens srm://tier2-02.ochep.ou.edu:8443/srm/v2/server?SFN=/ srm-get-space-tokens -space_desc=ATLASPRODDISK srm://tier2-02.ochep.ou.edu:8443/srm/v2/server?SFN=/ srm-get-space-metadata -space_tokens=ATLASPRODDISK,ATLASUSERDISK srm://tier2-02.ochep.ou.edu:8443/srm/v2/server?SFN=/
staticTokenList=ATLASDATADISK[desc:ATLASDATADISK][151200];ATLASMCDISK[51200] [desc:ATLASMCDISK];ATLASPRODDISK[20480][desc:ATLASPRODDISK] (and userdisk, groupdisk)
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.