Hi,
Now that I have a working dCache 1.7.0-16 I have started looking at the
SRM v2.2 functionality using the 2.2 test client that Jiri Mencak wrote
[1]. The test client just runs through the SRM v2.2 spec and checks to
see if the target SRM endpoint is able to respond to the function calls.
The output from running the client can be found below. I'll put it in the
wiki later. You can also use the new dCache SRM client tools
(dcache-client-1-7.0-16):
srmls
srmmkdir
srmrmdir
srmmv
srmstage (not really appropriate for Tier-2s)
srm-get-request-status
these must use the v2.2 endpoint i.e.
srm://grid12.ph.gla.ac.uk:8443/srm/managerv2
Note that the same port (8443) is used as for SRM v1, the distinction
comes in the /srm/managerv2 part at the end.
The old client tools also remain
srmcp
srm-advisory-delete
srm-get-metadata
but these require you to use the SRM v1 endpoint
srm://grid12.ph.gla.ac.uk:8443/srm/managerv1
So note that srmcp does *NOT* work with the SRM v2.2 interface. This has
confused me slightly since the results below show that srmCopy should be
supported. I'll need to investigate further.
Cheers,
Greig
[1] http://s-2.sourceforge.net/
Output from test client
-----------------------
AbortFiles: OK: SRM_SUCCESS
AbortRequest: OK: SRM_SUCCESS
BringOnline: KO:
ChangeSpaceForFiles: KO:
CheckPermission: KO:
Copy: OK: SRM_REQUEST_QUEUED
ExtendFileLifeTimeInSpace: KO:
ExtendFileLifeTime: KO:
GetPermission: KO:
GetRequestSummary: KO:
GetRequestTokens: KO:
GetSpaceMetaData: KO:
GetSpaceTokens: KO:
GetTransferProtocols: KO:
Ls: OK: SRM_SUCCESS
Mkdir: OK: SRM_SUCCESS
Mv: OK: SRM_SUCCESS
Ping: KO
PrepareToGet: OK: SRM_REQUEST_QUEUED
PrepareToPut: OK: SRM_REQUEST_QUEUED
PurgeFromSpace: KO:
PutDone: OK: SRM_SUCCESS
ReleaseFiles: KO: SRM_INVALID_REQUEST request for requestToken
-2147483534is not srmPrepareToGet request
ReleaseSpace: KO:
ReserveSpace: KO:
ResumeRequest: KO:
Rmdir: OK: SRM_SUCCESS
Rm: OK: SRM_SUCCESS (s2: removed file couldn't be retrieved)
SetPermission: KO:
StatusOfBringOnlineRequest: KO:
StatusOfChangeSpaceForFilesRequest: KO:
StatusOfCopyRequest: OK: SRM_REQUEST_QUEUED
StatusOfGetRequest: KO:
StatusOfLsRequest: KO:
StatusOfPutRequest: OK: SRM_REQUEST_INPROGRESS
StatusOfReserveSpaceRequest: KO: (s2: )
StatusOfUpdateSpaceRequest: KO:
SuspendRequest: KO:
UpdateSpace: KO:
--
=======================================================================
Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
School of Physics, University of Edinburgh, James Clerk Maxwell Building
TIER-2 STORAGE SUPPORT PAGES: http://wiki.gridpp.ac.uk/wiki/Grid_Storage
=======================================================================
|