Difference between revisions of "ARC client installation"

From SNIC Documentation
Jump to: navigation, search
(Swestore documentation moved)
(Tag: New redirect)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Grid computing]]
+
#REDIRECT[[Swestore Documentation Moved]]
[[Category:SweGrid user guide]]
 
[[Getting started with SweGrid|< Getting started with SweGrid]]
 
== Installing from package repositories ==
 
 
 
The easiest way of installing the ARC middleware is by using the available apt- and yum-repositories. Before using these repositories the NorduGrid GPG-key must be installed to verify the installed packages. The GPG-key is installed using the following procedures:
 
 
 
For apt-based distributions (Ubuntu, Debian):
 
 
 
<pre>wget -q http://download.nordugrid.org/DEB-GPG-KEY-nordugrid.asc -O- | sudo apt-key add -</pre>
 
For yum-based distributions (Fedora, CentOS):
 
 
 
<pre>sudo rpm --import http://download.nordugrid.org/RPM-GPG-KEY-nordugrid</pre>
 
=== Installing from a yum-based repository ===
 
 
 
A yum repository is added by creating a file ''nordugrid.repo'' in the ''/etc/yum.repos.d'' directory. The file should contain the following (Fedora):
 
 
 
<pre>[nordugrid]
 
name=NorduGrid - $basearch - stable
 
baseurl=http://download.nordugrid.org/repos/fedora/$releasever/$basearch/stable
 
enabled=1
 
gpgcheck=1
 
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid
 
 
 
[nordugrid-testing]
 
name=NorduGrid - $basearch - testing
 
baseurl=http://download.nordugrid.org/repos/fedora/$releasever/$basearch/testing
 
# Always make sure nordugrid stable repo is enabled
 
enabled=0
 
gpgcheck=1
 
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid</pre>
 
For CentOS 5 or RHEL 5:
 
 
 
<pre>[nordugrid]
 
name=NorduGrid - $basearch - stable
 
baseurl=http://download.nordugrid.org/repos/redhat/el5/$basearch/stable
 
enabled=1
 
gpgcheck=1
 
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid
 
 
 
[nordugrid-testing]
 
name=NorduGrid - $basearch - testing
 
baseurl=http://download.nordugrid.org/repos/redhat/el5/$basearch/testing
 
# Always make sure nordugrid stable repo is enabled
 
enabled=0
 
gpgcheck=1
 
gpgkey=http://download.nordugrid.org/RPM-GPG-KEY-nordugrid</pre>
 
Installing the ARC middleware can now be done using the following commands:
 
 
 
<pre>sudo yum groupinstall &quot;ARC Client&quot;</pre>
 
=== Installing from a apt-based repository <ref>Much of this section is adapted from the [http://wiki.nordugrid.org/index.php/Ubuntu NDGF wiki]
 
</ref> ===
 
 
 
To add the repositories in Ubuntu or Debian add the following lines:
 
 
 
<pre>deb http://download.nordugrid.org/repos/ubuntu/ lucid main
 
deb-src http://download.nordugrid.org/repos/ubuntu/ lucid main</pre>
 
in the ''/etc/apt/sources.list'' file. Replace lucid with intrepid, dapper, gutsy, hardy, jaunty or karmic as appropriate. When these lines have been added the local apt-database have to be updated using the following command:
 
 
 
<pre>$ sudo apt-get update</pre>
 
First we install the Globus certificate utilities:
 
 
 
<pre>sudo apt-get install globus-gsi-cert-utils-progs
 
sudo apt-get install globus-proxy-utils </pre>
 
Next, we install the CA certificate needed for SweGrid:
 
 
 
<pre>sudo apt-get install ca-policy-igtf-classic ca-policy-igtf-mics ca-policy-igtf-slcs</pre>
 
To make sure that we don't trust revoced certificates we also install the nordugrid-ca-utils package which is used to maintain the certificate revocation lists:
 
 
 
<pre>sudo apt-get install nordugrid-arc-ca-utils</pre>
 
Finally we install the ARC client software itself:
 
 
 
<pre>sudo apt-get install nordugrid-arc-client</pre>
 
This command will also pull in any extra packages needed for the client software.
 
 
 
== Client configuration ==
 
 
 
The configuration file for ARC is located in ''$HOME/.arc/client.conf''. A typical configuration file for SweGrid is shown below:
 
 
 
<pre>[common]
 
defaultservices=index:ARC0:ldap://index1.swegrid.se:2135/Mds-Vo-name=SweGrid,o=grid
 
  index:ARC0:ldap://index2.swegrid.se:2135/Mds-Vo-name=SweGrid,o=grid
 
</pre>
 
The ''giis'' attribute sets the information system URL:s used for job brokering and information. The ''debug'' attribute sets the amount of debug messages shown when using the ARC command line tools. <tt>debug=0</tt> turns debug messages off. ''timeout'' is the timeout value in seconds for how long the commandline tools should wait for a response from a resource before giving up.
 
 
 
More configuration options are available. Please check the [http://www.nordugrid.org/documents/userguide.pdf NorduGrid User's Guide] for more information.
 

Latest revision as of 10:19, 8 February 2023