58
Oracle® Communications Subscriber- Aware Load Balancer Essentials Guide Release S-CZ7.2.10 April 2017

Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Oracle® Communications Subscriber-Aware Load BalancerEssentials GuideRelease S-CZ7.2.10

April 2017

Page 2: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Notices

Copyright© 2017, 2013, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containingrestrictions on use and disclosure and are protected by intellectual property laws. Except as expresslypermitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate,broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in anyform, or by any means. Reverse engineering, disassembly, or decompilation of this software, unlessrequired by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyonelicensing it on behalf of the U.S. Government, then the following notice is applicable:

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integratedsoftware, any programs installed on the hardware, and/or documentation, delivered to U.S.Government end users are "commercial computer software" pursuant to the applicable FederalAcquisition Regulation and agency-specific supplemental regulations. As such, use, duplication,disclosure, modification, and adaptation of the programs, including any operating system, integratedsoftware, any programs installed on the hardware, and/or documentation, shall be subject to licenseterms and license restrictions applicable to the programs. No other rights are granted to the U.S.Government.

This software or hardware is developed for general use in a variety of information managementapplications. It is not developed or intended for use in any inherently dangerous applications,including applications that may create a risk of personal injury. If you use this software or hardware indangerous applications, then you shall be responsible to take all appropriate fail-safe, backup,redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaimany liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may betrademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARCtrademarks are used under license and are trademarks or registered trademarks of SPARCInternational, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks orregistered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The OpenGroup.

This software or hardware and documentation may provide access to or information about content,products, and services from third parties. Oracle Corporation and its affiliates are not responsible forand expressly disclaim all warranties of any kind with respect to third-party content, products, andservices unless otherwise set forth in an applicable agreement between you and Oracle. OracleCorporation and its affiliates will not be responsible for any loss, costs, or damages incurred due toyour access to or use of third-party content, products, or services, except as set forth in an applicableagreement between you and Oracle.

Page 3: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Contents

1 Introduction and Overview.............................................................. 7Functional Overview......................................................................................................................................... 7Balancing and Rebalancing............................................................................................................................... 8

Balancing..................................................................................................................................................8Rebalancing............................................................................................................................................. 8

IPv4 IPv6 Dual Stack..........................................................................................................................................9SLB Cluster Member Graceful Shutdown.................................................................................................... 10

High-level Procedure for Graceful SBC Shutdown ........................................................................10Detailed Description of Graceful Shutdowns with Active SIP Calls or Registrations............... 11

2 New for S-Cz7.2.10........................................................................13Caveats for Release S-Cz7.2.10....................................................................................................................... 14Known Issues for Release S-Cz7.2.10............................................................................................................ 15

3 Subscriber-Aware Load Balancer Configuration............................. 19SLB Configuration............................................................................................................................................19

Acme Packet 6100 Physical Interfaces............................................................................................... 19Provisioning Entitlements...................................................................................................................20SLB Tunnel Configuration...................................................................................................................21Cluster Configuration.......................................................................................................................... 22Service Ports Configuration................................................................................................................ 26Traffic Policy Configuration ...............................................................................................................27Load Balancer Policy Configuration..................................................................................................28Distribution Policy Configuration..................................................................................................... 30Forced Rebalance..................................................................................................................................34

SBC Configuration............................................................................................................................................35SBC Tunnel Configuration.................................................................................................................. 35SIP Configuration................................................................................................................................. 37Online Offline Configuration..............................................................................................................38

4 SLB/Cluster Management & Diagnostics........................................41SLB Statistics..................................................................................................................................................... 41

show balancer....................................................................................................................................... 41Cluster Control Protocol Statistics................................................................................................................. 47

show ccd................................................................................................................................................ 47SBC Cluster Member Statistics....................................................................................................................... 53

show sip lb-endpoints..........................................................................................................................53show sip ccp.......................................................................................................................................... 54

5 Subscriber-Aware Load Balancer SNMP Reference.........................57Overview........................................................................................................................................................... 57Enterprise Traps................................................................................................................................................57License MIB (ap-license.mib)..........................................................................................................................57Subscriber-Aware Load Balancer MIB (ap-slb.mib).................................................................................... 58

Oracle® Communications Subscriber-Aware Load Balancer 3

Page 4: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

4 Oracle® Communications Subscriber-Aware Load Balancer

Page 5: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

About this guide

Version S-Cz7.2.10 provides an updated release of the Oracle Communications Subscriber-Aware LoadBalancer (SLB). This guide describes that release.

This guide is written for network administrators and architects, and provides information about the SLBconfiguration. For information on configuration and operation of Session Boarder Controller (SBC) andUnified Session Manager (USM) SLB cluster members, refer to the related documentation set for the releaseused. Each of these SBC and USM releases support SLB cluster membership, in addition to the fullcomplement of other SBC functionality.

Related Documentation

The following table describes the documentation set for this release.

Document Name Document Description

Oracle Acme Packet 6100Hardware Installation andMaintenance Guide

Contains information about the components, installation, andmaintenance of the Acme Packet 6100.

Oracle Acme Packet 6300Hardware Installation andMaintenance Guide

Contains information about the components, installation, andmaintenance of the Acme Packet 6300.

Oracle Acme Packet 4500Hardware Installation andMaintenance Guide

Contains information about the components, installation, andmaintenance of the Acme Packet 4500.

Oracle Acme Packet 4600Hardware Installation andMaintenance Guide

Contains information about the components, installation, andmaintenance of the Acme Packet 4600.

Release Notes Contains information about the current documentation set release,including new features and management changes.

ACLI Configuration Guide Contains information about the administration and softwareconfiguration of the SBC.

ACLI Reference Guide Contains explanations of how to use the ACLI, as an alphabeticallistings and descriptions of all ACLI commands and configurationparameters.

Maintenance andTroubleshooting Guide

Contains information about SBC logs, performance announcements,system management, inventory management, upgrades, working withconfigurations, and managing backups and archives.

