To configure the adapter on an AIX system, follow these instructions in order:
db2 catalog tcpip node local_DB2_hostname remote remote_DB2_hostname server DB2_instance_portnumber
Example:
db2 catalog tcpip node db2host remote db2host server 50000
db2 catalog database DB_name as DB_name at node DB2_hostname
Example:
db2 catalog database CWPortal as CWPortal at node db2hos
The file is located in the directory sqllib, in the home directory of the account that was used to install Portal Infranet for DB2, for example, /home/db2instl/sqllib.
Copy the file database.bnd from $COSSWORKDS/connectors/Portal/dependencies/config_files/DB2 to user pin's home directory.
db2 connect to DB_name user pin using pin
Example:
db2 connect to CWPortal user pin using pin
dbw bind database.bnd
db2 disconnect all
export DB2DBDFT=DB_name
Example:
export DB2DBDFT=CWPortal
The file is located in the directory sqllib, in the home directory of the account that was used to install Portal Infranet for DB2, for example, /home/db2instl/sqllib.
Copy the file connector_manager_Portal from $ProductDir/connectors/Portal to $ProductDir/connectors/bin.
PORTAL_HOME=/opt/portal/6.1
to an appropriate value:
PORTAL_HOME=PortalInfranet_home_dir
Example:
/opt/portal/6.2
../.profile
Make sure that the $LIBRARY_PATH variable contains the $INFRANET/lib path so that the system can recognize the .so files.