simonsobs-uk / data-centre

This tracks the issues in the baseline design of the SO:UK Data Centre at Blackett
https://souk-data-centre.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Setting up CVMFS on northgrid.gridpp.ac.uk #20

Closed ickc closed 8 months ago

ickc commented 9 months ago

@rwf14f, what are the required steps to setup CVMFS with souk.ac.uk? If there are blocking items, can we write to northgrid for now? What are the necessary steps to have write access? Thanks.

ickc commented 9 months ago

Assigned @afortiorama as it seems it was suggested in the past.

ickc commented 8 months ago

Copied from email:

since you created a separate VO we will need to make a formal request to gridpp/RAL.

afortiorama commented 8 months ago

Quoting from RAL email

There are 2 ways for you to do it:

If possible, the first method would be better.

Currently I don’t have any individual registered in the service. Only DN associated to this repository is "/vo.northgrid.ac.uk/Role=lcgadmin/Capability=NULL”

More instructions are here https://www.gridpp.ac.uk/wiki/CVMFS

afortiorama commented 8 months ago

The northgrid CVMFS path is

/cvmfs/northgrid.gridpp.ac.uk

ls /cvmfs/northgrid.gridpp.ac.uk lsst manhep rwf

ickc commented 8 months ago

Applying by following the instruction there and sent an email to cvmfs-support@gridpp.rl.ac.uk, one thing I'm not so sure is how I might obtain the voperson_id, and I'm just guessing it is the username I see from https://aai.egi.eu/auth/realms/egi/account/#/personal-info.

ickc commented 8 months ago

Just to mention a note from meeting today: we'll temporarily use the northgrid for now, while waiting for GridPP's approval of the SO:UK VO.

ickc commented 8 months ago

Hi, @afortiorama, I now can write to the North Grid CVMFS. But what is the typical time scale for it to appears on Blackett nodes for example after I write stuffs there?

rwf14f commented 8 months ago

@afortiorama and @rwf14f have both access to the cvmfs publishing machine. If you give us a tarball with the compiled software we can upload it to cvmfs. The most important bit is that you use a installation prefix that's below /cvmfs/northgrid.gridpp.ac.uk/souk (referred to as <prefix> below). You should also consider having a sensible structure that includes versioning, eg <prefix>/<collection>_<version>/<tool>_<version>/<flavour>/. This structure is mainly aimed at libraries and software that is specifically compiled for specific OS / compiler combinations and might not be necessary in your case. This is just an example, you don't have to structure it the exact same way. It's also advisable to have setup scripts in cvmfs which can be sourced by the user to set the environment variables required to use the software that's in cvmfs.

ickc commented 8 months ago

Hi, @rwf14f, I have write access and I know about prefix (which is explained in our documentation in https://souk-data-centre.readthedocs.io/en/latest/user/pipeline/2-software-deployment/1-tarball/#prefix-directory-and-software-deployment for example). I already made a directory /cvmfs/northgrid.gridpp.ac.uk/simonsobservatory (which is the group we have on vm77) there but of course we could use souk too (in that case I think souk.ac.uk makes more sense?)

But the question is really how long am I suppose to see files written there to be seen somewhere else? I think there's some synchronization interval? What number is set there?

Thanks.

rwf14f commented 8 months ago

Hi, @afortiorama, I now can write to the North Grid CVMFS. But what is the typical time scale for it to appears on Blackett nodes for example after I write stuffs there?

We haven't used it in a while, but if I remember correctly it should be within an hour.

ickc commented 8 months ago

Thanks. Any opinion of the name of the subdir? simonsobservatory, souk, souk.ac.uk?

Edit: if not I'd just settle with simonsobservatory not to be confused with VO names.

rwf14f commented 8 months ago

I don't have a preference there, use whichever you want.

ickc commented 8 months ago

Thanks, closing as done.