MIB Reference Guide Contains information about Management Information Base (MIBs),Acme Packet’s enterprise MIBs, general trap information, includingspecific details about standard traps and enterprise traps, SimpleNetwork Management Protocol (SNMP) GET query information(including standard and enterprise SNMP GET query names, objectidentifier names, numbers, and descriptions, as well as examples ofscalar and table objects.

Accounting Guide Contains information about the SBC’s accounting support, includingdetails about RADIUS accounting.

Oracle® Communications Subscriber-Aware Load Balancer 5

Page 6: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Document Name Document Description

HDR Resource Guide Contains information about the SBC’s Historical Data Recording(HDR) feature. This guide includes HDR configuration and system-wide statistical information.

Administrative SecurityEssentials

Contains information about the SBC’s support for its AdministrativeSecurity license.

Security Guide Contains information about security considerations and best practicesfrom a network and application security perspective for the OracleCommunications Session Border Controller family of products.

Revision History

Date Description

April 2015 Initial Release of software version S-Cz7.2.10

June 2015 Adds Other Known Issues section and known issue about overlappingnetworks.

October 2015 Updates changes to the Known Issues list for S-Cz7.2.10p3.

February 2016 Adds Acme Packet 4600 to list of supported cluster member platforms.

March 2016 Adds OCSBC-S-Cz7.3.0 to list of supported SBC releases.

August 2016 Added that you can have only 1 SLB per cluster and each SBC must beassociated with only 1 cluster.

April 2017 Removes the description of the tls-profile parameter from the tunnel-configelement because it is not functional.

Replaces incorrect references to product names

About this guide

6 Oracle® Communications Subscriber-Aware Load Balancer

Page 7: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

1Introduction and Overview

As service providers deploy larger and larger SIP access networks, scalability problems are presentingunique challenges, particularly from an operational standpoint. Deployments that scale beyond thenumber of users serviceable by a single Session Boarder Controller (SBC) – as well as deployments that usea geographically redundant SBC for catastrophic fail over purposes – encounter edge reachabilityproblems. In general there are two coarse techniques that carriers use today to support end-pointpopulations that exceed one SBC’s capacity: they will either use a DNS-based distribution mechanism, orthey will pre-provision endpoint to point to specific SBCs (manually load balancing them). Each of thesesolutions has its drawbacks. End users – many of them familiar with load balancing equipment deployedto scale protocols such as HTTP or SMTP – have expressed interest in a device that will perform dedicatedload balancing for their SIP endpoint.

The Subscriber-Aware Load Balancer (SLB) addresses the need for scaling a network edge to millions ofendpoint. Designed as a standalone system (historically an Acme Packet 4500, now with this release anAcme Packet 6100 has been added) capable of supporting up to two million users for the Acme Packet 4500and ten million endpoints for the Acme Packet 6100 (where an endpoint is defined as a unique source anddestination IP address), and flexibly deployable into existing network topologies, the SLB aggregatessignaling from large endpoint populations to reduce the edge reachability problem by an order ofmagnitude.

Functional OverviewThe Subscriber-Aware Load Balancer (SLB) is a discrete network element that processes all SIP end-pointsignaling traffic entering the service provider network. The SLB is not necessarily the first network deviceto receive signaling traffic, as, depending on network topology, additional network components (forexample, routers, network address translators, and so on) can lie between the end-point and the SLB.

Upon receipt of a SIP packet from an unknown source, the SLB uses a provisioned policy to select anappropriate next-hop Session Border Controller (SBC) for traffic originated by that end-point. Subsequentpackets from the same end-point are forwarded to the same SBC. The first packet, the one used to make theroute decision, and all subsequent packets sent through the SLB to the next-hop SBC are encapsulatedwithin an IP-in-IP format as defined in RFC 2003, IP Encapsulation within IP.

SBCs that participate in the load balancing-enabled deployment are enhanced by several capabilities. First,the SBC supports RFC 2003 tunnel for both packet transmission and reception. Second, the SBCperiodically transmits health and performance data to the SLB; such information is evaluated and enteredinto the SLB’s route determination algorithm. Lastly, the SBC participates in any SLB-initiated rebalance

Oracle® Communications Subscriber-Aware Load Balancer 7

Page 8: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

operation, as described in the Rebalancing section. A group of SBCs, with the above-listed capabilities, thatreceive signaling traffic from the SLB, is referred to as a cluster.

The IP-in-IP encapsulation technique provides SLB transparency to the terminating SBC. That is, when anSBC receives an encapsulated packet via the SLB, it can discard the outer encapsulation leaving behind anidentical packet as transmitted originally by the end-point. Visibility into the actual packet transmitted bythe end-point is necessary to provide certain services in the SBC (for example, hosted NAT traversal,session-agent matching, and so on). A secondary goal achieved by using this encapsulation technique isthat it provides a disassociation function between an SBC’s connected network and its SIP reachability.That is, an SBC can be assigned any IP address it wants from a network topology standpoint, yet stillprocess SIP packets as though it were logically situated elsewhere at Layer 5. In a larger sense, thephysicality of the SBC is no longer important; like-configured, logically identical SBCs can be spread allover the globe.

Balancing and RebalancingThe SLB performs two primary functions as the front-end to a Session Boarder Controller/Unified SessionManager (SBC/USM) cluster: balancing traffic and rebalancing traffic. There are several key distinctions,which are described in the following two sections.

BalancingBalancing is defined as the distribution of new endpoints (a combination of unique source and destinationIP address pairs) among the members of the cluster. The SLB balances traffic based upon its configuredpolicies (refer to Load Balancer Policy Configuration for policy description and details), or, in the absenceof configured policies, with a default round-robin procedure. Load balancer policies provide a flexiblemeans of directing traffic to appropriate groups of SBCs. As initial packets arrive at the SLB from unknown(previously unseen) endpoints, they are passed to a resident software process that consults its policyengine to determine an appropriate destination (clustered SBC) for each endpoint. Regardless of thedistribution algorithm, policy-based or round-robin, the SLB chooses an SBC from among all equallyweighted candidates, giving preference to those with the lowest current occupancy rate, defined as thenumber of endpoints already present on that system relative to its maximum endpoint capacity.

Even though each clustered SBC regularly reports CPU data to the SLB, the SBC’s CPU utilization is notfactored into the preference of one SBC over another. Rather, an SBC whose CPU utilization rate,determined using a per-thread CPU load check of the busiest call-related threads (SIP and MBCD), exceedsits load limit threshold (by default, 90%) is excluded from the list of candidates. For example, assumingthat both SBCs are licensed for the same number of sessions, an SBC with a CPU load of 89% and a currentoccupancy of 10,000 endpoint will have equal footing with an SBC with a CPU load of 10% and a currentoccupancy of 10,000 endpoint. But an SBC with a CPU load of 90% and an occupancy of 0 endpoint willnever receive new assignments from the SLB, until its CPU utilization rate falls below the 90% threshold.

RebalancingRebalancing, as opposed to balancing, is taking some number of existing endpoints from functioning SBCsand redistributing these existing endpoints between current cluster members. Rebalancing can beautomatically scheduled when a new SBC joins an existing cluster, or immediately invoked with the AcmePacket Command Line Interface (ACLI). When an SBC exits a cluster, whatever the reason, all of itsendpoints are invalidated on the SLB and those endpoints are essentially balanced when they revisit theSLB.

A new SBC joins an existing cluster by initiating the establishment of an IP-in-IP tunnel between itself andthe SLB. During an initial handshake the SBC designates which SLB service port or ports it is prepared tosupport. If there are existing SBCs supporting these designated service ports, the SLB instructs some or allof these SBCs to divest themselves of a specified number of endpoints. The SLB calculates the number ofdivested endpoints based upon the overall occupancy of that service relative to the SLB’s contribution to

Introduction and Overview

8 Oracle® Communications Subscriber-Aware Load Balancer

Page 9: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

that occupancy. Existing cluster members not advertising support for service ports designated by the newcluster member are excluded from the rebalance queue.

The SLB sequences through eligible cluster members one at a time, using a proprietary protocol from AcmePacket to request nomination and removal of eligible endpoints. The SBC replies with a CCP response thatlists candidate endpoints. The SLB removes existing forwarding rules associated with those endpoints, andrepeats the CCP request/response process until the cluster member divests itself of the specified numberof endpoints.

When the divested endpoints re-engage with the SLB (upon their next scheduled registration refresh, forexample), the SLB lacks a forwarding rule that maps them to a specific SBC. Consequently, the message ispassed up to the software processes running on the SLB’s host, which chooses a new SBC destination forthat endpoint – presumably, the new cluster member that has the most available capacity.

The cluster member, after being requested to nominate endpoints for rebalancing, uses several criteria forchoosing the most attractive candidates. As part of its standard SIP processing performed by SBCs, thecluster member is aware of the expiry times for all of the entries in its SIP registration cache. Therefore, thecluster member can predict with a high degree of accuracy when any given endpoint will be signaling backinto the cluster. As the forwarding rules on the cluster member are triggered by endpoint messages, thecluster member considers an endpoint whose registration entry is due to expire shortly an attractivecandidate for rebalance. Note, however, that in many cases it is not prudent to nominate endpoints whoseSIP registration cache entries are due to expire immediately, as this can cause a race condition between theCCP response and the SIP REGISTER message from the endpoint to the SIP registration function. To avoidthis potential dilemma, cluster members are equipped with the ability to skip ahead to candidates whoseexpiry is not immediate.

Further, each cluster member categorizes the endpoints stored in its cache based upon a priority value thatis determined via the SLB’s distribution policy (see Distribution Policy Configuration for more details). Itnominates endpoints from its lowest priority buckets first.

Finally, the SLB does not rebalance an active SIP endpoint — an endpoint engaged in a phoneconversation.

After removing endpoints from the first cluster member, the SLB moves to the next cluster member in therebalance queue and uses the same CPP request/response exchange to remove additional endpoints. Thesame procedure repeats for additional cluster members until the SLB attains the target number of divestedendpoints.

When the divested endpoints re-engage with the SLB (upon their next scheduled registration refresh, forexample), the SLB lacks a forwarding rule that maps them to a specific cluster member. Consequently, themessage is passed up to the software processes running on the SLB’s host, which chooses a newdestination for that endpoint – presumably, the new cluster member that has the most available capacity.

IPv4 IPv6 Dual StackWhile major carriers are proceeding toward a pure IPv6 network for next generation services, currentpracticalities require the continued support of IPv4 handsets and other devices. As a result, the SLBprovides support for single non-channelized physical interfaces that support both IPv4 and IPv6 ingressand egress on the same network interface.

Support for the dual stack interface requires no new additional configuration elements, and is provided bythe proper configuration of the following elements in the ACLI Configuration Guide:

Configuration Element Section containing configuration element in the ACLI Configuration Guidedocumentation

Physical Interfaces (Platform) Physical Interfaces: SLB in the System Configuration chapter.(Release versions S-Cx6.3.x, S-Cx6.4.x, S-Cz7.1.2, or S-Cz7.2.0)

Introduction and Overview

Oracle® Communications Subscriber-Aware Load Balancer 9

Page 10: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Configuration Element Section containing configuration element in the ACLI Configuration Guidedocumentation

IPv4 NetworkInterfaces

IPv4 Address Configuration in the System Configuration chapter. (Releaseversions S-Cx6.3.x, S-Cx6.4.x, S-Cz7.1.2, or S-Cz7.2.0)

IPv6 NetworkInterfaces

Configuring Network Interfaces: SLB, Licensing, Globally Enabling IPv6, IPv6Address Configuration, IPv6 Default Gateway, and Network Interfaces andIPv6 in the System Configuration chapter. (Release versions S-Cx6.3.x,S-Cx6.4.x, S-Cz7.1.2, or S-Cz7.2.0)

IPv4 & IPv6 SIPInterfaces

SIP Interfaces in the SIP Signalling Services chapter. (Release versions S-Cx6.3.x,S-Cx6.4.x, S-Cz7.1.2, or S-Cz7.2.0)

IPv4 & IPv6 Realms Realm Configuration in the Realms and Nested Realms chapter. (Releaseversions S-Cx6.3.x,S-Cx 6.4.x,S-Cz 7.1.2, or S-Cz 7.2.0)

SLB Cluster Member Graceful ShutdownWhen it becomes necessary to temporarily remove an Oracle Communications Session Border Controller(SBC) from active service, and make it available only for administrative purposes, the user issues a set-system-state offline ACLI command. The SBC begins a graceful shutdown. The shutdown is graceful inthat active calls and registrations are not affected, but new calls and registrations are rejected except asdiscussed below. When the user issues the command, the SBC goes into becoming offline mode. Oncethere are no active SIP sessions and no active SIP registrations in the system, the SBC transitions to offlinemode. If the SBC is a member of an Oracle Communications Subscriber-Aware Load Balancer (SLB)Cluster, the offline status is communicated to the SLB when the user issues the set-system-state offlinecommand, and the SLB excludes the offline SBC in future endpoint (re)balancing algorithms.

A version of this SBC graceful shutdown procedure exists in SBC releases previous to S-CZ7.3.0, but theprocedure is enhanced for this and future releases. Previous versions only looked at active SIP sessions(calls), without monitoring active SIP registrations, and did not attempt to manipulate the period of timethat active calls and registrations lingered on the SBC. The problem with this approach was that in theinterval between setting the SBC to offline mode, and the subscriber registrations expiring, any inactivesubscriber was essentially unreachable. With some carriers setting registration expiry timers to an hour ormore (or 30 minutes in between registration refresh), this may have resulted in significant periods ofunreachability. With this release, the new sip-config parameter retry-after-upon-offline is used tominimize the amount of time active calls and registrations keep the SBC from going completely offline.

The SBC side of this graceful shutdown procedure is followed with or without the SBC being a member ofan SLB cluster. The graceful shutdown procedure is limited only to SIP calls and registrations.

High-level Procedure for Graceful SBC ShutdownIn its simplest form, this is the graceful shutdown procedure. Details and exceptions to this procedurewhen there are active calls or registrations are discussed in later paragraphs. The first six actions areperformed whether or not the SBC is part of an Oracle Communications Subscriber-Aware Load Balancer(SLB) Cluster

• The SBC receives the set-system-state offline command.• The SBC transitions to becoming offline mode.• The SBC accepts calls and subscribes from registered endpoints.• The SBC rejects calls from non-registered endpoints.• The SBC rejects new registrations with a 503 Service Unavailable error message.• The SBC checks the number SIP INVITE based sessions and number of SIP registrations. When both

counts are 0, the SBC transitions to the offline state.

Introduction and Overview

10 Oracle® Communications Subscriber-Aware Load Balancer

Page 11: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Note: Previous versions only looked at active SIP sessions (calls), without monitoring active SIPregistrations.

If the SBC is part of an SLB Cluster:

• The SLB client on the SBC changes its cluster status to shutdown state.• The SBC informs the SLB that it is offline.• The SLB ceases to forward new end-points to the SBC and puts the SBC in a shutdown state.• SLB continues to forward all messages for existing registered endpoints to the offline SBC.• The SBC continues to send heartbeat updates the SLB as before.

Detailed Description of Graceful Shutdowns with Active SIP Calls orRegistrations

This is the procedure when active SIP calls or registrations are on an SBC.

When the system receives the set-system-state offline command, it transitions to becoming offline mode.It begins checking the number of SIP-INVITE-based sessions and the number of SIP registrations, andcontinues to check them when sessions complete or registrations expire while it is in becoming offlinemode. When both counts reach zero, the system transitions to offline mode. If the system is a member ofaOracle Communications Subscriber-Aware Load Balancer (SLB) Cluster, the SLB client on the SBCchanges its cluster status to the shutdown state, and informs the SLB that it is offline. The SLB ceases toforward new end-points to the SBC and lists the SBC in a shutdown state on the SLB. The SBC continues tosend heartbeat updates to the SLB as before.

Active calls continue normally when the SBC is in becoming offline mode. If SIP refresh registrationsarrive for endpoints that have active calls, they are accepted. However, the expiry of these endpoints isreduced to the configurable retry-after-upon-offline timer value (in seconds) defined under sip-config onthe SBC. This timer should be configured to be a much lower time interval than originally requested by therefresh registrations, so that endpoints refresh sooner and thus the registrations expire as closely aspossible to when the active call ends. If the new timer value configured in retry-after-upon-offline isgreater than the existing registration requested refresh value, or if its value is ‘0’ (unconfigured), theoriginal registration refresh request is honored.

Refresh registrations for endpoints that do not have any active calls are rejected with a configurableresponse code defined in the sip-config reg-reject-response-upon-offline parameter. The default for thisparameter is the 503 Service Unavailable message. It includes a Retry-After header with a configurabletimer set in retry-after-upon-offline. If the value of the configuration is 0 (unconfigured), the header is notincluded in the rejection message. Once these refreshes are rejected, SBC immediately removes suchendpoints from its registration cache. It is a force remove. De-registrations are forwarded to the core. Thereis no local response. Removals are communicated to the SLB.

Any new calls that arrive for endpoints that currently have registration entries are not rejected. This is newto this feature with S-CZ7.3.0. Previously, any new call would have been rejected with the 503 ServiceUnavailable message. The same retry-after-upon-offline action is performed.

Any other SIP methods (like SUBSCRIBE or MESSAGE) intended for this endpoint is handled normallyand are not rejected. Priority calls are processed as usual by the SBC, regardless of whether an activeregistration is present in the SBC as long as the SBC is in becoming offline state. When the SBC transitionsto the offline state, even priority calls are rejected. If the priority calls cannot be forwarded to the endpoint,a 380 Alternative Service response may be sent, depending on the SBC's configuration. However, whenthe SBC achieves offline mode, even priority calls are rejected. New non-priority calls coming forendpoints that are not currently registered are rejected with the 503 Service Unavailable error message, ashas always been done.

The SBC sends the endpoint removal requests to the SLB so that the SLB removes them from its endpointtable. If a REGISTER message comes in with multiple contacts, it’s possible that one of the contacts has anactive call while others do not. In that scenario, the contact without active call has the Expires value in theContact header changed to 0 and is forwarded to the core. When the response arrives from the core, the

Introduction and Overview

Oracle® Communications Subscriber-Aware Load Balancer 11

Page 12: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Contact with active call has its Expires parameter modified to the retry-after-upon-offline value or the UAexpires value, whichever is lower. Any contact with no active calls is removed from the cache.

Eventually, all SIP calls end, and all registrations expire. The SBC transitions to the offline system state.The SBC continues to send heartbeat updates to the SLB.

At any time after the issuance of the set-system-state offline command, a set-system-state onlinecommand may be issued. If the SBC is in becoming offline mode, the process is aborted and the SBC againbecomes online. The SBC state is forwarded to the SLB, and the SBC once again participates in the SLB's(re)balancing process.

Introduction and Overview

12 Oracle® Communications Subscriber-Aware Load Balancer

Page 13: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

2New for S-Cz7.2.10

This section discusses new Subscriber-Aware Load Balancer (SLB) system capacities included in thisrelease, as well as new and modified commands.

Capacities:

Parameter Capacity Configuration Path

Supported endpoints 10,000,000 setup entitlements

Supported cluster members 1024 N/A

Supported tunnels 1024 system > network-interface >tunnel-config

Supported policies 16,384 session-router → lb-policy

Acme Packet 4500 SLB ACLI commands that are not supported on the Acme Packet 6100 SLB:

4500 SLBCommand

Equivalent 6100 SLBCommand

Comments

show service by-index

show nat in-tabular Displays the currently configured datapath serviceflows.

show service info,show servicestatistics

show nat info Displays the maximum and current service flowcapacity within the platform's datapath layer.

show endpoint by-index

No equivalent 6100 SLBcommand

Not supported in S-Cx7.2.10.

show endpoint info No equivalent 6100 SLBcommand

Not supported in S-Cx7.2.10.

New ACLI Commands

• setup entitlements—Configures the number of licensed endpoints on the SLB in increments of 20,000endpoints. Number must coincide with your Oracle Licensing Agreement.

Oracle® Communications Subscriber-Aware Load Balancer 13

Page 14: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Caveats for Release S-Cz7.2.10Note: For Caveats for Session Boarder Controllers (SBCs) when they are Subscriber-Aware LoadBalancer (SLB) cluster members, refer to the appropriate documentation for the SBC.

These limitations apply to release S-Cz7.2.10 of the Subscriber-Aware Load Balancer:

Cluster Membership

• Each SBC may be a member of only one cluster, and a cluster may be associated with only oneSubscriber-Aware Load Balancer.

Setup Product

• This release officially supports only the SLB product type, and only on the Acme Packet 6100 platform.You will not be able to configure the platform to run as the SBC product type using this release.

Supported Cluster Hardware - This release of software will support cluster members using the followinghardware:

• Acme Packet 6100• Acme Packet 6300• Acme Packet 4500• Acme Packet 4600

Supported Cluster Software

• The software release running on the cluster member using IPv4 on the outer tunnel must be one of thefollowing:

• OCSBC – S-Cx6.2.3• OCSBC – S-Cx6.3.0• OCSBC – S-Cz7.1.2• OCSBC – S-Cz7.2.0• OCSBC – S-Cz7.3.0• OCUSM – S-Cx6.3.15• OCUSM – S-Cz7.1.5

• The software release running on the cluster member using IPv4 on the outer tunnel and IPv6 on theinner tunnel must be one of the following:

• OCSBC – S-Cz7.1.2• OCUSM – S-Cz7.1.5

Protocol Support

• The network-interface tunnel-config protocols TCP and TLS are not supported.• IMS-AKA is not supported.• The Oracle Communications Session Border Controller's FTP Server is deprecated. Only SFTP server

services are supported.

• FTP Client access for features such as HDR/CDR push remains.

Fragmented Ping Support

• The Oracle Communications Session Border Controller does not respond to inbound fragmented pingpackets.

Physical Interface RTC Support

• After changing any Physical Interface configuration, a system reboot is required.

Packet Trace

New for S-Cz7.2.10

14 Oracle® Communications Subscriber-Aware Load Balancer

Page 15: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

• Output from the packet trace local feature on hardware platforms running this software version maydisplay invalid MAC addresses for signaling packets.

High Availability Pairing (HA)

• An Acme Packet 6100 running release S-Cz7.2.10 as a Subscriber-Aware Load Balancer may not be amember of a High Availability pair which includes an Acme Packet 4500.

Known Issues for Release S-Cz7.2.10Note: For Known Issues for Session Border Controllers (SBC) when they are Subscriber-Aware LoadBalancer (SLB) cluster members, refer to the appropriate documentation for the SBC.

These Known Issues apply to release S-Cz7.2.10p3 of the SLB:

Protocols

• Known Issue - L2 lookup miss errors seen. Packets are dropped and cause SIP retransmissions. Seenwith TCP endpoint traffic.

Note: This issue is not reproducible as of S-Cz7.2.10p3.

• Known Issue - IPT core miss errors seen. Packets are dropped and there are SIP retransmissions.Normally seen with TCP traffic.

Note: This issue was fixed in S-Cz7.2.10p3.

CPU Utilization

• Known Issue - A memory utilization alarm fires when over 5,000,000 endpoints are balanced.

Note: This issue was fixed in S-Cz7.2.10p3.

Known Issue - An SLB CPU utilization alarm fires and registrations are not rebalanced when load exceeds2,000 registrations per second.

Balance/Rebalance

• Known Issue - When you add or remove a cluster member in a cluster managed by an HA pair, afterthe cluster is rebalanced, endpoint entries are not replicated on the standby SLB.

Note: This issue was fixed in S-Cz7.2.10p3.

• Known Issue - The inactivity ageout functionality for trusted endpoints does not work.• Known Issue - Only a small percentage of endpoint registrations correctly expire and must re-register.

Upgrade from L-Cx1.5.0 configuration files

• Known Issue - When you upgrade from a configuration file created in release L-Cx1.5.0, the parametercluster-config>inactive-sd-limit has an incorrect value after boot.

• Workaround - Whatever the value of the parameter in the L-Cx1.5.0 config file, after the first boot,the value in the S-Cz7.2.10 file is 1000 times the original value. For example if the value was 1800(the default value in L-Cx1.5.0), the S-Cz7.2.10 value is 1800000. You can change the value of thecluster-config>inactive-sd-limit back to the value in the L-Cx1.5.0 version of the config file andreboot the device, or change the parameter dynamically.

Note: This is a new issue, first noted in S-Cz7.2.10p3.

Dynamic Reconfig

New for S-Cz7.2.10

Oracle® Communications Subscriber-Aware Load Balancer 15

Page 16: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

• Known Issue - Dynamic re-configuration of cluster-config>service-port>protocol does not remove theservice port.

Note: This issue is not reproducible as of S-Cz7.2.10p3.

• Known Issue - Dynamic re-configuration on an SBC does not remove tunnels on the SLB.

Note: This issue is not reproducible as of S-Cz7.2.10p3.

High Availability (HA)

• Known Issue - During a HA failover, IPT core miss errors are incremented, which results inretransmissions.

Note: This is a new issue, first noted in S-Cz7.2.10p3.

• Known Issue - The standby SLB crashes during reboot.

Note: This issue is not reproducible as of S-Cz7.2.10p3.

• Known Issue - The standby SLB does not sync config properly and remains out of service.

Note: This issue was fixed in S-Cz7.2.10p3.

• Known Issue - Standby trusted/untrusted endpoint statistics are incorrect when endpoints areremoved.

Note: This issue is not reproducible as of S-Cz7.2.10p3.

• Known Issue - After a switchover, the newly active SLB drops IPv6 endpoints.

Note: This issue is was declared not to be an issue in S-Cz7.2.10p3.

• Known Issue - After a reboot, the standby SLB incorrectly categorizes some synchronized trustedendpoints as untrusted.

Note: This is a new issue, first noted in S-Cz7.2.10p3.

ACLI commands

• Known Issue - The "hits" field of the show balancer policies command does not clear after reset all isperformed.

Note: This issue was fixed in S-Cz7.2.10p3.

• Known Issue - Default values for source-addr and destination-addr under lb-policy are blank.

Note: This issue was fixed in S-Cz7.2.10p2.

Historical data recording (HDR)

Known Issue - A platform running S-Cz7.2.10 as a Subscriber-Aware Load Balancer (SLB) can stillconfigure Session Border Controllers (SBC)-specific group-names.

Note: This is a new issue, first noted in S-Cz7.2.10p3.

Other Known Issues

New for S-Cz7.2.10

16 Oracle® Communications Subscriber-Aware Load Balancer

Page 17: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

• Known Issue - Media and management (wancom) interfaces may not be configured with the samesubnet, regardless of VLAN.

New for S-Cz7.2.10

Oracle® Communications Subscriber-Aware Load Balancer 17

Page 18: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster
Page 19: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

3Subscriber-Aware Load Balancer Configuration

SLB ConfigurationThis section explains how to configure functionality specific to the SLB; it does not include configurationsteps for functions that it shares in common with its corresponding SBCs (for example, system-config, phy-interface, network-interface, and so on). For information about general SLB configuration, refer to theappropriate documentation as listed in About This Guide.

SLB configuration is quite simple; aside from basic network connectivity, the service interfaces, and thedistribution policy, much of the configuration is learned dynamically from the SBCs that comprise thecluster.

Acme Packet 6100 Physical InterfacesThe Acme Packet 6100 supports a single network interface unit (NIU) that contains all external interfaces,including console, alarm, network management and media interfaces. There is currently one type of NIUavailable, which defines the supported cabling and speed.

The graphic below shows the NIU front panel, which includes all ports and their labeling. This labeling isan important point of reference when you set up the phy-interface configuration element.

The Acme Packet 6100 NIU includes the following ports (from left to right).

• Console—Provides serial access for administrative and maintenance purposes.• Alarm—Dry contact alarm port.• USB—For use only by Oracle personnel.• Mgmt0 to Mgmt2—The system uses these 10/100/1000 Base-T Ethernet ports for device management

functions. The first interface, Mgmt 0, is for telnet or ssh access to the ACLI. The other two interfaces are

Oracle® Communications Subscriber-Aware Load Balancer 19

Page 20: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

used for state replication for High Availability (HA). For HA, connect these interfaces directly using acrossover cable.

• SFP+ ports—The system uses these 2 x 10GbE ports for signaling and media traffic.

The table below lists the labeling of each interface on the NIU, as well as the applicable operation-type andport parameters in the phy-interface configuration element. Note that the media interfaces are notuniquely labeled with the chassis silkscreen. The table distinguishes between these using "left" and "right",with the perspective being the user looking at the NIU panel.

NIU Label operation-type slot port

Mgmt 0 maintenance 0 0

Mgmt 1 maintenance 0 1

Mgmt 2 maintenance 0 2

USB NA NA NA

NA (left) media 0 0

NA (right) media 0 1

Provisioning EntitlementsProvisioning entitlements for the Subscriber-Aware Load Balancer (SLB) is performed by using the setupentitlements command.

The setup entitlements command is used to configure the total number of endpoints that the SLB has beenlicensed to manage. The input must be entered in increments of 20,000 endpoints.

A new Acme Packet 6100 platform with no entitlements will boot up for the first time as an SLB producttype with 0 endpoints configured. The sample configuration session below shows the steps to finish theconfiguration of entitlements for the SLB:

ACMEPACKET#setup entitlements

----------------------------------------------------------Entitlements for Subscriber-Aware Load BalancerLast Modified: Never---------------------------------------------------------- 1 : LB Endpoint Capacity : 0

Enter 1 to modify, d' to display, 's' to save, 'q' to exit. [s]: 1

LB Endpoint Capacity (0-10000000) : 5000000

Enter 1 to modify, d' to display, 's' to save, 'q' to exit. [s]: sSAVE SUCCEEDEDural# show entitlements Provisioned Entitlements:-------------------------Subscriber-Aware Load Balancer Base : enabledLB Endpoint Capacity : 5000000

Keyed (Licensed) Entitlements-----------------------------After initial configuration using setup entitlements, the configuration can be confirmed at any time usingshow entitlements.

Subscriber-Aware Load Balancer Configuration

20 Oracle® Communications Subscriber-Aware Load Balancer

Page 21: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

SLB Tunnel ConfigurationThe SLB sends and receives signaling messages to and from clustered SBCs through an IP-in-IP tunnel. TheSLB requires one tunnel per interface.

Use the following procedure to perform required SLB-side tunnel configuration. Completion of tunnelconfiguration is accomplished on the clustered SBCs as described in SBC Tunnel Configuration.

1. From superuser mode, use the following ACLI command sequence to access tunnel-configconfiguration mode. While in this mode, you partially configure the tunnel-config configurationelement.

ACMEPACKET# configure terminalACMEPACKET(configure)# systemACMEPACKET(system)# network-interfaceACMEPACKET(network-interface)# tunnel-configACMEPACKET(tunnel-config)# ?local-ip-address tunnel local IP addressport tunnel local & remote control portsprotocol tunnel control transport protocoltls-profile tunnel control TLS profiletraffic-policy name of traffic-policy for this tunnelselect select tunnel to editno delete tunnelshow show tunneldone write tunnel informationexit return to previous menuACMEPACKET(tunnel-config)#

2. Use the local-ip-address parameter to specify the IP address at the SLB end of the tunnel.

As the terminus for all tunnels from the clustered SLBs — and never the tunnel originator — only thelocal address is configured on the SLB.

Note: This address also supports the exchange of CCP messages.

ACMEPACKET(tunnel-config)# local-ip-address 182.16.204.210ACMEPACKET(tunnel-config)#

3. Use the port parameter to specify the port used to send and receive CCP messages.

ACMEPACKET(tunnel-config)# port 4444ACMEPACKET(tunnel-config)#

4. Use the protocol parameter to specify the transport protocol used in support of cluster controlmessages.

The only protocol supported for this release is UDP.

ACMEPACKET(tunnel-config)# protocol UDPACMEPACKET(tunnel-config)#

5. Use the traffic-policy parameter to specify the traffic-policy for this tunnel.

ACMEPACKET(tunnel-config)# traffic-policy tp1ACMEPACKET(tunnel-config)#

6. Use done, exit, and verify-config to complete configuration of this tunnel-config configuration element.7. Repeat Steps 1 through 6 to configure additional tunnel-config configuration elements.

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 21

Page 22: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Sample SLB Tunnel Configuration

The following formatted extract from show running-config ACLI output shows a sample tunnelconfiguration.

tunnel-configlocal-ip-address 182.16.204.210port 4444protocol UDPtls-profilelast-modified-by admin@consolelast-modified-date 2013-11-07 18:49:04

Cluster ConfigurationThe cluster-config configuration element manages basic SLB interaction with clustered SBCs — it containsa set of global parameters that define the management of the RFC 2003 IP-in-IP tunnels that connect theSLB to clustered SBCs, and the details of rebalance operations. In addition, cluster-config provides for thecreation of a list of service interfaces (signaling addresses) that are advertised to endpoints comprising theuser access population.

Use the following procedure to perform required cluster-config configuration.

1. From superuser mode, use the following ACLI command sequence to access cluster-configconfiguration mode. While in this mode, you configure the cluster-config configuration element.

ACMEPACKET# configure terminalACMEPACKET(configure)# session-routerACMEPACKET(session-router)# cluster-configACMEPACKET(cluster-config)# ?

state cluster control statelog-level configure log levelauto-rebalance Auto-rebalance cluster on new SD availabilitysource-rebalance-threshold Percentage of advertised registration capacitydest-rebalance-threshold Percentage of advertised registration capacitydest-rebalance-max Percentage of advertised registration capacitytunnel-check-interval How often an SD's tunnels are checkedtunnel-fail-interval Time for which no messages have been receivedrebalance-request-delay Delay between subsequent rebalance requestssession-multiplier ratio of users (endpoints to sessions)atom-limit-divisor ratio of atoms (e.g. contacts to endpoints)rebalance-skip-ahead Skip endpoints refreshing sooner thanrebalance-max-refresh Skip endpoints refreshing later thanignore-tgt-svcs-on-rebalance When selecting source SDs during rebalancingrebalance-del-app-entries Delete Application endpoint Datainactive-sd-limit Duration no SD control messages received (seconds)red-port redundant mgcp sync portred-max-trans max redundant transactions to keepred-sync-start-time redundant sync start timeoutred-sync-comp-time redundant sync complete timeoutservice-ports configure service portsselect select cluster configno delete cluster configshow show cluster configdone save cluster config informationexit return to previous menu

2. Use the state parameter to enable or disable the SLB software.

The default setting, enabled, enables SLB functionality; disabled renders the SLB inoperable.

ACMEPACKET(cluster-config)# state enabledACMEPACKET(cluster-config)#

Subscriber-Aware Load Balancer Configuration

22 Oracle® Communications Subscriber-Aware Load Balancer

Page 23: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

3. Use the log-level parameter to specify the contents of the SLB log.

Log messages are listed below in descending order of severity.

• emergency — the most severe• critical• major (error)• minor (error)• warning• notice• info — (default) the least severe• trace — (test/debug, not used in production environments)• debug — (test/debug, not used in production environments)• detail — (test/debug, not used in production environments)

In the absence of an explicitly configured value, log-level defaults to critical, meaning that log messageswith a severity of critical or greater (emergency) are written to the SLB log.

ACMEPACKET(cluster-config)# log-level criticalACMEPACKET(cluster-config)#

4. Use the auto-rebalance parameter to specify SLB behavior when a new SBC joins an existing cluster.

With this parameter enabled, the default setting, the SLB redistributes endpoints among clustermembers when a new member joins the cluster. Refer to the Rebalancing section for operational details.

With this parameter disabled, the alternate setting, pre-existing SBCs retain their endpoint populations,and the SLB directs all new endpoints to the newly active SBC until that SBC reaches maximumoccupancy.

ACMEPACKET(cluster-config)# auto-rebalance enabledACMEPACKET(cluster-config)#

5. If auto-rebalance is set to enabled, use the source-rebalance-threshold and dest-rebalance-thresholdparameters to specify threshold settings that identify existing cluster SBCs as either endpoint sources orendpoint destinations during the rebalance operation. Use the dest-rebalance-max parameter to specifythe occupancy for the new cluster member. Refer to the Balancing section for details on occupancy andits calculation.

If auto-rebalance is set to disabled, these three parameters can be ignored.

Parameter values are numeric percentages within the range 0 through 100.

source-rebalance-threshold specifies the minimum occupancy percent that identifies a clustered SBC asa source of endpoints during a rebalance operation. For example, using the default value of 50(percent), any clustered SBC with an occupancy rate of 50% or more sheds endpoints during arebalance. The SLB assigns these endpoints to the new cluster member.

dest-rebalance-threshold specifies the maximum occupancy percent that identifies a clustered SBC as adestination for endpoints during a rebalance operation. Note that the default setting of 0 (percent),ensures that no pre-existing SBC gains endpoints during a rebalance.

dest-rebalance-max specifies the maximum occupancy percent that the SLB transfers to the new clustermember during a rebalance operation. The default setting is 80 (percent). Should this threshold value beattained, the SLB distributes remaining endpoints to those SBCs identified as endpoint destinations bytheir dest-rebalance-threshold settings.

ACMEPACKET(cluster-config)# source-rebalance-threshold 50ACMEPACKET(cluster-config)# dest-rebalance-threshold 40ACMEPACKET(cluster-config)# dest-rebalance-max 75

6. If auto-rebalance is set to enabled, you can optionally use four additional parameters to fine-tunerebalance operational details.

If auto-rebalance is set to disabled, these four parameters can be ignored.

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 23

Page 24: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

rebalance-request-delay specifies the interval (in milliseconds) between endpoint request messagessent from the SLB to a clustered SBC. As explained in the Rebalancing section, these messages request alist of endpoints that will be redistributed from the SBC to a new cluster member.

By default, this parameter is set to 500 milliseconds.

Setting this parameter to a higher value results in longer times for the completion of rebalancing;however longer durations provide more time for cluster member processsing of SIP traffic.

rebalance-skip-ahead restricts the target set of SBC endpoints registration eligible for rebalancing tothose whose re-registration is not imminent — that is, the registration is not scheduled within thenumber of milliseconds specified by the parameter setting. Setting this parameter to a non-zero valuemitigates against the possibility of a race condition precipitated by a simultaneous endpoint removalgenerated by the SBC and the arrival of endpoint signalling on an SLB service port. The default setting(0 milliseconds) effectively makes the entire SBC endpoint set eligible for rebalancing.

rebalance-max-refresh restricts the target set of SBC endpoints eligible for rebalancing to those whosere-registration is no further in the future than the time period (milliseconds) specified by this parameter— for example, assuming a parameter value of 6000, the target endpoint set is restricted to those whosere-registration is scheduled within the next 6 seconds.

Because a re-balancing operation necessarily introduces a small window of unreachability for re-balanced endpoints, this parameter provides users with some degree of control over the period of timethat a re-balanced endpoint may be unreachable.

The default setting (0 milliseconds) effectively makes the entire SBC endpoint set eligible forrebalancing.

rebalance-del-app-entries specifies when cached SIP entries for rebalanced endpoints are removedfrom the clustered SBC. The default setting (disabled) specifies that cached entries are retained after arebalance operation, and subsequently removed from the cache by standard time-out procedures. Whenset to enabled, this parameter specifies that the SBC removes cached registration entries at thecompletion of the rebalance operation.

ACMEPACKET(cluster-config)# rebalance-request-delay 750ACMEPACKET(cluster-config)# rebalance-skip-ahead 100ACMEPACKET(cluster-config)# rebalance-max-refresh 1000ACMEPACKET(cluster-config)# rebalance-del-app-entries enabled

7. Three parameters, tunnel-fail-interval, tunnel-check-interval, and inactive-sd-limit maintain andmonitor the IP-in-IP tunnels established between the SLB and clustered SBCSLBs.

tunnel-fail-interval specifies the interval (in milliseconds) between periodic keepalive messages sentfrom a clustered SBC to the SLB. If the SLB fails to receive a keepalive message within the specifiedperiod, it flags the tunnel as dead. By default, this parameter is set to 10000 milliseconds.

tunnel-check-interval specifies the interval (in milliseconds) between SLB tunnel audits. During atunnel audit, the SLB checks the status of each tunnel and removes all tunnels flagged as dead. If all of acluster member’s tunnels are removed. the SLB places that cluster member in an out-of-service state. Bydefault, this parameter is set to 15000 milliseconds.

If you change default settings for either parameter, ensure that the setting for tunnel-check-interval isgreater than the tunnel-fail-interval setting.

inactive-sd-limit specifies the maximum silent interval (defined as the absence of heartbeat traffic fromany tunnel) seconds) before the SLB flags a cluster member as dead, and removes that SBC from thecluster. By default, this parameter is set to 1800 seconds (30 minutes). supported values are integerswithin the range 0 through 31556926 (365 days).

