$Id: README,v 1.1.1.1 2009/04/28 16:53:16 sskipsey Exp $

GridPP DPM admin toolkit
========================

Author: Greig A Cowan, University of Edinburgh
Date: May 2008
Amended: April 2009, Sam Skipsey, University of Glasgow
License: EGEE

This toolkit should help sites running a DPM to manage the installation and to
help manage (or recover from) common problem such as disk failures and pool
draining.


Environment
-----------

It uses the DPM python API, provided by the DPM-interfaces package. For the
tools to work, it is essential that you: 

export PYTHONPATH=$PYTHONPATH:/opt/lcg/lib/python

on 64bit machine this will be

export PYTHONPATH=$PYTHONPATH:/opt/lcg/lib64/python

It also needs the MySQL python interface for the SQL stuff.
This is on sourceforge at http://sourceforge.net/projects/mysql-python


User Level Accounting Support
-----------------------------

This toolkit also provides the necessary tools to enable user-level storage accounting at your site. 
Simply copy the included "/opt/lcg/etc/usage_accounting" script into /etc/cron.d/ and create the user_accounts database with the schema in 
"/opt/lcg/etc/accountingdb.sql". Subsequently, daily summaries of the total storage in your DPM used by each user/group will be written to
the user_accounts database on your SRM's MySQL server.
Adaptations to the DPM monitoring infrastructure will be made available shortly for easy display of the resulting records.


Bugs and support
----------------

Please submit bugs to:

https://savannah.cern.ch/projects/srmsupportuk/

Questions can always be asked on:

gridpp-storage@jiscmail.ac.uk
dpm-users-forum@cern.ch


Announcements and updates
-------------------------

Updates and changes will be announced via the blog and the above mailing lists.

gridpp-storage@blogspot.com


Thanks
------

Ewan McMahon (University of Oxford) for writing the rpm spec file.
Sam Skipsey (University of Glasgow) for contributions to some of the newer tools.
Wahid Bhimji for the hotfiles replication script.
Other contributions always welcome!

