Configuring a FileNet database for SQL Server
You must enable XA transactions on every Microsoft SQL Server.
About this task
Procedure
- Download the Microsoft SQL Server JDBC Driver.
Note: Installation procedures for JDBC settings can vary by release. See the Microsoft website for full details.
-
Copy sqljdbc_xa.dll from the JDBC installation directory to the
install_dir\Binn directory.
For example,
C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn
install_dir is the directory where you installed Microsoft SQL Server.
-
Log in to the SQL Server Management Studio as the sa
administrator or as a user with equivalent permissions and execute the database script
xa_install.sql on the master database on every SQL Server instance that
participates in distributed transactions.
Note: Use SQL Server database credentials, not Windows credentials, to log in. Windows Integrated Logon to SQL Server is not supported by IBM FileNet P8. This script installs sqljdbc_xa.dll as an extended stored procedure and creates the SqlJDBCXAUser role in the Master database.
- Click New Query.
- Copy the content of C:\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\xa\xa_install.sql into the query window.
- Click Execute to run the scripts.
- Add the database account that Content Platform Engine uses
to access SQL Server to the SqlJDBCXAUser role.
This action grants permissions to those accounts to participate in
distributed transactions with the JDBC driver as follows:
- Click FNGCDUSER and choose Properties. , and then right-click
- Select the User Mapping tab in the open window.
- Select FNGCD and master databases.
- Select SQLJDBCXAUser in the list.
- Add the database account that Content Platform Engine uses
to access SQL Server for the FNOSUSER.
- Click FNOSUSER and choose Properties. , and then right-click
- Select the User Mapping tab in the open window.
- Select FNOS and master database.
- Select SQLJDBCXAUser in the list.
- Click Local DTC and select Properties. On the Security tab, select enable XA transactions. , and then right-click