## Resource Manager Template File

The Resource Manager Template file, or `RMTemplate`, contains descriptions for Resource Managers that are added to machines in the application. Also, each line has information about the Resource Manager Type, including the `TMS` name.

The syntax in the Resource Manager Template file is:

<`RM_name`>#<`RM_description`>#<`RM_type_tag`>#<`RM_type`>#<`TMS_name`>#
<`OPENINFO_string`>

Note: The # symbol is used as a separator.

where

`rm_name` is the name of the Resource Manager, for example `Ora_Dev`.

`rm_desription` is the description of the Resource Manager as it appears in the Server Group selection list, for example Oracle Development Database. This is a (non-mandatory) description string.

`RM_type_tag` identifies the type of resource manager, usually the same as the next parameter, e.g. `Oracle_XA`.

`RM_type` is the RM type name as in the `TUXEDO RM` file, e.g. `Oracle_XA`

`TMS_name` is the name of the TMS corresponding to this RM, e.g. `TMS_ORACLE`

`OPENINFO_string` is the corresponding `OPENINFO` string used by the Resource Manager. This string may also contain the fields <`DS`> and <`PS`> which are replaced by the directory separators, / on UNIX operating systems and \ on Windows NT, and the path separator : on UNIX and ; on Windows NT.

Additionally <`APPDIR`> can be used and later replaced by the value of the machine application directory when a group is added to a machine.

Note: Both `RM_type_tag` and `RM_type` should match the entry in the `$TUXDIR/udataobj/RM` file.

A syntax example of the Resource Manager Template file looks like the following
(your file will look different):

> Listing 4-3 Resource Manager Template File

>     Group#Oracle_XA#Oracle_XA#TMS_ORACLE#
>     Oracle_XA:Oracle_XA+Acc=P/system/manager+SesTm=30 TUXEDO/SQL#
>     TUXEDO/SQL Template Group#TUXEDO/SQL#TUXEDO/SQL#TMS_SQL#
>     TUXEDO/SQL:<APPDIR><DS><device><PS><dbname><PS>readwrite TUXEDO/QM#TUXEDO/Q Template Group#TUXEDO/QM#TUXEDO/QM#TMS_QM#
>     TUXEDO/QM:<APPDIR><DS><qdevice><PS><qspace>