On Mon, 3 Feb 2003, Ian Stokes-Rees wrote:
> ITYM gdmp_ping.
Indeed. That was a simple typo, but also watch the difference between e.g.
gdmp_ping and globus-job-run, or gdmp_get_catalogue and
globus-replica-catalog, or dg-job-submit and edg-rm-creg ... we aren't
very consistent!
> It took me about 30 minutes to discover that the reason
> this didn't work at first was because of a mis-configured GDMP_CONFIG_FILE
> path -- fixed it, and now it works fine. For users which are part of
> multiple VOs, how is handled? I had made the mistake of naively putting
> {GDMP,RC}_CONFIG_FILE into /etc/profile.
Users (on both a UI and in a job running on a CE/WN) should do:
eval `edg-vo-env iteam`
or similar (which assumes that $EDG_LOCATION/bin is in the PATH, that
you're in the iteam VO, and that you use a Bourne type shell, otherwise
use --shell=csh). In turn the system managers have to make sure that
$EDG_LOCATION/etc/edg-vo-env.conf
is correctly configured. On a UI, if you can identify which VO each
user belongs to (e.g. you have different groups for different VOs)
you could put that in the system profile, otherwise users will have
to do it in their own profile.
When you talk about users being in multiple VOs, there is no real
support for one person being in more than one VO. Anyone who wants to
do that has to request a different certificate (with a different CN)
for each VO they want to join, and manage the selection of the certificate
themself.
> Annoyingly only my CE has edg-gridftp-ls. Should my UI
> updates/configuration have put this on my UI machine? I had to copy my cert
> to an account on the CE and then use that.
You shouldn't need to copy a certificate for that, the commands work
with a proxy, e.g.:
[burke@testbed010 burke]$ globus-job-run tbce01.physics.ox.ac.uk
/opt/edg/bin/edg-gridftp-ls --verbose
gsiftp://tbse01.physics.ox.ac.uk/flatfiles/
total 20
lrwxrwxrwx 1 root root 11 Jan 8 19:15 flatfiles ->
/flatfiles/
drwxr-xr-x 2 root root 16384 Jan 7 14:41 lost+found
drwxrwsr-x 7 gdmp root 4096 Jan 16 15:43 se01
(One issue with that is that it seems that edg-gridftp-ls opens an
inbound ip connection to return the file information, which may get
blocked by a firewall.)
In any case, you should have these user commands on a UI (taken from
testbed010):
# Job submission
dg-job-cancel
dg-job-get-logging-info
dg-job-get-output
dg-job-id-info
dg-job-list-match
dg-job-status
dg-job-submit
# BrokerInfo
edg-brokerinfo
# GridFTP
edg-gridftp-exists
edg-gridftp-ls
edg-gridftp-mkdir
edg-gridftp-rename
edg-gridftp-rm
edg-gridftp-rmdir
# Replica Catalogue
edg-replica-manager-cat
edg-replica-manager-cd
edg-replica-manager-ls
edg-replica-manager-pwd
# Replica Manager
edg-replica-manager-copyAndRegisterFile
edg-replica-manager-copyFile
edg-replica-manager-deleteFile
edg-replica-manager-listReplicas
edg-replica-manager-registerEntry
edg-replica-manager-replicateFile
edg-replica-manager-unregisterEntry
edg-replica-manager-getBestFile
# Replica Manager abbreviated
edg-rm-creg
edg-rm-cp
edg-rm-d
edg-rm-l
edg-rm-reg
edg-rm-r
edg-rm-u
# VO settings
edg-vo-env
# Replica Catalogue (Globus command wrappers)
edg_rc_addLogicalFileAttribute
edg_rc_addLogicalFileName
edg_rc_addPhysicalFileName
edg_rc_deleteLogicalFileAttribute
edg_rc_deleteLogicalFileName
edg_rc_deletePhysicalFileName
edg_rc_getLogicalFileAttributes
edg_rc_getLogicalFileName
edg_rc_getPhysicalFileNames
# GDMP
gdmp_get_catalogue
gdmp_host_subscribe
gdmp_job_status
gdmp_ping
gdmp_prepare_open
gdmp_publish_catalogue
gdmp_register_local_file
gdmp_remove_local_file
gdmp_replicate_get
gdmp_replicate_put
gdmp_stage_from_mss
gdmp_stage_to_mss
Stephen
|