1 Configuration Prerequisites
Before configuring the SAPC in an operational network, assure that:
2 Diameter Configuration Overview
To make easier initial configuration and avoid manual procedures, the SAPC provides at installation time some Diameter data for the various diameter interfaces that supports (for example Gx, Rx, Sy):
Some other data are set during the SAPC deployment procedure, using Adapt Cluster Tool (see Customer and Diameter traffic VIP sections):
3 How To Apply Diameter Configuration Changes
To execute the Diameter configuration steps:
Steps
4 Diameter Dictionary
Diameter dictionary files contain the commands and AVPs supported by the SAPC. There is one dictionary file for each Diameter application that the SAPC supports (for example Gx). Dictionaries are used for validations of incoming messages.
For further information of the supported messages and AVPs, and the errors that the SAPC may return, see the corresponding Interface Description document.
4.1 How to Modify Diameter Dictionaries
To modify the provided dictionary, adding or modifying AVPs, follow next steps:
Steps
4.2 Diameter Dictionary Format
The Diameter dictionary is a file with different sections where each section starts with a tag and ends at the start of the next section or the end of file.
The tags consist on an ampersand character followed by a keyword.
The contents of the following tags can be modified to add new AVPs or to modify existing AVPs:
|
Section Tag |
Description |
|
@avp_vendor_id |
List the AVPs supported by the SAPC for Vendor-Ids 5535 (3GPP2) and 193 (Ericsson). Do not include AVPs for Vendor-Id 10415 (3GPP) as they are considered as default. Format:
@avp_vendor_id <Number> Example:
@avp_vendor_id 193 Customer-Id Gx-Capability-List Rule-Space-Decision Rule-Space-Suggestion Charging-Rule-Authorization Authorization-State One-Time-Redirect-Control Content-Filtering-Profile-Id |
|
@avp_types |
List the supported AVPs with the following fields: Format:
@avp_types <Name> <Code> <Type> <Flags> Example:
@avp_types Bearer-Usage 1000 Enumerated MV CC-Input-Octets 412 Unsigned64 - CC-Output-Octets 414 Unsigned64 - Flows 510 Grouped MV Monitoring-Key 1066 OctetString V RAT-Type 1032 Enumerated V |
|
@messages |
Defines the messages supported by the SAPC and the composition of AVPs inside each message. When a new AVP is defined in the dictionary, include the AVP in the corresponding message. Example:
CC-Request ::=
< Diameter Header: 272, REQ, PXY >
< Session-Id >
{ Auth-Application-Id }
{ Origin-Host }
{ Origin-Realm }
{ Destination-Realm }
{ CC-Request-Type }
{ CC-Request-Number }
[ Destination-Host ]
[ Origin-State-Id ]
*[ Subscription-Id ]
*[ Supported-Features ]
|
|
@grouped |
Defines the contents of the grouped AVPs. Example:
Usage-Monitoring-Information ::=
< AVP Header: 1067 >
[ Monitoring-Key ]
[ Granted-Service-Unit ]
[ Used-Service-Unit ]
[ Usage-Monitoring-Level ]
[ Usage-Monitoring-Report ]
[ Usage-Monitoring-Support ]
*[ AVP ]
|
|
@enum Name |
Defines the values of an enumerated AVP. The content consists on the names and the corresponding integer values. Example:
@enum Bearer-Operation TERMINATION 0 ESTABLISHMENT 1 MODIFICATION 2 |
|
@define Name |
Defines the possible values of a certain AVP. The content consists on the names and the corresponding integer values. Example:
@define Bearer-Control-Options BCO_DOWNGRADE 1 BCO_UPGRADE 2 BCO_EARP 4 BCO_REJECT 8 |
5 Traffic Separation for Diameter Interfaces
It is possible to define different traffic VIPs for different Diameter interfaces (for example, Gx and Rx), according to customer needs.
To apply traffic separation, follow the procedure described in the customization Adapt Cluster Tool, see Traffic VIP Networks section.
6 Configure DRA Scenarios
These scenarios are considered when the SAPC is not directly connected to the diameter peer. In case the SAPC is directly connected to the diameter peer see Diameter Configuration Overview.
6.1 Realm Routing Table
It is not needed to configure in the SAPC the routing table for incoming traffic, as the DRA peer includes the Destination-Host AVP in the diameter messages (set to the SAPC diameter identity).
The following configuration objects are related to route outgoing messages, when there is no direct connection between the SAPC and the peer:
|
Object |
Description |
|
|---|---|---|
|
OtpdiaSelector |
Mapping of Destination-Host/Realm in an outgoing request to a next-hop Origin-Host/Realm. The service (for example PCRF or Sy), application id (for example Gx, Rx), and destination of an outgoing request are matched against configured selector objects to determine how to route it. If there are multiple matches, the order in which the mappings are applied to find an appropriate target peer is random, except that more specific matches are preferred to less specific ones, that is:
If any OtpdiaDomain in the list specifies more than one host attribute, the order in which these are selected is undefined. If a given host/realm matches multiple peer connections, one is chosen randomly. |
|
|
Attributes |
||
|
service Mandatory Multivalued string |
DN pointing to an OtpdiaService, to which the routing applies. |
|
|
applicationId Optional Multivalued integer 32. |
Application id to which the routing applies. Applies to all applications if unspecified. |
|
|
destination Multivalued Optional |
DN of an object of class OtpdiaDomain, specifying the Destination-Realm and (optionally) Destination-Host values to which the routing applies. When it is not set, applies to all destinations. |
|
|
peer |
Represents the next hop Diameter peer with direct connection to the SAPC. DN pointing to an OtpdiaCons, whose heads are OtpdiaDomain DNs specifying the Origin-Realm and (optionally) Origin-Host values of peers to send a request matching the service, applicationId, and destination. For a given selector object, the list of OtpdiaDomain instances pointed by the OtpdiaCons defined in the peer attribute are sorted in order of preference. |
|
|
OtpdiaDomain |
Represents some or all peers in a realm. It is used as both the domain and range of the mapping provided by OtpdiaSelector. |
|
|
Attributes |
||
|
realm Mandatory String |
Destination-Realm |
|
|
host Optional String |
Hostname inside the realm. No value represents all hosts in the realm. |
|
|
OtpdiaCons |
List to ordered objects |
|
|
Attributes |
||
|
head |
DN of an element of the list. |
|
|
tail |
DN pointing to an OtpdiaCons, the remaining tail of the list. The last element of a list does not set a tail. |
|
6.1.1 Troubleshooting
Problem: not being able to route an outgoing diameter message.
{ file = "IncomingMsgCallbacks.cc", function = "otpdiaHandleError", line = 128, msg = "Received an error on an outgoing request. Error = <19>" }
...
{ file = "IncreaseGxRaaCounterTask.cc", function = "run", line = 86, msg = "Error sending RAR. SessionId: c5-192-168-243-66-epg801.epc.mnc001.mcc228.3gppnetwork.org;1482417902;86, Protocol: Gx" }
...
msg = "Sent outgoing message of type: 'INTERNAL_UPDATE'" }
msg = "Received an error on an outgoing request. Error = <19>" }
msg = "Error sending RAR. SessionId: c5-192-168-243-66-epg801.epc.mnc001.mcc228.3gppnetwork.org;1482417902;14000, Protocol: Gx" }
Cause: incorrect or missing configuration of the diameter routing table.
Solution: set properly the routing table.
6.2 Configure Realm Routing Table as Diameter Server
Figure 1 shows an example where PCEF and AF are connected to the SAPC by an external DRA function. The Diameter Routing Agent (DRA) function concentrates all Gx and Rx signaling from the PCEF and AF. The SAPC has not direct peer connections (CER/CEA) to the end application nodes, but to the DRA. The diameter peer connection between the SAPC and the DRA is used by both Gx and Rx applications.
Example 1 Routing Table for DRA for Gx and Rx
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaSelector">
<dn>otpdiaSelector=PcrfDrt,otpdiaProduct=SAPC</dn>
<attr>
<name>service</name>
<value>otpdiaService=Pcrf,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>peer</name>
<value>otpdiaCons=PcrfPeer,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>destination</name>
<value>otpdiaDomain=GxRxClients,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
Example 2 Routing Table for DRA in Gx and Rx, Realms
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaDomain">
<dn>otpdiaDomain=GxRxDRA,otpdiaProduct=SAPC</dn>
<attr>
<name>host</name>
<value>dra1.dra.com</value>
</attr>
<attr>
<name>realm</name>
<value>dra.com</value>
</attr>
</object>
<object class="OtpdiaDomain">
<dn>otpdiaDomain=GxRxClients,otpdiaProduct=SAPC</dn>
<attr>
<name>realm</name>
<value>network.com</value>
</attr>
</object>
</imm:IMM-contents>
Example 3 DRA Peer for Gx and Rx
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaCons">
<dn>otpdiaCons=PcrfPeer,otpdiaProduct=SAPC</dn>
<attr>
<name>head</name>
<value>otpdiaDomain=GxRxDRA,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
6.3 Configure Realm Routing Table as Diameter Client
Figure 2 shows an example where the SAPC is connected to an OCS with an intermediate DRA for Sy traffic.
To configure the routing table in the SAPC acting as client to not directly connected peers:
Steps
Example 4 Sy not direct connection to OCS, Host
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaHost">
<dn>otpdiaHost=SyDRA,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.14.42</value>
</attr>
<attr>
<name>port</name>
<value>13868</value>
</attr>
</object>
</imm:IMM-contents>
Example 5 Sy not direct connection to OCS, Transport
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaTransportTcp">
<dn>otpdiaTransportTcp=SyDRA_transport,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.12.40</value>
</attr>
<attr>
<name>port</name>
<value>0</value>
</attr>
<attr>
<name>host</name>
<value>:all</value>
</attr>
<attr>
<name>connectTo</name>
<value>otpdiaHost=SyDRA,otpdiaService=PcrfSy</value>
</attr>
</object>
</imm:IMM-contents>
Example 6 Sy not direct connection to OCS, Routing Table
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaSelector">
<dn>otpdiaCons=SyDrt,otpdiaProduct=SAPC</dn>
<attr>
<name>service</name>
<value>otpdiaService=PcrfSy,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>destination</name>
<value>otpdiaDomain=OCS,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>peer</name>
<value>otpdiaCons=SyPeer,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
Example 7 Sy not direct connection to OCS, Realms
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaDomain">
<dn>otpdiaDomain=SyDRA,otpdiaProduct=SAPC</dn>
<attr>
<name>host</name>
<value>draSy.dra.com</value>
</attr>
<attr>
<name>realm</name>
<value>dra.com</value>
</attr>
</object>
<object class="OtpdiaDomain">
<dn>otpdiaDomain=OCS,otpdiaProduct=SAPC</dn>
<attr>
<name>realm</name>
<value>ocs.com</value>
</attr>
</object>
</imm:IMM-contents>
Example 8 Sy not direct connection to OCS, DRA Peer
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaCons">
<dn>otpdiaCons=SyPeer,otpdiaProduct=SAPC</dn>
<attr>
<name>head</name>
<value>otpdiaDomain=SyDRA,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
7 Configure Connections to OCS (Sy)
In addition to configure the SAPC as a Gx server, the SAPC can act as an Sy client. In this case, the SAPC is connected to an OCS directly or by means of a DRA.
| Note: |
For additional information regarding Sy interface, refer
to
Configuration Guide for Integration with OCS for Spending Limit Reporting (Sy). |
7.1 Direct Connection between the SAPC and the OCS with one realm
Example 9 Configuration of the SAPC as Sy Diameter Client to direct OCS Peers
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaHost">
<dn>otpdiaHost=OCS_1,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.14.42</value>
</attr>
<attr>
<name>port</name>
<value>13868</value>
</attr>
</object>
<object class="OtpdiaTransportTcp">
<dn>otpdiaTransportTcp=OCS_1_transport,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.12.40</value>
</attr>
<attr>
<name>port</name>
<value>0</value>
</attr>
<attr>
<name>host</name>
<value>:all</value>
</attr>
<attr>
<name>connectTo</name>
<value>otpdiaHost=OCS_1,otpdiaService=PcrfSy</value>
</attr>
</object>
</imm:IMM-contents>
Example 9 configures the Sy traffic for an Online Charging System called "OCS_1" connected to the SAPC. In the otpdiaTransportTcp object, address and port attributes contain the local traffic IP and the port of the SAPC node (in this case, the IP is 192.168.12.40 and the local port 0) whereas in the otpdiaHost object address and port attributes contain the IP and the port traffic for the OCS. The connectTo attribute in otpdiaTransportTcp object references the "OCS_1" OCS configured in otpdiaHost.
| Note: |
To get the IP of the SAPC execute immlist -a address
otpdiaTransportTcp=:all,otpdiaService=Pcrf,otpdiaProduct=SAPC from the
SC. |
7.2 No Direct Connection between the SAPC and the OCS
To configure the Routing Table in the SAPC for not directly connected peers (see Example 10):
Steps
- Configure the peer that is directly connected to the SAPC using OtpdiaHost and OtpdiaTransportTcp objects (or OtpdiaTransportSctpE) as described in Direct Connection between the SAPC and the OCS with one realm
- Define an OtpdiaDomain object with an identifier (in our example, OCS) to the destination OCS and realm value matching the one configured in the serverRealm attribute in the /profiles/online-charging-system/<profileId> URI in the provisioning REST API.
- Define the peer directly connected to the SAPC in an OtpdiaDomain object with an identifier (in our example, DRA). Host attribute must match with the value given in otpdiaHost configured in Step 1
- Define a connection in an OtpdiaCons object for the OtpdiaDomain object that is directly connected to the SAPC (in our example, DRA). The distinguish name for the DRA in the OtpdiaDomain definition and the value for head attribute in the connection definition must match
- To set a route (mapping of Destination-Host/Realm for an outgoing Request to a next-hop Origin-Host/Realm), create an OtpdiaSelector object.
- Proceed as How To Apply Diameter Configuration Changes
Example 10 Sy configuration for not direct connection to OCS
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaHost">
<dn>otpdiaHost=DRA,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.14.42</value>
</attr>
<attr>
<name>port</name>
<value>13868</value>
</attr>
</object>
<object class="OtpdiaTransportTcp">
<dn>otpdiaTransportTcp=DRA_transport,otpdiaService=PcrfSy,otpdiaProduct=SAPC</dn>
<attr>
<name>address</name>
<value>192.168.12.40</value>
</attr>
<attr>
<name>port</name>
<value>0</value>
</attr>
<attr>
<name>host</name>
<value>:all</value>
</attr>
<attr>
<name>connectTo</name>
<value>otpdiaHost=DRA,otpdiaService=PcrfSy</value>
</attr>
</object>
<object class="OtpdiaDomain">
<dn>otpdiaDomain=OCS,otpdiaProduct=SAPC</dn>
<attr>
<name>realm</name>
<value>ocs1.com</value>
</attr>
</object>
<object class="OtpdiaDomain">
<dn>otpdiaDomain=DRA,otpdiaProduct=SAPC</dn>
<attr>
<name>host</name>
<value>dra123.dra.com</value>
</attr>
<attr>
<name>realm</name>
<value>dra.com</value>
</attr>
</object>
<object class="OtpdiaCons">
<dn>otpdiaCons=Cons1,otpdiaProduct=SAPC</dn>
<attr>
<name>head</name>
<value>otpdiaDomain=DRA,otpdiaProduct=SAPC</value>
</attr>
</object>
<object class="OtpdiaSelector">
<dn>otpdiaCons=Selector1,otpdiaProduct=SAPC</dn>
<attr>
<name>service</name>
<value>otpdiaService=PcrfSy,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>destination</name>
<value>otpdiaDomain=OCS,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>peer</name>
<value>otpdiaCons=Cons1,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
Example 10 Configures a route to an OCS in realm ocs1.com through realm dra.com.
7.3 Configure Connections to an OCS with Several Diameter Realms
This is a network deployment in which a logical Charging System exposes different Diameter realms to the SAPC.
Figure 5 shows an example where the SAPC sends an SLR to ocs1.com realm, and the OCS internally decides that such Sy charging session has to be routed to sdp2.ocs1.com. Afterwards, the STR sent from the SAPC to the Charging System, has to reach the same sdp2.ocs1.com realm.
Steps
Example 11 Definition of OCS realm
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaDomain">
<dn>otpdiaDomain=OCS,otpdiaProduct=SAPC</dn>
<attr>
<name>realm</name>
<value>ocs1.com</value>
</attr>
</object>
</imm:IMM-contents>
Example 12 Definition of CCNs
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaDomain">
<dn>otpdiaDomain=CCN1,otpdiaProduct=SAPC</dn>
<attr>
<name>host</name>
<value>ccn1.ocs1.com</value>
</attr>
<attr>
<name>realm</name>
<value>ocs1.com</value>
</attr>
</object>
</imm:IMM-contents>
Example 13 Definition of SDPs
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaDomain">
<dn>otpdiaDomain=SDP1,otpdiaProduct=SAPC</dn>
<attr>
<name>host</name>
<value>sdp1.ocs1.com</value>
</attr>
<attr>
<name>realm</name>
<value>ocs1.com</value>
</attr>
</object>
</imm:IMM-contents>
Example 14 Definition of Connections
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaCons">
<dn>otpdiaCons=Cons1,otpdiaProduct=SAPC</dn>
<attr>
<name>head</name>
<value>otpdiaDomain=CCN1,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
Example 15 Definition of Topology
<imm:IMM-contents xmlns:imm="http://www.saforum.org/IMMSchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.saforum.org/IMMSchema SAI-AIS-IMM-XSD-A.01.01.xsd">
<object class="OtpdiaSelector">
<dn>otpdiaCons=Selector1,otpdiaProduct=SAPC</dn>
<attr>
<name>service</name>
<value>otpdiaService=PcrfSy,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>destination</name>
<value>otpdiaDomain=OCS,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>peer</name>
<value>otpdiaCons=Cons1,otpdiaProduct=SAPC</value>
</attr>
</object>
<object class="OtpdiaSelector">
<dn>otpdiaCons=Selector2,otpdiaProduct=SAPC</dn>
<attr>
<name>service</name>
<value>otpdiaService=PcrfSy,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>destination</name>
<value>otpdiaDomain=SDP1,otpdiaProduct=SAPC</value>
</attr>
<attr>
<name>peer</name>
<value>otpdiaCons=Cons1,otpdiaProduct=SAPC</value>
</attr>
</object>
</imm:IMM-contents>
7.4 Script to Automate Configuration Values
Preparing the configuration for the Diameter Routing Table in a deployment asFigure 5 with n CCNs and x SDPs involves the declaration of many objects and can lead to errors. To ease complex configurations, the SAPC provides a script to generate the XML files. To run this script:
Steps
Example 16 XML example for script input
<config>
<ocs>
<otpdiaDomain>OCS</otpdiaDomain>
<realm>ocsrealm.com</realm>
</ocs>
<ccns>
<ccn>
<otpdiaDomain>CCN1</otpdiaDomain>
<host>ccn1.realm0</host>
<realm>realm0</realm>
<port>13222</port>
<address>172.16.2.21</address>
</ccn>
<ccn>
<otpdiaDomain>CCN2</otpdiaDomain>
<host>ccn2.realm0</host>
<realm>realm0</realm>
<port>13223</port>
<address>172.16.2.21</address>
</ccn>
</ccns>
<sdps>
<sdp>
<otpdiaDomain>SDP1</otpdiaDomain>
<host>sdp1.realm1</host>
<realm>realm1</realm>
</sdp>
<sdp>
<otpdiaDomain>SDP2</otpdiaDomain>
<host>sdp2.realm2</host>
<realm>realm2</realm>
</sdp>
<sdp>
<otpdiaDomain>SDP3</otpdiaDomain>
<host>sdp3.realm3</host>
<realm>realm3</realm>
</sdp>
<sdp>
<otpdiaDomain>SDP4</otpdiaDomain>
<host>sdp4.realm4</host>
<realm>realm4</realm>
</sdp>
<sdp>
<otpdiaDomain>SDP5</otpdiaDomain>
<host>sdp5.realm5</host>
<realm>realm5</realm>
</sdp>
</sdps>
</config>
8 Configure SCTP Multihoming
The SAPC provides configuration for SCTP transport at installation time, by default listening to a single VIP. To use multihoming, follow next steps:
Steps
8.1 Path Separation, Path Diversity and Multihoming
In cloud deployments, configure path separation in the Data Center Gateways (DC-GW) and assure that the network infrastructure also supports it.
If path diversity is required, assure that it is supported in the cloud infrastructure. Path diversity might be possible to be provided from the DC-GWs and onwards to the site infrastructure and the IP backbone.

Contents