My Oracle Support Banner

How To Generate QoS Statistics for PCM_OP_BAL_GET_ECE_BALANCES Opcode (Doc ID 2104726.1)

Last updated on OCTOBER 30, 2023

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.0.0 to 7.5.0.0.0 [Release 7.5.0]
Oracle Communications BRM - Elastic Charging Engine - Version 11.2.0.0.0 and later
Information in this document applies to any platform.

Goal

How to generate the QoS statistics for PCM_OP_BAL_GET_ECE_BALANCES Opcode?

On Billing and Revenue Management (BRM) 7.5.0.0.0 with Elastic Charge Engine (ECE) 11.2, one user has configured Connection Manager (CM) Quality-of-Service (QoS) statistics for PCM_OP_BAL_GET_ECE_BALANCES opcode as per the documentation and restarted CM and tested through testnap. But it is not generating QoS statistics.

ERROR:
-----------------------
D Thu Jan 21 12:32:58 2016 <HOSTNAME> cm:19261 cm_child.c(128):4496 1:<HOSTNAME>:testnap:19259:-142768416:0:1453359761:0
    CMAP: _em opcode PCM_OP_BAL_GET_ECE_BALANCES is not in the port list
D Thu Jan 21 12:32:58 2016 <host_name> cm:19261 cm_child.c(128):4505 1:<HOSTNAME>:testnap:19259:-142768416:0:1453359761:0
    CMAP: _em opcode PCM_OP_BAL_GET_ECE_BALANCES is in the _EM_OP list
D Thu Jan 21 12:32:58 2016 <HOSTNAME> cm:19261 cm_child.c(128):4623 1:<HOSTNAME>:testnap:19259:-142768416:1281:1453359778:1
    no pin_fld_context_info
D Thu Jan 21 12:32:58 2016 <HOSTNAME> cm:19261 cm_child.c(128):4776 1:<HOSTNAME>:testnap:19259:-142768416:1281:1453359778:1
    CMAP: op_custom() past op_decode, opcode: PCM_OP_BAL_GET_ECE_BALANCES
D Thu Jan 21 12:32:58 2016 <HOSTNAME> cm:19261 cm_child.c(128):4788 1:<HOSTNAME>:testnap:19259:-142768416:1281:1453359778:1
    CMAP: op_custom() calling fwd_op_to_em, opcode: PCM_OP_BAL_GET_ECE_BALANCES
D Thu Jan 21 12:32:58 2016 <HOSTNAME> cm:19261 cm_em.c(25):178 1:<HOSTNAME>:testnap:19259:-142768416:1281:1453359778:1

STEPS of Configuring CM QoS Statistics:
-------------------------------------------------------

1. Enable or disable the collection of opcode QoS statistics:

    *  Open the CM pin.conf file in $BRM_HOME/sys/cm
    *  Change the value of the cm_opcode_stats entry

    The syntax is:
    - cm cm_opcode_stats opcode QoS_1 [, QoS_2, ... QoS_7]

    where opcode can be an opcode name or opcode number.

    For example,
    1) to use an opcode name and four buckets, enter:
        - cm cm_opcode_stats PCM_OP_BAL_GET_ECE_BALANCES 10, 20, 30

    2) to use an opcode number and four buckets, enter the following:
        - cm cm_opcode_stats 1281 10, 20, 30

    Note: If the entry does not exist, you can add it anywhere in the file.

2. Set in $BRM_HOME/sys/cm/pin.conf:

    - cm em_group ece_bal PCM_OP_BAL_GET_ECE_BALANCES
    - cm em_pointer ece_bal ip

    For example:
    - cm em_pointer ece_bal ip <IP_ADDR>:15502

    Note: CM needs to be restared.

3. Test via testnap with below sample Input flist:

   0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gsm/telephony <HOSTNAME>x 0
   0 PIN_FLD_LOGIN STR [0] "0049100401"
   0 PIN_FLD_START_T TSTAMP [0] (1577985000)
   0 PIN_FLD_MODE ENUM [0] 1 --- (Optional default is '0' summery mode)

   Output returned

   nap(32226)> xop 1281 0 1

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.