Skip Headers
Oracle® Communications Services Gatekeeper System Administrator's Guide
Release 5.0

Part Number E16623-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

23 Managing and Configuring Connection Information

This chapter describes how tocreate and store connection and credential mappings in the Services Gatekeeper Connection Information Manager. The Connection Information Manager is used by the native UCP plug-ins.

Introduction

The Connection Information Manager creates and stores connection and credential mappings that some plug-in instances need to connect to network elements and applications.

The connection information is stored in a ConnectInfo object.

The ConnectInfo object:

See Operation: getConnectInfo for details about the ConnectInfo object.

Configuration and Management

All configuration and management is performed in the ConnectionInfoManager managed object.

This object is accessible from the Administrative Console and from the Platform Test Environment (PTE).

The Administration Console displays one instance of the MBean for each plug-in instance that uses it. The management attributes for the Connection Information Manager are reached from the service:

The Connection Information Manager Operations, Administration, and Maintenance functionality is shared among the plug-ins. Rendering, however, is per plug-in (one instance is displayed per plug-in). The appearance may vary depending on how the MBean is accessed.

If you are using different plug-ins that use the Connection Information Manager, you need to configure the Connection Information Manager for each plug-in.

Use the following operations to configure and manage the connection information:

Use the following operations to configure and manage the credential map:

Use the following operations to configure and manage the listen information:

Reference: Attributes and Operations for Connection Information Manager

Managed object: ConnectInfoManager

MBean: oracle.ocsg.plugin.connection.management.ConnectInfoManagerMBean

Following is a list of attributes and operations for configuration:

Attribute: ValidationEnabled

Scope: Cluster

Unit: Not applicable

Format: Boolean

If set to true, the Plug-in Manager validates the plug-in instance ID before the Connection Information Manager creates an entry for it in the credential map.

It also validates the server names and cluster names targets passed in the targets parameters to the createOrUpdateListenAddress and createOrUpdateLocalHostAddress operations.

See Operation: createOrUpdateListenAddress and Operation: createOrUpdateLocalHostAddress.

The default is true.

Operation: addXParamToCredentialEntry

Scope: Cluster

Adds additional parameter values to the credential map associated with the credentialId.

Use this operation to add any name-value pair to the operation. For example, native UCP can use this operation to provide connection-specific windowing and heartbeat parameters.

Signature:

addXParamToCredentialEntry(credentialId: String, xParamName: String, xParamValue: String)

Table 23-1 addXParamToCredentialEntry

Parameter Description

credentialId

Unique identifier for the credential in the configuration; created by a previous call to "Operation: createOrUpdateCredentialMap".

xParamName

User-defined name for the parameter

xParamValue

Value of the parameter


Operation: createOrUpdateCredentialMap

Scope: Cluster

Creates a new entry or updates an existing entry in the credential map associated with the pluginInstanceId.

This operation creates the association between a plug-in instance, an application instance, and a credential ID.

For credential maps configured for use by native UCP, the appId must be a numeric string with a maximum length of 16 digits that maps to the OAdC field in the UCP openSession request.

Signature:

createOrUpdateCredentialMap(pluginInstanceId: String, appId: String, credentialId: String)

Table 23-2 createOrUpdateCredentialMap

Parameter Description

pluginInstanceId

ID of the plug-in instance being mapped; information about plug-in instances is maintained in the plug-in manager; see Operation:listPluginInstances in the Services Gatekeeper System Administrator's Guide for information about getting the list of plug-in instances IDs

appId

Application instance ID or Services Gatekeeper user to map to the remote host associated with the pluginInstanceId.

credentialId

ID of an existing credential entry in the configuration. If this value is empty or null, any existing mapping for the appId is removed.


Operation: createOrUpdateListenAddress

Scope: Cluster

Adds a listen address or updates an existing entry. If updating, the target list is updated to the new targets value passed by this call.

Signature:

createOrUpdateListenAddress(protocol: String, host: String, port: int, targets: String)

Table 23-3 createOrUpdateListenAddress

Parameter Description

protocol

Name of the protocol; for example, "ucp"

host

Host name or IP address; defaults to "localhost"

port

Port number to bind to

targets

Comma-separated list of server names or cluster names; defaults to all the targets in the cluster


Operation: createOrUpdateLocalHostAddress

Scope: Cluster

Adds a local host address or updates an existing entry.

A configured local host address is optional. When Services Gatekeeper connects to the remote network node, it uses the specified local host IP address/port combination to bind the socket on the Services Gatekeeper side of the connection. If the local host address is not configured, an ephemeral port is used.

When multiple connections are established with a network element, the port set by this operation is used as the starting offset.

When this operation is used to update an existing entry, the target list is changed to the new targets value passed by this call.

Signature:

createOrUpdateLocalHostAddress(pluginInstanceId: String, localHost: String, localPort: int, targets: String)

Table 23-4 createOrUpdateLocalHostAddress

Parameter Description

pluginInstanceId

ID of the plug-in instance being mapped. See Operation:listPluginInstances in the System Administrator's Guide for information about getting the list of plug-in instance IDs.

localHost

Local host name or IP address

