show ccd stats

The show ccd stats command displays endpoint statistics for the OCSBC members of the cluster.

ORACLE# show ccd stats
17:10:09-54
                          -------- Period -------    ---- LifeTime ----
 SD                      Active  Rate   High Total  Total PerMax    High
bass                    I285714   0.0 285714    0 285.71K 13.76K 285.71K
guinness                I285714   0.0 285714    0 285.71K 13.76K 285.71K
magichat                I285714   0.0 285714    0 285.71K 13.76K 285.71K
newcastel               I285714   0.0 285714    0 285.71K 13.76K 285.71K
samadams                I285714   0.0 285714    0 285.71K 13.76K 285.71K
sixtus                  I285714   0.0 285714    0 285.71K 13.76K 285.71K
westy                   I285714   0.0 285714    0 285.71K 13.76K 285.71K
Total endpoints: 153908
Total rate     : 0.0
Total SDs      : 9
ORACLE#

The Period stats provided represent an accumulation of data for the amount of time specified after the dash separator in the timestamp printed in the first line of output (in this example, the period represents 54 seconds).

The single ASCII character between the SD column and the Active column is the state of that OCSBC; the letter I represents InService.

The Rate column displays the transmission rate of new endpoint associations to that particular OCSBC. (In the sample, no new endpoints are arriving in the cluster, so all of the OCSBCs show a rate of 0.0.) The High field indicates the highest number of active endpoint associations for the current period.

When issued with an optional hostname argument, the show ccd stats command provides a detailed report for the target hostname.


ORACLE# show ccd stats bass
15:09:25-59
SD bass               [InService]
State                 -- Period -- -------- Lifetime --------
            Active    High   Total      Total Permax     High
Tunnels          1       1       0          2      1        1
Service Ports    2       2       0          2      1        2
endpoints    53571   53571      0      53571  14399    53571
Contacts      53571   53571      0      53571  14399    53571
Sessions         0       0       0          0      0        0

                              ---- Lifetime ----
	                      Recent        Total       PerMax
Heartbeats rcvd              30        27426           15
Heartbeats Missed             0            1            1
Tunnel Adds                   0            2            1
Tunnel Removes                0            1            1
Service Adds                  0            2            1
Service Removes               0            0            0
endpoint Removes             0            0            0
endpoint Promotes            0        53571        13561
endpoints Skipped            0            0            0
Rebalance Source              0            0            0
Rebalance Targe               0            0            0
Rebalance Request             0            0            0
Rebalance Replies             0            0            0
CPU Above Limit               0            0            0
CPU Above Threshold           0            0            0
Online Transitions            0            0            0
Offline transitions           0            0            0
Tunnel Add Fails              0            0            0
CCD Tunnel Add Fails          0            0            0
Tunnel Remove Fails           0            0            0
CCD Tunnel Remove Fails       0            0            0
Service Add Fails             0            0            0
CCD Svc Add Fails             0            0            0
Service Remove Fails          0            0            0
CCD Svc Remove Fails          0            0            0
Service Adds No Cfg           0            0            0
Bad Service Handle            0            0            0
endpoint Remove Fails        0            0            0
endpoint Prom Fail           0            0            0
ORACLE#

The Period stats provided represent an accumulation of data for the amount of time specified after the dash separator in the timestamp printed in the first line of output (in this example, the period represents 59 seconds).

Tunnels contains the number of tunnels between the OCSLB and the target OCSBC, in this case, bass.

Service Ports contains the number of Service Ports advertised by the target OCSBC when it joined the cluster.

endpoints and Contacts contain the number of endpoint associations the OCSLB has assigned to the target OCSBC. If there is only one registering device at a given endpoint, a one-to-one correlation between endpoints and contacts is expected. However, if the atom-limit-divisor parameter has been set to a non-default value, the number of contacts exceeds the number of endpoints.

Sessions contains the number of active calls.

The Lifetime stats provided represent an accumulation of data since the last reboot.

HeartBeats rcvd contains the number of heartbeat/keepalive messages received from the target OCSBC. Heartbeats are sent every two seconds by the OCSBC.

HeartBeats Missed contains the number of scheduled heartbeat/keepalive messages not received from the target OCSBC.

The Tunnel Adds and Tunnel Removes counters are incremented when an OCSBC joins the cluster and leaves the cluster, respectively.

The Service Adds and Service Removes counters are incremented when an OCSBC advertises support for a service and withdraws support for a service, respectively. This generally happens only when an OCSBC first joins the cluster, or if the configuration on a clustered OCSBC is changed, saved, and activated.

The endpoint Removes counter tracks the number of OCSBC-originated Cluster Control messages that request the OCSLB to delete a forwarding rule. Such a request can be the result of (1) a rebalance operation (when the OCSLB asks for the OCSBC to nominate candidates for rebalancing), (2) an endpoint de-registration with the OCSBC, or (3) an endpoint is power down. Generally, whenever a registration cache entry on a clustered endpoint is removed by the OCSBC, it notifies the OCSLB to remove that binding.

The endpoint Promotes counter tracks the number of promotion messages the OCSBC sends to the OCSLB to validate an untrusted forwarding rule. When the SLB first creates a forwarding rule for a new endpoint, it treats it as untrusted. When the OCSBC receives a 200 OK for a REGISTER message from that endpoint’s registrar, the OCSBC sends a Promote Cluster Control message to the OCSLB. At this point, the OCSLB modifies the particular forwarding rule and assigns it trusted status. If this Promote message is not received within the time configured as the untrusted-grace-period in the lbp-config, the OCSLB deletes the untrusted entry.

endpoints Skipped contains the number of endpoints in its registration cache that the OCSBC has skipped over during a rebalance request. Skipping may be done for one of two reasons: either the most appropriate user for rebalancing was in an active phone call (and rebalance-skip-calls was enabled in cluster-config), or the rebalance-skip-ahead value in cluster-config was set to a nonzero value. In this case, when the OCSBC is asked to nominate users for rebalance, it will skip over any users whose registration cache entry is due to expire within the number of milliseconds set as the rebalance-skip-ahead value.

Rebalance Source contains the number of times the target OCSBC was used as a source of endpoints during a rebalance operation (that is, it supplied endpoints to a cluster member that was added to the cluster after itself).

Rebalance Target contains the opposite: the number of times that OCSBC was the recipient of endpoints from other sources during a rebalance operation.

The Rebalance Requests and Rebalance Replies counters increment upon receipt of a Cluster Control message from the OCSLB to the OCSBC asking it to divest itself of endpoints, and the responsive Cluster Control message from the OCSBC that indicates the endpoints the OCSBC has chosen.

The CPU Above Limit and CPU Above Threshold counters increment whenever an OCSBC has reported a high CPU value, and has been taken out of consideration for new endpoint assignments. Generally, the CPU limit and threshold are the same value (90%). However, it is possible to configure the threshold to be lower using the sip-config option load-limit.