From Dgiref
Installation
The standalone DGAS client with additional packages can be installed.
- the client location is the batch server to generate users records from the batch logs.
- additional package includes
- the
gianduia components to automatically transform the Accounting logs into the DGAS records
- standalone DGAS client to send data to the DGAS server
The necessary grid mapfiles can be obtained automatically with configuration for the gianduia package.
|
download administrator's script: client option 2 |
#!/bin/sh
# install the accounting client without glite CE
# on the batch server
rpm -ihv http://mirror.scc.kit.edu/downloads/rpms/accounting/2010.1/atmClient-standalone-1.0.1-1.i386.rpm
rpm -ihv http://mirror.scc.kit.edu/downloads/rpms/accounting/2010.1/gianduia-1.0.3-1.i386.rpm
Configuration
The following steps should be done to configure the accounting client:
- The torque
/var/spool/torque/server_priv/accounting directory should be exported and mounted by the DGAS client.
- The following file should be configured:
- /glite/etc/dgas_atmClient.conf
- /glite/etc/dgas_ce_getAcctLogd.conf (standard configuration, nothing to be changing)
- /glite/etc/dgas_ce_pushd.conf (siteName abbriviation without spaces!)
- /glite/etc/dgas_gianduia.conf (siteName abbriviation without spaces!)
- /glite/etc/dgas_VOUserHLR.conf (standard configuration, nothing to be changing)
- /opt/glite/sbin/glite-urcollector.pl (includes changes into the writeGianduiottoFile function)
- The
/etc/grid-security directory store the following important files:
- /etc/grid-mapfile.dgas_special
- /etc/groupmapfile.dgas
- SPEC Benchmark
- /opt/glite/etc/dgas_gianduia.conf to be registered for its own resources in the Home Location Register
- Register the user into the DGAS database - send the email with DN into the accounting@rvs.uni-hannover.de
- copy the initial DGAS scripts into the
/etc/init.d and configure the activation with chkconfig
|
download administrator's script: configure option 2 |
#!/bin/sh
# configure the accounting client without glite CE
# mount /var/spool/torque/server_priv/accounting from batch server
# Note: the batch server should export the directory with NFS
TORQUE_SERVER=dgiref-batch.fzk.de
mkdir -p /var/spool/torque/server_priv/accounting
mount -a
#
cat /opt/glite/etc/dgas_ce_pushd.conf
#
cat /opt/glite/etc/dgas_gianduia.conf
#
cat /opt/glite/sbin/glite-urcollector.pl
#
cat /opt/glite/etc/dgas_gianduia.conf
# copy to the /etc/init.d
cp /opt/glite/sbin/glite-dgas-urcollector /etc/init.d
cp /opt/glite/sbin/glite-dgas-pushd /etc/init.d
# configure chkconfig
chkconfig glite-dgas-urcollector on
chkconfig glite-dgas-pushd on