40 Patterns: Information Aggregation and Data Integration with DB2 Information Integrator
Figure 2-7 Basic steps in configuring a federated system
Each of these steps is described briefly:
1.
Step 1 involves preparing the federated server for the data source. For the
DB2 family, this involves cataloging the node and the remote database. For
Informix, Sybase, and Microsoft SQL Server data sources, it involves setting
up and testing the client configuration file.
2.
Step 2 involves creating the wrappers in the federated server. One wrapper is
created for each type of data source to be accessed. When a wrapper is
created, it is registered in the federated database and the wrappers can now
be used to access objects from these data sources.
3.
Step 3 involves creating the server definition that defines the data source to
be accessed by the federated database. The name of the data source and
other information is part of the server definition.
– For a relational DBMS (RDBMS), it includes the type and version of the
RDBMS, the database name for the data source on the RDBMS, and
metadata that is specific to the RDBMS. A DB2 data source can have
multiple databases, and therefore a database name is required to identify
it as the target. An Oracle data source, on the other hand, can only have a
Step 7 - Test the nickname
Step 2 - Create the wrapper
Step 3 - Create the server definition
Step 6 - Create nickname
Function mapping
Data mapping
Step 1 - Prepare the federated server for the data source
Step 5 - Test connection to the data source server
Step 4 - Create the user mappping