Tuxedo
0

File Formats, Data Descriptions, MIBs, and System Processes Reference

 Previous Next Contents View as PDF  

DM_IMPORT Section

This section, also known as DM_REMOTE_SERVICES, defines the mapping information required to make BEA TOP END services, RTQ queues, and services accessed via RTQ available to BEA Tuxedo applications. This section is required for TOP END domain gateways.

In a DMCONFIG file written for the TEDG, the DM_IMPORT section is used to define the following types of entries:

Entries within the DM_IMPORT section have one of the following forms:

service [TYPE=SERVICE]required_parameters [optional_parameters]
qspace  TYPE=QSPACE   required_parameters [optional_parameters]
qname   TYPE=QNAME    required_parameters [optional_parameters]

where service is the BEA Tuxedo service name assigned to the imported BEA TOP END service, qspace is the BEA Tuxedo queue space name assigned to the imported RTQ Queue, and qname is the BEA Tuxedo queue name assigned to the imported BEA TOP END service accessed through RTQ. Each of these names may contain no more than 15 characters. The setting of the TYPE parameter—SERVICE, QSPACE, or QNAME—determines the entry type.

SERVICE entries in the DM_IMPORT section define BEA TOP END services that are advertised to the local BEA Tuxedo application by the TEDG. Entries for BEA TOP END services that are advertised to a BEA Tuxedo application include a mapping from BEA TOP END service identifiers (product, function, target, qualifier) to BEA Tuxedo service names. These service names are used with the XATMI tpcall(3c) and tpacall(3c) functions.

QSPACE entries in the DM_IMPORT section define BEA TOP END RTQ queues that are made available in the local BEA Tuxedo application by the TEDG as if they were BEA Tuxedo queue spaces (limitations apply). A queue space is made available in a BEA Tuxedo application by advertising the queue space name as a BEA Tuxedo service name. The TEDG handles a tpenqueue(3c) request sent to its queue space name in a manner similar to that used by the TMQUEUE(5) server. The request is then mapped to the RTQ queue identified in this qspace entry. Both QSPACE and QNAME entries are required for message queuing.

QNAME entries in the DM_IMPORT section define the mapping of a BEA Tuxedo queue name to a BEA TOP END service name for requests enqueued to the BEA TOP END system. QNAME entries are not advertised as services in the local BEA Tuxedo application. Note that QSPACE and QNAME entries are independent; any combination of QSPACE and QNAME identifiers may be used by an application with the tpenqueue(3c) function.

QNAME entries should be unique with respect to the queue name identifier for a particular LACCESSPOINT. If multiple entries for the same queue name identifier value are configured, the TEDG uses only the first one.

Any SERVICE or QNAME entry that includes the TE_PRODUCT parameter, or any QSPACE entry that includes the TE_RTQGROUP parameter, is applicable to each local domain access point of type TOPEND if the entry is not configured for a particular local domain access point using the LACCESSPOINT parameter. Entries configured for a specific LACCESSPOINT are only applicable to the gateway (TEDG) for that local domain access point.

Because SERVICE and QSPACE entries configure service identifiers and queue space identifiers that are advertised as BEA Tuxedo services, these identifiers must not overlap for a particular local domain access point. However, multiple entries of the same type and identifier are permitted for load balancing. All entries for the same service identifier must have the same value for the CONV parameter.

If the DMCONFIG file includes local domain access points for more than one BEA TOP END system, or if it includes multiple domain gateway types, the LACCESSPOINT parameter should be specified for the remote resource entry in the DM_IMPORT section. If a remote domain access point is specified for a remote resource entry, or in a referenced routing entry, it should match the value of the local domain access point type (TOPEND) and TP_SYSTEM. Mixed configurations that do not specify local domain access point, or that reference remote domain access points of mixed types or mixed TP_SYSTEMs should not be created; they may prevent gateways from initializing properly. If in doubt, explicitly set the LACCESSPOINT and RACCESSPOINT parameters. A "wildcard" specification for a remote domain access point should be used only when a single gateway type is defined.

