cluster:Accounting/client/1

From Dgiref
Jump to: navigation, search

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
  1.  
  2. #!/bin/sh
  3. # install the accounting client with glite CE
  4. # on the glite CE
  5. 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:

  1. The torque /var/spool/torque/server_priv/accounting directory should be exported and mounted by the DGAS client.
  2. The following file should be configured:
    1. /glite/etc/dgas_atmClient.conf
    2. /glite/etc/dgas_ce_getAcctLogd.conf (standard configuration, nothing to be changing)
    3. /glite/etc/dgas_ce_pushd.conf (siteName abbriviation without spaces!)
    4. /glite/etc/dgas_gianduia.conf (siteName abbriviation without spaces!)
    5. /glite/etc/dgas_VOUserHLR.conf (standard configuration, nothing to be changing)
    6. /opt/glite/sbin/glite-urcollector.pl (includes changes into the writeGianduiottoFile function)
  3. The /etc/grid-security directory store the following important files:
    1. /etc/grid-mapfile.dgas_special
    2. /etc/groupmapfile.dgas
  4. SPEC Benchmark
    1. /opt/glite/etc/dgas_gianduia.conf to be registered for its own resources in the Home Location Register
  5. Register the user into the DGAS database - send the email with DN into the accounting@rvs.uni-hannover.de
  6. copy the initial DGAS scripts into the /etc/init.d and configure the activation with chkconfig
  download administrator's script: install option 1
  1.  
  2. #!/bin/sh
  3. # configure the accounting client with glite CE
  4. # mount /var/spool/torque/server_priv/accounting from batch server
  5. # Note: the batch server should export the directory with NFS
  6. TORQUE_SERVER=dgiref-batch.fzk.de
  7.  
  8. mkdir -p /var/spool/torque/server_priv/accounting
  9. mount -a
  10.  
  11. # 
  12. cat /opt/glite/etc/dgas_ce_pushd.conf 
  13. #
  14. cat /opt/glite/etc/dgas_gianduia.conf
  15. #
  16. cat /opt/glite/sbin/glite-urcollector.pl
  17.  
  18. #
  19. cat /opt/glite/etc/dgas_gianduia.conf
  20.  
  21. # copy to the /etc/init.d
  22. cp /opt/glite/sbin/glite-dgas-urcollector /etc/init.d
  23. cp /opt/glite/sbin/glite-dgas-pushd /etc/init.d
  24.  
  25. # configure chkconfig
  26. chkconfig glite-dgas-urcollector on
  27. chkconfig glite-dgas-pushd on
  download administrator's script: configure option 1
Personal tools