ACMEPACKET(cluster-config)# tunnel-fail-interval 10000ACMEPACKET(cluster-config)# tunnel-check-interval 15000 ACMEPACKET(cluster-config)# inactive-sd-limit 900

8. Use the session-multiplier and atom-limit-divisor parameters to specify optional, user-configurablenumeric factors used in occupancy and occupancy rate calculations.

Subscriber-Aware Load Balancer Configuration

24 Oracle® Communications Subscriber-Aware Load Balancer

Page 25: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

session-multiplier provides a factor that when multiplied by an SBC’s licensed session limit,determines the maximum number of endpoints that the SBC can support (that is, its maximumoccupancy).

The default setting is 10; valid settings include any integer values within the range 1 through 100.

Using the default setting, an SBC licensed for 32,000 concurrent sessions has a maximum theoreticaloccupancy of 320,000 endpoints.

atom-limit-divisor provides another factor that can be used in occupancy and occupancy percentcalculations. By default, occupancy calculations are based on endpoints (IP addresses), and do not takeinto account the fact that the same IP address can represent multiple users.

The default setting is 1, which assumes a conservative 1-to-1 correlation between endpoints and users;valid settings include any integer values within the range 1 through 1000.

Note: The SLB initially calculates a tentative maximum occupancy value, expressed as a numberof endpoint addresses, for each clustered SBC. SLB calculations are based upon the licensedcapacity of each cluster member, and the values assigned to the session-multiplier and atom-limit-divisor parameters. After calculating the tentative maximum occupancy value, the SLBcompares this value to the value of the registration-cache-limit parameter as defined on theclustered SBC. If the value of registration-cache-limit is either 0, or greater than the tentativemaximum occupancy value, the calculated value is retained as the occupancy ceiling. However,if the registration-cache-limit value is greater than 0, but less than the tentative calculation, thevalue of registration-cache-limit is used as the occupancy ceiling.

