Difference between revisions of "HOWTO12 Globus Online cookbook for EGI VOs"
Jump to navigation
Jump to search
Line 85: | Line 85: | ||
From this line "copying CopyJob, source = file:///test destination = gsiftp://bee51.grid.sara.nl:2811/pnfs/grid.sara.nl/data/dteam/test" in the log we see that there is another host used by | From this line "copying CopyJob, source = file:///test destination = gsiftp://bee51.grid.sara.nl:2811/pnfs/grid.sara.nl/data/dteam/test" in the log we see that there is another host used by | ||
SRM for transfering files via GridFTP. | SRM for transfering files via GridFTP. | ||
5. Log-in to GlobusOnline.eu. | |||
== For VO Members == | == For VO Members == |
Revision as of 14:53, 1 November 2012
This page contains the steps how to use GlobusOnline.eu and enable it on existing storage elements in EGI.
For VO Manager
All commands are performed using gLite UI. EGI VO "lsgrid" is used for examples.
1. Find storage elements available for your VO.
-bash-3.2$ lcg-infosites --is bdii.grid.sara.nl --vo lsgrid se Avail Space(kB) Used Space(kB) Type SE ------------------------------------------ 8680228003 9322717896 SRM gb-se-amc.amc.nl 12979779663 5023166236 SRM gb-se-ams.els.sara.nl 7566088689 10436857300 SRM gb-se-emc.erasmusmc.nl 16894639069 1108306831 SRM gb-se-kg.keygene.com 13485702646 4517243253 SRM gb-se-kun.els.sara.nl 15823557272 2179388628 SRM gb-se-lumc.lumc.nl 12876787157 5126158742 SRM gb-se-nki.els.sara.nl 14300046568 3702899331 SRM gb-se-rug.sara.usor.nl 2592266942 15410678958 SRM gb-se-tud.ewi.tudelft.nl 16908331173 1094614727 SRM gb-se-wur.els.sara.nl 717032688 382478939 SRM se.grid.rug.nl 17542103037 460842863 SRM se.lsg.hubrecht.eu 16560797796 1442148104 SRM se.lsg.psy.vu.nl 58680692895 n.a SRM srm.grid.sara.nl 14994733204 5266796 SRM srm.grid.sara.nl n.a n.a SRM srm.grid.sara.nl
2. Find the SRM endpoint for chosen storage element.
-bash-3.2$ lcg-info --list-service --bdii ldap://bdii.grid.sara.nl:2170 --vo lsgrid --query 'ServiceType=SRM' --attrs 'ServiceEndpoint'| grep srm.grid.sara.nl - Service: httpg://srm.grid.sara.nl:8443/srm/managerv2 - ServiceEndpoint httpg://srm.grid.sara.nl:8443/srm/managerv2
3. Find your VO home directory path for the SRM endpoint.
lcg-info --list-se --bdii ldap://bdii.grid.sara.nl:2170 --vo lsgrid --query 'SE=srm.grid.sara.nl' --attrs 'VOInfoPath' - SE: srm.grid.sara.nl - VOInfoPath /pnfs/grid.sara.nl/data/lsgrid
4. Find if SRM endpoint is the real storage endpoint by attempting file copy.
-bash-3.2$ touch test -bash-3.2$ srmcp -2 file:///test srm://srm.grid.sara.nl:8443/pnfs/grid.sara.nl/data/lsgrid/test -debug Storage Resource Manager (SRM) Client version 2.1.5-16 < output truncated > Thu Nov 01 13:45:44 CET 2012: In SRMClient ExpectedName: host Thu Nov 01 13:45:44 CET 2012: SRMClient(https,srm/managerv2,true) SRMClientV2 : user credentials are: /O=dutchgrid/O=users/O=egi/CN=Karolis Eigelis SRMClientV2 : connecting to srm at httpg://srm.grid.sara.nl:8443/srm/managerv2 SRMClientV2 : srmPrepareToPut , contacting service httpg://srm.grid.sara.nl:8443/srm/managerv2 copy_jobs is empty Thu Nov 01 13:45:48 CET 2012: srm returned requestToken = -1132232565 Thu Nov 01 13:45:48 CET 2012: no more pending transfers, breaking the loop copy_jobs is not empty copying CopyJob, source = file:///test destination = gsiftp://bee51.grid.sara.nl:2811/pnfs/grid.sara.nl/data/dteam/test GridftpClient: memory buffer size is set to 131072 GridftpClient: connecting to bee51.grid.sara.nl on port 2811 GridftpClient: gridFTPClient tcp buffer size is set to 1048576 GridftpClient: gridFTPWrite started, source file is java.io.RandomAccessFile@6087e704 destination path is pnfs/grid.sara.nl/data/dteam/test GridftpClient: gridFTPWrite started, destination path is pnfs/grid.sara.nl/data/dteam/test GridftpClient: set local data channel authentication mode to None GridftpClient: parallelism: 10 GridftpClient: ADLER32 for file java.io.RandomAccessFile@6087e704 is 00000001 GridftpClient: waiting for completion of transfer GridftpClient: starting a transfer to pnfs/grid.sara.nl/data/dteam/test GridftpClient: DiskDataSink.close() called GridftpClient: gridFTPWrite() wrote 0bytes GridftpClient: closing client : org.globus.ftp.GridFTPClient@402fb002 GridftpClient: closed client execution of CopyJob, source = file:///test destination = gsiftp://bee51.grid.sara.nl:2811/pnfs/grid.sara.nl/data/dteam/test completed SRMClientV2 : srmPutDone , contacting service httpg://srm.grid.sara.nl:8443/srm/managerv2 srmPutDone status code=SRM_SUCCESS copy_jobs is empty stopping copier
From this line "copying CopyJob, source = file:///test destination = gsiftp://bee51.grid.sara.nl:2811/pnfs/grid.sara.nl/data/dteam/test" in the log we see that there is another host used by SRM for transfering files via GridFTP.
5. Log-in to GlobusOnline.eu.