ARC client CentOS 6 – English


It is recommended to use NTP time sync.

Installation packages are available in EPEL repository.

rpm -ivh

Install the required packages.

yum install nordugrid-arc-client nordugrid-arc-plugins-globus wget

Install the metapackage for CA-s. First, EGI-trustanchors repository is needed.

cd /etc/yum.repos.d/
yum install ca-policy-egi-core

CA-s need to be updated regulary. You can install fetch-crl package and add it to a daily cronjob.

Create .arc directory in your home directory

mkdir ~/.arc

Transform your personal grid certificate to the required format and put it in .arc directory .

openssl pkcs12 -in usercert.p12 -clcerts -nokeys -out usercert.pem
openssl pkcs12 -in usercert.p12 -nocerts -out userkey.pem
chmod 400 userkey.pem
chmod 644 usercert.pem
mv userkey.pem ~/.arc/
mv usercert.pem ~/.arc/

Continue by setting your VO. The following instructions are suitable for VO .  ~/.arc/vomsdir/ is required and ~/.arc/vomses .

cd ~/.arc
mkdir vomsdir
echo -e "/C=SI/O=SiGNET/O=SLING/\n/C=SI/O=SiGNET/CN=SiGNET CA" > vomsdir/
echo -e '"" "" "15001" "/C=SI/O=SiGNET/O=SLING/"""' > vomses

#this is the content:
cat ~/.arc/vomsdir/

cat ~/.arc/vomses
"" "" "15001" "/C=SI/O=SiGNET/O=SLING/"""

Create proxy certificate.

arcproxy -S
Your identity: /C=SI/O=SiGNET/O=ARNES/CN=Ime Priimek
Contacting VOMS server (named on port: 15001
Proxy generation succeeded
Your proxy is valid until: 2014-04-24 01:03:10

Submit a test job.

vi test.xrsl
(executable = /usr/bin/env)
(jobname = "test")

arcsub -c -S org.nordugrid.gridftpjob -o joblist.xml test.xrsl -d DEBUG
Job submitted with jobid: gsi

Check the job status.

arcstat -c

When the job is FINISHED, download the results by using arcget.

arcget gsi
Results stored at: 4fQLDmY3BxjnmmR0Xox1SiGmABFKDmABFKDmvxHKDmABFKDmiPhU9m
Jobs processed: 1, successfully retrieved: 1, successfully cleaned: 1

arcget -a (for all finished jobs)

arcget -i joblist.xml (for all jobs in the list)