Cisco OL-15491-01 User Manual

Page 50

Advertising
background image

A-50

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

OL-15491-01

Appendix A CSG2 Command Reference

ip csg bma activate

Usage Guidelines

Use this command to load-balance CDRs among multiple active BMAs.

When the CSG2 uses multiple active BMAs, it sends all CDRs for a given user to a particular BMA. The
CSG2 stores that BMA assignment in the CSG2 User Table entry for that user.

For example, if a configuration has four active BMAs, and one of those BMAs fails, the CSG2 looks for
a suitable standby BMA. If the CSG2 finds a suitable standby BMA, it transfers all of the CDRs from
the failed BMA to the new BMA, and updates all of the affected User Table entries to reflect the new
BMA assignment.

However, if the CSG2 cannot find a suitable standby BMA, it redistributes all of the CDRs from the
failed BMA among the remaining three active BMAs. It does so by finding the User Table entries for the
affected users in the CDRs. The CSG2 then assigns one of the active BMAs to each affected user, and
updates the User Table entries to reflect the new BMA assignments. The CSG2 reassigns all CDRs for
a given user to the same BMA.

If the CSG2 cannot find a User Table entry for a user (for example, the user has logged off), it creates a
temporary sticky object as a placeholder and assigns a new BMA to the sticky object. This ensures that
the remaining CDRs for that user are sent to the same BMA.

Note

This command is valid only if your CSG2 uses multiple active BMAs. If your CSG2 uses one and only
one active BMA, the default settings are sufficient (that is, ip csg bma activate 1 sticky 30).

Examples

The following example shows how to enable support for multiple active BMAs for the CSG2 accounting
service A1. In this example, up to two BMAs can be active at the same time, and the CSG2 deletes
inactive sticky objects after 60 seconds:

ip csg bma activate 2 sticky 60

Related Commands

Command

Description

ip csg bma

Defines the Billing Mediation Agents (BMAs) to which the CSG2
is to send billing records

ip csg quota-server activate

Activates one or more quota servers.

Advertising