In this section:
Currently, Diameter Peers are defined by their IP addresses. With the implementation of this feature, SBC is enhanced to support the Diameter Peers as Fully Qualified Domain Name (FQDN) in addition to the IP addresses. The actual address is resolved through Domain Name System (DNS) queries. For each Diameter peer FQDN IP address resolution, SBC generates a maximum sequence of DNS query types: NAPTR, SRV, and A/AAAA. Depending on the FQDN prefix configuration, each Trunk Group is assigned a Policy and Charging Rule Function (PCRF) realm (pcrfRealm
) with matching Diameter realm route. Traffic generated on these Trunk Groups is directed to the peers in their corresponding realm route. Similarly, DNS address resolution is directed to the Trunk Group's DNS server group with the same realm assignment.
SBC supports multiple IP connections per Diameter Peer. If a set of IP addresses are returned, SBC connects to all IP addresses under the same peer. The parameter, sessionDistribution
, handles the session distribution order.
SBC Diameter capacity for this feature is as follows:
Parameter | Maximum Capacity |
---|---|
Diameter Node | 1 |
Diameter Peers per Node | 10 |
Diameter Realm Routes per Node | 10 |
IP Connections per Peer | 10 |
SRV Records Processed | 5 |
Maximum Diameter Peer Connections (system-wide) | 32 |
When using load balancing with a static peer configuration (when no DNS query is made and IP address is configured on the peer), the realmRoute configured for each peer must have the same priority to distribute the load evenly among all configured peers.
The example below demonstrates three peers with each peer associated with a realmRoute.
Object | Configuration |
---|---|
peer d1 | state enabled; ipAddress 10.7.6.40; fqdn d1.sbxlabsip.com; tcpPort 3866; deviceWatchdogTimer 20000 |
realmRoute r1 | peer d1; priority 1; realm sonusnet.com; appId rx; state enabled |
peer d2 | state enabled; ipAddress 10.7.6.40; fqdn d2.sbxlabsip.com; tcpPort 3867; deviceWatchdogTimer 20000 |
realmRoute r2 | peer d2; priority 1; realm sonusnet.com; appId rx; state enabled |
peer d3 | state enabled; ipAddress 10.7.6.40; fqdn d3.sbxlabsip.com; tcpPort 3868; deviceWatchdogTimer 20000 |
realmRoute r3 | peer d3; priority 1; realm sonusnet.com; appId rx; state enabled |
To exclude the peer from the load sharing. the corresponding realmRoute must be disabled (i.e to exclude peer d2 from load sharing, disable the realmRoute (realmRoute r2) associated with peer d2.
When realmRoute r2 is disabled, the load is evenly shared between d1 and d3.
For dynamic peer configuration (when DNS query is made to find the PCRF IP peer) and the SRV query results in multiple A records. To evenly distribute load among all peers, the peer sessionDistribution (addressContext default diamNode myDiamNode peer sessionDistribution) should be set to “round-robin”.
If one of the peer is down, the load gets automatically distribute among the remaining peers.