Confirming the link-edit of the wrapper library files (UNIX)On federated servers that run UNIX®, some wrappers must be link-edited with the client software for the data source.
You must confirm that a wrapper library file exists on the federated server for each data source that you want to access.
About this task
This task applies to only the following data sources:- Informix®
- Microsoft® SQL Server
- Oracle
- Sybase
- Teradata
Procedure
Check for the library files in the default directory path where WebSphere® Federation Server is installed. If the library files are not in that directory, you must manually link the wrapper libraries to the data source client software.
The directory path for the wrapper library depends on the data source.
Oracle wrapper library files
The Oracle wrapper library files are added to the federated server when you install the wrapper.
When you install the Oracle wrapper, three library files are added to the default directory path. For example, if the federated server is running on AIX®, the wrapper library files that are added to the following directory path are libdb2net8.a, libdb2net8F.a, and libdb2net8U.a, The default wrapper library file is libdb2net8.a. The other wrapper library files are used internally by the Oracle wrapper.
The default directory paths and default wrapper library file names are listed in the following table.
Table 1. Oracle wrapper library locations and file names Operating system Directory path Library file names AIX /usr/opt/install_path/lib32/
/usr/opt/install_path/lib64/
libdb2net8.a Linux® /opt/IBM/db2/install_path/lib32
/opt/IBM/db2/install_path/lib64
libdb2net8.so Solaris /opt/IBM/db2/install_path/lib32
/opt/IBM/db2/install_path/lib64
libdb2net8.so Windows® %DB2PATH%\bin db2net8.dll
Manually linking the wrapper libraries to the data source client software
If the wrapper library files are not in the directory path, you must manually link the wrapper libraries.
Before you begin
You need root authorization to run the link scripts.
The client software for the data sources that you want to access must be installed and configured on the federated server.
For the djxlinkxxx scripts to issue their messages in your language, at least one database instance must exist on the federated server. If an instance does not exist on the federated server, the scripts will still work. However, the scripts will issue all messages in English.
Checking the FEDERATED parameter
The FEDERATED parameter must be set to YES to enable the federated server to access to the data sources.
To check the FEDERATED parameter setting:
About this task
- Informix®
- Microsoft® SQL Server
- Oracle
- Sybase
- Teradata
Procedure
The directory path for the wrapper library depends on the data source.
The Oracle wrapper library files are added to the federated server when you install the wrapper.
When you install the Oracle wrapper, three library files are added to the default directory path. For example, if the federated server is running on AIX®, the wrapper library files that are added to the following directory path are libdb2net8.a, libdb2net8F.a, and libdb2net8U.a, The default wrapper library file is libdb2net8.a. The other wrapper library files are used internally by the Oracle wrapper.
The default directory paths and default wrapper library file names are listed in the following table.
Operating system | Directory path | Library file names |
---|---|---|
AIX | /usr/opt/install_path/lib32/ | libdb2net8.a |
Linux® | /opt/IBM/db2/install_path/lib32 | libdb2net8.so |
Solaris | /opt/IBM/db2/install_path/lib32 | libdb2net8.so |
Windows® | %DB2PATH%\bin | db2net8.dll |
If the wrapper library files are not in the directory path, you must manually link the wrapper libraries.
Before you begin
You need root authorization to run the link scripts.
The client software for the data sources that you want to access must be installed and configured on the federated server.
For the djxlinkxxx scripts to issue their messages in your language, at least one database instance must exist on the federated server. If an instance does not exist on the federated server, the scripts will still work. However, the scripts will issue all messages in English.
Checking the FEDERATED parameter
The FEDERATED parameter must be set to YES to enable the federated server to access to the data sources.
To check the FEDERATED parameter setting:
https://www-304.ibm.com/support/docview.wss?uid=swg21154462
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp (Configuring - 페더레이티드 시스템 구성)
'Db2 > Db2 reference' 카테고리의 다른 글
STMM (수정중) (0) | 2011.11.09 |
---|---|
모니터링/튜닝 참고 (0) | 2011.11.09 |
테이블과 테이블 공간 상태 분석하기 (0) | 2011.10.22 |
DB2 Federation reference (0) | 2011.10.18 |
PRECOMPILE/BIND/PACKAGE (수정중) (0) | 2011.10.17 |