Table of Contents

Package Map

The Package Map file maps a TapeTrack Customer-ID to the billing package that applies to that Customer.

The map is used by TMSS10LogStatsProcess when processing TapeTrack statistics (.ttstats) files for billing.

The Package Map allows different Customers to use different billing rates and calculation rules while being processed through the same billing configuration.

For example, Customer US01 may use the STANDARD package, while Customer US02 uses the PREMIUM package.

The Package Map does not define the rates or billing calculations. These are defined in the Billing Rules.

Purpose

The Package Map provides a consistent relationship between a TapeTrack Customer-ID and the approved billing package assigned to that Customer.

The file can be used to:

File Location

The Package Map can be stored in any directory accessible to the account running the billing process.

For ease of administration, it is recommended that all approved billing configuration files are stored in a dedicated directory.

Example Windows location:

C:\Program Files\TapeTrack\TapeTrack Framework Server\etc\billing\package.txt

Example Linux location:

/etc/tapetrack/billing/package.txt

The location of the file is supplied to TMSS10LogStatsProcess using the -P argument.

File Format

The Package Map is a plain-text file.

Each mapping contains:

The general format is:

CUSTOMER-ID Package Name

Example:

Customer-ID Billing Package
US01 STANDARD
US02 PREMIUM

When a billing record contains Customer-ID US01, the billing processor selects the STANDARD package and applies the corresponding Billing Rules.

The following example contains two TapeTrack Customers.

package_map.txt
#
# TapeTrack Billing Package Map
#
# Format:
# CUSTOMER-ID Package Name
#
 
US01 STANDARD
US02 PREMIUM

Lines beginning with a hash character (#) are comments and are ignored during processing.

Comments should be used to document:

The package name must correspond to a package defined in the Billing Rules.

For example:

Customer-ID Package Map Value Billing Rules Package
US01 STANDARD STANDARD
US02 PREMIUM PREMIUM

Troubleshooting

Billing Package Is Missing

Check that:

Incorrect Billing Package

Confirm that:

Incorrect Rates Are Applied

The Package Map may select the correct package while the rates defined in the Billing Rules are incorrect.

Check both configurations:

  1. Customer-ID to billing package in the Package Map.
  2. Billing package to rates and calculations in the Billing Rules.

The Package Map and Billing Rules are separate configuration stages. The Package Map selects the package, while the Billing Rules define the charges belonging to that package.

Customer Has No Billing Output

Check that:

Security

The Package Map does not normally contain passwords or authentication details. However, it contains commercial information about the billing arrangements assigned to Customers.

Access should therefore be restricted to:

The file should not be publicly accessible or stored in an unsecured shared directory.

See Also