| United States-English |
|
|
|
![]() |
hp OpenCall SS7 platform Application Developer's Guide: For Release 3.1 on Linux > Chapter 6 Using the TCAP APIUsing TCAP over GDI |
|
The Generic Data Interface (GDI) allows TCAP to run over TCP. This allows TCAP applications to communicate using an IP network. TCAP accesses to GDI and SCCP are similar to those over a normal SS7 stack but there are three differences:
The GDI interface is defined by Bellcore as "ISCP Generic Data Interface for TCP/IP", with versions:
HP OpenCall SS7 implements all GDI 4.1 features, and can interoperate with 5.0. The HP OpenCall SS7 stack provides the transport protocol part of GDI. TCAP accesses GDI and SCCP in a similar way, with the following exceptions:
This section lists some rules for GDI connectivity:
A remote host is defined by its Distant GDI Point Code (DGPC). In TCAP, the DGPC maps directly to the DPC in the tc_address structure. This means that the DPC_SSN addressing mode must be used to identify a remote host. The DSSN value in tc_address structure must be set to 0. GDI uses the SCCP_USER_STATUS primitive to indicate to the TCAP user whether a connection to a remote GDI host is available or not.(Return values are Out of Service and In Service). This differs from SCCP where it indicates that a remote SCCP user is in service or out of service. GDI uses the TC_NOTICE primitive to indicate GDI transport errors to the TCAP user. The GDI transport error is returned in the report_cause field of the TC_NOTICE primitive.
For general information on GDI, see the HP OpenCall SS7 Welcome Guide. Chapter 2 “General System Guidelines” and Chapter 3 “General API Guidelines” of the current guide contain general guidelines. You should also take into account the following GDI-specific points:
After a switchover, the newly active SS7 stack can accept connection requests from GDI client hosts. It is the responsibility of the GDI client to set the reconnection attempt period to a meaningful value. In the worst case, the interruption of service time is equal to the switchover time plus the reconnection attempt period. GDI uses two LANs to do loadsharing. As TCP does not ensure transaction integrity over multiple LANs, each transaction must be kept on the same LAN. TCP hides LAN failures from the upper layers. Only the GDI Keep Alive mechanism checks whether the LAN connection is still there or not. This means that a broken LAN continues be seen as In Service until the Keep Alive timer pops and that GDI continues to send transactions on the broken LAN. These transactions will be lost. For an example, see Figure 6-18 “GDI Dual LANS - Failure of One LAN ” and the explanatory text that follows the figure. When the keep alive timer pops, GDI indicates the error to the TCAP user by sending a TC_NOTICE primitive (report_cause field set to systemNotResponding) for any transaction in progress. Hewlett-Packard recommends that the application manages timeouts on transactions in order to avoid traffic stopping when a GDI signaling LAN goes down. This can be done either by implementing timeout transaction management in the application, or by letting the stack do it by uncommenting the setTimerPeriod. To do this, use the cfgTcap command (for a description, see the man page). See also the HP OpenCall SS7 Operations Guide. To verify that the LAN is still available, the GDI protocol layer sends a Keep Alive request at regular intervals. The frequency of this request is 1.5 times the value of the GDI Keep Alive Timeout specified in the sys.<className>.gdi file. The default value of this timer is 40,000 milliseconds. With the default setting of the timer, a Keep Alive request will be sent every minute (1.5 x 40,000 ms). In the figure, this is represented by the thick blue arrows. The destination GDI application responds with a Keep Alive response almost immediately afterwards (within milliseconds). In the figure, this is represented by the thinner green arrows. This is the normal behavior when no LAN fault occurs, and is shown on the left side of the figure. When a LAN fault occurs, there is a period during which traffic is disturbed. During this period:
In the worst case, the maximum period of disturbed traffic is equal to:
After the period of disturbed traffic, the initial level of traffic returns on the remaining LAN. During the disturbed period, either the application must handle a TCAP transaction timer, or you can set the TCAP setTimerPeriod timer to a value which suits the traffic. To do this, use the cfgTcap command (for a description, see the man page). This is to ensure that uncompleted TCAP transactions are aborted when the timer pops and that further TCAP transactions can be started. The default timer value is 40,000 ms, which causes a KeepAliveRequest to be sent every minute. However, reducing the 40,000 ms value increases the frequency of the KeepAliveRequests but also creates increased traffic on the LAN. Using the information in the figure, a compromise must be made between the required reactivity to a LAN failure and the level of Keep Alive traffic that is acceptable. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||