The tasks that must be performed to setup and use DCE Directory Services are listed below. The following sections describe the details of each task.
The DCE administrator must update the DCE directory so that the new database resource information can be added.
The database administrator must update the DCE directory and supply information for DB2 installation and configuration.
The database user must log in to DCE and know the target database name.
In addition, the network administrator sets up the network access for each user node. Refer to the network documentation for the details.
The DCE administrator must do the following tasks before the directory objects can be created or read:
Edit the CDS attributes file (on UNIX platforms /etc/dce/cds_attributes; on OS/2 X:\opt\dcelocal\etc\cds_attr, where "X" is the appropriate drive) and append the following:
1.3.18.0.2.4.30 DB_Comment char 1.3.18.0.2.4.31 DB_Communication_Protocol char 1.3.18.0.2.4.32 DB_Database_Protocol char 1.3.18.0.2.4.33 DB_Database_Locator_Name char 1.3.18.0.2.4.34 DB_Native_Database_Name char 1.3.18.0.2.4.35 DB_Object_Type char 1.3.18.0.2.4.36 DB_Product_Name char 1.3.18.0.2.4.37 DB_Product_Release char 1.3.18.0.2.4.38 DB_Target_Database_Info char 1.3.18.0.2.4.39 DB_Authentication char 1.3.18.0.2.4.63 DB_Principal char
For more information, refer to the DCE documentation for the platform you are using.
The database administrator must do the following tasks:
Some of the configuration parameters can be temporarily overridden by registry values set by the client. Refer to Configuration Parameters and Registry Variables for more information.
Three types of objects exist.
Refer to Creating Directory Objects for details about the objects.
The database user must do the following tasks:
db2set DB2CLIENTCOMM=tcpip db2set DB2CLIENTCOMM=appc db2set DB2CLIENTCOMM=tcpip,appc db2set DB2CLIENTCOMM=appc,tcpip
Some OS/2 examples are:
db2set DB2CLIENTCOMM=ipxspx db2set DB2CLIENTCOMM=netbios db2set DB2CLIENTCOMM=tcpip,ipxspx,netbios db2set DB2CLIENTCOMM=netbios,tcpip,ipxspx,appc
Some Windows NT and Windows 95 examples are:
db2set DB2CLIENTCOMM=npipe db2set DB2CLIENTCOMM=netbios db2set DB2CLIENTCOMM=tcpip,ipxspx,netbios db2set DB2CLIENTCOMM=netbios,tcpip,ipxspx,appc,npipe
If more than one communication protocol exists, the first one specified is used.