2.13.2 Files to be created before using centralized management of client definitions
Before you can use centralized management of client definitions, you must create the following files on the HADB server:
-
Client management definition file
-
Client definition files
- Organization of this subsection
(1) Information to be specified in the client management definition file
In the client management definition file, specify the authorization identifiers of HADB users who connect to the HADB server. In addition, specify the client definition files to be applied to the application programs (including the adbsql command) that connect to the server with those authorization identifiers. The following shows a specification example.
- Specification example
-
adbclientmang -f client01.def -i ADBUSER01,ADBUSER02 ...1 adbclientmang -f client02.def -i ADBUSER03 ...2 adbclientmang -f client03.def -i ADBUSER04,ADBUSER05,ADBUSER06 ...3 : : :
Explanation
-
The client definition in the client definition file client01.def is applied to the application program that connects by using the authorization identifier ADBUSER01 or ADBUSER02.
-
The client definition in the client definition file client02.def is applied to the application program that connects by using the authorization identifier ADBUSER03.
-
The client definition in the client definition file client03.def is applied to the application program that connects by using the authorization identifier ADBUSER04, ADBUSER05, or ADBUSER06.
-
Store the client management definition file in the $ADBDIR/conf directory on the HADB server.
(2) Information to be specified in a client definition file
In a client definition file, specify the definition of a client. Store client definition files in the $ADBDIR/conf directory on the HADB server.
Note that the following operands specified in a client definition file on the HADB server are ignored, and therefore you do not need to specify the operands in a client definition file. Specify the following operands in the client definitions on HADB clients.
-
adb_clt_rpc_srv_host
-
adb_clt_rpc_srv_port
-
adb_clt_rpc_con_wait_time
-
adb_clt_rpc_sql_wait_time
If you do not specify operands other than the preceding ones, the defaults are used.