Hi, Rajendar,

 

The user's guide could be better - I'll make some improvement to clarify
this.

 

What's probably missing is that your file "/tmp/whatever" needs to be
registered in the RLS server:

 

$G_L/bin/globus-rls-cli create whatever
gsiftp://your-gftp-server/tmp/whatever rls://your-rls-server

 

Also, your RLS catalog (called a "LRC") will need to send "updates" of
the catalog's index to an RLS index service (called an "RLI"). To have
an RLS sends updates to itself you do this:

 

$G_L/bin/globus-rls-admin -a rls://localhost rls://localhost

 

(replacing localhost with something else if appropriate)

 

Then back to DRS. Now, you can have DRS lookup 'whatever' in the RLS and
replicate it to 'gsiftp://newlocation'.

 

I suspect that's the missing step. This needs fixing in the DRS docs.

 

rob

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rajendar K
Sent: Thursday, March 27, 2008 7:13 AM
To: [email protected]
Subject: [gt-user] Regarding DRS

 

Hi all, 
      I have installed RLS server and i have the same problem with
related to DRS as posted by the issues
named 
          "[gt-user] simple DRS attempt fails"--  as posted  by Adam
Bazinet on Mon, 11 Feb 2008

Any solutions to overcome this problem and to realise the DRS ?
------------------------------------------------------------------------
-------------------------------
I'm trying to get a simple DRS example working.  Here's what I've done:

[EMAIL PROTECTED]:~> globus-rls-cli query lrc lfn whatever rlsn://lysine
  whatever: gsiftp://lysine:2811/tmp/whatever

the file exists:

[EMAIL PROTECTED]:~> cat /tmp/whatever
something!

and i've followed the instructions, pretty much to the letter, here:
http://www.globus.org/toolkit/docs/4.0/techpreview/datarep/user-index.ht
ml
<http://www.globus.org/toolkit/docs/4.0/techpreview/datarep/user-index.h
tml> 

here's my request file:

[EMAIL PROTECTED]:~> cat testrun.req
whatever        gsiftp://lysine:2811/tmp/whatever2

actually starting it seems to go OK...

[EMAIL PROTECTED]:~> globus-replication-create --debug --start -s
https://lysine:8443/wsrf/services/ReplicationService
<https://lysine:8443/wsrf/services/ReplicationService>  -C
mycredential.epr -V myreplicator.epr
file:///fs/mikehomes/gt4admin/testrun.req
Argument:
    Option: saveEpr
    Value:  myreplicator.epr
Argument:
    Option: start
    Value:  null
Argument:
    Option: delegatedCredential
    Value:  mycredential.epr
Argument:
    Option: service
    Value:  https://lysine:8443/wsrf/services/ReplicationService
<https://lysine:8443/wsrf/services/ReplicationService> 
Argument:
    Option: debug
    Value:  null
Service endpoint: Address:
https://lysine:8443/wsrf/services/ReplicationService
<https://lysine:8443/wsrf/services/ReplicationService> 

Creating Replicator...
Replicator created.
Starting Replicator...
Replicator started.

BUT... the file "/tmp/whatever2" is not created.  And, it seems the
thing was terminated:

[EMAIL PROTECTED]:~> wsrf-get-property -e myreplicator.epr
"{http://www.globus.org/namespaces/2005/05/replica/replicator}status
<http://www.globus.org/namespaces/2005/05/replica/replicator%7Dstatus> "
<ns1:status
xmlns:ns1="http://www.globus.org/namespaces/2005/05/replica/replicator
<http://www.globus.org/namespaces/2005/05/replica/replicator>
">Terminated</ns1:status>

Any idea what's going wrong here?

Thanks,
Adam
------------------------------------------------------------------------
------------------------------------------------------------------
with regards,
Raj,
Research Associate,MIT. 

Reply via email to