Once an SBC has reached its maximum number of endpoints, the SLB removes it from the loadbalancing algorithm. These parameter settings should be changed only after careful examination ofnetwork conditions and behavior.

ACMEPACKET(cluster-config)# session-multiplier 10ACMEPACKET(cluster-config)# atom-limit-divisor 1

9. The ignore-tgt-svc-on-rebalance parameter is not currently supported, and can be safely ignored.10. Retain default settings for the red-port, red-max-trans, red-sync-start-time, and red-sync-comp-time

parameters.11. Use done, exit, and verify-config to complete cluster configuration.

Sample Cluster Configuration

The following formatted extract from show running-config ACLI output shows a sample clusterconfiguration.

cluster-configstate enabledlog-level CRITICALauto-rebalance enabledsource-rebalance-threshold 50dest-rebalance-threshold 40dest-rebalance-max 75tunnel-check-interval 750tunnel-fail-interval 10000rebalance-request-delay 500session-multiplier 4rebalance-skip-ahead 0rebalance-max-refresh 0ignore-tgt-svcs-on-rebalance disabledatom-limit-divisor 1000rebalance-del-app-entries disabledinactive-sd-limit 1800red-port 2001red-max-trans 10000red-sync-start-time 5000red-sync-comp-time 1000

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 25

Page 26: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

service-portlast-modified-by admin@consolelast-modified-date 2013-11-07 18:49:04

Service Ports ConfigurationA service port is essentially a SIP port monitored by the SLB for incoming signaling from the userpopulation. For virtually all network topologies, multiple service ports are expected on a typical SLBconfiguration. A service-port is a multiple instance configuration element; for each service port advertisedto the access network(s), at least one service-port configuration element must be configured.

Use the following procedure to perform required service-ports configuration.

1. From superuser mode, use the following ACLI command sequence to access service-port configurationmode. While in this mode, you configure one or more service-port configuration elements.

ACMEPACKET# configure terminalACMEPACKET(configure)# session-routerACMEPACKET(session-router)# cluster-configACMEPACKET(cluster-config)# service-portsACMEPACKET(service-port)# ?address IP addressport port (default: 5060)protocol transport protocolnetwork-interface network interface for service portselect select cluster configno delete cluster configshow show cluster configdone save cluster config informationexit return to previous menuACMEPACKET(service-port)#

2. Use the required address parameter to specify the IPv4 or IPv6 address of this service port.

ACMEPACKET(service-port)# address 10.0.0.1ACMEPACKET(service-port)#

3. Use the port parameter to specify the port monitored by the SLB for incoming signaling messages.

In the absence of an explicitly configured port, the SLB provides a default value of 5060 (the registeredSIP port).

Allowable values are integers within the range 0 through 65535.

ACMEPACKET(service-port)# port 5060ACMEPACKET(service-port)#

4. Use the protocol parameter to choose the transport protocol.

The supported setting is UDP (the recommended default).

ACMEPACKET(service-port)# protocol udpACMEPACKET(service-port)#

5. Use the required network-interface parameter to identify the SLB network interface that supports thisservice port. With this parameter, you have the option of specifying IPv4 or IPv6 (.4 or .6).

ACMEPACKET(service-port)# network-interface M00:0.4ACMEPACKET(service-port)#

6. Use done, exit, and verify-config to complete configuration of this service-port configuration element.7. Repeat Steps 1 through 6 to configure additional service-port configuration elements.

Sample Service Port Configuration

The following formatted extract from show running-config ACLI output shows a sample service portconfiguration.

Subscriber-Aware Load Balancer Configuration

26 Oracle® Communications Subscriber-Aware Load Balancer

Page 27: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

service-portaddress 192.169.203.83port 5060protocol UDPnetwork-interface M00:0.4last-modified-by admin@consolelast-modified-date 2013-11-07 18:49:04

Traffic Policy ConfigurationThis configuration record will enable management of tunnel bandwidth on a per-cluster member basis.The name of this policy will be entered into the SBC Tunnel Configurations.

Note: If you do not need to change any of the implicit defaults for the traffic policy, you do not needto configure this policy at all. The implicit default configuration for this policy is as below. If youmust change any of the parameters from the implicit default, you must name the resulting trafficpolicy default.

Use the following procedure to perform traffic policy configuration if required.

1. Access the traffic-policy-config configuration element.

ACMEPACKET# configure terminalACMEPACKET(configure)# session-routerACMEPACKET(session-router)# traffic-policy-configACMEPACKET(traffic-policy-config)#name throttle-rate max-signaling-rate min-untrusted-pct max-untrusted-pct options select no show done quit exit

2. Enter a name for this traffic policy configuration. This is the string identifier for this policy.

ACMEPACKET(traffic-policy-config)# name tp1ACMEPACKET(traffic-policy-config)#

3. Enter a throttle-rate for this traffic policy configuration. This is the host throttle rate in registrations persecond.

ACMEPACKET(traffic-policy-config)# throttle-rate 800ACMEPACKET(traffic-policy-config)#

4. Enter a max-signaling-rate for this traffic policy configuration. This is the maximum signaling rate to acluster member in bytes per second.

ACMEPACKET(traffic-policy-config)# max-signaling-rate 33000000ACMEPACKET(traffic-policy-config)#

5. Enter a min-untrusted-pct for this traffic policy configuration. This is the minimum percentage ofsignaling rate allocated to untrusted traffic.

ACMEPACKET(traffic-policy-config)# min-untrusted-pct 33ACMEPACKET(traffic-policy-config)#

6. Enter a max-untrusted-pct for this traffic policy configuration. This is the maximum percentage ofsignaling rate allocated to untrusted traffic.

ACMEPACKET(traffic-policy-config)# max-untrusted-pct 66ACMEPACKET(traffic-policy-config)#

7. Use done, exit, and verify-config to complete configuration of this traffic policy configuration element.8. Repeat steps 1 through 7 to configure additional traffic policy configuration elements.

Sample Traffic Policy ConfigurationThe following formatted extract from traffic-policy-config shows the default policy configuration.

Note: For this initial release of software, if you do not need to change any of the implicit defaults forthe traffic policy, you do not need to configure this policy at all. The implicit default configurationfor this policy is as below. If you need to change any of the parameters from the implicit default,you must name the resulting traffic policy default

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 27

Page 28: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

ACMEPACKET# traffic-policy-configname defaultthrottle-rate 800max-signaling-rate 33000000000min-untrusted-percent 33max-untrusted-percent 66

Load Balancer Policy ConfigurationThe lbp-config configuration element manages the SLB endpoint table. It also creates and manages a list ofservice interfaces (signaling addresses) that are advertised to endpoints comprising the user accesspopulation.

Use the following procedure to perform required lbp-config configuration.

1. From superuser mode, use the following ACLI command sequence to access lbp-config configurationmode. While in this mode, you configure the lbp-config configuration element.

ACMEPACKET# configure terminalACMEPACKET(configure)# session-routerACMEPACKET(session-router)# lbp-configACMEPACKET(lbp-config)#?state lbp statelog-level configure log leveluntrusted-grace-period Untrusted grace periodmax-untrusted-percentage Maximum untrusted endpoints percentagemax-untrusted-upper-threshold Maximum untrusted endpoints upper thresholdmax-untrusted-lower-threshold Maximum untrusted endpoints upper thresholdendpoint-capacity-upper-threshold endpoint capacity upper thresholdendpoint-capacity-lower-threshold endpoint capacity lower thresholdred-port lbp redundant sync port: 0 to disable and 2000 to enablered-max-trans maximum redundancy transactions to keep on activered-sync-start-time timeout for transitioning from standby to activered-sync-comp-time sync request timeout after initial sync completionport-aware-balancing Include endpoint source port, in addition to the source IP address if NAT is used options optional features/parametersselect select lbp configno delete lbp configshow show lbp configdone save lbp config informationexit return to previous menuACMEPACKET(lbp-config)#

2. Use the state parameter to enable or disable the SLB software.

The default setting, enabled, enables SLB functionality; disabled renders the SLB inoperable.

ACMEPACKET(lbp-config)# state enableACMEPACKET(lbp-config)#

3. Use the log-level parameter to specify the contents of the SLB log.

Log messages are listed below in descending order of severity.

• emergency — the most severe• critical• major (error)• minor (error)

Subscriber-Aware Load Balancer Configuration

28 Oracle® Communications Subscriber-Aware Load Balancer

Page 29: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

• warning• notice• info — (default) the least severe• trace — (test/debug, not used in production environments)• debug — (test/debug, not used in production environments)• detail — (test/debug, not used in production environments)

In the absence of an explicitly configured value, log-level defaults to critical, meaning that log messageswith a severity of critical or greater (emergency) are written to the LBP log.

ACMEPACKET(lbp-config)# log-level criticalACMEPACKET(lbp-config)#