The following table identifies the required and optional parameters for each TEDG entry type in the DM_IMPORT section:

Entry TYPE

Required Parameters

Optional Parameters

SERVICE

TE_PRODUCT, TE_FUNCTION

TYPE, RACCESSPOINT, LACCESSPOINT, TE_TARGET, TE_QUALIFIER, INBUFTYPE, OUTBUFTYPE, CONV, LOAD, ROUTING

QSPACE

TYPE, TE_RTQGROUP, TE_RTQNAME

RACCESSPOINT, LACCESSPOINT, TE_TARGET, LOAD

QNAME

TYPE, TE_PRODUCT, TE_FUNCTION

LACCESSPOINT, TE_TARGET, TE_QUALIFIER, INBUFTYPE, LOAD, ROUTING


 

Required and optional TEDG parameters for DM_IMPORT section

RACCESSPOINT (also known as RDOM) =
     identifier1[,identifier2][,identifier3]

Specifies the remote domain access point through which this resource (service or RTQ queue) is imported. The remote domain access point must be of type TOPEND, and it must be part of the same TP_SYSTEM as the local domain access point—specified using the LACCESSPOINT parameter—to which this entry applies.

If RACCESSPOINT is not specified, the domain gateway associated with the TOPEND local domain access point assumes that any TOPEND remote domain access point with the same TP_SYSTEM value as the local domain access point can provide this resource.

If you want to configure alternate remote domain access points with the identifier2 and identifier3 arguments, you must specify ON_STARTUP as the value of the CONNECTION_POLICY parameter in the DM_LOCAL section. If identifier2 is configured, it is used for failover: When the remote domain associated with identifier1 is unavailable, the remote domain associated with identifier2 is used. Similarly, if identifier3 is configured, it is used for failover: When the remote domains associated with identifier1 and identifier2 are unavailable, the remote domain associated with identifier3 is used. Note that both load balancing (multiple remote service entries) and Domains-level failover (using alternate remote domain access points specified with this parameter) may be used for a remote resource.

LACCESSPOINT (also known as LDOM) = identifier

Specifies the local domain access point that imports this remote resource (service or RTQ queue), or the local domain access point to which this queue name applies. If this parameter is not specified, this remote resource is applicable to all local domain access points of type TOPEND defined in the DM_LOCAL section.

TYPE = {SERVICE | QSPACE | QNAME}

Specifies whether this remote resource is a SERVICE, QSPACE, or QNAME entry. The value SERVICE indicates that the entry for this remote resource defines the mapping parameters needed to make a BEA TOP END service available as a local BEA Tuxedo service. The value QSPACE indicates that the entry for this remote resource defines the mapping parameters needed to make a BEA TOP END RTQ queue available as a local BEA Tuxedo queue space. The value QNAME indicates that the entry for this remote resource defines the parameters needed to map a BEA Tuxedo queue name to a BEA TOP END service name for requests enqueued to the BEA TOP END system via /Q. The default is SERVICE.

TE_PRODUCT = string[1..32]

Specifies the BEA TOP END product name for this remote resource; product name may contain up to 32 characters, excluding the trailing NULL. Only the following characters are considered valid: a-z, A-Z, 0-9, _, -, and . (period).

The TE_PRODUCT parameter must be specified if TYPE=SERVICE or QNAME. It is not allowed if TYPE=QSPACE.

TE_FUNCTION = string[1..8]

Specifies the BEA TOP END function name for this remote resource; function name may contain up to 8 characters, excluding the trailing NULL. Only the following characters are considered valid: a-z, A-Z, 0-9, _, -, and . (period).

The TE_FUNCTION parameter must be specified if TYPE=SERVICE or QNAME. It is not allowed if TYPE=QSPACE.

TE_TARGET = string[1..8]

