TuxMsgQLD—OTMQ Link Driver ServerListing 3‑1 an example of the Link Driver Server configuration file:Listing 3‑1 Link Driver Server Configuration File:
• TuxMsgQ—Message Queue Manager.The message queue manager is an Oracle Tuxedo system-supplied server that enqueues and dequeues messages on behalf of programs calling tpenqplus() and tpdeqplus(), respectively. The application administrator enables message enqueuing and dequeuing for the application by specifying this server as an application server in the *SERVERS section.To configure default attach timeout for a Qspace, set BLOCKTIME property in the *SERVICES section for the service named TuxMQATH[qspace], where [qspace] is the service name that TuxMsgQ advertised with routine TuxMsgQ.Listing 3‑2 TuxMsgQ ExampleTMQ_NA—Message Queue Naming ServerTMQ_NA is an OTMQ system server. It can provide naming and runtime binding of queue aliases to queue names. It supports the following options:TMS_TMQM—TMS server for OTMQ resource manager.OTMQ also provides a separate Tuxedo Transaction Management Server (TMS). TMS_TMQM should be configured in the TuxMsgQ and/or TuxMQFWD group.*GROUPS
QGRP1
LMID=L1 GRPNO=1 TMSNAME=TMS_TMQM TMSCOUNT=2
OPENINFO="TUXEDO/TMQM:/dev/device2:myqueue"TMQEVT—OTMQ event reporting process.TMQEVT is an Oracle Tuxedo system provided server that processes event report message buffers from tpqpublish, and acts as an EventBroker to filter and distribute them.Filtering and notification rules are stored in control-file, which defaults to ${APPDIR}/tmqevt.dat. Control file syntax is defined in EVENT_MIB(5); specifically, the attributes of the classes in EVENT_MIB can be set to activate subscriptions under the full range of notification rules.It is possible to boot one or more secondary TMQEVT processes for increased availability. Additional servers must be booted with the -S command-line option, which indicates a "secondary" server.When the EVENT_MIB(5) configuration is updated, the primary TMQEVT server writes to its control file. Secondary servers poll the primary server for changes and update their local control file if necessary. The polling interval is controlled by the -p option, and is 30 seconds by default.
Notes: If you are setting up an MP configuration that includes more than one release of the Oracle Tuxedo system and you want to run the TMQEVT server, you must run these servers on the node with the highest available release of the system.TMQEVT must not delopoy with the same group of TMS_TMQM.TMQEVT must run on an Oracle Tuxedo release 6.0 or later machine.To migrate the primary TMQEVT server to another machine, the system administrator must provide a current copy of control-file. Each secondary TMQEVT server automatically maintains a recent copy.If tpqupublis() is called in transaction mode, all TMQEVT server groups must have transactional capability (a TMS process).The TMQEVT server environment variables must be set so that FML field tables and viewfiles needed for message filtering and formatting are available. They could be set in the machine's or server's environment file.TMQFORWARDPLUS—Message Forwarding server.The message forwarding server is an Oracle Tuxedo system-supplied server that forwards messages that have been stored using tpenqplus() for later processing. The application administrator enables automated message processing for the application servers by specifying this server as an application server in the *SERVERS section.-t trantimeUsed to cause the server to exit if it finds no messages on the queue(s). This, combined with the threshold command associated with the queue(s), can be used to start and stop the TMQFORWARDPLUS server in response to fluctuations of messages that are enqueued.Used to cause messages to be sent using the TPNOTRAN flag. This flag allows for forwarding to server groups that are not associated with a resource manager.Used to cause the server to forward the message to the service instead of using tpcall. The message is sent such that a reply is not expected from the service. The TMQFORWARDPLUS server does not block waiting for the reply from the service and can continue processing the next message from the queue. To throttle the system such that TMQFORWARDPLUS does not flood the system with requests, the delay numeric value can be used to indicate a delay, in seconds, between processing requests; use zero for no delay.Listing 3‑3 TMQFORWARDPLUS Example