Advanced Resource Connector (ARC)
=================================

Release Announcement for NorduGrid ARC 11.04     April 18, 2011
----------------------------------------

The Advanced Resource Connector (ARC) middleware, introduced by
NorduGrid (www.nordugrid.org), is an open source software solution
enabling production quality computational and data Grids since May
2002. The previous production ARC release, version 0.8.3.1 was
released on December 21, 2010.

The 11.04 release of the ARC software collects and integrates several
innovative next generation services and client tools into a consistent
software release. ARC 11.04 adds a new client that can be run on both
Windows and MacOS X. It can also submit jobs both through the old
gridftp interface as well as through the new WS-based interface. The
GridManager has been replaced by a refactored and improved version
called A-REX. Information system now supports publishing into Glue2,
there is also improved support for Glue 1.2.

NorduGrid ARC 11.04 is now available for download from our
repositories. This version contains a lot of changes compared to
previous versions of ARC. Importantly, release number does not
reflect version of packages: most packages in release 11.04 have
version number 1.0.0.

IMPORTANT change: With this ARC release, the Grid Manager component
will reach its End of life support. Please (re-)read the previously
communicated change:

http://www.nordugrid.org/arc/gm-eol.html



Availability:
Source:
--------------
The main package is available from here:
svn co http://svn.nordugrid.org/repos/nordugrid/arc1/tags/1.0.0 arc-1.0.0

NorduGrid ARC Compat is available from:
svn co http://svn.nordugrid.org/repos/nordugrid/arc0/tags/compat_1.0.0 arc_compat-1.0.0

Documentation is available from
svn co http://svn.nordugrid.org/repos/nordugrid/docs/tags/1.0.0 arc_doc-1.0.0

arcjobtool is available from:
svn co http://laportal.svn.sourceforge.net/svnroot/laportal/tags/arcjobtool-0.3.0-arc/ arcjobtool_0.3.0

Repositories:
-------------
http://download.nordugrid.org/repos.html

============================================

Package changes:

The latest official ARC release was 0.8.3.1 and contained packages:
Nordugrid ARC version 0.8.3.1
Nordugrid ARC NOX version 1.2.1
arcjobtool version 0.3.0

This ARC release is 11.04 (we use the same numbering scheme as Ubuntu) and will contain packages:
NorduGrid ARC version 1.0.0
NorduGrid ARC compat version 1.0.0
NorduGrid ARC Documents 1.0.0
arcjobtool version 0.3.0

Repository changes:

Beginning with this release, we have changed our packaging in such a
way that you will not be automatically upgraded between major
versions. This means that if you have 0.8.3.1 installed, you will need
to manually add a new repository in order to get 11.04.

============================================

These are the main changes/new features:

Changes client-side:
* The main supported client has changed from the ng* tools (ngsub,
  ngstat, ngkill, ngtest etc) to arc* tools (arcsub, arcstat, arckill,
  arcproxy etc).

* The ng* tools will remain in the nordugrid-arc-compat package

* The new clients support submitting jobs with xrsl as well as new JSDL

* The new clients support submitting jobs to CREAM

* The new clients can be run on Mac OSX and Windows in addition to
  Linux.

Changes server-side:

* New services/support for services were added:
** Janitor - Helps with automating RTE handling
** ISIS - New web-services based information system
** ARGUS - Support has been added for gLite ARGUS
** Chelonia - Experimental support for this new storage framework.

* The grid-manager has been re-factored and renamed to A-REX, you now
  start grid-manager with /etc/init.d/a-rex start

* A new configuration-format (xml) is now supported together with the
  old arc.conf

* ca-utils has been discontinued, fetch-crl should be used instead

* Information can now be published in Glue2 as well as NorduGrid MDS
  and Glue 1.2

* Glue 1.2 generation has been updated to publish more information.

* ARC can now be used as a site-bdii as well a resource-bdii for Glue
  1.2.

* ARC now supports setting a "defaultmemory" attribute in arc.conf, this will be used in case a user does not specify memory requirements in their submit-script

* ARC has seen performance improvements in both job-handling and
  information publishing.

* ARC will by default use logrotate to rotate logs when installed
  through packages.

* By default, arc now logs in /var/log/arc

* ARC now supports 3GBridge as a backend (XtremWeb, Boinc)

* ARC can now handle routing queues in PBS

* ARC infosys can now be run as other users than root



Changes in libraries and other general changes:

* ARC is now installed under /usr instead of /opt/nordugrid

* ARC libraries now use so-names.

* Some components have gotten SELinux integration

* ARC can now be compiled with ICC

* ARC now has many more unit-tests further increasing the reliability of the software

============================================


ARC components in EMI

A number of ARC 11.04 components are available on Scientific Linux 5 platform
through EMI-1 release. 

== ARC Compute Element