4. Use the untrusted-grace-period, max-untrusted-percentage, max-untrusted-upper-threshold, andmax-untrusted-lower-threshold parameters to implement percentage-based management andmonitoring of untrusted endpoints in the SLB endpoint database. Management and monitoring ofuntrusted endpoints is instrumental in detecting and responding to Denial-of-Service (DOS) attacksaimed at the SLB.

untrusted-grace-period specifies the maximum time, in seconds, that a forwarding rule is retained bythe SLB before it is confirmed with a promotion message from the SBC that received the untrustedendpoint. Refer to the Balancing section for message details.

In the absence of an explicitly assigned value, the SLB provides a default setting of 30 (seconds).

If this time period elapses without a promotion message arriving to confirm this user, the SLB deletesthe entry.

Setting this parameter to 0 allows untrusted/unconfirmed entries to exist indefinitely without agingout.

max-untrusted-percentage specifies the percentage of the overall endpoint population that is reservedfor untrusted users.

The default setting is 20 (percent); supported values are integers within the range 1 through 100.

This percentage is applied to the overall remaining occupancy of the SLB after trusted (confirmed) usersare accounted for. For example, when empty, the SLB holds two million forwarding rules; assuming thedefault setting, at most 400,000 rules are reserved for untrusted rules. By the time one million usershave been promoted, 20% of the remaining space means that up to 200,000 entries can be used foruntrusted users.

max-untrusted-upper-threshold specifies a threshold level at which the SLB (1) raises an alarm, and (2)issues an SNMP trap reporting an excessive number of untrusted endpoints within the entire endpointpopulation.

This parameter, which has a default setting of 80 (percent), is calculated as a percent of max-untrusted-percentage. For example, assuming default settings for both parameters, the SLB raises an alarm andissues an SNMP trap when the percentage of untrusted endpoints attains 16%.

max-untrusted-lower-threshold specifies a threshold level at which the SLB (1) clears the existinguntrusted endpoint alarm, and (2) issues an SNMP trap reporting alarm clearance.

This parameter, which has a default setting of 70 (percent), is calculated as a percent of max-untrusted-percentage. For example, assuming default settings for both parameters, the SLB clears an alarm andissues an SNMP trap when the percentage of untrusted endpoints falls to 14%.

ACMEPACKET(lbp-config)# untrusted-grace-period 30ACMEPACKET(lbp-config)# max-untrusted-percentage 20ACMEPACKET(lbp-config)# max-untrusted-upper-threshold 80ACMEPACKET(lbp-config)# max-untrusted-lower-threshold 70ACMEPACKET(lbp-config)#

5. Use the endpoint-capacity-upper-threshold and endpoint-capacity-lower-threshold parameters toimplement license-based management and monitoring of the SLB endpoint counts.

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 29

Page 30: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

endpoint-capacity-upper-threshold specifies a threshold level at which the SLB (1) raises an alarm, and(2) issues an SNMP trap reporting an excessive number of active endpoints.

This parameter, which has a default setting of 80 (percent), is calculated as a percentage of theendpoints allowed by the installed SLB license.

endpoint-capacity-lower-threshold specifies a threshold level at which the SLB (1) clears the existingendpoint alarm, and (2) issues an SNMP trap reporting alarm clearance.

This parameter, which has a default setting of 70 (percent), is calculated as a percentage of theendpoints allowed by the installed SLB license.

ACMEPACKET(lbp-config)# endpoint-capacity-upper-threshold 80ACMEPACKET(lbp-config)# endpoint-capacity-lower-threshold 70ACMEPACKET(lbp-config)#

6. Enable port-aware-balancing to include endpoint source port, in addition to the source IP anddestination service representation when looking up a unique EPT prior to forwarding towards the SBCcluster. Choices are enabled and disabled. Default is disabled.

ACMEPACKET(lbp-config)# port-aware-balancing enableACMEPACKET(lbp-config)#

7. Use done, exit, and verify-config to complete configuration of this load-balancer-policy configurationelement.

Sample Load Balancer Policy Configuration

The following formatted extract from show running-config ACLI output shows a sample load balancerpolicy configuration with port-aware-balancing enabled.

lbp-configstate enabledlog-level NOTICEuntrusted-grace-period 30max-untrusted-percentage 20max-untrusted-upper-threshold 80max-untrusted-lower-threshold 70end-point-capacity-upper-threshold 80end-point-capacity-lower-threshold 70red-port 0red-max-trans 500000red-sync-start-time 5000red-sync-comp-time 1000port-aware-balancing enabledlast-modified-by admin@consolelast-modified-date 2015-11-07 18:49:04

Distribution Policy ConfigurationDistributing endpoints equitably among the cluster members is the primary function of the SLB. The lp-config configuration element allows you to control the method of the SLB’s distribution based on matchingcriteria. Using inbound packet matching criteria, you can control the assignment of users to SBCs.Matching is done by data available up to and including the transport layer of the packet: source IP addressand port, destination IP address and port, and transport protocol. The IP addresses and ports may or maynot include bit masks as well.

Conceptually, the load balancer policy table, with sample data, looks akin to the following.

Source IP/Mask Source Port/Mask

Destination IP/Mask

DestinationPort/Mask

TransportProtocolRequirements(list)

RealmIdentifiers(list)

192.168.7.22/32 0/0 10.0.0.1/32 5060/16 West

Subscriber-Aware Load Balancer Configuration

30 Oracle® Communications Subscriber-Aware Load Balancer

Page 31: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Source IP/Mask Source Port/Mask

Destination IP/Mask

DestinationPort/Mask

TransportProtocolRequirements(list)

RealmIdentifiers(list)

192.168.1.0/24 0/0 10.0.0.1/32 5060/16 UDP, TCP North, South,West

192.168.0.0/16 0/0 10.0.0.1/32 5060/16 UDP, TCP East, West

0.0.0.0/0 0/0 0.0.0.0/0 0/0

Policies are matched using a longest prefix match algorithm; the most specific policy is selected whencomparing policies to received packets. One and only one policy is chosen per packet; if the next hops inthat route are all unavailable, the next best route is not consulted (instead, the default policy may beconsulted – see below). This is different than the local-policy behavior on the SBC.

Within each policy you may configure multiple next hops, where each next hop is a named group of SBCs.In the sample policy table, this is indicated in the second policy with a source IP range of 192.168.1.0/24.The realm identifier list for this policy indicates North, South, West. Each of these realm identifiersrepresents a collection of zero or more SBCs, in SBC parlance these are roughly analogous to session-agentgroups. Each of these realm identifiers is also assigned a priority (a value between 1 and 31, with 31representing the highest priority) in the configuration, and the SLB sorts the possible destinations with thehighest priority first. Upon receipt of a packet matching a policy with multiple configured realmidentifiers, the SLB gives preference to SBCs from the realm identifier with the highest priority. Should noSBCs be available in that priority level (due to saturation, unavailability, and so on.) the SLB moves on toinvestigate the next priority level, and so on. Should no SBCs become available after traversing the entirelist of all SBCs within each priority level, the SBC either drops the packet or attempt to use the defaultpolicy.

The bottom row of the sample table shows this implicit, last resort default policy. When enabled, the SLBreverts to the default policy when all of the potential next hop realms referenced in the endpoint’sdistribution rule are unavailable. In that event, the default policy attempts to locate a clustered SBC thatadvertises support for the service-interface that the packet arrived on. The realm is not considered whenmatching to the default policy. If such an SBC is found, the SLB forwards the packet to that DBC; if such anSBC is not found, the SLB drops the packet.

It is not necessary to configure the default policy — it is simply intended as a catchall policy, and may beused when all that is required is a simple round-robin balancing scheme based on simple metrics (forexample, CPU utilization and number of registrations currently hosted by an SBC). If no policies areconfigured on the SLB, the default policy is used. The default realm is implied in the above table as * and isenabled by default for policy records.

Use the following procedure to perform required lb-config configuration.

1. From superuser mode, use the following ACLI command sequence to access lb-config configurationmode. While in this mode, you configure the distribution rules used to implement policy-based loadbalancing on the SLB.

ACMEPACKET# configure terminalACMEPACKET(configure)# session-routerACMEPACKET(session-router)# lb-policyACMEPACKET(lb-policy)# ?state lb policy statedefault-realm use default realmdescription load balancer policy descriptionprotocols list of protocolslb-realms list of realms name prioritysource-addr source ip address

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 31

Page 32: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

destination-addr destination ip addressselect select lb policyno delete lb policyshow show lb policydone save lb policy informationexit return to previous menuACMEPACKET(lb-policy)#

2. Use the state parameter to enable or disable this distribution rule.

The default setting, enabled, enables the distribution rule; disabled disables the rule.

ACMEPACKET(lb-policy)# state enabledACMEPACKET(lb-policy)#

3. Use the default-realm parameter to enable or disable the default distribution policy.

The default setting, enabled, enables the default policy; disabled disables the policy.

With default-realm enabled, the SLB provides a best-effort delivery model if the next-hop realms listedin this distribution rule are unavailable. With default-realm disabled, the orphaned packet is dropped.

ACMEPACKET(lb-policy)# default-realm enabledACMEPACKET(lb-policy)#

4. Optionally use the description parameter to provide a description of this distribution rule.

ACMEPACKET(lb-policy)# description Local traffic to Los Angeles siteACMEPACKET(lb-policy)#

5. Use the protocols parameter to construct a list of protocols that must be supported by this distributionrule.

ACMEPACKET(lb-policy)# protocols udpACMEPACKET(lb-policy)#

6. Use either the source-addr parameter or the destination-address parameter to specify matching criteriafor this distribution rule.

Use the source-addr parameter to specify source-address-based matching criteria.

Packets whose source IP addresses match the criteria specified by this parameter are subject to thisdistribution rule.

ACMEPACKET(lb-policy)# source-addr 10.0.0.1ACMEPACKET(lb-policy)#matches any port on the specified IP source address

ACMEPACKET(lb-policy)# source-addr 10.0.0.1:5060ACMEPACKET(lb-policy)#matches the specified IP source address:port pair

ACMEPACKET(lb-policy)# source-addr 10.0.0.1/24ACMEPACKET(lb-policy)#matches any IP source address, any port on the 10.0.0.x subnet

ACMEPACKET(lb-policy)# source-addr 10.0.0.240/28:5060ACMEPACKET(lb-policy)#matches IP source addresses 10.0.0.240:5060 through 10.0.0.255:5060

Use the destination-addr parameter to specify destination-address-based matching criteria.

Packets whose destination IP addresses match the criteria specified by this parameter are subject to thisdistribution rule.

ACMEPACKET(lb-policy)# destination-addr 10.0.0.1ACMEPACKET(lb-policy)#matches any port on the specified IP destination address

Subscriber-Aware Load Balancer Configuration

32 Oracle® Communications Subscriber-Aware Load Balancer

Page 33: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

ACMEPACKET(lb-policy)# destination-addr 10.0.0.1:5060ACMEPACKET(lb-policy)#matches the specified IP destination address:port pair

ACMEPACKET(lb-policy)# destination-addr 10.0.0.1/24ACMEPACKET(lb-policy)#matches any IP destination address, any port on the 10.0.0.x subnet

ACMEPACKET(lb-policy)# destination-addr 10.0.0.240/28:5060ACMEPACKET(lb-policy)#matches destination IP addresses 10.0.0.240:5060 through 10.0.0.255:5060

7. Use the lb-realms parameter to access lb-realm configuration mode.

While in lb-realm configuration mode you identify one or more SLBs eligible to receive traffic thatmatches this distribution rule.

ACMEPACKET(lb-policy)# lb-realmsACMEPACKET(lb-realm)#name realm name (string identifier)priority priority (range 1-31)select select a lb realm to editno delete selected lb realmshow show lb realm informationdone write lb realm informationexit return to previous menuACMEPACKET(lb-realm)#

8. Use the name parameter to identify the realm.

As previously discussed, the name field is roughly analogous to an SBC session-agent group. SBCsconfigured to communicate within a cluster hosted by an SLB advertise offered services to the SLB.These services (for example, SIP support) exist in realms, whose names are sent to the SLB as part of theSBC advertisement. The SLB, upon receipt of these advertisements, joins each SBC into one or morerealm identifier groups based upon the realm name(s) the SBC has offered up. The name command ofthe lb-realm configuration element matches this distribution rule to a supporting SBC that has offeredthat realm name for cluster membership.

ACMEPACKET(lb-realm)# name LosAngelesACMEPACKET(lb-realm)#

9. Use the priority parameter to specify the realm priority.

Priority is expressed as an integer value within the range 0 to 31 — the higher the integer, the greaterthe priority.

The default value, 0, specifies use of the default routing policy, and should not be used when policy-based distribution is enabled.

Priority values are considered when multiple SBCs offer the same service to matched packets.

ACMEPACKET(lb-realm)# priority 31ACMEPACKET(lb-realm)#

10. Use done, exit, and verify-config to complete configuration of this lb-realm configuration element.11. To specify other eligible SLBs, repeat Steps 7 through 10. For example,

ACMEPACKET(lb-config)# lb-realmsACMEPACKET(lb-realm)# name LasVegasACMEPACKET(lb-realm)# priority 25ACMEPACKET(lb-realm)# doneACMEPACKET(lb-realm)# exitACMEPACKET(lb-realm)# verify-config

12. Use done, exit, and verify-config to complete configuration of this distribution rule.13. To specify additional distribution rules, repeat Steps 1 through 12 as often as necessary.

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 33

Page 34: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Sample Distribution Rule Configurations

The following formatted extract from show running-config ACLI output shows sample distribution ruleconfigurations.

lb-policystate enableddefault-realm enableddescriptionprotocols TCP lb-realm name Realm192p1 priority 10source-addr 1.1.0.0/16destination-addr 0.0.0.0/0last-modified-by admin@consolelast-modified-date 2013-11-07 18:58:10lb-policystate enableddefault-realm enableddescriptionprotocols TCP lb-realm name Realm192p1 priority 7source-addr 1.20.0.0/16destination-addr 0.0.0.0/0last-modified-by admin@consolelast-modified-date 2013-11-07 19:01:01lb-policystate enableddefault-realm enableddescriptionprotocols TCP lb-realm name Realm192p1 priority 5source-addr 1.120.0.0/16destination-addr 0.0.0.0/0last-modified-by admin@consolelast-modified-date 2013-11-07 19:00:49lb-policystate enableddefault-realm enableddescriptionprotocols TCP lb-realm name Realm192p1 priority 3

