Locating the Oracle WebLogic Communication Services MBeans

Configuring SIP Servlet Container Properties 3-5 connectsystem,weblogic,t3:myadminserver:portnumber

3.4.2 Creating and Deleting MBeans

The SipServer MBean represents the entire contents of the sipserver.xml configuration file. In addition to having several attributes for configuring SIP timers and SIP application session timeouts, SipServer provides helper methods to help you create or delete MBeans representing proxy settings and overload protection controls. See Table 3–1, Oracle WebLogic Communication Services Configuration and Monitoring Pages for a listing of other helper methods in SipServer; see also Oracle Fusion Middleware Communication Services Java API Reference.

3.5 Configuring Timer Processing

As engine tier servers add new call state data to the SIP data tier, SIP data tier instances queue and maintain the complete list of SIP protocol timers and application timers associated with each call. Engine tier servers periodically poll partitions in the SIP data tier to determine which timers have expired, given the current time. By default, multiple engine tier polls to the SIP data tier are staggered to avoid contention on the timer tables. Engine tier servers then process all expired timers using threads allocated in the sip.timer.Default execute queue.

3.5.1 Configuring Timer Affinity Optional

With the default timer processing mechanism, a given engine tier server processes all timers that are currently due to fire, regardless of whether or not that engine was involved in processing the calls associated with those timers. However, some deployment scenarios require that a timer is processed on the same engine server that last modified the call associated with that timer. One example of this scenario is a hot standby system that maintains a secondary engine that should not process any call data until another engine fails. Oracle WebLogic Communication Services enables you to configure timer affinity in such scenarios. When you enable timer affinity, replicas request that each engine tier server periodically poll the SIP data tier for processed timers. When polling the SIP data tier, an engine processes only those timers associated with calls that were last modified by that engine, or timers for calls that have no owner. To enable timer affinity: 1. Access the Administration Console for your domain.

2. Click Lock Edit if enabled in your development environment to obtain a

configuration lock. 3. Select the SipServer node in the left pane. The right pane of the console provides two levels of tabbed pages that are used for configuring and monitoring Oracle WebLogic Communication Services.

4. Select the Configuration General tab in the right pane.

5. Select Enable Timer Affinity. Note: When an engine tier server fails, any call states that were last modified by that engine no longer have an owner. Expired timers that have no owner are processed by the next engine server that polls the SIP data tier.