Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache in OSG 1.0 and SRM 2.2.

Slides:



Advertisements
Similar presentations
Owen SyngeDCache Slide 1 D-Cache Status Report Owen Synge.
Advertisements

Forschungszentrum Karlsruhe in der Helmholtz-Gemeinschaft gridKa Forschungszentrum Karlsruhe GmbH Institute for Scientific Computing P.O.
Ted Hesselroth USCMS T3 Meeting Abhishek Singh Rana and Frank Wuerthwein UC San Diego Ted Hesselroth STAF/STAX OSG Storage Demo of.
Role Based VO Authorization Services Ian Fisk Gabriele Carcassi July 20, 2005.
OSG Public Storage Project Summary Ted Hesselroth October 5, 2010 Fermilab.
EGEE is a project funded by the European Union under contract IST Using SRM: DPM and dCache G.Donvito,V.Spinoso INFN Bari
Storage: Futures Flavia Donno CERN/IT WLCG Grid Deployment Board, CERN 8 October 2008.
Implementing Finer Grained Authorization in the Open Science Grid Gabriele Carcassi, Ian Fisk, Gabriele, Garzoglio, Markus Lorch, Timur Perelmutov, Abhishek.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Linux Operations and Administration
Open Science Grid Software Stack, Virtual Data Toolkit and Interoperability Activities D. Olson, LBNL for the OSG International.
SRM at Clemson Michael Fenn. What is a Storage Element? Provides grid-accessible storage space. Is accessible to applications running on OSG through either.
Ted Hesselroth USATLAS Tier 2 and Tier 3 Workshop November 29, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Installing and Using SRM-dCache.
Introduction to OSG Storage Suchandra Thapa Computation Institute University of Chicago March 19, 20091GSAW 2009 Clemson.
OSG Services at Tier2 Centers Rob Gardner University of Chicago WLCG Tier2 Workshop CERN June 12-14, 2006.
OSG Middleware Roadmap Rob Gardner University of Chicago OSG / EGEE Operations Workshop CERN June 19-20, 2006.
The Disk Resource Manager A Berkeley SRM for Disk Cache Implementation and Testing Experience on the OSG Jorge Luis Rodriguez IBP/Grid Mini-Workshop Apr.
DCache at Tier3 Joe Urbanski University of Chicago US ATLAS Tier3/Tier2 Meeting, Bloomington June 20, 2007.
A. Sim, CRD, L B N L 1 OSG Applications Workshop 6/1/2005 OSG SRM/DRM Readiness and Plan Alex Sim / Jorge Rodriguez Scientific Data Management Group Computational.
CERN IT Department CH-1211 Geneva 23 Switzerland t Storageware Flavia Donno CERN WLCG Collaboration Workshop CERN, November 2008.
D C a c h e Michael Ernst Patrick Fuhrmann Tigran Mkrtchyan d C a c h e M. Ernst, P. Fuhrmann, T. Mkrtchyan Chep 2003 Chep2003 UCSD, California.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
Movement of MC Data using SAM & SRM Interface Manoj K. Jha (INFN- Bologna) Gabriele Compostella, Antonio Cuomo, Donatella Lucchesi,, Simone Pagan (INFN.
Author - Title- Date - n° 1 Partner Logo WP5 Summary Paris John Gordon WP5 6th March 2002.
Global Grid Forum GridWorld GGF15 Boston USA October Abhishek Singh Rana and Frank Wuerthwein UC San Diegowww.opensciencegrid.org The Open Science.
Andrew C. Smith – Storage Resource Managers – 10/05/05 Functionality and Integration Storage Resource Managers.
LCG Storage workshop at CERN. July Geneva, Switzerland. BNL’s Experience dCache1.8 and SRM V2.2 Carlos Fernando Gamboa Dantong Yu RHIC/ATLAS.
Report on Installed Resource Capacity Flavia Donno CERN/IT-GS WLCG GDB, CERN 10 December 2008.
Overview of Privilege Project at Fermilab (compilation of multiple talks and documents written by various authors) Tanya Levshina.
SRM Monitoring 12 th April 2007 Mirco Ciriello INFN-Pisa.
INFSO-RI Enabling Grids for E-sciencE Enabling Grids for E-sciencE Pre-GDB Storage Classes summary of discussions Flavia Donno Pre-GDB.
Role Based VO Authorization Services Ian Fisk Gabriele Carcassi July 20, 2005.
WLCG Grid Deployment Board, CERN 11 June 2008 Storage Update Flavia Donno CERN/IT.
Maarten Litmaath (CERN), GDB meeting, CERN, 2006/06/07 SRM v2.2 working group update Results of the May workshop at FNAL
6/23/2005 R. GARDNER OSG Baseline Services 1 OSG Baseline Services In my talk I’d like to discuss two questions:  What capabilities are we aiming for.
OSG AuthZ components Dane Skow Gabriele Carcassi.
Jens G Jensen RAL, EDG WP5 Storage Element Overview DataGrid Project Conference Heidelberg, 26 Sep-01 Oct 2003.
OSG Abhishek Rana Frank Würthwein UCSD.
David Adams ATLAS ATLAS distributed data management David Adams BNL February 22, 2005 Database working group ATLAS software workshop.
Linux Operations and Administration
ALCF Argonne Leadership Computing Facility GridFTP Roadmap Bill Allcock (on behalf of the GridFTP team) Argonne National Laboratory.
INFSO-RI Enabling Grids for E-sciencE SRMv2.2 in DPM Sophie Lemaitre Jean-Philippe.
Open Science Grid Build a Grid Session Siddhartha E.S University of Florida.
GridKa December 2004 Forschungszentrum Karlsruhe in der Helmholtz-Gemeinschaft Doris Ressmann dCache Implementation at FZK Forschungszentrum Karlsruhe.
BNL dCache Status and Plan CHEP07: September 2-7, 2007 Zhenping (Jane) Liu for the BNL RACF Storage Group.
Grid Deployment Board 5 December 2007 GSSD Status Report Flavia Donno CERN/IT-GD.
1 5/4/05 Fermilab Mass Storage Enstore, dCache and SRM Michael Zalokar Fermilab.
Martina Franca (TA), 07 November Installazione, configurazione, testing e troubleshooting di Storage Element.
SRM 2.2: experiment requirements, status and deployment plans 6 th March 2007 Flavia Donno, INFN and IT/GD, CERN.
OSG Status and Rob Gardner University of Chicago US ATLAS Tier2 Meeting Harvard University, August 17-18, 2006.
CMS User Support and Beijing Site Xiaomei Zhang CMS IHEP Group Meeting March
Bologna, March 30, 2006 Riccardo Zappi / Luca Magnoni INFN-CNAF, Bologna.
OSG STORAGE OVERVIEW Tanya Levshina. Talk Outline  OSG Storage architecture  OSG Storage software  VDT cache  BeStMan  dCache  DFS:  SRM Clients.
Abhishek Singh Rana and Frank Wuerthwein UC San Diegowww.opensciencegrid.org The Open Science Grid ConsortiumCHEP 2006 Mumbai INDIA February gPLAZMA:
Open Science Grid Consortium Storage on Open Science Grid Placing, Using and Retrieving Data on OSG Resources Abhishek Singh Rana OSG Users Meeting July.
CERN IT Department CH-1211 Genève 23 Switzerland t DPM status and plans David Smith CERN, IT-DM-SGT Pre-GDB, Grid Storage Services 11 November.
Nov 05, 2008, PragueSA3 Workshop1 A short presentation from Owen Synge SA3 and dCache.
Security recommendations for dCache
a brief summary for users
Jean-Philippe Baud, IT-GD, CERN November 2007
Gene Oleynik, Head of Data Storage and Caching,
Status of the SRM 2.2 MoU extension
dCache “Intro” a layperson perspective Frank Würthwein UCSD
SRM v2.2 / v3 meeting report SRM v2.2 meeting Aug. 29
Abhishek Singh Rana UC San Diego
SRM Developers' Response to Enhancement Requests
SRM2 Migration Strategy
Installing and Using SRM-dCache
Conditions Data access using FroNTier Squid cache Server
INFNGRID Workshop – Bari, Italy, October 2004
Presentation transcript:

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache in OSG 1.0 and SRM 2.2 Ted Hesselroth Fermilab

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache 1.8 Features Server Software in VDT  dCache 1.8  Bestman 2.2 New clients and client versions in VDT OSG Storage Activities for dCache 1.8 Create Installation Package Test servers and clients, with feedback to developers Prepare to support standard use cases, deployments

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache 1.8 Features SRM 2.2 Chimera beta (not supported by OSG in ’08)  In server RPM, optionally invoked  Scalability, File sizes > 2GB, ACLs, Needed from NFS 4.1 FTP 2 in grid doors Multiple files per connection Checksum from client Direct connection to pool for both reads and writes Supported in srmcp 1.8

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache 1.8 Features (cont.) Performance  Option: Use Berkeley DB in Pools  Caching of authorization in SRM  Caching of policy files in gPlazma  Adjustments to Tomcat, postgres use by SRM Support for log4j Expanded checksumming Pools mounting pnfs is optional

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego SRM v1 Features A standard interface among storage implementations Protocol Negotiation Internal Space Reservation Load Balancing Internal Checksum management Pinning 3 rd party transfers

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego SRM v2.2 Features Space Management functions  srmReserveSpace  srmReleaseSpace  Directory Functions  srmLs, srmMkdir, srmRm, srmMkDir, srmRmDir  Permission Functions  rwx-rwx-rwx

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego SRM v2.2: AccessLatency and RetentionPolicy From SRM v2.2 WLCG MOU  The agreed terminology is: TAccessLatency {ONLINE, NEARLINE} TRetentionPolicy {REPLICA, CUSTODIAL}  The mapping to labels ‘TapeXDiskY’ is given by: Tape1Disk0: NEARLINE + CUSTODIAL Tape1Disk1: ONLINE + CUSTODIAL Tape0Disk1: ONLINE + REPLICA TFileType {VOLATILE, DURABLE, PERMANENT}

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego dCache 1.8 and WLCG Input to SRM 2.2 Specification Extensive Testing by GSSD  Tested multiple SRM implementations  SRM 2.2 features needed by LCG, load testing  Weekly phone conference with dCache developers  All dCache code issues from GSSD have been fixed Edinburgh Tier 2 Workshop  Extensive presentation by Timur Perelmutov  Slides on srm.fnal.gov

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Site Involvement Test Stands involved in GSSD  FZK, SARA, GridKa, IN2P3, NGDF, BNL, FNAL, DESY Early Adopters – in production  NGDF, FZK, DESY, IN2P3, SARA, FNAL Tier 1's – November-December, 2007 Tier 2's – January-February, 2008

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Glue Schema 1.3 Storage Element  ControlProtocol SRM  AccessProtocol gsiftp  Storage Area Groups of Pools VOInfo  Path  Working on GIPs, dialog StorageElement ControlProtocol AccessProtocol StorageArea VOInfo

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego SRM v2.2 Clients Three sets under consideration  lcg-utils  LBL clients  Fermilab clients Will test and evalulate support issues

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Upgrading from dCache 1.7 RPM Upgrade only  No need for offline conversions  Pools will convert control files at startup VDT Installation scripts  Can merge new and current dCacheSetup  Some features need modified PoolManager.conf Space Manager, including Opportunistic use Replica Manager Merge?

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Details of Space Reservation Attributes of a space reservation Authorized group and role (creation time only) Access Latency Retention Policy Link Group ID Size Lifetime Description

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Link Groups: Policies for space reservations Authorization to create Allowed File Attributes CustodialAllowed=false, OnlineAllowed=true, … Pool Selection Rules  Client IP ranges  Area in namespace being accessed  Type of transfer View as “container”. Pools comprise space-reservable area.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Pool Selection with Space Reservation No Space Reservation  Pool selected from links not in any link group With Space Reservation  Link group selected based on file attributes Multiple matches: link group selection is random  Pool selected from links in selected link group Multiple matches: pool selection based on cost function Authorization and file system permissions are honored

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego SrmSpaceManager admin commands reserve [-vog=voGroup] [-vor=voRole] [-acclat=AccessLatency] [-retpol=RetentionPolicy] [-desc=Description] [- lgid=LinkGroupId] [-lg=LinkGroupName] # create a new reservation release [ ] # release the space reservation identified by # release existing reservation ls [-l] # list reservations and link groups update link groups # trigger update now, which is otherwise performed every 3 min listFilesInSpace # what are the files already written into this space listInvalidSpaces

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Schedule – RC1 and RC2 Release Candidate 1 – December 14  Space Reservation Release Candidate 2 – January 18  Replica Manager  Opportunistic Storage  Static GIP for glue schema 1.3  Gratia Probes

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Schedule – OSG 1.0 OSG 1.0 – February 15  Information Services  SRM-dCache Toolkit

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Appendix: Installing dCache 1.8 with the VDT Package

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The VDT Package for dCache RPM-based  Multi-node install # wget \ preview/2.0.4/vdt-dcache-SL4_ tar.gz # wget \ preview/2.0.4/vdt-dcache-SL4_ tar.gz # tar zxvf vdt-dcache-SL4_ tar.gz # cd vdt-dcache-SL4_ /preview

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The Configuration Dialog Queries  Distribution of “admin” Services Up to 5 admin nodes  Door Nodes Private Network Number of dcap doors  Pool Nodes Partitions that will contain pools Because of delegation, all nodes must have host certs. # config-node.pl

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The site-info.def File “admin” Nodes  For each service, hostname of node which is to run the service Door Nodes  List of nodes which will be doors  Dcap, gsidcap, gridftp will be started on each door node Pool nodes  List of node, size, and directory of each pool  Uses full size of partition for pool size # less site-info.def

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Customizations DCACHE_DOOR_SRM_IGNORE_ORDER=true SRM_SPACE_MANAGER_ENABLED=yes SRM_IMPLICIT_SPACE_MGR=no SRM_LINK_GROUP_AUTH_FILE REMOTE_GSI_FTP_MAX_TRANSFERS=2000 DCACHE_LOG_DIR=/opt/d-cache/log # config-node.pl Copy site-info.def into install directory of package on each node.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The Dryrun Option Does not run commands. Used to check conditions for install. Produces vdt-install.log and vdt-install.err. #./install.sh --dryrun On each node of the storage system.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The Install Checks if postgres is needed  Installs postgres if not present  Sets up databases and tables depending on the node type. Checks if node is pnfs server  Installs if not present  Creates an export for each door node #./install.sh On each node of the storage system.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The Install, continued Unpacks dCache rpm Modifies dCache configuration files  node_config  pool_path  dCacheSetup If upgrade, applies previous settings to new dCacheSetup Runs /opt/d-cache/install/install.sh  Creates links and configuration files  Creates pools if applicable  Installs srm server if srm node

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego If authorization fails or is denied, attempts next method Authorization - gPlazma Cell dcachesrm-gplazma.policy: # Switches" saml-vo-mapping="ON" kpwd="OFF" grid-mapfile="OFF" gplazmalite-vorole-mapping="OFF" # Priorities saml-vo-mapping-priority="1" kpwd-priority="3" grid-mapfile-priority="4" gplazmalite-vorole-mapping-priority="2“ … # SAML-based grid VO role mapping mappingServiceUrl=" horizationServicePort" vi etc/dcachesrm-plazma.policy

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego The saml-vo-mapping Method Acts as a client to GUMS GUMS returns a username. Lookup in storage-authzdb follows for uid, gid, etc. Provides site-specific storage obligations /etc/grid-security/storage-authzdb: authorize uscms157 read-write / /pnfs/fnal.gov/data / authorize osg read-write / /pnfs/fnal.gov/data/public /

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Starting dCache # bin/dcache-core start On each “admin” or door node. # bin/dcache-pool start On each pool node. Starts JVM (or Tomcat, for srm). Starts cells within JVM depending on the service.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Check the admin login # ssh –l admin –c blowfish –p adminnode.oursite.edu On each pool node. (local) admin > cd SrmSpaceManager (SrmSpaceManager) admin > info (SrmSpaceManager) admin > help (SrmSpaceManager) admin > ls (SrmSpaceManager) admin >.. (local) admin > (local) admin > cd SrmSpaceManager (SrmSpaceManager) admin > info (SrmSpaceManager) admin > help (SrmSpaceManager) admin > ls (SrmSpaceManager) admin >.. (local) admin > On any machine with ssh. Can “cd” to dCache cells and run cell commands Scriptable, also has jython interface and gui.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Validating the Install On client machine with user proxy Test a local -> srm copy, srm protocol 2. $ /opt/d-cache /srm/bin/srmcp --debug=true - srm_protocol_version=2 file:////home/tdh/tmp/test1 srm://fapl037.fnal.gov:8443/srm/managerv2?SFN=/pnfs/fnal.go v/data/test1

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Additional Validation Other client commands  srmls  srmmv  srmrm  srmrmdir  srm-reserve-space  srm-release-space See Neha's talk and the web page

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Register your Storage Element Fill out form at View the results at Affiliation: OSG SitesLast TestLast test runs Archive TTU_bestman _09_00 2, 5, 7, 14, Archive NERSC_bestman _09_12 2, 5, 7, 14, Archive UCSD_dcache _09_12 2, 5, 7, 14, Archive

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Advanced Setup: Space Reservation On machine logged in to admin ssh interface Make a space reservation using the admin interface. (SrmSpaceManager) admin > reserve -acclat=ONLINE - retpol=REPLICA -desc=osgdemo -lgid= A space reservation token will be assigned.

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Using a space reservation Use the space token in the command line. /opt/d-cache /srm/bin/srmcp --debug=true - srm_protocol_version=2 -space_token=3 file:////home/tdh/tmp/test1 srm://fapl037.fnal.gov:8443/srm/managerv2?SFN=/pnfs/fnal.go v/data/test2 Or, implicit space reservation may be used. Command line options imply which link groups can be used. -retention_policy= -access_latency=

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Advanced Setup: Restricting root paths On node with pnfs mounted Restrict reads/writes to a namespace. # cd /pnfs/fnal.gov/data # mkdir public # chmod 777 public # cd /pnfs/fnal.gov/data # mkdir public # chmod 777 public /etc/grid-security/storage-authzdb: authorize uscms157 read-write / /pnfs/fnal.gov/data/public / On node running gPlazma

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Advanced Setup: Opportunistic Storage Create pools in PoolManager.conf. Assign them to a link, “public-link”. psu create pool fapl037_3 psu create pool fapl037_4 psu create pgroup public psu addto pgroup public fapl037_3 psu addto pgroup public fapl037_4 psu create link public-link any-store world-net any-protocol psu set link public-link -readpref=10 -writepref=10 - cachepref=10 -p2ppref=-1 psu add link public-link public psu create pool fapl037_3 psu create pool fapl037_4 psu create pgroup public psu addto pgroup public fapl037_3 psu addto pgroup public fapl037_4 psu create link public-link any-store world-net any-protocol psu set link public-link -readpref=10 -writepref=10 - cachepref=10 -p2ppref=-1 psu add link public-link public On node running dCache domain

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Advanced Setup: Opportunistic Storage (cont.) Create a link group and add “public-link” to it. Set the attributes of the link group. psu create linkGroup public-link-group psu addto linkGroup public-link-group public-link psu set linkGroup custodialAllowed public-link-group true psu set linkGroup onlineAllowed public-link-group true psu set linkGroup nearlineAllowed public-link-group true psu set linkGroup replicaAllowed public-link-group true psu set linkGroup outputAllowed public-link-group false psu set linkGroup attribute public-link-group HSM=None psu create linkGroup public-link-group psu addto linkGroup public-link-group public-link psu set linkGroup custodialAllowed public-link-group true psu set linkGroup onlineAllowed public-link-group true psu set linkGroup nearlineAllowed public-link-group true psu set linkGroup replicaAllowed public-link-group true psu set linkGroup outputAllowed public-link-group false psu set linkGroup attribute public-link-group HSM=None On node running dCache domain

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Making a space reservation On client machine with user proxy Space token (integer) is obtained from the output. $ /opt/d-cache /srm/bin/srm-reserve-space -- debug=true -desired_size= guaranteed_size= retention_policy=REPLICA - access_latency=ONLINE -lifetime=60 -space_desc=osgdemo2 srm://fapl037.fnal.gov:8443 /etc/LinkGroupAuthorization.conf: LinkGroup reserved-link-group cms/Role=* atlas/Role=* LinkGroup public-link-group */Role=*

Ted Hesselroth, OSG Site Administrators Meeting, December 13, 2007 Abhishek Singh Rana and Frank Wuerthwein UC San Diego Using the space reservation Use the space token in the command line. /opt/d-cache /srm/bin/srmcp --debug=true - srm_protocol_version=2 -space_token=5 file:////home/tdh/tmp/test1 srm://fapl037.fnal.gov:8443/srm/managerv2?SFN=/pnfs/fnal.go v/data/public/test3 Namespace is restricted by /etc/grid-security/storage-authzdb. Pool selection is restricted by LinkGroupAuthorization.conf and rules in PoolManager.conf.