Forced RebalanceThe notify ccd rebalance ACLI command initiates an immediate forced rebalance operation. A forcedrebalance operation is identical to the one described in the Rebalancing section.

notify ccd rebalance [cancel [sd-name] ]

ACMEPACKET# notify ccd rebalanceinitiates the forced rebalance by calculating drop counts for each eligible cluster member, and thenrequesting drops from the first cluster member in the rebalance queue.

ACMEPACKET# notify ccd rebalance cancelterminates the forced rebalance.

Subscriber-Aware Load Balancer Configuration

34 Oracle® Communications Subscriber-Aware Load Balancer

Page 35: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

ACMEPACKET# notify ccd rebalance cancel ~samterminates the forced rebalance for a specified cluster member. Note the use of tilde special character,which forces the SLB to do a substring match of the following string against all cluster member names.Assuming a cluster member [email protected] — that cluster member removes itself from therebalance queue, if it has not yet removed endpoints, or ceases endpoint removal and exits the queue if it iscurrently doing so.

The notify ccd drop ACLI command instructs the target cluster member to drop a specific number ofendpoints from a specific realm, from all realms, or without regard for realm.

notify ccd drop <sd-name> (<realm> <number> | <number>)

ACMEPACKET# notify ccd drop ~sam boston 100instructs the target cluster member to drop 100 endpoints from the boston realm

ACMEPACKET# notify ccd drop ~sam * 100using the * special character instructs the target cluster member to drop 100 endpoints from all realms

ACMEPACKET# notify ccd drop ~sam 100instructs the target cluster member to drop 100 endpoints without regard for realm

SBC ConfigurationThis section describes the configuration necessary to allow an SBC to join a cluster. Configuration issimplified to allow for an easy and seamless migration from a deployed standalone SBC to a deployedclustered SBC. There are only two places where new configuration is required: in the network-interfaceconfiguration element, where tunnel information is defined; and in the signaling application’s interface,(the sip-interface configuration element).

SBC Tunnel ConfigurationConfiguring the properties of the IP-in-IP tunnel on the SBC is a matter of configuring the local IP address,remote IP address, and specifying transport layer and application layer protocol support.

The following example uses a tunnel named sipSignaling, which was initially and partially configured onthe SLB. Note in the following configuration that the value of remote-ip-address parameter must agreewith the value which was previously set with the local-ip-address parameter on the SLB. Thecomplementary configuration performed on the SLB enables tunnel establishment between the SBC andthe SLB.

1. From superuser mode, use the following ACLI command sequence to access tunnel-configconfiguration mode. While in this mode, you perform required SLB tunnel configuration.

ACMEPACKET# configure terminalACMEPACKET(configure)# systemACMEPACKET(system)# network-interfaceACMEPACKET(network-interface)# tunnel-configACMEPACKET(tunnel-config)# ?name tunnel namelocal-ip-address tunnel local IP addressremote-mac-address tunnel remote mac addressremote-ip-address tunnel remote IP addressapplication application protocol for this tunnelport tunnel local & remote control portsprotocol tunnel control transport protocoltls-profile tunnel control TLS profiletraffic-policy Name of traffic policy that applies to this tunnel

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 35

Page 36: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

select select tunnel to editno delete tunnelshow show tunneldone write tunnel informationexit return to previous menuACMEPACKET(tunnel-config)#

2. Use the name command to provide a unique identifier for this tunnel instance.

ACMEPACKET(tunnel-config)# name sipSignalingACMEPACKET(tunnel-config)#

3. Use the local-ip-address parameter to specify the IP address at the SLB end of the tunnel.

Note: This address also supports the exchange of CCP messages.

ACMEPACKET(tunnel-config)# local-ip-address 1.1.1.100ACMEPACKET(tunnel-config)#

4. Ignore the remote-mac-address parameter which is not required for tunnel configuration.5. Use the remote-ip-address parameter to specify the IP address at the SLB end of the tunnel.

Note: This address also supports the exchange of CCP messages.

ACMEPACKET(tunnel-config)# remote-ip-address 182.16.204.210ACMEPACKET(tunnel-config)#

6. Use the port parameter to specify the port used to send and receive cluster control messages.

ACMEPACKET(tunnel-config)# port 4444ACMEPACKET(tunnel-config)#

7. Use the protocol parameter to specify the transport protocol used in support of cluster controlmessages.

Supported transport protocol is UDP (the recommended default).

ACMEPACKET(tunnel-config)# protocol UDPACMEPACKET(tunnel-config)#

8. Use the application parameter to specify the application protocol supported by this tunnel.

Specify the SIP protocol.

ACMEPACKET(tunnel-config)# application SIPACMEPACKET(tunnel-config)#

9. Use traffic-policy to enter the name of the traffic policy that applies to this tunnel (1-128 characterslong) as configured on the SLB

This configuration is a per-tunnel configuration. Once configured, it will be passed on via the CCPprotocol to SLB in Heartbeat messages.

The CCD task running on the SLB will extract the traffic policy name and will find the matching traffic-policy configuration on the SLB.

ACMEPACKET(tunnel-config)# traffic-policy <pattern>ACMEPACKET(tunnel-config)#

10. Use done, exit, and verify-config to complete configuration of this tunnel-config configuration element.11. Repeat Steps 1 through 9 to complete tunnel configuration on other SIP interfaces as required.

Sample SBC Tunnel Configuration

The following formatted extract from show running-config ACLI output shows a sample SLB (clustermember) configuration.

tunnel-configname onelocal-ip-address 1.1.1.100

Subscriber-Aware Load Balancer Configuration

36 Oracle® Communications Subscriber-Aware Load Balancer

Page 37: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

remote-mac-addressremote-ip-address 182.16.204.210port 4444protocol UDPtls-profile TLS-LBtraffic-policy tp1application SIPlast-modified-by admin@consolelast-modified-date 2013-11-10 23:24:15

Note: This configuration is a per-tunnel configuration. Once configured, it will be passed on via theCCP protocol to SLB in Heartbeat messages.

SIP ConfigurationIn a traditional SBC configuration the IP address assigned to a sip-port configuration element is containedwithin the address space defined by the network interface netmask. This is not be the case for clusteredSBCs. Rather, the IP address assigned to the sip-port is identical to the address of an SLB service-portadvertised on the access network. The process of encapsulating the packets between the SLB and SBCmasks the fact that the IP address the SBC expects to receive IP packets on is different than the Layer 5address the SBC expects the SIP address on.

Consistency of realm identification is vital to successful and predictable policy-based load balancing. Takeparticular care to ensure that the realm-id of the sip-interface configuration element mirrors the lb-realmassignments made while configuring distribution rules. See the Distribution Policy Configuration section.

In the following configuration example, the realm-id is LosAngeles. This SBC, when booted, will detectthat it is a member of an SLB cluster and register the service port 10.0.0.1:5060/UDP as the realmLosAngeles with the SLB. The SLB will automatically create the SBC group LosAngeles (if it doesn’t exist)or join the SBC to the group LosAngeles (if it is not the first to advertise LosAngeles). Policy statementsthat direct packets to LosAngeles now consider this SBC as a potential destination, assuming theaddress:port/protocol also are consistent with the policy’s matching criteria.

This technique allows you to configure the same IP:port/protocol on multiple SBCs, with different realm-id labels, to indicate priority of one SBC or group of SBCs over another. As an example, consider severalSBCs geographically situated together with the label LosAngeles, and several other SBCs geographicallysituated elsewhere with the label NewYork, all with the identical SIP interface and SIP port configuration.A policy can be easily defined to give preference to a source subnet of users in California to the LosAngelesmember SBCs, with NewYork as a second priority. This provides flexibility in network design withoutundue burden in the configuration: SBCs’ tagged with the same realm name are joined in dynamicallycreated SBC groups by the SLB, with no explicit configuration required on the SLB whatsoever.

1. From superuser mode, use the following ACLI command sequence to access sip-interface configurationmode. While in this mode, you verify the realm-id and assign the newly created IP-in-IP tunnel to a SIPinterface.

westy# configure terminalwesty(configure)# session-routerwesty(session-router)# sip-interfacewesty(sip-interface)# select<realm-id>: LosAngeles1: LosAngeles 172.192.1.15:5060selection: 1westy(sip-interface)# showsip-interface state enabled realm-id LosAngeles ...

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 37

Page 38: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

... ...westy(sip-interface)#

2. Use the tunnel-name parameter to assign the IP-in-IP tunnel to the current SIP interface.

westy(sip-interface)# tunnel-name sipSignalingwesty(sip-interface)# ?

3. Use the sip-port command to move to sip-port configuration mode.

westy(sip-interface)# sip-portwesty(sip-port)# ?address IP Addressport port (default: 5060)transport-protocol transport protocoltls-profile the profile nameallow-anonymous allowed requests from SIP realmims-aka-profile ims-aka profile nameselect select a sip port to editno delete a selected sip portshow show sip port informationdone write sip port informationexit return to previous menuwesty(sip-port)#

4. Use the address, port, and transport-protocol parameters to mirror the address of an existing SLBservice port.

westy(sip-port)# address 10.0.0.1westy(sip-port)# port 5060westy(sip-port)# transport-protocol udpwesty(sip-port)#

5. Use done, exit, and verify-config to complete configuration of this sip-port configuration element.6. Repeat Steps 1 through 5 as necessary to verify realm-ids, assign IP-in-IP tunnels, and create mirrored

service ports on additional SIP interfaces.

Online Offline ConfigurationThe set-system-state ACLI command provides the ability to temporarily place a clustered SBC in theoffline state. The offline setting puts the SBC into a state where it is powered on and available only foradministrative purposes.

The transition to the offline state is graceful in that existing calls are not affected by the state transition. TheSBC informs the SLB of the impending status change via a CCP message. Upon receiving such a message,the SLB ceases to forward new endpoints to the SBC, and places the SBC in the Shutdown state. The SBC,for its part, enters a state that results in the rejection of any incoming out-of-dialog SIP requests. Eventuallyall calls compete, registrations expire and are removed by the SLB, and returning endpoints are allotted toactive SBCs.

Use the set-system-state offline ACLI command to place an SBC in the offline state.

ACMEPACKET# set-system-state offlineAre you sure you want to bring the system offline? [y/n]?: ySetting system state to going-offline, process will complete when all current calls have completedACMEPACKET#

Note: An SBC in the offline state plays no role in a balance or rebalance operation.

In a similar fashion use the set-system-state online ACLI command to place an SBC in the online state.

ACMEPACKET# set-system-state onlineAre you sure you want to bring the system online? [y/n]?: y

Subscriber-Aware Load Balancer Configuration

38 Oracle® Communications Subscriber-Aware Load Balancer

Page 39: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Setting system state to onlineACMEPACKET#

Subscriber-Aware Load Balancer Configuration

Oracle® Communications Subscriber-Aware Load Balancer 39

Page 40: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster
Page 41: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

4SLB/Cluster Management & Diagnostics

SLB StatisticsThe SLB provides the operator with a full set of statistical data for troubleshooting and diagnosticpurposes. This section describes current statistical outputs and defines displayed values. It is important tobecome familiar with the data and the collection process when opening trouble tickets as service personnelwill rely upon this information to assist you in diagnosing hardware, software, and/or network issues.

show balancerThe show balancer command is the root of all statistical data pertinent to SLB operation. Below is a list ofvalid arguments, which are described in further detail in the following sections:

ACMEPACKET# show balancer ?end-points show session load balancer end-pointsmembers show session load balancer cluster member summarymetrics show load balancer metricsrealms show load balancer realmstunnels show session load balancer statisticsstatistics show session load balancer IP-in-IP tunnel infoACMEPACKET#

show balancer endpoints

The show balancer endpoints command displays a full list of all IP-to-SBC mappings resident in the SLB.As the SLB can hold up to ten million entries, the output of this command can and will grow very large,and extreme caution should be exercised when executing this command on a heavily trafficked SLBsystem.

ACMEPACKET# show balancer endpoints IP address Port Access Core Flags SBC Handle--------- ---- -------- -------- -------- ---- ------15.0.0.24 5060 00134324 10134324 c0000000 1023 [[email protected]]15.0.0.22 5060 00134323 10134323 c0000000 1022 [[email protected]]15.0.0.20 5060 00134322 10134322 c0000000 1021 [tuono]15.0.0.18 5060 00134321 10134321 c0000000 1020 [superduke]15.0.0.16 5060 00134320 10134320 c0000000 1023 [[email protected]]15.0.0.14 5060 00134319 10134319 c0000000 1022 [[email protected]]15.0.0.12 5060 00134318 10134318 c0000000 1021 [tuono]15.0.0.10 5060 00134317 10134317 c0000000 1020 [superduke]15.0.0.8 5060 00134316 10134316 c0000000 1023 [[email protected]]

Oracle® Communications Subscriber-Aware Load Balancer 41

Page 42: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

15.0.0.6 5060 00134315 10134315 c0000000 1022 [[email protected]]15.0.0.4 5060 00134314 10134314 c0000000 1021 [tuono]15.0.0.2 5060 00134313 10134313 c0000000 1020 [superduke]ACMEPACKET#The table provided by show balancer endpoints displays every endpoint mapping. In the above example,note that IP addresses in the 14.0.134.0/24 space are being distributed among a number of SLBs. The IPaddress and Port columns pinpoint a specific endpoint. The Index, Address, and Flags columns containSLB internal reference identifiers for locating that specific endpoint in memory. The SLB Handle columnidentifies which SLB serves that endpoint; use the show balancer members command to display amapping of SLB names to SLB handles.

You can use optional command arguments to filter/restrict command output.

show balancer endpoints <ip-address> restricts the display to one endpoint.

For example:

show balancer endpoints address 14.0.134.232displays data for the specified IP endpoint

show balancer endpoints <ip-address>/<:port_num>restricts the display to a specific port on a specific IPaddress.

For example:

show balancer endpoints address 14.0.134.232:5060displays data for port 5060 on the specified endpoint.

show balancer endpoints <ip-address>/<bit-mask-len> restricts the display to a contiguous range ofendpoint addresses.

For example:

show balancer endpoints address 14.0.134.0/24displays data for the 14.0.134.0 subnet.

show balancer endpoints address 14.0.134.240/28displays data for endpoint addresses 14.0.134.240 through 14.0.134.255.

show balancer endpoints <ip-address>/<bit-mask-len><:port_num>displays data for a specific port on a contiguous range of endpoint addresses.

show balancer members

The show balancer members command provides a list of all SBCs that have registered with the SLB.

