|Oracle® Communications Service Broker System Administrator's Guide
Part Number E15183-01
The following sections explain how you can protect Oracle Communications Service Broker from overload:
In some cases, such as traffic peaks or unexpected failure of network entities, the load on Service Broker modules may significantly increase. This can cause a situation known as system overload, where Service Broker modules have insufficient resources to handle new sessions. If overload is not handled correctly, the system can crash, and critical data can be lost.
To handle increased amounts of traffic without damaging operations of the entire system, Service Broker provides an overload protection mechanism. This mechanism operates in Processing Domains, and enables you to define criteria for overload detection and configure how Service Broker behaves if system overload occurs.
To activate overload protection you have to go through the following steps:
Identify key overload indicators
You can choose any out of the many counters and gauges provided by Service Broker to serve as key overload indicators. When you later set these gauges and counters to be key overload indicators, Service Broker will trigger overload prevention based on the values measured by these gauges and counters.
It is recommended to identify at least the following two system level measurements as your key overload indicators:
SystemCountersRuntimeMBean.SessionGauge - a gauge measuring the number of active sessions currently handled by Service Broker.
SystemCountersRuntimeMBean.InitialRequestCount - a counter measuring the rate in which Service Broker receives new sessions.
Note that identifying a counter or a gauge as a key overload indicator does not yet make it a key overload indicator. You will later define the gauges and counters as key overload indicators, on step 3.
Define thresholds for the identified indicators
For each key overload indicator (that is gauge or counter) that you identified in the previous step, you need to define an upper threshold. When a key overload indicator crosses its threshold, Service Broker activates overload protection.
Define key overload indicators
You need to define the key overload indicators that you identified in step 1, as valid and active key overload indicators
Configure overload protection behavior
When Service Broker identifies overload (that is, any of the key overload indicators crosses its threshold), it continues handling active sessions but stops accepting new session. In this step, you can configure how Service Broker responds to SIP and Diameter network entities that attempt to establish sessions during a system overload. For example, you can define the type of error and value of the SIP Retry-After header field that Service Broker use to respond to newly established SIP sessions.
You can configure overload protection using either the Administration Console or the Service Broker configuration MBeans.
For a description of the overload protection configuration, see "Managing the Service Broker Processing Tier" in Oracle Communications Service Broker Configuration Guide.