08.06.2014 Views

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

Download PDF (1.3 MB) - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating the data sources for the messaging engines<br />

Create a data source for each messaging engine and configure each messaging engine to<br />

use the new data store using the administrative console:<br />

1. Create a JDBC provider of type DB2 Universal JDBC Driver Provider for the non-XA data<br />

sources if it does not exist. The XA DB2 JDBC Driver Provider should exist if BPC was<br />

configured correctly for DB2.<br />

2. Create four new JDBC data sources, one for CEI as an XA data source, and the remaining<br />

three as single-phase commit (non-XA) data sources.<br />

Table 4-2 provides new names for the data sources.<br />

Table 4-2 New data sources<br />

Name of data source JNDI Name Type of JDBC provider<br />

CEIMSG_sib jdbc/sib/CEIMSG DB2 Universal (XA)<br />

SCAAPP_sib jdbc/sib/SCAAPPLICATION DB2 Universal<br />

SCASYSTEM_sib jdbc/sib/SCASYSTEM DB2 Universal<br />

BPCMSG_sib jdbc/sib/BPCMSG DB2 Universal<br />

When creating a data source, complete the following tasks.:<br />

1. Clear the Use this Data Source in container managed persistence (CMP) check box.<br />

2. Set a component-managed authentication alias.<br />

3. Set the database name to the name used for the database created earlier for messaging<br />

(for example, Service Integration Bus).<br />

4. Select a driver type of type 2 or type 4. DB2 should use the JDBC Universal Driver type 2<br />

connectivity to access local databases, and type 4 connectivity to access remote<br />

databases. A type 4 driver requires a host name and valid port to be configured for the<br />

database.<br />

Changing the data stores of the messaging engines<br />

Use the administrative console to change the data stores of the messaging engines:<br />

1. In the Navigation panel, click Service Integration Buses and change the data stores<br />

for each bus and messaging engine that is displayed.<br />

2. Put in the new JNDI and schema name for each data store. Clear the Create Tables<br />

check box because the tables are already created.<br />

The server immediately restarts the messaging engine. The SystemOut.log file shows the<br />

results of the change and indicates whether the messaging engine starts successfully.<br />

3. Restart the server and validate that all systems come up using the updated configuration.<br />

The last remaining task is tuning the database. For more information about database and<br />

DB2-specific tuning, see the following sections:<br />

► 4.13, “General database tuning” on page 80<br />

► 4.14, “DB2-specific database tuning” on page 82<br />

Chapter 4. Performance tuning and configuration 69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!