Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.14.4 Changing the definitions of how the function for centrally managing client definitions is applied

The following describes the procedure for changing the definitions of how the function for centrally managing client definitions is applied.

For an explanation of the flow of changing how the function for centrally managing client definitions is applied, see (2) Flow of changing the definitions of how the function for centrally managing client definitions is applied in 11.14.1 Flow of using the function for centrally managing client definitions.

Procedure:

  1. Check the status of how the function for centrally managing client definitions has been applied.

    Execute the adbclientdefmang command to check the status of how the function for centrally managing client definitions has been applied. From the execution result of the adbclientdefmang command, you can check the definitions in the client management definition file that is currently applied.

    For details about the adbclientdefmang command, see adbclientdefmang (Centralized Management of Client Definitions) in the manual HADB Command Reference.

    If you modify the contents of the client definition file used by the function for centrally managing client definitions, go to step 2.

    If you do not modify the contents of the client definition file used by the function for centrally managing client definitions, go to step 3.

  2. Edit the client definition file used by the function for centrally managing client definitions.

    Edit the client definition file that is stored in the server directory $ADBDIR/conf and used by the function for centrally managing client definitions. For details, see (1) Client definition file used by the function for centrally managing client definitions in 11.14.2 Files required for the function for centrally managing client definitions.

    If you change the association between the client definition file used by the function for centrally managing client definitions and the authorization identifier of the HADB user, go to step 3.

    If you do not change the association between the client definition file used by the function for centrally managing client definitions and the authorization identifier of the HADB user, go to step 4.

  3. Edit the client management definition file.

    Edit the client management definition file (adbclientdefmang.def) stored in the server directory $ADBDIR/conf. For details, see (2) Client management definition file in 11.14.2 Files required for the function for centrally managing client definitions.

  4. Change the definitions of how the function for centrally managing client definitions is applied.

    Change the definitions of how the function for centrally managing client definitions is applied.

    The way of changing the definitions of how the function for centrally managing client definitions is applied differs, depending on whether the HADB server is running.

    ▪ When the HADB server is stopped

    Execute the adbstart command to start the HADB server. After the HADB server starts, according to the client definition file and client management definition file that you edited, the definitions of how the function for centrally managing client definitions is applied are changed.

    For details about the adbstart command, see adbstart (Start the HADB Server) in the manual HADB Command Reference.

    ▪ When the HADB server is running

    Execute the adbclientdefmang command with the --update option specified. After executing the adbclientdefmang command, according to the client definition file and client management definition file that you edited, the definitions of how the function for centrally managing client definitions is applied are changed.

    For details about the adbclientdefmang command, see adbclientdefmang (Centralized Management of Client Definitions) in the manual HADB Command Reference.

    Note

    When the function for centrally managing client definitions is applied, this function is not applied to certain HADB clients. Such HADB clients are connected to the HADB server by using the authorization identifier of the HADB user specified for the -i option of the adbclientmang operand. For such an HADB client, the function for centrally managing client definitions is applied (after the HADB client is disconnected) when the HADB client is re-connected.

  5. Check the status of how the function for centrally managing client definitions has been applied.

    Execute the adbclientdefmang command to check the status of how the function for centrally managing client definitions has been applied.

    From the execution result of the adbclientdefmang command, you can check whether the definitions in the client management definition file you edited in step 3 have been applied.