Configuring Microsoft SQL Server data sources
There are several requirements and restrictions for using Microsoft SQL Server data sources for federated two-phase commit.
Before you begin
Before you begin
Restrictions:
- For Microsoft SQL Server data sources, federated two-phase commit is only supported by Federation component installed on Windows.
- The Db2® isolation level is not propagated to the Microsoft SQL server.
Requirements:
- For federated two-phase commit to work with Microsoft SQL,
an extra server option, XA_OPEN_STRING_OPTIONS, must be added to the
server:
alter server S1 options(add xa_open_string_options 'RMRecoveryGuid=c200e360-38c5-11ce-ae62-08002b2b79ef');where
RMRecoveryGuid= resource manager ID.The resource manager ID is available in the following location of the Microsoft SQL Server Registry:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer] "ResourceMgrID" = "{resource manager ID}"
About this task
Procedure
To configure a Microsoft SQL Server data source: