<divclass="sect2"lang="en"xml:lang="en"><divclass="titlepage"><div><div><h3class="title"><aid="id3965926"></a>Update the Resource Manager File in Tuxedo</h3></div></div></div><p>For the purposes of this discussion, assume that the Tuxedo home directory is in</p><preclass="programlisting">/home/tuxedo</pre>
Edit the resource manager file to identify the Berkeley DB resource manager, the name of the resource manager switch, and the name of the library for the resource manager.
<p>For example, on a RedHat Linux Enterprise (64-bit) installation of Oracle Tuxedo 11gR1, you can update the resource manager file by adding the following line:</p><preclass="programlisting">BERKELEY-DB:db_xa_switch:-L${DB_INSTALL}/lib -ldb </pre><p>where <codeclass="literal">${DB_INSTALL}</code> is the directory into which you installed the Berkeley DB
library.</p><p>Note that the load options may differ depending on the platform of
<p>You must make sure that your TUXCONFIG environment variable
identifies an UBBCONFIG file that properly identifies your resource
managers. In the GROUPS section of the UBBCONFIG file, you should identify the
group's LMID and GRPNO, as well as the transaction manager server name
"TMSNAME=DBRM." You must also specify the OPENINFO parameter, setting it
equal to the string</p>
<preclass="programlisting">rm_name:dir</pre>
<p>where rm_name is the resource name specified in the RM file (that is,
BERKELEY-DB) and dir is the directory for the Berkeley DB home environment
(see <ahref="../api_reference/C/envopen.html"class="olink">DB_ENV->open()</a> for a discussion of Berkeley DB environments).</p>
<p>Because Tuxedo resource manager startup accepts only a single string
for configuration, any environment customization that might have been
done via the config parameter to <ahref="../api_reference/C/envopen.html"class="olink">DB_ENV->open()</a> must instead be done
by placing a <aclass="xref"href="env_db_config.html"title="DB_CONFIG configuration file">DB_CONFIG configuration file</a> in the Berkeley DB environment directory.
See <aclass="xref"href="env_naming.html"title="File naming">File naming</a> for further
information.</p>
<p>Consider the following configuration. We have built a transaction
manager server, as described previously. We want the Berkeley DB environment
to be <codeclass="literal">/home/dbhome</code>, our database files to be maintained in
<codeclass="literal">/home/datafiles</code>, our log files to be maintained in
<codeclass="literal">/home/log</code>, and we want a duplexed server.</p>
<p>The GROUPS section of the ubb file might look like the following:</p>