
This directory contains the NorduGrid Information System (infosys).
The infosys is built on / integrated into the Globus MDS.


Quick Manual Installation:
--------------------------

1, copy the nordugrid.schema to the $GLOBUSLOC/etc, add a line 
   "include    $GLOBUSLOC/etc/nordugrid.schema"
   to the $GLOBUSLOC/etc/grid-info-slapd.conf file.

2, copy the *.pl *.pm information providers to your system

3, edit the info.conf file to contain the static values of your system

4, copy the nordugrid-ldif.conf to $GLOBUSLOC/etc/grid-info-resource-ldif.conf,
   modify this file according to your hostname,queues,script location
   (check out the dn: path: and args: lines of each entry) 


Recommended Installation:
-------------------------

Please download/install the nordugrid-server-rpm from the download area
and follow the $NORDUGRID_LOCATION/share/doc/arc.conf.template
to create the /etc/arc.conf. 


Files:
------

README			this file
info.conf		the COMMON configuration file of the providers
nordugrid-ldif.conf 	the file which integrates the nordugrid providers to Globus MDS
nordugrid.schema	infosys schema file
infosys_shared.pm	shared perl functions
InfosysCluster.pm       module for cluter providers
InfosysQJU.pm		module for q+j+u providers
cluster-pbs.pl		cluster information for PBS
queue+jobs+users-pbs.pl	queue and jobs and users information, calculates everything under a queue for PBS
rc.pl			info provider for a Replica Catalog
se.pl			info provider for a Storage Element
cluster-gm.pl		template script for porting to unsupported LRMS
queue+jobs+users-gm.pl  template script for porting to unsupported LRMS


Porting to unsupported LRMS:
----------------------------

Two templates are provided (cluster-gm.pl and queue+jobs+users-gm.pl) as a starting point for
porting the infosys to an unsupported LRMS. Copy the scripts to 
$NORDUGRID_LOCATION/libexec/ as cluster-new.pl and queue+jobs+users-new.pl
and specify the lrms="new" in the arc.conf's [common] block.
You may need to copy the InfosysCluster.pm, InfosysQJU.pm module files as well.

After restarting the infosys, the providers will correctly report all the data which are
available on the frontend or can be determined from the Grid Manager.
LRMS specific values are set as one of the  "13, 66, 133 or dummy".
The templates are functional "out-of-the-box", job submission, cancellation,
using the ng* commands should be possible once the GM-side port is completed.

Porting requires going through the templates and modifing/filling sections marked as
#<LRMSPORT
..
..
#LRMSPORT>

Always consult the nordugrid.schema file for definition of attributes.

You may need extra configuration options you can add those to the relevant 
[...] block of the arc.conf but be aware of fact that the infosys startup 
script regenerates the config files of the infoproviders scripts. Therefore with every
new config parameter the "CVS/config/nordugrid.info" 
(or $NORDUGRID_LOCATION/libexec/nordugrid.info) config helper script needs to be modified.
