Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Strange SE after Grid exploring perspective drag and drop !

Emmanuel TAUREL pisze:
> Hi everybody,
> 
> I am using geclipse 1.0.020081031 which I think is the last one
> available from the WEB site
> I have a VOMS proxy on our VO (xray.vo.eu-egee.org)
> I have two open connections
> 1 - On my local file system
> 2 - On our lfc
> 
> In the Grid exploring perspective, I have done a file "drag and drop"
> from my local file system connection to our lfc connection
> Then, the result of the lcg-lr command of my file looks very strange to me
> 
> lcg-lr lfn:et/romeojuliet.txt
> srm://se.reef.man.poznan.pl:8446/dpm/reef.man.poznan.pl/home/geclipse/generated/2008-11-20/filea442bba7-baaf-4e85-b782-9ffee880992f
> 
> 
> It seems that my file is somewhere in Poland on a SE which is not part
> of our VO
> 
> What do you think ?
> Is this a correct behavior ?

This was of course incorrect. I did some changes, all should already
work (even with nightly build) but to get more reliable solution wait
till next morning for next build.

Description is from bug and corresponds to the today's HEAD.

There is no more hardcoded information about replica server.

Currently use case goes like this:
1. check if there is default SE specified
   for VO which was used to connect to the LFC server.

  1.a If yes - send a file there
  1.b If not - send a file to the first SE provided by the info system

Location of the file is as follows:
both hostname and homedir are taken from BDII, then after homedir there
is added:
/generated/yyyy-mm-dd/

file name is: file<global-unique-id>.

During the transfer there is computed checksum (on the fly) and this is
put into the meta-information.

To set up default SE there two ways:
1. in the g-Eclipse UI, GridProjectView, expand your project, then VO,
then Data Storage, right-click on desired SE, select: set as default
replica server.

2. in your source code:
   eu.geclipse.efs.lgp.LFCProperties #getInstance() #put(<VONAME>,
<SE_Hostname>)

Remember that there is 1 Default SE for each VO, so if you have
different projects with the same VO, all of them will share the same
default SE.

Further comments and feedback are welcome.

-- 
Mateusz Pabiś


Back to the top