5.54
Select an Appropriate Accounting Mode
Moab Accounting Manager can be configured to be used in a variety of different accounting modes. Some sites may wish to create and enforce resource usage limits through allocations. Others may want to impute a charge amount to their workload, but never deny workload based on availability of funds. Still others may not wish to calculate a charge at all, but simply record the usage details of the workload. Select the accounting mode from the following options that best matches your requirements.
- strict-allocation - Use this mode if you wish to strictly enforce allocation limits. Under this mode, you can prevent workload from running if the end-users do not have sufficient funds. Funds, allocations, quotes, liens, charge rates, and usage records support this mode. Before a job runs, MAM places a lien (or hold) against the user's funds to prevent overcommitment of their allocation. When a job completes, MAM removes the lien, debits the user's allocation, and records the workload usage details and charge in a usage record. This is the normal default.
- fast-allocation - Use this mode if you wish to debit allocations but need higher throughput by eliminating the lien and quote of strict-allocation mode. If you implement it properly through scripts, you can replace the lien and quote of strict-allocation mode with an asynchronous balance check, causing MAM to disable the accounts from further use after the first job that causes the fund to become negative. Funds, allocations, balance checks, charge rates and usage records support this mode.
- notional-charging - Use this mode if you wish to calculate and record charges for workload usage but not keep track of fund balances or allocation limits. Charge rates and usage records support this mode. The workload usage details and charge are recorded in a usage record.
- usage-tracking - Use this mode if you wish to simply record workload usage details but not to calculate a charge nor keep track of fund balances or allocation limits. Usage records support this mode.
Once you have determined the accounting mode that best matches your requirements, refer to the corresponding setup guide to prepare Moab Accounting Manager and Moab Workload Manager for your selected accounting mode. See Follow the Setup Guide for Your Selected Accounting Mode.