TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-38
ADD RESOURCEMANAGER
be used by a gateway process. This directory is maintained by the TMP. Registration
creates an entry for the resource manager in the directory.
Associated with each resource manager is a resource manager file. When a gateway
process asks to open a recoverable resource manager, the TMP verifies that the
resource manager is registered and authenticates the resource manager’s
authorization to open this file. Gateway processes that open recoverable resource
managers must also close them explicitly.
If the gateway process fails while accessing the recoverable resource manager, the
resource manager is closed implicitly.
If active transactions exist when the recoverable resource manager is closed, those
transactions are aborted.
If in-doubt transactions exist when the recoverable resource manager is closed, they
remain in-doubt and the resource manager is considered to have crashed.
If a recoverable resource manager is in the crashed state when it is reopened, the in-
doubt transactions are passed to the new opening process for resolution.
Entries can be added to the resource manager directory either by a gateway process
that registers the resource manager name programmatically, or by a user who enters
the ADD RESOURCEMANAGER command.
There is a configurable limit on the total number of resource managers allowed in the
system. You can adjust this limit through the RECRMCOUNT option of the ALTER
BEGINTRANS command. You can display the current limit with the INFO
BEGINTRANS command.
There is also a limit on the total number of resource managers, both recoverable and
volatile, that can be open concurrently in a processor by gateway processes. You can
alter this limit through the RMOPENPERCPU option of the ALTER BEGINTRANS
command. You can display the current limit with the INFO BEGINTRANS command.
Examples
The following ADD RESOURCEMANAGER command adds a resource manager
named TUX-A1_UNIX@SUN to the resource manager directory:
TMF 42> ADD RESOURCEMANAGER TUX-A1_UNIX@SUN, OWNER SUPER.TUXEDO
The next command adds a resource manager named TUX-A2_NT@MICROSOFT to
the directory:
TMF 43> ADD RM TUX-A2_NT@MICROSOFT, OWNER (255,27)