What's new:
-----------

   * ARC Compute Element (ARC CE) in EMI-1 "Kebnekaise" release is a major step 
   forward with respect to previous releases, as it completes migration to the 
   new code base.
   * Grid Manager service, which was at the heart of ARC CE for a decade, is 
   completely refactored and re-engineered, while keeping all of its key features 
   that made it so reliable and attractive, including automatic data caching and 
   staging. The "replacement" is called A-REX (for ARC Resource-coupled EXecution 
   service), which is a more sustainable, scalable and extendible (e.g. via plugins) 
   solution.
   * A-REX provides a new WS-based interface in addition to the gridftp-based 
   pre-ws interface, thus preserving backwards interface compatibility
   * A-REX can publish, through the LIDI WS interface, GLUE2 XML information
   * A-REX comes with set of information providers that can feed GLUE2 LDAP 
   information into the ARIS service
   * A-REX comes with support for new back-end for the EDGI 3GBridged.
   * As experimental feature A-REX offers improved input/output data handling 
   framework
   * As an experimental feature A-REX comes with and ARGUS authorisation plugin.
   * The dynamic runtime environment module, the Janitor is another experimental 
   new feature
   * None of the experimental features are turned on by default, they offer 
   preview of technologies to come in next releases.
   * There were no major changes in the norduridmap utility.

 In total, 48 bugs in A-REX and associated components were fixed since the previous 
 ARC CE release in October 2010. These included fixing configuration issues, problems 
 with handling of some job description attributes (both JSDL and xRSL), glitches 
 in some internal job states, and improving performance and functionality of batch 
 system interfaces. Complete list of fixes is available in the extended ARC Release Notes.