localPort

Local port number to bind to

targets

Comma-separated list of server names or cluster names; defaults to all the targets in the cluster


Operation: createOrUpdateRemoteHostAddress

Scope: Cluster

Creates or updates the connection details for the remote host to which the specified plug-in instance connects.

A remote host address is required to establish a connection.

Signature:

createOrUpdateRemoteHostAddress(pluginInstanceId: String, remoteHost: String, remotePort: int)

Table 23-5 createOrUpdateRemoteHostAddress

Parameter Description

pluginInstanceId

ID of the plug-in instance being mapped. See Operation:listPluginInstances in the System Administrator's Guide for information about getting the list of plug-in instance IDs.

remoteHost

Remote host name or IP address

remotePort

Remote port number to bind to


Operation: createOrUpdateUserPasswordCredentialEntry

Scope: Cluster

Creates or updates the user and password parameters associated with the credentialId.

Signature:

createOrUpdateUserPasswordCredentialEntry(credentialId: String, remoteUser: String, remotePassword: String)

Table 23-6 createOrUpdateUserPasswordCredentialEntry

Parameter Description

credentialId

Unique identifier for the credential in the configuration

remoteUser

User name used to connect to the network node

remotePassword

Password used to connect to the network node


Operation: getAllListenAddress

Scope: Cluster

Returns the list of server addresses configured for this domain for the specified protocol.

Signature:

getAllListenAddress(protocol: String)

Table 23-7 getAllListenAddress

Parameter Description

protocol

Protocol for which server addresses are configured in the current domain; for example, "ucp"


Operation: getConnectInfo

Scope: Server

Returns the ConnectInfo object of the remote host (SMSC or network node) for the server on which this MBean instance resides.

The ConnectInfo object includes:

  • remoteHost

  • remotePort

  • localHost

  • localPort

  • credentialMap

The localHost and localPort values are server-specific.

The credentialMap maps application identifier with network node credentials; for example, with an SMSC credential.

Signature:

getConnectInfo(pluginInstanceId: String)

Table 23-8 getConnectInfo

Parameter Description

pluginInstanceId

Plug-in instance ID for the remote host server for which connection information is requested. See Operation:listPluginInstances in the System Administrator's Guide for information about getting the list of plug-in instance IDs.


Operation: getListenAddressForCurrentServer

Scope: Server

Returns a list of server addresses configured for the current server and the specified protocol.

Signature:

getListenAddressForCurrentServer(protocol: String)

Table 23-9 getListenAddressForCurrentServer

Parameter Description

protocol

Protocol for which server addresses are configured in the current domain; for example, "ucp"


Operation: listAllCredentialEntries

Scope: Cluster

Returns the credential map containing the credential IDs and associated Credential objects in the configuration.

Signature:

listAllCredentialEntries()

Operation: removeConnectInfo

Scope: Cluster

Removes the remote host's connect address, local connect address, and credential mapping for the plug-in referenced by the pluginInstanceId.

Signature:

removeConnectInfo(pluginInstanceId: String)

Table 23-10 removeConnectInfo

Parameter Description

pluginInstanceId

ID of the plug-in instance for which information is being removed. See Operation:listPluginInstances in Services Gatekeeper System Administrator's Guide for information about getting the list of plug-in instance IDs.


Operation: removeCredentialEntry

Scope: Cluster

Removes the specified credential entry from the configuration.

Signature:

removeCredentialEntry(credentialId: String)

Table 23-11

Parameter Description

credentialId

ID of an existing credential entry in the configuration


Operation: removeCredentialMap

Scope: Cluster

Removes the credential mapping between the appId and pluginInstanceId from the connect info configuration of the plug-in instance identified by the pluginInstanceId.

Signature:

removeCredentialMap(pluginInstanceId: String, appId: String)

Table 23-12 removeCredentialMap

Parameter Description

pluginInstanceId

ID of the mapped plug-in instance that was mapped

appId

Application instance ID or Services Gatekeeper user mapped to the remote host associated with the pluginInstanceId


Operation: removeListenAddress

Scope: Cluster

Removes the specified listen address configuration from all the targets.

Signature:

removeListenAddress(protocol: String, host: String, port:int)

Table 23-13 removeListenAddress

Parameter Description

protocol

Name of the protocol; for example, "ucp"

host

Host name or IP address

port

Port number to bind to


Operation: removeLocalHostAddress

Scope: Cluster

Removes the local host address information associated with the pluginInstanceId.

Signature:

removeLocalHostAddress(pluginInstanceId: String)

Table 23-14 removeLocalHostAddress

Parameter Description

pluginInstanceId

ID of the plug-in instance for which information is being removed. See Operation:listPluginInstances in the System Administrator's Guide for information about getting the list of plug-in instance IDs.


Operation: removeXParamFromCredentialEntry

Scope: Cluster

Removes the specified parameter from the specified credential entry.

Signature:

removeXParamFromCredentialEntry(credentialId: String, xParamName: String)

Table 23-15 removeXParamFromCredentialEntry

Parameter Description

credentialId

Credential ID for the entry from which the parameter is removed.

xParamName

Name of XParam being removed.