ACMEPACKET# show balancer membersural# show balancer members SBC Name Source Address Destination Address S/P/VLAN Endpoints ---- ------------------------- ---------------- -------------------- -------- ---------1020 superduke 68.68.68.100 68.68.68.5 0/0/0 31021 tuono 68.68.68.100 68.68.68.4 0/0/0 31022 [email protected] 68.68.68.100 68.68.68.1 0/0/0 31023 [email protected] 68.68.68.100 68.68.68.2 0/0/0 3

max endpoints: 12 max untrusted endpoints: 200

SLB/Cluster Management & Diagnostics

42 Oracle® Communications Subscriber-Aware Load Balancer

Page 43: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

current endpoints: 12current untrusted endpoints: 0 current SBCs: 4ACMEPACKET#The SBC column contains the SBC handle, an internal shorthand that identifies a specific SBC. The showbalancer members command provides a handle-to-hostname mapping.

Name contains the SBC hostname. Standalone SBCs are displayed as hostname@IP address, and highlyavailable SBCs (csbc1a in the above display) are displayed as hostname.

Source IP contains the local (SLB) tunnel address.

Destination IP contains the remote (SBC) tunnel address.

Slot, Port, and Vlan identify the local interface that supports the SLB-to-SBC tunnel.

endpoints contains the number of endpoint-SBC associations that the SLB created for each specific SBC,

max endpoints contains the licensed capacity of the SBC.

max untrusted endpoints contains the maximum allowed number of untrusted endpoints.

current endpoints contains the current number of endpoints, trusted and untrusted

current untrusted endpoints contains the current number of untrusted endpoints.

show balancer metrics

The show balancer metrics command displays a comparison between the number of local endpoints (thatis, the associations between source addresses and each SBC) and the number of remote endpoints (that is,what the SBC reports to the SLB as the number of endpoints it has received via the tunneled interface).Note that in the example output below those two numbers are the same; this is true if and only if there areno users in the access network that have multiple phone lines sourced from the same IP address. Were thatthe case, the number of remote endpoints would be higher than the number of local endpoints.

This table is populated with the data received in the periodic heartbeats from the SBC to the SLB. As theseheartbeats are somewhat infrequent (every two seconds by default), the data in this table should only beconsidered accurate within two seconds.

ACMEPACKET# show balancer metrics local remote maxSLB Name epts epts max reg CPU CPU--- ------------------------- ------ ------- -------- ---- ---- 93 [email protected] 0 0 480000 2.7 90.0 94 westy 0 0 480000 2.7 90.0 95 [email protected] 0 0 480000 2.8 90.0 96 [email protected] 0 0 480000 4.3 90.0 97 [email protected] 0 0 480000 2.9 90.0 98 [email protected] 0 0 480000 2.9 90.0 99 [email protected] 0 0 480000 3.6 90.0ACMEPACKET#SLB contains the SLB handle.

Name contains the SLB hostname.

max reg contains the maximum number of endpoints the SLB will send to this specific SBC. Its value isderived from the product of the session-multiplier parameter in the cluster-config configuration elementand the SBC’s licensed session capacity. The SBC passes this value to the SLB during the SBC’s registrationprocess into the cluster.

CPU contains the last received information on the CPU percentage from this SBC.

max CPU contains the threshold percentage at which the SBC is removed from consideration for theassignment of new endpoints. The default value is 90%, and may be changed on an SBC by setting theload-limit value as a SIP configuration option.

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 43

Page 44: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

show balancer realms

The show balancer realms command displays a composite list of realms that all member SBCs haveregistered with the SLB.

ACMEPACKET# show balancer realmsRealm SBC Tunnel Name ref count endpoints----------- --- ------ ------------------------ --------- ---------access 99 4092 [email protected] 1 53535access 98 4091 [email protected] 1 53535access 97 4090 [email protected] 1 53535access 94 4086 [email protected] 1 53535access 93 4085 [email protected] 1 53535access 92 4084 [email protected] 1 53535access 96 4089 [email protected] 1 53535net-13 99 4088 [email protected] 1 62550net-13 91 4087 [email protected] 1 62550ACMEPACKET#In this example, seven of the nine SBCs have registered the realm access and two have registered the realmnet-13. The total number of endpoints for each of these services is indicated in the rightmost column. refcount is reserved for future use.

show balancer statistics

The show balancer statistics command displays statistical output pertinent to low-level events on the SLB.The contents and output of this command are subject to change, and will be documented in a subsequentdocument release.

ACMEPACKET# shower-balancer-statisticsLBP not initialized drops 0max capacity reached drops 2endpoint SBC mismatch errors 0endpoint table read errors 0Tx packet failed count 0service not found count 0duplicate ept packet drops 0msgq drops 0forwarded duplicates 0policy miss 40508realm miss 0throttle drops 0throttle skips 0throttle policy skips 0total packets processed 40508endpoints removed 0EPT delete errors 0endpoints added 0EPT add errors 0EPT update errors 0group not found 0LBP agent not found 0invalid endpoint 0insert error 0untrusted dropped 0untrusted age outs 171packets dropped in balance 0packets dropped by standby 0-----------------------------trusted endpoints (EPT db) 0untrusted endpoints (EPT db) 337-----------------------------total trusted endpoints 0total untrusted endpoints 337

SLB/Cluster Management & Diagnostics

44 Oracle® Communications Subscriber-Aware Load Balancer

Page 45: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

total endpoints 337ACMEPACKET#

show balancer tunnels

When implemented on the SLB, the show balancer tunnels command generates a list of data for eachtunnel between the SLB and its clustered SBCs. It includes the tunnel source and destination addresses, aswell as an internal switch ID (swid) for this tunnel.

ACMEPACKET# show balancer tunnels1020(1025/1026)::outer src addr = 68.68.68.100outer dst addr = 68.68.68.5slot/port/vlan = 0/0/0traffic policy selected: "" ; traffic policy configured: implicit defaults. service: 172.16.2.3:5060 [access] protocols: 17/21588

1021(1025/1026)::outer src addr = 68.68.68.100outer dst addr = 68.68.68.4slot/port/vlan = 0/0/0traffic policy selected: "" ; traffic policy configured: implicit defaults. service: 172.16.2.3:5060 [access] protocols: 17/21588

1022(1025/1026)::outer src addr = 68.68.68.100outer dst addr = 68.68.68.1slot/port/vlan = 0/0/0traffic policy selected: "" ; traffic policy configured: implicit defaults. service: 172.16.2.3:5060 [access] protocols: 17/21588

1023(1025/1026)::outer src addr = 68.68.68.100outer dst addr = 68.68.68.2slot/port/vlan = 0/0/0traffic policy selected: "" ; traffic policy configured: implicit defaults. service: 172.16.2.3:5060 [access] protocols: 17/21588

ACMEPACKET# show balancer tunnels errors fragments statistics Use the error argument for error reporting and troubleshooting.

ACMEPACKET# show balancer tunnels errorssrc addr 68.68.68.100 / dst addr 68.68.68.5 / slot 0 / port 0 / vlan 0: Proto Encaps Errors Decaps Errors ----- ------------- ------------- 17 0 0

src addr 68.68.68.100 / dst addr 68.68.68.4 / slot 0 / port 0 / vlan 0: Proto Encaps Errors Decaps Errors ----- ------------- ------------- 17 0 0

src addr 68.68.68.100 / dst addr 68.68.68.1 / slot 0 / port 0 / vlan 0: Proto Encaps Errors Decaps Errors ----- ------------- ------------- 17 0 0

src addr 68.68.68.100 / dst addr 68.68.68.2 / slot 0 / port 0 / vlan 0: Proto Encaps Errors Decaps Errors ----- ------------- ------------- 17 0 0

unknown protocol: 0

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 45

Page 46: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

do not fragment drops: 0no matching tunnel: 0service lookup failed: 0IP frag msg failure: 0mblk alloc failues: 0IP frame too large: 0unknown errors: 0unknown errors: 0ACMEPACKET#show balancer tunnels errors fragments statisticsThe show balancer tunnels error command can also be executed on an SBC cluster member. In this usage,the displayed data is restricted to errors between the specific cluster member and the SLB.

Use the fragments argument for information related to packet fragmentation/reassembly details.

ACMEPACKET# show balancer tunnels fragmentssrc addr 68.68.68.100 / dst addr 68.68.68.5 / slot 0 / port 0 / vlan 0: IP:Port: 172.16.2.3:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 17 3 1239 0 0

src addr 68.68.68.100 / dst addr 68.68.68.4 / slot 0 / port 0 / vlan 0: IP:Port: 172.16.2.3:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 17 3 1240 0 0

src addr 68.68.68.100 / dst addr 68.68.68.1 / slot 0 / port 0 / vlan 0: IP:Port: 172.16.2.3:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 17 3 1243 0 0

src addr 68.68.68.100 / dst addr 68.68.68.2 / slot 0 / port 0 / vlan 0: IP:Port: 172.16.2.3:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 17 3 1244 0 0ACMEPACKET#show balancer tunnels errors fragments statistics The show balancer tunnels fragments command can also be executed on an SBC cluster member. In thisusage, the displayed data is restricted to fragmentation operations between the specific cluster memberand the SLB.

Use the statistics argument for information related to packet counts.

ACMEPACKET# show balancer tunnels statisticssrc ip 182.16.203.83 / dst ip 182.16.203.87 / slot 0 / port 1 / vlan 0: IP:Port: 192.169.203.83:5050 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 6 0 0 0 0 IP:Port: 192.169.203.83:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets ----- ---------- ------------ ---------- ------------ 17 48011 24213914 0 0src ip 182.16.203.83 / dst ip 182.16.203.86 / slot 0 / port 1 / vlan 0: IP:Port: 192.169.203.83:5060 Proto Encap Pkts Encap Octets Decap Pkts Decap Octets

SLB/Cluster Management & Diagnostics

46 Oracle® Communications Subscriber-Aware Load Balancer

Page 47: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

----- ---------- ------------ ---------- ------------ 17 48017 24217918 0 0ACMEPACKET#The show balancer tunnels statistics command can also be executed on an SBC cluster member. In thisusage, the displayed data is restricted to traffic counts between the specific cluster member and the SLB.

Cluster Control Protocol StatisticsThe CCP provides the operator with a full set of statistical data for troubleshooting and diagnosticpurposes.

show ccdThe show ccd command is the root of all statistical data pertinent to CCP operation. Below is a list of validarguments, which are described in further detail in the following sections:

ACMEPACKET# show ccd ?ccp Cluster Control Protocol Statsrebalance Display rebalance queuereset Reset Statssds Controlled SDsstats Cluster Control StatsACMEPACKET#

show ccd ccp

The show ccd ccp command displays aggregated data (that is, from all cluster members) about specificCCP operations.

ACMEPACKET# show ccd ccp--------------------M01:0--------------------Svc Add Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 8 4Op Replies Sent 0 8 4 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 8 4EP Del Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 3984 1013Duplicate Ops 0 12 6Op Replies Sent 0 3984 1013 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 3984 1013EP Promo Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 115601 8187Duplicate Ops 0 329 23Op Replies Sent 0 115601 8187 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- -200 OK 0 0 0 0 115601 8187Metrics Recent Total PerMax=================== ====== ========= ======Ops Recvd 57 16330 75

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 47

Page 48: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Op Replies Sent 57 16331 75 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- -200 OK 0 0 0 57 16328 75406 Not Accept 0 0 0 0 3 3Prov Done Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 6 3Op Replies Sent 0 6 3 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- -200 OK 0 0 0 0 6 3Going Down Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 1 1Op Replies Sent 0 1 1 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- -200 OK 0 0 0 0 1 1Stop Down Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 8 6Op Replies Sent 0 9 6 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- -200 OK 0 0 0 0 6 3406 Not Accept 0 0 0 0 3 3ACMEPACKET#Use the hostname argument to display data for a specific cluster member.

ACMEPACKET# show ccd ccp westy--------------------westy--------------------Svc Add Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 1 1Op Replies Sent 0 1 1 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 1 1EP Del Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 1 1Op Replies Sent 0 1 1 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 1 1EP Promo Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 1002 947Op Replies Sent 0 1002 947 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 1002 947Metrics Recent Total PerMax

SLB/Cluster Management & Diagnostics

48 Oracle® Communications Subscriber-Aware Load Balancer

Page 49: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

=================== ====== ========= ======Ops Recvd 20 167849 15Op Replies Sent 20 167849 15 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 20 167849 15Prov Done Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 1 1Op Replies Sent 0 1 1 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 1 1Stop Down Recent Total PerMax=================== ====== ========= ======Ops Recvd 0 5 2Op Replies Sent 0 5 2 -------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 0 0 0 5 2ACMEPACKET#

show ccd sds

The show ccd sds command displays a table containing an overview of all of the data gleaned from theCCP from each SBC.

ACMEPACKET# show ccd sdsSession Director Hdl State Tunnel Svcs Version HW----------------------- ---- --------- ------ ---- ---- ------ [email protected] 95 InService 2/2 2 6.2.0.30b8 [email protected] 94 InService 2/2 2 6.2.0.30b8 [email protected] 96 InService 2/2 2 6.2.0.30b8 [email protected] 97 InService 2/2 2 6.2.0.30b8 [email protected] 98 InService 2/2 2 6.2.0.30b8 [email protected] 99 InService 2/2 2 6.2.0.30b8 [email protected] 92 InService 2/2 2 6.2.0.30b8 [email protected] 91 InService 2/2 2 6.2.0.30b8 [email protected] 93 InService 2/2 2 6.2.0.30b8 SD3ACMEPACKET#Session Director contains the hostname of the cluster SBCs that are connected to the SLB. As with all of thesimilar statistical output, standalone SBCs are displayed as hostname@eth0 IP address, and highlyavailable SBCs are displayed as hostname.

Hdl contains the clustered SBC handle, an internal shorthand that identifies a specific cluster member. Theshow balancer members command provides a handle to hostname mapping.

State contains the current SBC state. Valid states are:

• Init — during initial handshaking with the SLB• InService — healthy and operating normally• Rebalance — during a cluster expansion/contraction operation• LostControl — no longer communicating with the SLB

Tunnel contains the number of tunnels between the SBC and SLB.

Svcs contains the number of advertised services (protocols) that the SBC has negotiated with the SLB.

Version contains the software version running on that SBC.

HW identifies the hardware platform (in this case, SD3 identifies an Acme Packet 4500 SBC).

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 49

