This document tells you how to install and administer the OpenCloud CGIN resource adaptor.
See the CGIN Statement of Compliance for a list of supported protocols and the CGIN Compatibility Guide for details on compatible platforms and software. |
Topics
Adding variables to |
|
Manually or automatically deploying the RA |
|
Setting the CGIN RA’s configuration properties. |
|
Upgrading a cluster using the CGIN Signalware TCAP stack |
|
Adapting to API and schema changes in CGIN 1.5.x. |
This book does not cover stack-specific configuration — for information on OpenCloud’s OCSS7, see the OCSS7 SGC TCAP Stack documentation, or for other stacks, see Using the Ulticom Signalware TCAP Stack, Using the Simulated TCAP Stack, and Using the teleSys MACH7 TCAP Stack). |
Other documentation for CGIN can be found on the CGIN product page.
Configuring the Deployment File
The first step to installing the CGIN resource adaptor is to configure the deployment file.
Modify deploy.properties
Modify the file $CGIN_CONNECTIVITY_PACK_HOME/deploy.properties
, using the following variables:
Variable | Variable usage and description | Example |
---|---|---|
client.home |
absolute path to a Rhino client installation; by default, this is set to assume that the CGIN connectivity pack was unpacked within an installed Rhino instance |
client.home=${user.home}/RhinoSDK/client |
cginra.properties |
properties to use when deploying the CGIN RA; by default, this uses a simulated TCAP configuration |
cginra.properties=stack=signalware,signalware.backends=turbine2:20146 |
Both properties must be set. |
The default deployment properties are:
# Configuration settings for deployment done by ant script deploy.xml # client.home is the absolute path to the Rhino client installation. # As released, this assumes that the CGIN connectivity pack has been # installed as a subdirectory of the Rhino install. # If that assumption is not correct, change this property to the right path. client.home=${cgin.basedir}/../client # The entity name used by the CGIN RA. cginra.entityname=cginra # cginra.properties contains the resource adaptor entity configuration properties # that should be used to initialize the CGIN RA. # # Examples are provided for the OCSS7, Signalware and Simulated TCAP stacks. # # Only one of the following is required. # The Simulated TCAP stack. cginra.properties=stack=tcapsim,local-sccp-address="type=C7,ri=pcssn,pc=2,ssn=102",\ tcapsim.listen-addresses=localhost:10102,tcapsim.remote-addresses=localhost:10101,tcapsim.sctp-stack=tcp # The Signalware TCAP stack. #cginra.properties=stack=signalware,signalware.backends=turbine2:20146 # The OCSS7 TCAP stack. #cginra.properties=stack=ocss7,local-sccp-address="type=C7,ri=pcssn,pc=2,ssn=102",\ # ocss7.sgcs=localhost:12201 # For the TeleSys MACH7 stack: #cginra.properties=stack=mach7,local-sccp-address="type=C7,ri=pcssn,pc=2,ssn=102",\ # mach7.backends=127.0.0.1:10102,mach7.slee-cluster-id=2,mach7.comm-mode=TCP,
Deploying the CGIN RA
Install the CGIN RA automatically by running the deployment script.
Run deploy.xml
, under $CGIN_CONNECTIVITY_PACK_HOME/
. For example:
$> ant -f deploy.xml
If this is the first time you create and activate a CGIN RA entity for this installation of Rhino, the TCAP stack may require additional configuration or installation steps — please see the OCSS7 SGC TCAP Stack documentation, Using the Simulated TCAP Stack, Using the Ulticom Signalware TCAP Stack, or Using the teleSys MACH7 TCAP Stack. |
Administering the CGIN Resource Adaptor Entity
To administer the CGIN resource adaptor entity, set the CGIN RA’s configuration properties.
For example:
$rhino-console> updateraentityconfigproperties cginra local-sccp-address=auto
Most configuration properties may be changed at any time, and will take immediate effect if the resource adaptor entity is active. A few properties, such as the type of TCAP stack used, will not take immediate effect if changed while the resource adaptor entity is active. In this case, an alarm will be raised to warn that changes will only take effect when the entity is next activated.
The RA has a set of universal properties that apply to all CGIN RA entities, and stack-specific properties that depend on the stack that a particular entity is using:
Information on specific configuration properties for each TCAP stack is available for:
For universal configuration properties, see below.
Universal configuration properties
These are the CGIN RA universal configuration parameters:
Parameter | Usage and description | ||
---|---|---|---|
stack |
Short name of the TCAP stack to use. Can be one of
|
||
enabled-protocols |
The list of protocols enabled in the RA; for example: etsi_inap_cs1,cap_v1,cap_v2,cap_v3,cap_v4,map |
||
default-activity-timeout |
The default dialog activity timeout, measured in milliseconds. This specifies the initial dialog activity timeout used for newly created dialogs. |
||
default-invoke-timeout |
The default TCAP Invoke Timeout, measured in milliseconds. This specifies the invoke timeout for operations where the service has not provided an invoke timeout value. |
||
local-sccp-address |
Used for outgoing The address should be formatted in the format that
|
||
relaxed-decoding |
Boolean value specifying whether to relax the BER decoding rules to allow certain types of malformed data. |
||
acn-inbound-aliases |
For dialogs where CGIN is the dialog responder, configures the CGIN RA to accept the external application context name as a synonym for the internal application context name. Comma-separated list of values in To configure handling of cases where there is no dialog portion and hence no external application context name, use |
||
acn-outbound-mappings |
Comma-separated list of values in |
||
|
|||
tcap-fibers.max-pool-size |
The maximum number of threads in the thread pool. If zero, then no thread pool is used. |
||
tcap-fibers.queue-size |
The maximum size of the queue used to store work waiting for processing by the thread pool. If the queue is full, then work is executed directly in the calling thread. |
SCCP Address Format
Below are mandatory, point code — SSN, and global title parameters for the CGIN RA local-sccp-address
configuration property.
Mandatory parameters
An SCCP address string must be formatted as comma-separated name/value pairs. The following parameters are mandatory:
Parameter | Description | Valid values |
---|---|---|
type |
SCCP address type |
|
ri |
Routing indicator |
|
Point code — SSN parameters
Parameter | Description | Valid values |
---|---|---|
pc |
Point code |
Formatted as either:
|
ssn |
Subsystem number |
in the range |
Global title parameters
Parameter | Description | Valid values |
---|---|---|
digits |
Global title address digits |
|
nature |
Global title nature of address indicator |
|
numbering |
Global title number plan |
|
tt |
Global title translation type |
in the range |
national |
Global title national indicator |
|
gti |
Global title indicator |
|
Global title rules
When specifying global titles, the following rules apply:
-
Global title parameters are only included in the returned address if
digits
is specified. -
The global title indicator used depends on the SCCP address and parameter values, as follows:
For these SCCP addresses: | If these values are specified: | This global title indicator is used: |
---|---|---|
|
|
GT_0001 |
|
GT_0010 |
|
|
GT_0011 |
|
|
GT_0100 |
|
unspecified |
The number plan defaults to |
|
|
|
GT_0010 |
|
GT_0001 |
For example:
type=c7,ri=pcssn,pc=4012,ssn=123
type=c7,ri=pcssn,pc=1/245/7,ssn=123
type=c7,ri=gt,digits=34607012345,nature=national,national=true
Appendix A. Cluster Upgrade Procedures
This page includes instructions for doing a live upgrade from an existing Rhino cluster that is receiving traffic through CGIN, to a new cluster that has the same configuration but different software versions (such as a new Rhino or CGIN version, or new service version if it can’t be done in a single cluster).
Below are general information about and then instructions for performing upgrades using STP redirection, and Signalware In-place upgrades.
About cluster upgrades with CGIN
Below is a table of possible upgrade paths for clusters using the CGIN Signalware TCAP stack:
Old version | New version | Upgrade using STP redirect? | Upgrade in-place? |
---|---|---|---|
1.4.x |
1.5.x |
Yes |
Yes |
1.5.x |
1.5.x |
Yes |
Yes |
A warning about ETC/ARI dialog correlation
ETC/ARI dialog correlation arranges for inbound ARI dialogs to be directed to the same cluster node that sent the corresponding ETC. In general, dialog correlation can only happen within a single cluster. During an upgrade, there are two clusters present and receiving traffic. If an ARI dialog is received by the "wrong" cluster (a cluster that did not send the corresponding ETC), then correlation will fail, and the ARI will not be directed to the correct cluster node. If dialog correlation is used, then care should be taken to ensure that ARI dialogs are directed to the correct cluster — for example, by configuring the service deployed in the new cluster to send ETCs that direct the ARI dialogs to an SCP address associated with the new cluster only. |
Upgrades using STP redirection
This approach manages the upgrade externally to Rhino and Signalware, and requires support from the STP and surrounding network, as well as support in the existing service. |
Prerequisites
Before upgrading using STP redirection, make sure that:
-
Inbound
TC-BEGINs
are addressed to a "logical" GT. The STP translates this GT to one-of-N "physical" addresses using a load-balancing mechanism. These "physical" addresses route to a particular cluster. -
The STP needs the ability to reconfigure the translation addresses in use at runtime.
-
The old and new clusters are assigned different "physical" addresses.
-
The service ensures that initial responding
TC-CONTINUEs
provide an SCCP Calling Party Address that is the "physical" address for the cluster that is responding. -
Subsequent traffic uses the "physical" address using normal TCAP procedures.{note}
Upgrade process
To upgrade using STP redirection:
1 |
Set up the new cluster with a new "physical" address. |
---|---|
2 |
Configure and activate the new cluster. |
3 |
Reconfigure the STP to include the new cluster’s physical address when translating the logical GT. |
4 |
Verify that traffic is processed by the new cluster correctly. |
5 |
Reconfigure the STP to exclude the old cluster’s physical address when translating the logical GT. |
6 |
Wait for all existing dialogs to drain from the old cluster. |
7 |
Halt the old cluster. |
Signalware In-place upgrade procedure
This upgrade process supports upgrades where the service in use may initiate outbound CGIN dialogs. |
1 |
Set up the new cluster
Now you should have the "new" cluster configured, but
|
||||
---|---|---|---|---|---|
2 |
Start the new cluster
|
||||
3 |
Drain calls from the old cluster
At this point, all new dialogs will be directed to the new cluster only. The old cluster will only continue to process existing dialogs established before the draining process started.
Now the old cluster should be still connected to the CGIN backends, but completely idle — no traffic is being handled by the old cluster.
|
||||
4 |
Stop the old cluster
|
||||
5 |
Shut down the old cluster
|
||||
6 |
Schedule upgrade of old backends to the new version
(if needed) |
Appendix B. Migrating to CGIN 1.5.x
Here are some things to note when migrating to CGIN 1.5x:
When… | Do this: |
---|---|
Upgrading from a CGIN older than 1.4.x |
First upgrade to 1.4.0 using the process described in Appendix B of the CGIN 1.4 Installation and Configuration Guide. |
Using the API |
|
Migrating Scenario files to the current schema version |
Note that the Scenario Simulator IN Scenario Pack’s schema has changed for this release. The Scenario Editor provides support for automatically migrating scenarios to the latest IN Scenario Pack schema version, please see the |
Configuring the RA |
If you’ve been using CGIN 1.4.x, note that the configuration property |