cluster:Accounting/client/2

From Dgiref
Jump to: navigation, search

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.

  1.  
  2. #!/bin/sh
  3. # install the accounting client without glite CE
  4. # on the batch server
  5. rpm -ihv http://mirror.scc.kit.edu/downloads/rpms/accounting/2010.1/atmClient-standalone-1.0.1-1.i386.rpm
  6. 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:

  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: client option 2
  1.  
  2. #!/bin/sh
  3. # configure the accounting client without 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 2
Personal tools