Page 50: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

LastPing is not currently used.

When issued with an optional hostname argument, the show ccd sds command provides a detailed reportfor the target hostname.

ACMEPACKET# show ccd sds bassSession Director: [email protected]+-------------------------------------------------------------------|State : InService Handle : 0x5f|Tunnels : 1 ServicePorts : 1|HW Type : SD3 SW Version : 6.2.0.30b8|Last Ping : 1080ms App Count : 1||Service: App SvcPorts Tunnels endpoints DropCount+--------------- ---- -------- ------- --------- ---------access SIP 1 1 285714 0||# Tunnel App Handle Svcs LastHB+--- ---------------------------------- ---- ---------- ---- -----|0 (1.1.1.100|1.1.1.15) SIP 0xffb 1 375msTraffic Policy: Implicit Defaults||# CPU MAX CurReg RegLimit CurSess MaxSess+--- ----- ----- --------- --------- --------- ---------|0 4.1% 90.0% 285714 0 7336 64000| 4.1% 90.0% 285714 960000 7736 64000||Service Port App Handle TunNdx Avail+-------------------------------------- ---- ---------- ------ -----|access::192.168.168.100:5060<17> H248 513(1) 0 yesACMEPACKET#SBC State

• State — the current SBC state• Handle — the SBC handle• Tunnels — the current number of SBC tunnels• ServicePorts — the current number of SBC service ports• HW Type — the hardware platform (in this case, SD3 identifies an Acme Packet 4500 SBC)• SW Version — the installed software revision level• Last Ping — the number of elapsed milliseconds, since a ping/keepalive was received from this SBC• App Count — the number of applications supported by the SBC

Services State

• Service — the realm advertised by the SBC in the Service Port ID• App — the supported protocol: SIP• SVCPorts — the current number of service ports• Tunnels — the current number of tunnels• endpoints — the cumulative number of endpoints for this service• DropCount — the number of elements to drop when rebalancing this SBC

Tunnel State

• # — the tunnel index (0 or 1)• Tunnel — the SLB and SBC tunnel IP address• App — the supported protocol: SIP• Handle — the handle for the tunnel• Svcs — the number if service ports supporting the tunnel• LastHB — the number of elapsed milliseconds since a heartbeat was received from the remote end of

this tunnel

SLB/Cluster Management & Diagnostics

50 Oracle® Communications Subscriber-Aware Load Balancer

Page 51: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Tunnel Metrics

• # — the tunnel number (0 or 1)• CPU — the current CPU utilization rate• Max — the maximum supported CPU utilization rate, if this value is exceeded, the tunnel implements a

load limit algorithm• CurReg — the current number of registrations supported by the SBC• regLimit — the maximum number of registrations supported by the SBC• CurSess — the current call count reported by the SBC• MaxSess — the maximum sessions for which the SBC is licensed

Service Port Data

• Service Port — the service path (the concatenation of realm, IP address, port number, and IP Level 4protocol number — 17 for UDP, 6 for TCP)

• App — the supported protocol: SIP• Handle — the handle for the service port• TunNdx — the tunnel the service port is registered for• Avail — current availability (yes or no) determined by the presence of heartbeats

show ccd stats

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

ACMEPACKET# show ccd stats17:10:09-54 -------- Period ------- ---- LifeTime ---- SD Active Rate High Total Total PerMax [email protected] I285714 0.0 285714 0 285.71K 13.76K [email protected] I285714 0.0 285714 0 285.71K 13.76K [email protected] I285714 0.0 285714 0 285.71K 13.76K [email protected] I285714 0.0 285714 0 285.71K 13.76K [email protected] I285714 0.0 285714 0 285.71K 13.76K [email protected] I285714 0.0 285714 0 285.71K 13.76K 285.71Kwesty I285714 0.0 285714 0 285.71K 13.76K 285.71KTotal endpoints: 153908Total SDs : 9ACMEPACKET#The Period stats provided represent an accumulation of data for the amount of time specified after thedash separator in the timestamp printed in the first line of output (in this example, the period represents 54seconds).

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

The Rate column displays the transmission rate of new endpoint associations to that particular SBC. (In thesample, no new endpoints are arriving in the cluster, so all of the SBCs show a rate of 0.0.) The High fieldindicates 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 detailedreport for the target hostname.

ACMEPACKET# show ccd stats bass15:09:25-59SD [email protected] [InService]State -- Period -- -------- Lifetime -------- Active High Total Total Permax HighTunnels 1 1 0 2 1 1Service Ports 2 2 0 2 1 2endpoints 53571 53571 0 53571 14399 53571Contacts 53571 53571 0 53571 14399 53571

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 51

Page 52: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Sessions 0 0 0 0 0 0Remote CPU 0 0 0 0 0 0SD Something ---- Lifetime ---- Recent Total PerMaxHeartbeats rcvd 30 27426 15Heartbeats Missed 0 1 1Tunnel Adds 0 2 1Tunnel Removes 0 1 1Service Adds 0 2 1Service Removes 0 0 0endpoint Removes 0 0 0endpoint Promotes 0 53571 13561endpoints Skipped 0 0 0Rebalance Source 0 0 0Rebalance Targe 0 0 0Rebalance Request 0 0 0Rebalance Replies 0 0 0CPU Above Limit 0 0 0CPU Above Threshold 0 0 0Online Transitions 0 0 0Offline transitions 0 0 0Tunnel Add Fails 0 0 0CCD Tunnel Add Fails 0 0 0Tunnel Remove Fails 0 0 0CCD Tunnel Remove Fails 0 0 0Service Add Fails 0 0 0CCD Svc Add Fails 0 0 0Service Remove Fails 0 0 0CCD Svc Remove Fails 0 0 0Service Adds No Cfg 0 0 0Bad Service Handle 0 0 0endpoint Remove Fails 0 0 0endpoint Prom Fail 0 0 0ACMEPACKET#The Period stats provided represent an accumulation of data for the amount of time specified after thedash separator in the timestamp printed in the first line of output (in this example, the period represents 59seconds).

Tunnels contains the number of tunnels between the SLB and the target SBC, in this case, bass.

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

endpoints and Contacts contain the number of endpoint associations the SLB has assigned to the targetSBC. If there is only one registering device at a given endpoint, a one-to-one correlation between endpointsand 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 table below the overview data displays specific CCP message statistics.

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

HeartBeats Missed contains the number of scheduled heartbeat/keepalive messages not received from thetarget SBC.

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

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

SLB/Cluster Management & Diagnostics

52 Oracle® Communications Subscriber-Aware Load Balancer

Page 53: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

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

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

endpoints Skipped contains the number of endpoints in its registration cache that the SBC has skippedover during a rebalance request. Skipping may be done for one of two reasons: either the most appropriateuser 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 SBCis asked to nominate users for rebalance, it will skip over any users whose registration cache entry is due toexpire within the number of milliseconds set as the rebalance-skip-ahead value.

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

Rebalance Target contains the opposite: the number of times that SBC was the recipient of endpoints fromother sources during a rebalance operation.

The Rebalance Requests and Rebalance Replies counters increment upon receipt of a Cluster Controlmessage from the SLB to the SBC asking it to divest itself of endpoints, and the responsive Cluster Controlmessage from the SBC that indicates the endpoints the SBC has chosen.

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

SBC Cluster Member StatisticsThe SBC cluster member also provides the operator with summary statistical data for active endpoints

show sip lb-endpointsThe show sipd lb-endpoints command displays SBC endpoint stats by realm or tunneled service ports, bysip-interface since each SIP interface is uniquely identified by its realm name.

While this command was not changed for the addition of source port keys, there are some important itemsto note. When all endpoints are behind a NAT and source ports are used in endpoint keys, the number ofendpoints should match the number of atoms. Were all endpoints are behind a single NAT, and sourceaddress keys in use, There would be many atoms and only one endpoint. Obviously in mixedenvironments this will be less clear and thus this command less useful. However, in lab environments thiscan be useful.

S-Cz7.2.0M6

ACMEPACKET# sho sipd lb-endpoints --------------------------------------Realm Endpoint Stats--------------------------------------10:57:29-35Service Realm192p1

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 53

Page 54: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

------- Period ------- ------ Lifetime ----- Active High Total Total PerMax HighEndpoints 2 2 2 2 2 2Atoms 2 2 2 2 2 2 ------- Lifetime ------- Recent Total PerMaxRefreshes 0 0 0Adds 2 2 2Low Skips 0 0 0High Skips 0 0 0Auth Promo Tries 0 0 0noTrust Promo Tries 0 0 0Promo Tries 0 0 0Remove Conflicts 0 0 0Remote Deletes 0 0 0SP Removes 0 0 0Expiry Deletes 0 0 0Session Deletes 0 0 0Session Adds 0 0 0Move Deletes 0 0 0Move Del No Tells 0 0 0SvcMove Deletes 0 0 0SvcMove Del NoTell 0 0 0Auth Promotes 0 0 0Auth Deletes 0 0 0Add Errors 0 0 0Delete Deny Sess 0 0 0Delete Deny Reg 0 0 0Delete Deny Purge 0 0 0Delete Missing 0 0 0Delete Errors 0 0 0Update Deny Purge 0 0 0Auth Deny Purge 0 0 0Remote Sess Skips 0 0 0Remote Del Fails 0 0 0SP Remove Fails 0 0 0Expiry Del Fails 0 0 0Sess Del Fails 0 0 0Sess Add Fails 0 0 0Move Del Fails 0 0 0Move No Tell Fails 0 0 0SvcMove Del Fails 0 0 0SvcMv NoTell Fails 0 0 0Auth Promo Fails 0 0 0Auth Del Fails 0 0 0App Cache Dels 0 0 0

show sip ccpThe show sip ccp command displays a cluster-member-specific summary of CCP operations.

westy# show sip ccp--------------------M00:0.4:T2--------------------

EP Del Recent Total PerMax=================== ====== ========= ======Ops Sent 0 1 1Op Replies Recvd 0 1 1

SLB/Cluster Management & Diagnostics

54 Oracle® Communications Subscriber-Aware Load Balancer

Page 55: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

-------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 1 1 0 0 0

EP Promo Recent Total PerMax=================== ====== ========= ======Ops Sent 0 992 538Op Replies Recvd 0 992 538

-------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 992 538 0 0 0

Metrics Recent Total PerMax=================== ====== ========= ======Ops Sent 25 207 15Op Replies Recvd 25 207 15

-------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 25 207 15 0 0 0

Stop Down Recent Total PerMax=================== ====== ========= ======Ops Sent 0 2 2Op Replies Recvd 0 2 2

-------- Received ------- ---------- Sent --------Status Code Recent Total PerMax Recent Total PerMax----------- ------ --------- ------ ------ --------- ------200 OK 0 2 2 0 0 0westy#

SLB/Cluster Management & Diagnostics

Oracle® Communications Subscriber-Aware Load Balancer 55

Page 56: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster
Page 57: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

5Subscriber-Aware Load Balancer SNMPReference

OverviewThis chapter provides an overview of SNMP support for Subscriber-Aware Load Balancer (SLB) features.

Enterprise TrapsThe following table identifies the SLB proprietary traps supported by the SLB.

apSLBEndpointCapacityThresholdTrap

Generated when the number of endpoints on the SLB exceedsthe configured threshold.

apSLBEndpointCapacityThresholdClearTrap

Generated when the number of endpoints on the SLB falls belowthe configured threshold.

apSLBUntrustedEndpointCapacityThresholdTrap

Generated when the number of untrusted endpoints on the SLBexceeds the configured threshold.

apSLBUntrustedEndpointCapacityThresholdClearTrap

Generated when the number of untrusted endpoints on the SLBfalls below the configured threshold.

License MIB (ap-license.mib)SNMP GET Query Name Object Identifier Name: Number Description

Object Identifier Name: apLicenseEntry (1.3.6.1.4.1.9148.3.5.1.1.1)

apLicenseSLBEndpointCap

apLicenseEntry:1.3.6.1.4.1.9148.3.5.1.1.1.23

SLB endpoint capacity

Oracle® Communications Subscriber-Aware Load Balancer 57

Page 58: Oracle ® Communications Subscriber- Aware Load Balancer · 2017-04-27 · August 2016 Added that you can have only 1 SLB per cluster and each SBC must be associated with only 1 cluster

Subscriber-Aware Load Balancer MIB (ap-slb.mib)SNMP GET Query Name Object Identifier Name: Number Description

Object Identifier Name: apSLBMIBObjects (1.3.6.1.4.1.9148.3.11.1)

Object Identifier Name: apSLBMIBGeneralObjects (1.3.6.1.4.1.9148.3.11.1.1)

apSLBStatsEndpointsCurrent

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.1

Number of endpoints currently onthe SLB.

apSLBStatsEndpointsDenied

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.2

Number of endpoints denied bythe SLB because the system hasreached the maximum endpointcapacity.

apSLBEndpointCapacity apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.3

Maximum number of endpointsallowed on the SLB. This value isbased on the installed SLBlicense(s).

apSLBEndpointCapacityUpperThresh

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.4

Percentage of endpoints relativeto maximum threshold capacity.

apSLBEndpointCapacityLowerThresh

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.5

Percentage of endpoints relativeto minimum threshold capacity.

apSLBStatsUntrustedEndpointsCurrent

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.6

Number of untrusted endpointscurrently on the SLB.

apSLBStatsTrustedEndpointsCurrent

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.7

Number of trusted endpointscurrently on the SLB.

apSLBStatsUntrustedEndpointsDenied

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.8

The number of untrustedendpoints denied by the SLB dueto the total number of untrustedendpoints exceeding theconfigured maximum threshold.

apSLBStatsUntrustedEndpointsAgedOut

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.9

The number of untrustedendpoints aged out of the systembecause they were notauthenticated within theconfigured grace period.

apSLBUntrustedEndpointCapacity

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.10

Maximum number of untrustedendpoints allowed on the SLB.This value is a configuredpercentage of the maximumendpoint capacity of the system.

apSLBUntrustedEndpointCapacityUpperThresh

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.11

Percentage of untrusted endpointmaximum threshold capacity inuse.

apSLBUntrustedEndpointCapacityLowerThresh

apSLBMIBGeneralObjects:1.3.6.1.4.1.9148.3.11.1.1.12

Percentage of untrusted enpointminumum threshold capacitypercentage.

Subscriber-Aware Load Balancer SNMP Reference

58 Oracle® Communications Subscriber-Aware Load Balancer