Deployment notes:
-----------------

   * For sites deploying ARC 0.8.3 or ARC 0.8.3.1 releases, a smooth upgrade path 
    via Yum is provided. Since this will imply switch from Grid Manager to A-REX, 
    careful check is advised. Please refer to Grid Manager EOL notes 
    (http://www.nordugrid.org/arc/gm-eol.html) for details.

   * To deploy a functional computing element with the current production interfaces 
   one needs to install the new "nordugrid-arc-arex" package together with ARIS 
   and gridftp server packages. The later two are necessary to provide interface 
   backward compatibility. It is also recommended to deploy the gridmap-utils 
   package. A metapackage will be provided to enable easy installation of an ARC CE.

   * To start the A-REX service use "/etc/init.d/a-rex start" (there is a 
   compatibility grid-manager symlink provided too).

   * By default, A-REX uses configuration file from the old Grid Manager. 
   Configurations taken from previous ARC CE deployments should work out of the box.

   * There were numerous changes to the configuration parameters and options. 
   None of the changes are backward incompatible. The comprehensive list can be 
   found in the A-REX documentation.

Known Issues
------------

   * GLUE2 XML document published by A-REX is incomplete due to the absence of 
   official XML rendering

== ARC Core

What's new:
-----------
Features

    HED code cleaning as a preparation for Argus integration
    Implemented full request in Argus plugin using ARC schema
    Time resolution in HED enhanced till nanoseconds
    HED logging framework was extended to be compatible with external log rotation solutions
    More logging formats introduced for special cases
    Introduced per-thread objects handling for more fine grained logging
    Enhanced configuration framework to increase usability
    Support for Python3000 in language bindings
    Functionality improvements in XML handling
    Performance enhancements of Loader module by avoiding multiple loading/scanning of same pluging
    Added additional authorization protection in delegation interface classes
    New implementation of file locking. Now with timeouts and owner control.
    The nordugrid grid-update-crls security utility has been deprecated in favour of fetch-crl.
    Performance improvements of GridFTP module

Most important bugs:

    Bugfixes in Argus plugin enhancing robustness
    Run class loosing output produced by child process
    Run class slow while running quick processes
    Run class not behaving properly after fork()
    HTTP class was not handling all requests
    Proper lock around use of non-concurent thrird party libraries (like LFC, RLS)
    MCC loading failure were not detected
    Numerous fixes for making more features useful on Win32
    TCP connection interrupted by POSIX signal
    "Not implemented" error not handled properly in HTTP code
    VOMS handling code error not handled and causes segfault
    Utilities long options without short pair not recognised
    Numerous code fixes to comply with more strict compilers
    Numerous memory leaks and buffer overflow protections
    Amount of memory for thread stacks was not estimated properly on 64-bit CPUs.
    Detailed list of fixed bugs can be found in the ARC release notes.

Deployment notes:
-----------------

    Note that this installation removes grid-crl-update and replaces it with fetch-crl and renders the nordugrid-arc-ca-utils package empty. For backward compatibility fetch-crl is enabled through cron.

    There are no changes in the HED deployment. After deploying the new version of the ARC Core, the HED can be started the usual way, no extra measures are necessary.

    There were no configuration changes since the latest release.

    
== ARC Infosys

What's new:
-----------

    Support for publishing resource information using LDAP rendering of glue2 within ARIS.
    Initial support for making ARIS act as a site-bdii (experimental).
    Improved file locking in the EGIIS index server relay utility.
    Stability fixes in both ARIS and EGIIS.
    Improved handling of non-ascii information
    The start-up script now handles bad shutdowns properly
    Fix for publishing of draining remote grid-manager directories

Deployment notes:
-----------------

    There are no changes in the Grid Monitor deployment.

    The ARIS is deployed by installing the nordugrid-arc-aris package. If you are upgrading from an earlier release, the update should be automatic from any of the previous packages (nordugrid-arc-infosys-ldap, nordugrid-arc-nox-ldap-infosys).

    The EGIIS is deployed by installing the nordugrid-arc-egiis package. If you are updating from an earlier release, the update from nordugrid-arc-nox-giis should be automatic. A meta package nordugrid-arc-information-index is also provided to easy deployment.

    In order to keep publishing the same information as before in ARIS, no configuration changes are needed.

    New configuration options were introduced for enabling publishing new information in ARIS:

In order to enable or disable different information schemas in the output, the following variables can be set in the [infosys] section of the arc.conf (defaults as indicated below):

infosys_nordugrid="enable"
infosys_glue12="disable"
infosys_glue2_ldap="disable"

In order to publish site bdii information a new [infosys/site/<sitename>] section should be added to the arc.conf configuration file, containing a unique_id option identifying the site and a url option giving the address to the resource bdii.

    There are no configuration changes for EGIIS

== ARC gridftp server

What's new:
-----------

    code cleanup: moved code over to the HED code base this way removing previous duplications

    Numerous code fixes to comply with more strict compilers

    Information about root of virtual file system was not reported properly

    Fixing code to work on non-Linux systems

    Fix for building without GACL

    Fixes for startup script to fit Fedora

Deployment notes:
-------------------

    There are no changes in the ARC-gridftpd server deployment. After deploying the new version of the ARC-gridftp, the service can be started the usual way, no extra measures are necessary.

    There are no changes in configuration.

== ARC Clients

What's new:
-----------

    ARC Clients in EMI-1 "Kebnekaise" release is a major step forward with respect to previous releases, as it completes migration to the new code base. With this release the ng* clients are replaced by the arc* clients.
    Introduction of a modular architecture, which comes to its power in the libarcclient and libarcdata2 libraries.
    Compute client comes with plugins providing functionality for job submission, resubmission, and job management against the pre-WS ARC, A-REX, CREAM and any BES-based Execution Service (ES).
    Compute client supports job migration between A-REX instances.
    Compute client supports resource discovery based on EGIIS, ISIS and BDII index services.
    Compute client offers matchmaking and ranking by shortest queue, clock speed, benchmark or data location.
    Compute client offers job description translation between the XRSL, JSDL and JDL languages.
    Modular libarcclient allows easy extension for additional services, ranking algorithms, or job description languages.
    New plugins-based data library, libarcdata2, replaces previous data library.
    Data access is now managed through DMCs, protocol-specific plugins.
    New data clients (arcls, arccp, arcrm, arcsrmping) replace previous data clients (ngls, ngcp, ngrm, ngtransfer, ngstage, ngacl).
    Improved default output for arcls, now closer to UNIX ls. Options are provided to specify non-default output.
    Improved error messages for arcls and arccp, improved calculation of file checksums.
    Fixed a bug where the check for readability (arcls -c) failed incorrectly in some cases.
    Fixed a bug where metadata from gridftp objects were incorrectly reported.

    arcproxy bugfixes: arcproxy - dteam VO error (#2026), arcproxy does not search /etc/vomses recursively (#2118), Segmentation fault with arcproxy with invalid vomses file (#2155)

Deployment notes:
-----------------

    With this release the new clients (arc) utilising the strength of libarcclient and libarcdata2 replace the old clients (ng).The behaviour and interface of the new clients slightly differs from the old ones, so for compatibility reasons the ng* still distributed as part of the compat package.
    The old arclib is now replaced by the new libraries and tagged as obsolete (though still available).
    Previous clients (ng*) are now available from nordugrid-arc-compat package.
    The new clients (arc*) are available from the nordugrid-arc-client package.
    The libracclient and libarcdata2 libraries are available from the nordugrid-arc package.
    The DMCs and different plugins are available from nordugrid-arc-plugins-needed and nordugrid-arc-plugins-globus (the latter requires globus).

Known Issues
-------------

    The new arc* commands are not 100% compatible with the old ng* commands. A detailed analysis of the differences are provided as part of client component documentation.

    Recursive copy using ngcp -r deletes existing files (see nordugrid bug #2132). Use caution when using ngcp -r or use arccp -r instead.

*There are additional non-critical smaller issues registered in NorduGrid bugzilla. 




============================================



Additional documents:

Document describing the next release, used internally:
http://wiki.nordugrid.org/index.php/ARC_Next

Information for people coming from ARC 0.x series:
http://wiki.nordugrid.org/index.php/Gm_to_arex_migration