Specifies the BEA TOP END Message Sensitive Routing (MSR) target for this remote resource; MSR target may contain up to 8 characters, excluding the trailing NULL. Only the following characters are considered valid: a-z, A-Z, 0-9, _, -, and . (period). The default is spaces.

The TE_TARGET parameter is an allowed option if TYPE=SERVICE, QSPACE, or QNAME.

TE_QUALIFIER = numeric

Specifies the BEA TOP END function qualifier for this remote resource; function qualifier may be greater than or equal to 0 or less than or equal to MAXLONG (2147483647). The default is 0.

The TE_QUALIFIER parameter is an allowed option if TYPE=SERVICE or QNAME. It is not allowed if TYPE=QSPACE.

TE_RTQGROUP = string[1..32]

Specifies the BEA TOP END RTQ Group name for this remote resource; Group name may contain up to 32 characters, excluding the trailing NULL. Only the following characters are considered valid: a-z, A-Z, 0-9, _, -, and . (period).

The TE_RTQGROUP parameter must be specified if TYPE=QSPACE. It is not allowed if TYPE=SERVICE or QNAME.

TE_RTQNAME = string[1..8]

Specifies the BEA TOP END RTQ Queue name for this remote resource; Queue name may contain up to 8 characters, excluding the trailing NULL. Only the following characters are considered valid: a-z, A-Z, 0-9, _, -, and . (period).

The TE_RTQNAME parameter must be specified if TYPE=QSPACE. It is not allowed if TYPE=SERVICE or QNAME.

INBUFTYPE = string[1..256]

type[:subtype]—Specifies the input buffer type, optionally followed by subtype, for this remote resource. For BEA TOP END service and queue name entries, the valid values for type are FML32, CARRAY, and X_OCTET.

The INBUFTYPE parameter is an allowed option if TYPE=SERVICE or QNAME. This parameter is not allowed if TYPE=QSPACE.

OUTBUFTYPE = string[1..256]

type[:subtype]—Specifies the output buffer type, optionally followed by subtype, for this remote resource. For BEA TOP END service entries, the valid values for type are FML32, CARRAY, and X_OCTET.

The OUTBUFTYPE parameter is an allowed option if TYPE=SERVICE. This parameter is not allowed if TYPE=QSPACE or QNAME.

CONV = {Y | N}

Specifies whether (Y) or not (N) this remote resource is a conversational service. The default is N. The CONV attribute applies to TYPE=SERVICE; it must be N if TYPE=QSPACE or QNAME.

The CONV parameter must be set to Y for this remote service if a pseudo-conversation is to be managed by a BEA TOP END server application that may or may not maintain application context. If CONV is set to Y, the XATMI functions for conversation (tpconnect, tpsend, and tpdiscon) must be used. If CONV is set to N, the request/reply XATMI functions (tpcall, tpacall) must be used with this service.

LOAD = numeric

Specifies the service load for this remote resource. The value must be greater than or equal to 1 and less than or equal to 32767. The default is 50. Interface loads are used for load balancing purposes, that is, queues with higher enqueued workloads are less likely to be chosen for a new request.

The LOAD parameter is an allowed option if TYPE=SERVICE, QSPACE, or QNAME.

ROUTING = identifier

Specifies the name of the routing criteria used for data-dependent routing for this remote resource. When more than one remote domain access point offers the same resource, a local domain access point can perform data-dependent routing if this optional parameter is specified. If this parameter is not specified, data-dependent routing is not used for this resource.

The identifier is a ROUTING_CRITERIA_NAME defined in the DM_ROUTING section. The value of identifier must be 15 characters or less in length. If multiple entries for the same service or queue space name are included with different remote domain access points (specified using the RACCESSPOINT parameter), the value of the ROUTING parameter must be the same for all of these entries. Additionally, the remote domain access points configured in the referenced routing criteria must be part of the same TP_SYSTEM as the local domain access point to which this remote resource entry applies.

The ROUTING parameter is an allowed option if TYPE=SERVICE or QNAME. It is not allowed if TYPE=QSPACE.

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy