IBM Hub/Switch Switch User Manual


 
HPSS Installation Guide September 2002 491
Release 4.5, Revision 2
Appendix D Accounting Examples
D.1 Introduction
This appendix describes how to set up the gathering of accounting data at a customer site. The
accounting data is used by the customer to calculate charges for the use of HPSS resources. The
accounting data represents a blurred snapshot of the system storage usage as it existed during the
accounting run.
D.2 Site Accounting Requirements
What are the accounting requirements for your site? The accounting department at each site should
be consultedto determine what kind of information it will need attached toeach accounting record.
Based on this, an HPSS Account Index for a user account can be set up in an Account Map to point
to the required information.
Do you need information per user? Per account code? Per group? Some sites will need accounting
totaled on a per user, per Account Index basis. This type of accounting is called Site-style
accounting. There are many sites that will be required to implement charging in this way.
What kindof reports will be generated?Many UNIX resources report usage by user ID (UID). Some
sites will need to use the UNIX-style accounting, which gives accounting totaled on a per user basis
only. The accounting department will provide a program that takes accounting information on a
per user (UID) basis and applies percentages to split out charges for multiple project accounts per
user.
D.3 Processing of HPSS Accounting Data
How should the HPSS accounting data be processed? Should the data be written to a flat file or put
into a site data base?
The default accounting output routine for HPSS generates atext file that contains twotypes of lines.
The first type, denoted by a zero (0) in the third column, gives the following summary information