Project

General

Profile

BESTMAN-FTP


Date: Mon, 17 Oct 2011 17:07:56 -0500
From: Rashid Mehdiyev <rmehdi@fnal.gov>

# At FNAL:

# on fnpcsrv1 machine

 * source /usr/local/vdt/setup.sh
 * grid-proxy-init

 * voms-proxy-init -voms fermilab:/fermilab/minos/Role=Analysis -valid 10:00

# (I guess, it must be more convenient qualifier to save the cert directly
# into the file instead of that 2 lines below)

 * id 
# (to learn you uid).

 * cp /tmp/x509up_uXXXXX .globus/voms-yourname.proxy

# copy voms-yourname.proxy from Fermi domain to .globus directory at TACC (or anywhere else).

# At TACC:

# You need to setup voms, if you doing it the first time.
# this section is not needed to repeat, once you have set the voms directory for you 

Do:

 * mkdir voms

# (prior to next step, be sure to check that pacman installed in your system).
 * pacman -get  http://software.grid.iu.edu/osg-1.2:voms

 * cd voms

# not entirely sure if that the next three commands absolutely required, but I've done it when I was setting up
# the voms local installation

 * source setup.sh
 * vdt-post-install
 * vdt-ca-manage setupca --location local --url os

###########################################################

# Then in every login session at TACC you do:

 * source voms/setup.sh
 * voms-proxy-init -voms fermilab:/fermilab/minos/Role=Data -valid 20:00
 * export X509_USER_PROXY=$HOME/.globus/voms-rmehdi.proxy

#you can set this environment variable in your .bashrc

# to copy the file over, do, as an in example:

 * globus-url-copy file:////minos/app/rmehdi/howie/n10042009_0008_CosmicMu_D03.reroot.root  /  
gsiftp://fg-bestman1.fnal.gov:2811/grid/data/rmehdi/test/n10042009_0008_CosmicMu_D03.reroot.root
# or from TACC:

 * for file in `cat set3.txt` ; do globus-url-copy file:////scratch/01114/rmehdi/results/transfer/set3/${file} gsiftp://fg-bestman1.fnal.gov:2811/grid/data/rmehdi/showersyst/${file} | ls ${file}; done

Enjoy!