Right-click the controller icon for which you want to create a router application. Select New | Router. The new router, named Router1, appears below the selected controller and in the right pane.
Double-click Router1 in the right pane or right-click Router1 in the tree view and select Properties. The Router Properties window appears.
Select the General tab to configure the Router Application options:
Active – make the router active. When the cluster is started, only active applications are started.
Tracking – automatically set the router working directory identical to the name of the router.
Name – defined by default as “Routern” (where “n” increments starting with 1), indicating an router application and its associated instance. You can modify this name to be consistent within your own environment.
Flavor – enter an integer between 1 and 4292967295 to use for data routing. The router flavor must be unique in the e-Biz Impact cluster.
The flavor applies to functions used as entry points
for the router, such as route_sync.
Timeout – the time, in seconds, for the calling application to wait before it times out. This option applies to route_sync.
Configure Function Name Overrides:
aim_ayt – the name of the function used to ping the MQDel AIM. The default is syncayt (“sync are you there”), but can be any user-defined name.
aim_proc – the name of the function used to route a transaction to the MQDel AIM. The default is syncproc, but can be any user-defined name.
Configure the mode, which controls which application (MQAcq, router, or MQDel) is responsible for performing commit and rollback operations on queues.
To allow the source application to perform commit and
rollback operations on both input and output queues, select Inline
mode for both the router application and the MQDel application to
specify that all code execution should be done by the MQAcq AIM
thread.
To let the destination application perform commit and rollback operations on output queues, select Queued mode for the MQDel AIM.
Select:
Inline – if the router application should not have its own execution thread and should execute within the MQAcq thread. If you select this option, you should also select “Inline” for Mode on the General tab of the MQDel Properties window.
Inline is the required mode most of the time for MQ
AIMs.
Queued – if the router application should execute within its own thread and can queue up requests for more than one application.
Configure the router xlog, which stores messages related to router functions:
Limit (KB) – defines the log file limit. There is no predefined limit, but the default setting of 1024 (1MB) is designed to provide a useful log file without using too much disk space.
Depth – the number of copies of the log file that e-Biz Impact maintains. The default setting of 2 indicates that e-Biz Impact creates an additional file when the main activity log reaches its maximum size. If the second file reaches the limit, e-Biz Impact rolls back to the first file, overwriting the content.
Configure router directories:
Dynamic Table Reload – reload the lookup tables during runtime if changes are made to the table files. Tables are also reloaded when the router application is restarted (disabled, then enabled).
Working – unselect the Tracking option to enable the Working Directory text box and enter the working directory or accept the default, which matches the router name. This directory tells the e-Biz Impact executable where to find the configuration information for this router once the configuration files are deployed to the server.
Project – the location in which the router production object files reside.
Table – the location of router tables, if used.
Click Apply to save the entries.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |