Previous Topic Next topic Print topic


To Add an XA Resource

  1. In the table of servers on the Home page of Enterprise Server Administration, click Edit to the left of the row for the server that you want to edit.
  2. Click the XA Resources tab.
  3. Click Add.
  4. Specify the details of the resource manager:
    ID
    Specify a resource manager ID, used internally to identify a particular XA configuration. This must be unique within the enterprise server. Mandatory.
    Name
    Specify the name by which the resource manager is known. It should match the name returned in the name field of the xa_switch_t structure. Mandatory.
    Module
    Specify the location of the executable file (.dll on Windows),(.sl on HP-UX PA-RISC, .so on other UNIX platforms) that contains the entry point that returns the xa_switch_t structure to the enterprise server. Mandatory.
    Open string
    Specify the string that is passed to the resource manager on the xa_open() call. It usually contains at least the database name, and the user ID and password for connecting to the database. The contents of this string are database-specific.

    Where the resource manager supports dynamic registration, and the database vendor requires the name of the module that provides the ax_reg function, you should specify casaxlib.

    Close string
    The string that is passed to the resource manager on the xa_close() call. To find out whether or not you need to supply Close string, see your database vendor's documentation.
    Description
    Specify an optional text description of the resource manager definition.
    Enabled
    Check this to enable the resource manager. It is checked by default.
  5. Click Add.
Note: You cannot add a resource manager until all the mandatory fields have values.
Previous Topic Next topic Print topic