From Dgiref
Installation
The DGAS client is located into the gLite 3.1 server and based on the LCG-CE packages installation:
- glite-dgas-common
- glite-dgas-hlr-clients
- lcg-dgas-tools
|
download administrator's script: install option 1 |
#!/bin/sh
# install the accounting client with glite CE
# on the glite CE
yum install glite-dgas-common.i386 glite-dgas-hlr-clients.i386 lcg-dgas-tools.i386
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 1 |
#!/bin/sh
# configure the accounting client with 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