Hi Oscar
Sorry for delay in testing your suggestion. I changed lcmaps.db file
BEGIN
path = /opt/glite/lib/modules
# Plugin definitions:
posix_enf = "lcmaps_posix_enf.mod"
" -maxuid 1"
" -maxpgid 1"
" -maxsgid 32"
scasclient = "lcmaps_scas_client.mod"
" -capath /etc/grid-security/certificates"
" -cert /etc/grid-security/tomcathostcert.pem"
" -key /etc/grid-security/tomcathostkey.pem"
" -endpoint https://t2scas01.physics.ox.ac.uk:8443"
" -resourcetype ce"
" -actiontype execute-now"
glexec_get_account:
scasclient -> posix_enf
ENDFILE
But it does not work.
globus-url-copy -dbg -vb file:/home/mohammad/tmsse
gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.$$
Source: file:/home/mohammad/
Dest: gsiftp://t2ce02.physics.ox.ac.uk/tmp/
tmsse -> test.4341
debug: starting to put gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.4341
debug: connecting to gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.4341
debug: response from gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.4341:
220 t2ce02.physics.ox.ac.uk GridFTP Server 2.3 (gcc32dbg, 1144436882-63)
ready.
debug: authenticating with
gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.4341
debug: fault on connection to
gsiftp://t2ce02.physics.ox.ac.uk/tmp/test.4341: an end-of-file was
reached
debug: data callback, error an end-of-file was reached, buffer
0xb7e0f008, length 0, offset=0, eof=true
debug: operation complete
error: an end-of-file was reached
globus_xio: An end of file occurred
Otherwise scas server is working perfectly.
Regards
Kashif
-----Original Message-----
From: LHC Computer Grid - Rollout [mailto:[log in to unmask]] On
Behalf Of Oscar Koeroo
Sent: 11 January 2010 20:19
To: [log in to unmask]
Subject: Re: [LCG-ROLLOUT] Scas server for cream ce
Maarten Litmaath wrote:
> Hi Kashif,
>
>> I finally succeeded with option 3. Now I am able to submit job to
>> cream ce and its going through scas server.
>
> But what have you actually achieved so far?
>
> You only modified lcmaps-suexec.db, while lcmaps.db (used for GridFTP)
> does not involve the SCAS server...
>
> It works because the gridmapdir is shared between CREAM and SCAS, so
> the mappings will be consistent.
>
> I do not know if lcmaps.db can be made to work with SCAS as well, but
> I think there must be some problem with that, otherwise there would
> not have been a need for 2 separate configuration files.
Maarten: good point.
Kashif: The following lcmaps.db file will be usable for the gridftpd on
the
CREAM-CE:
BEGIN
path = /opt/glite/lib/modules
# Plugin definitions:
posix_enf = "lcmaps_posix_enf.mod"
" -maxuid 1"
" -maxpgid 1"
" -maxsgid 32"
scasclient = "lcmaps_scas_client.mod"
" -capath /etc/grid-security/certificates"
" -cert /etc/grid-security/tomcathostcert.pem"
" -key /etc/grid-security/tomcathostkey.pem"
" -endpoint https://t2scas01.physics.ox.ac.uk:8443"
" -resourcetype ce"
" -actiontype execute-now"
glexec_get_account:
scasclient -> posix_enf
ENDFILE
cheers,
Oscar
|