Grid, Storage and SRM



Similar documents
BeStMan-gateway Installation and Configuration for OSG Tier-2, Tier-3 sites

CST

CA and SSL Certificates

How to upload large files to a JTAC Case


SECURE Web Gateway. HTTPS/SSL Technical FAQ. Version 1.1. Date 04/10/12

Michael Thomas, Dorian Kcira California Institute of Technology. CMS Offline & Computing Week

Install an SSL Certificate onto SilverStream. Sender Recipient Attached FIles Pages Date. Development Internal/External None 5 6/16/08

OIOSAML Rich Client to Browser Scenario Version 1.0

CLEARSWIFT SECURE Web Gateway HTTPS/SSL decryption

ADFS Integration Guidelines

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

Microsoft Dynamics CRM Server 2011 software requirements

How to Configure Active Directory based User Authentication

The dcache Storage Element

Central Administration QuickStart Guide

How to Configure edgebox as a Web Server

Setup Corporate (Microsoft Exchange) . This tutorial will walk you through the steps of setting up your corporate account.

Defender Token Deployment System Quick Start Guide

DEPLOYMENT OF I M INTOUCH (IIT) IN TYPICAL NETWORK ENVIRONMENTS. Single Computer running I m InTouch with a DSL or Cable Modem Internet Connection

Shipping Services Files (SSF) Secure File Transmission Account Setup

vcenter Single Sign On Programming Guide vcenter Single Sign On SDK vsphere 5.5

