我对使用 SRM 还很陌生,我想知道是否应该使用 dcache 提供的 srm CLI 工具(srmping、srmls、srmcp 等)或 bestman2 计数器部件(srm-ping、srm-ls)。
我曾经认为这两种工具都应该适用于 dcache 和 bestman2 服务器,但最近我发现情况并非如此。
例如,以下工作正常..
> srm-ping srm://cms-se.sdfarm.kr:8443/srm/v2/server
SRM-PING: Thu Jul 17 21:32:09 UTC 2014 Calling SrmPing Request...
versionInfo=v2.3.0
但不追。。
> srmping srm://cms-se.sdfarm.kr:8443/srm/v2/server
ERROR org.dcache.srm.client.SRMClientV2 - srmPing : try # 0 failed with error The AXIS engine could not find a target service to invoke! targetService is managerv2
如果我不知道哪些端点是 dcache 和 bestman2,并且我希望我的脚本足够通用,我是否应该使用 bestman2 客户端而不是 dcache 客户端?或者这比那更复杂?
谢谢!