BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Setting Up a BEA Tuxedo Application   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Configuring the Network for a Distributed Application

A distributed application is an application that runs on multiple computers, each of which supports an installation of the BEA Tuxedo system. These computers are connected and can communicate with each other through a network that includes hardware, software, access methods, and communication protocols. The BEA Tuxedo system encodes, routes, and decodes messages, and uses the network to ship those messages between machines. The system performs these tasks automatically.

To configure the networking functionality required to support a distributed application, include the following entries in the configuration file.

In This
Section . . .

Set This Parameter . . .

To . . .

RESOURCES

MODEL (Required)

MP. This parameter enables all other networking parameters. It is used only for networked machines. SHM is used for a single-machine configuration, even if the machine is a multiprocessor.

OPTIONS (Required)

LAN (Local Area Network) to indicate that communication will take place between separate machines, rather than between separate processes on the same machine.

MAXNETGROUPS (Optional)

Designate a limit on the number of NETGROUPS that can be defined. The default is 8; the upper limit, 8192.

MACHINES

TYPE=string (Optional)

Determine whether encoding is required when messages are exchanged by two machines. The TYPE parameter specifies the data representation being used on each machine being defined. If a message is being sent from a machine on which one type of data representation is being used to a machine on which a different type of data representation is being used, the message to be sent must be encoded before transmission and decoded upon arrival.

If the machines in question both use the same type of data representation, however, the system skips the encoding/decoding process.


Example 1

LMID_1 TYPE = "abc"
LMID_2 TYPE = "abc"

Encoding is not used in this case.


Example 2

LMID_1 TYPE = "HP"
LMID_2 TYPE = "SUN"

Encoding is used in this case.


You do not need to set this parameter if the same type of data representation is used on all machines that will exchange messages. The parameter must be set only for a machine on which a different type is used. For example, if you have nine SPARC machines and one HP machine, you must specify TYPE=string only for the HP. For the SPARC machines, the default null string identifies them as the same type.


CMPLIMIT=remote[, local] (Optional)

Specify the compression threshold, that is, the minimum byte size for a message to be compressed before being sent to a remote and/or local destination. The value of both remote and local is a number between 0 and MAXLONG. If CMPLIMIT is set to only one value, it is assumed that the specified value is the remote argument and that messages sent to local destinations are never compressed.

For example, if you set CMPLIMIT=1024, than any message greater than 1024 bytes bound for a remote location is compressed.

Compression thresholds can also be specified with the variable TMCMPLIMIT. See the discussion, in tuxenv(5), about the variable TMCMPPRFM, which sets the degree of compression in a range of 1 to 9.


NETLOAD=number (Optional)

Add an application-specific number to the value of LOAD for a remote service. The result is used by the system to evaluate whether a request should be processed locally or sent to a remote machine. A higher NETLOAD results in less traffic being sent to a remote machine.

NETGROUPS (Optional)

NETGROUP (Required)

Specify the name assigned by the application to a particular group of machines. The name may contain up to 30 characters. One group, consisting of all the machines on the network, must be named DEFAULTNET.

NETGRPNO=number (Required)

Specify a number by which the system can identify a group of machines. The value can be any number between 1 and 8192. For DEFAULTNET, the value of NETGRPNO must be 0.

NETPRIO=number (Optional)

Assign a priority to a NETGROUP. This parameter helps the system determine which network connection to use. The number must be between 0 and 8192. Assign a higher priority to your faster circuits; give your lowest priority to DEFAULTNET.

NETWORK (Optional)

LMID (Required)

Map the specified machine to one of the entries in the MACHINES section.

NADDR=string (Required)

Specify the listening address for the BRIDGE process on this LMID. There are four valid formats for specifying this network address. See the NETWORK section of UBBCONFIG(5) for details.

NLSADDR=string (Required)

Specify the network address for the tlisten process on this LMID. Valid formats are the same as the valid formats for NADDR.

NETGROUP=string (Optional)

Specify a NETWORK group name. The value of string must be a group name specified in the NETGROUPS section. The default is DEFAULTNET.


 

 

back to top previous page next page