Document From MAXIMUM BUSINESS INFORMATION TECHNOLOGY ON A. OwnCloud User Manual. TO I Cafe`

Load Balancing Oracle Application Server (Oracle HTTP Server) Quick Reference Guide

Xerox Multifunction Devices

Deploying RSA ClearTrust with the FirePass controller

Chapter 12 Distributed Storage

Managing Qualys Scanners

ACR Connect Authentication Service Developers Guide

Accessing the FTP Server - User Manual

Apache and Virtual Hosts Exercises

Robert Honeyman Honeyman IT Consulting.

Quick Start 5: Introducing and configuring Websense Cloud Web Security solution

G-Lock EasyMail7. Admin Guide. Client-Server Marketing Solution for Windows. Copyright G-Lock Software. All Rights Reserved.

USER GUIDE. Snow Inventory Client for Unix Version Release date Document date

Using Internet or Windows Explorer to Upload Your Site

Installation & Activation Guide. Lepide Active Directory Self Service

Building Secure Applications. James Tedrick

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

DEPLOYMENT GUIDE Version 1.1. Deploying F5 with Oracle Application Server 10g

Amazon EFS (Preview) User Guide

Using Actian PSQL as a Data Store with VMware vfabric SQLFire. Actian PSQL White Paper May 2013

Administrative Guide VtigerCRM Microsoft Exchange Connector (Exchange Server 2010)

Security IIS Service Lesson 6

WebNow Single Sign-On Solutions

PROTECTING DATA IN TRANSIT WITH ENCRYPTION IN M-FILES

Introduction to HDFS. Prasanth Kothuri, CERN

Configuring ADFS 3.0 to Communicate with WhosOnLocation SAML

HTTPS GATEWAY INSTRUCTIONS

ArcGIS for Server Deployment Scenarios An ArcGIS Server s architecture tour

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Cloudera Backup and Disaster Recovery

Tibbr Installation Addendum for Amazon Web Services

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

OAuth 2.0 andinternet Standard. Torsten Lodderstedt Deutsche Telekom AG

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

CRM to Exchange Synchronization

Guide to the Configuration and Use of SFTP Clients for Uploading Digital Treatment Planning Data to ITC

Lecture 8a: WWW Proxy Servers and Cookies

External Authentication with Windows 2012 R2 Server with Remote Desktop Web Gateway Authenticating Users Using SecurAccess Server by SecurEnvoy

CRM to Exchange Synchronization

Configuring Single Sign-On from the VMware Identity Manager Service to Office 365

How To Export Data From Exchange To A Mailbox On A Pc Or Macintosh (For Free) With A Gpl Or Ipa (For A Free) Or Ipo (For Cheap) With An Outlook 2003 Or Outlook 2007 (For An Ub

: RSA 050-V60X-CSEDLPS. : CSE RSA Data Loss Prevention 6.0. Version : R6.1

PaperCut Payment Gateway Module - PayPal Payflow Link - Quick Start Guide

bbc Adobe LiveCycle Data Services Using the F5 BIG-IP LTM Introduction APPLIES TO CONTENTS

Archive One Policy V4.2 Quick Start Guide October 2005

External Authentication with Checkpoint R75.40 Authenticating Users Using SecurAccess Server by SecurEnvoy

IUCLID 5 Guidance and Support

SalesForce SSO with Active Directory Federated Services (ADFS) v2.0 Authenticating Users Using SecurAccess Server by SecurEnvoy

Plesk Panel HEAnet Customer Guide

Setting Up Your ECi Remote Backup Solution

Application Note. Onsight Connect Network Requirements v6.3

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Cloud Elements! Events Management BETA! API Version 2.0

ArcGIS for Server Reference Implementations. An ArcGIS Server s architecture tour

Beyond Windows: Using the Linux Servers and the Grid

Using different Security Policies on Group Level for AD within one Portal. SSL-VPN Security on Group Level. Introduction

«Disaster Recovery» A DOM Restore Guide for Thecus NAS

Spring Security CAS Plugin - Reference Documentation. Burt Beckwith. Version M1

Establishing two-factor authentication with Cyberoam UTM appliances and HOTPin authentication server from Celestix Networks

How to configure the TopCloudXL WHMCS plugin (version 2+) Update: Version: 2.2

Issues Faced during Installing. WebCenter Sites 11gR1 on Exalogic. Version 1.0. Vivek V Singh. Principal Solutions Architect.

Getting Started with Universal Command Agent for SOA: XD Connector 4.3.0

A Guide to New Features in Propalms OneGate 4.0

Web Hosting Control Panel Guide

INSTALLATION GUIDE LAUNCHPAD NETWORK CONNECT (V2.1) [A GUIDE BY THE GURUS AT CLASSLINK]

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

WEB2CS INSTALLATION GUIDE

PaperCut Payment Gateway Module CyberSource Quick Start Guide

Transcription:

Grid, Storage and SRM AlexSim,LawrenceBerkeleyNationalLaboratory,asim@lbl.gov Jan.30,2008 1 Gettingsetup Makeaworkingdirectoryforthisexercise.Fortherestofthisexercise,allyourworkshouldbe doneinthere. $ mkdir srmex $ cd srmex Nextsettheenvironmentvariablestouseforexercises.AllexerciseswillbedoneondCache SRMserveratFermiNationalAcceleratorLaboratory(FNAL): There are a few environmental variables already set for you. SRM_HOME : srm client installation directory; /sw/srmclient2 SRMEP : SRM service endpoint; srm://gwdca04.fnal.gov:8443/srm/managerv2 SRMPATH : Working directory on SRM storage; /pnfs/fnal.gov/data/osgedu MYNAME : your login Nextcreateafiletouseforexercises: $ dd if=/dev/zero of=smallfile-$myname bs=1m count=2 $ ls -l -rw-r--r-- 1 train03 train03 2097152 2008-01-12 18:15 smallfile-train03 1.1 Assumptions Youalreadyhaveusedglobus url copytomoveyourfilesfromyourlocalmachinetooneof designatedtargetmachineandfromaremotegridftpservertoyourlocalmachine. 2 Basicoperations 2.1 CheckingthestatusofSRM Usesrm pingtofindoutthestatusofsrmserveron$srmep. $ srm-ping $SRMEP ThisreturnsSRMversionnumber,similartothefollowing. PingversionInfo=v2.2 Extrainformation Key=backend_type Value=dCache

Key=backend_version Value=production 1 8 0 9 2.2 PuttingafileintoSRMmanagedstorage FiletransferintoSRMmanagedstoragegoesthroughseveralprotocolsincludinggridftpfile transfer.thisclientoperationcommunicateswithsrmserverthroughseveralinterfaces internally;srmpreparetoputtorequestyourfilerequest,srmstatusofputrequesttocheckyour request,gridftpfiletransferandsrmputdonetofinalizethestateofyourfiletransfer. $ srm-copy file:////home/train99/srmex/smallfile-$myname \ $SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-CLIENT*REQUESTTYPE=put SRM-CLIENT*TOTALFILES=1 SRM-CLIENT*TOTAL_SUCCESS=1 SRM-CLIENT*TOTAL_FAILED=0 SRM-CLIENT*REQUEST_TOKEN=-2146782625 SRM-CLIENT*SOURCEURL[0]=file:////home/train99/srmex/smallfile-$MYNAME SRM-CLIENT*TARGETURL[0]=$SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME SRM-CLIENT*TRANSFERURL[0]=gsiftp://gwdca03.fnal.gov:2811///smallfile-alex SRM-CLIENT*ACTUALSIZE[0]=2097152 SRM-CLIENT*FILE_STATUS[0]=SRM_SUCCESS SRM-CLIENT*EXPLANATION[0]=Done 2.3 URLformats AquickreminderonURLformats:We'veseentwokindsofURLssofar. file:////home/train99/srmex/smallfile afilecalled smallfile onthelocalfile system,indirectory /home/train99/srmex/. Theappended $MYNAME isonlytomake thefilenameuniqueinthisgridschool. srm://gwdca04.fnal.gov:8443/srm/managerv2\?sfn=/pnfs/fnal.gov/data/osge du/smallfile-train99 asiteurlforafilename smallfile-train99 onsrm runningonthehostcalled gwdca04.fnal.gov andport8443 withthewebservice handle /srm/managerv2 indirectory /pnfs/fnal.gov/data/osgedu. SFNrepresents SiteFileName. 2.4 BrowsingafileinSRMmanagedstorage NowtrytofindoutthepropertiesofthefilethatyoujustputintoSRM. $ srm-ls $SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-CLIENT*REQUEST_EXPLANATION=srm-ls completed normally SRM-CLIENT*SURL=/pnfs/fnal.gov/data/osgedu/smallfile-alex

SRM-CLIENT*BYTES=2097152 SRM-CLIENT*FILETYPE=FILE SRM-CLIENT*STORAGETYPE=PERMANENT SRM-CLIENT*FILE_STATUS=SRM_SUCCESS SRM-CLIENT*OWNERPERMISSION=7166 SRM-CLIENT*LIFETIMELEFT=-1 SRM-CLIENT*LIFETIMEASSIGNED=-1 SRM-CLIENT*CHECKSUMTYPE=adler32 SRM-CLIENT*CHECKSUMVALUE=01e00001 SRM-CLIENT*FILELOCALITY=ONLINE SRM-CLIENT*OWNERPERMISSION.USERID=7166 SRM-CLIENT*OWNERPERMISSION.MODE=RW SRM-CLIENT*GROUPPERMISSION.GROUPID=9803 SRM-CLIENT*GROUPPERMISSION.MODE=R SRM-CLIENT*OTHERPERMISSION=R SRM-CLIENT*RETENTIONPOLICY=CUSTODIAL SRM-CLIENT*ACCESSLATENCY=ONLINE SRM-CLIENT*LASTACCESSED=2008-1-12-18-18-39 SRM-CLIENT*CREATEDATTIME=2008-1-12-18-18-39 2.5 GettingafilefromSRMmanagedstorage NowtrytogetthefilethatyoujustbrowsedandputintoSRMfromtheSRMmanagedstorage toyourlocalmachine.thisclientoperationcommunicateswithsrmserverthroughseveral interfacesinternally:srmpreparetogettorequestyourfilerequest,srmstatusofgetrequestto checkyourrequest,gridftpfiletransferandsrmreleasefilestoreleasethefileafteryour transfer. $ srm-copy $SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME \ file:////home/train99/srmex/my-smallfile Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-CLIENT*REQUESTTYPE=get SRM-CLIENT*TOTALFILES=1 SRM-CLIENT*TOTAL_SUCCESS=1 SRM-CLIENT*TOTAL_FAILED=0 SRM-CLIENT*REQUEST_TOKEN=-2146782626 SRM-CLIENT*SOURCEURL[0]=$SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME SRM-CLIENT*TARGETURL[0]=file:////home/train99/srmex/my-smallfile SRM-CLIENT*TRANSFERURL[0]=gsiftp://gwdca03.fnal.gov:2811///smallfile-alex SRM-CLIENT*ACTUALSIZE[0]=2097152 SRM-CLIENT*FILE_STATUS[0]=SRM_FILE_PINNED SRM-CLIENT*EXPLANATION[0]=Done Aftersrm copyiscompleted,findoutthefilesizeatthetargetonyourlocalmachine: $ ls l /home/train99/srmex/my-smallfile -rw-r--r-- 1 train99 train99 2097152 2008-01-12 19:29 my-smallfile 2.6 RemovingafileinSRMmanagedstorage

NowtrytoremovethefilethatyouputfromtheSRMmanagedstorage. $ srm-rm $SRMEP\?SFN=$SRMPATH/smallfile-$MYNAME Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-DIR: Total files to remove: 1 explanation=successfully removed files surl=$srmep\?sfn=$srmpath/smallfile-$myname Aftersrm-rmreturnssuccessfully,findoutthefilepropertiesofthesameSURLontheSRM withsrm-ls.youshouldseethatthesurlisinvalid. 2.7 CreatingandremovingadirectoryinSRMmanagedstorage NowtrytocreateadirectoryinSRMmanagedstorage. $ srm-mkdir $SRMEP\?SFN=$SRMPATH/$MYNAME ThiswillcreateadirectoryundertheSRMthatyoucanuseinyourSURLs. Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-DIR: Sat Jan 12 19:04:09 CST 2008 Calling SrmMkdir explanation=success BrowsethedirectorytoseewhatkindofpropertyinformationthatyouretrievefromSRM. NowtrytoremovethedirectoryfromSRM. $ srm-rmdir $SRMEP\?SFN=$SRMPATH/$MYNAME ThiswillremoveadirectoryundertheSRM. Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-DIR: Sat Jan 12 19:06:34 CST 2008 Calling SrmRmdir explanation=success 2.8 Summaryofbasicoperations Experimentwithputtingandgettingfileswithdifferentfilesizesandnumbersofparallel streamstoandfromtheremotesrmsite,andseethedifferences.whenyouuse4parallel datastreamsbyaddingthe -parallelism optionwithanargumentof4,theclientoperation goesthroughthesameprotocol,andtheparallelstreamsareusedinthegridftpfiletransfer. Largerfileswouldmakeasignificantdifferenceinfiletransferperformance.

Experimentwithdirectorystructureinyourpath. Note:Remembertoremovethosefilesanddirectoriesthatyoucreatedafterwards. 3 Spacemanagementandrelatedoperations 3.1 ReservingaspaceinSRMforopportunisticuse Now,let smakeaspacereservationfor5mbytesoftotalspace,4mbytesofguaranteedspace andlifetimeof900seconds: $ srm-sp-reserve serviceurl $SRMEP size 5000000 gsize 4000000 lifetime 900 Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-SPACE: Status Code for spacestatusrequest SRM_SUCCESS SpaceToken=258138 TotalReservedSpaceSize=4000000 Retention Policy=REPLICA Access Latency=ONLINE Uponsuccessfulspacereservation,thiswillshowyouthespacetokenwhichwillbeusedinthe nextexercises.(e.g.258138fromabove,butitisnotnecessarilynumbersalwaysanddifferent storagemayreturndifferentstringformat.)notethatyourreservedspacewasreturnedas4mb. Let ssetthereturnedspacetokenasanenvironmentvariabletore uselateron: $ set SPTOKEN=258138 3.2 FindingoutspacepropertiesfromSRM Now,let sfindoutthespaceinformationwiththespacetokenthatyoujustreceivedabove: $ srm-sp-info serviceurl $SRMEP spacetoken $SPTOKEN Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-SPACE:...space token details... SpaceToken=258138 TotalSize=4000000 Owner=VoGroup=osgedu VoRole=null LifetimeAssigned=900 LifetimeLeft=463 UnusedSize=4000000 GuaranteedSize=4000000 RetentionPolicy=REPLICA AccessLatency=ONLINE explanation=ok

3.3 RetrievingspacetokensfromSRM Supposedyoulostyourspacetoken,andlet sfindouthowtoretrievethespacetokensthat belongtoyou: $ srm-sp-tokens serviceurl $SRMEP Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-SPACE:... Status=SRM_SUCCESS Explanation=OK SRM-SPACE (0)SpaceToken=258138 Thiswouldshowallthespacetokensthatbelongtoyourgrididentityanditsmappingonthe server. 3.4 UpdatingaspaceinSRM Sometimepassedsincetheabovespacereservation,andthelifetimeofthereservedspace maybeneartheexpiration.now,let supdatethelifetimeofthespaceaswellasthesizeofthe space.we lluse7mboftotalspacewith6mbofguaranteedspace,andmakethelifetime950 seconds: $ srm-sp-update serviceurl $SRMEP spacetoken $SPTOKEN size 7000000 gsize 6000000 lifetime 950 Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowingbecausethetarget SRMstoragedoesnotsupportthisfunctionality. SRM-SPACE: Sat Jan 12 19:09:55 CST 2008 Calling updatespace request status=srm_not_supported explanation=can not find a handler, not implemented Request token=null However,whentheSRMstoragesupportsthefunctionalityandtherequestissuccessful,this returnsasummarysimilartothefollowing. SRM-SPACE: Sat Jan 12 21:22:50 PST 2008 Calling updatespace request Request token=null lifetime=950 Min=7000000 Max=7000000 Yourspacetokenisthesameasbefore,anduponsuccessfulcompletion,thelifetimeandsize ofyourspaceshouldbeupdated.let sfindoutthespaceinformationfromthesrmandverify usingsrm-sp-infotoseethenewupdatedinformation.

3.5 PuttingafileintothereservedspaceinSRM Nowlet sputafileintoyourreservedspaceusingthespacetoken.thisclientoperation communicateswiththesrmserver,sameasbefore.however,becauseofyourspacetoken, yourfilewillbewrittenintothespacethatyouhavereserved. $ srm-copy file:////home/train99/srmex/smallfile-$myname \ $SRMEP\?SFN=$SRMPATH/smallfile-space-$MYNAME \ -spacetoken $SPTOKEN Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-CLIENT*REQUESTTYPE=put SRM-CLIENT*TOTALFILES=1 SRM-CLIENT*TOTAL_SUCCESS=1 SRM-CLIENT*TOTAL_FAILED=0 SRM-CLIENT*REQUEST_TOKEN=-2146782603 SRM-CLIENT*SOURCEURL[0]=file:////home/train99/srmex/smallfile-$MYNAME SRM-CLIENT*TARGETURL[0]=$SRMEP\?SFN=$SRMPATH/smallfile-space-$MYNAME SRM-CLIENT*TRANSFERURL[0]=gsiftp://gwdca03.fnal.gov:2811///smallfile-space-alex SRM-CLIENT*ACTUALSIZE[0]=2097152 SRM-CLIENT*FILE_STATUS[0]=SRM_SUCCESS SRM-CLIENT*EXPLANATION[0]=Done Aftersuccessfulcompletion,findoutthefilepropertieswithsrm-ls. $ srm-ls $SRMEP\?SFN=$SRMPATH/smallfile-space-$MYNAME Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-CLIENT*REQUEST_EXPLANATION=srm-ls completed normally SRM-CLIENT*SURL=/pnfs/fnal.gov/data/osgedu/smallfile-space-alex SRM-CLIENT*BYTES=2097152 SRM-CLIENT*FILETYPE=FILE SRM-CLIENT*STORAGETYPE=PERMANENT SRM-CLIENT*FILE_STATUS=SRM_SUCCESS SRM-CLIENT*OWNERPERMISSION=7166 SRM-CLIENT*LIFETIMELEFT=-1 SRM-CLIENT*LIFETIMEASSIGNED=-1 SRM-CLIENT*CHECKSUMTYPE=adler32 SRM-CLIENT*CHECKSUMVALUE=01e00001 SRM-CLIENT*FILELOCALITY=ONLINE SRM-CLIENT*OWNERPERMISSION.USERID=7166 SRM-CLIENT*OWNERPERMISSION.MODE=RW SRM-CLIENT*GROUPPERMISSION.GROUPID=9803 SRM-CLIENT*GROUPPERMISSION.MODE=R SRM-CLIENT*OTHERPERMISSION=R SRM-CLIENT*SPACETOKENS(0)=258138 SRM-CLIENT*RETENTIONPOLICY=CUSTODIAL SRM-CLIENT*ACCESSLATENCY=ONLINE SRM-CLIENT*LASTACCESSED=2008-1-12-19-16-37 SRM-CLIENT*CREATEDATTIME=2008-1-12-19-16-37

Notefromtheprevioussrm lsoutputthatthistimeitshowsthespacetokenyouusedwhen puttingyourfileintothesrmmanagedstorage. 3.6 ReleasingthereservedspacefromSRM Nowlet sreleasethereservedspaceusingthespacetoken. $ srm-sp-release serviceurl $SRMEP -spacetoken $SPTOKEN Uponsuccessfulcompletion,thisreturnsasummarysimilartothefollowing: SRM-SPACE: Releasing space for token=258138 explanation=space released Thisoperationmayfailifyouhaveanyfilesinthespaceassociatedwiththespacetoken.In suchcase,removethefileswithsrm-rmtotryreleasingthespaceagain. $ srm-rm $SRMEP\?SFN=$SRMPATH/smallfile-space-$MYNAME Aftersuccessfulreleasingyourreservedspace,findoutthespacepropertieswithsrm-sp-info. 3.7 Summaryofspacemanagementoperations Experimentonreservingspaceswithdifferentspacesizesandlifetimes,andputtingyourfiles intothereservedspaceswithspacetoken.experimentupdatingthereservedspaceafteryou putyourfilesintothereservedspace.experimentwithdirectorystructureinyoursurl. Note:Remembertoremovethosefilesanddirectoriesthatyoucreatedafterwards.Also remembertoreleasethosespacesthatyoureservedifstillactive. 4 Advancedexercises(iftimepermitsorashomework) 4.1 Settingupasmalldisk basedsrm TherearenumberofdifferentSRMimplementations,andforanadvancedexercise,let stryto installandconfigureasmalldiskbasedsrmcalledbestman(berkeleystoragemanager)for yourpersonaluse.yourpersonalsrmwillberunningonyourgridproxy,andonlyyouwillbe abletoaccessit. First,let sdownloadthebestman,ansrmserver,fromtheweb:http://datagrid.lbl.gov/bestman. Thecurrentlatestversionisv2.2.0.6.tar.gzasofJan.2008.Untarthepackage:tarzxvfbestman 2.2.0.6.tar.gz.Youwillnowhavebestman/directoryinthecurrentworkingdirectory.

Aspartofsetupprocess,let screateacachedirectoryandalogdirectoryinthecurrentworking directory:mkdir./cache./log Findoutthecurrentworkingdirectoryforfullpathinformation(normally$PWDcorrespondstoyour currentworkingdirectory). Now,youwillbeusingyourgridproxytolaunchyourpersonalSRM,andfindoutwhereyourgridproxy islocated(it snormallylocatedin/tmp/x509up_u####,and`id u`wouldshowyouruseridfor#### part.let scalltheproxylocationasx509_user_proxy). NextstepistodecidewhichportnumbertoassignforyourpersonalSRM.Intheexamplebelow,it showstwoportstouse,16249and16250.youcanchooseanytwouserportsforthisexercise. Also,themanagedstoragecachesizeissetupto10MB,whichisenoughforyourexercise. Changeyourworkingdirectorytobestman/setupandlet sconfigure../configure\ with replica storage path=$pwd/cache\ with replica storage size=10\ with http port=16249\ with https port=16250\ with proxyfile path=$x509_user_proxy\ with eventlog path=$pwd/log\ with cachelog path=$pwd/log Theconfigurationprocesscreatesnewdirectories,andsbinisoneoftheminthebestmanhome directory.changeyourworkingdirectorytosbin,andlaunchbestmansrmwith./sxxbestman.personalstart.thisstartsupansrmserverforyourownpersonalexercisethatonly youcanaccessto. Tostoptheserver,changethedirectorytobestman/sbin,andtypein./SXXbestman.personalstop Now,youcangothroughtheclientcommandsthatyouhaveexercised,suchassrm ping,srm copy, srm ls,srm rm,etc.andyourownsrmendpointfromtheexampleaboveis srm://`hostname`:16250/srm/v2/server,andyourowndirectorypathwouldbe~. So,oneexampleofantargetURLonyourSRMservercanbe srm://`hostname`:16250/srm/v2/server\?sfn=/srmcache/~/mysmallfile. Foraninstallationforagrouporasite,pleasereferto https://twiki.grid.iu.edu/twiki/bin/view/storage/bestmanorhttp://www.dcache.org. Havefunonyourgridexperiences,andwhenyouhavefurtherquestionsonSRMs,youcansendan emailtosrm@lbl.gov.