Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.14.3 Newly using the function for centrally managing client definitions

The following describes the procedure for newly using the function for centrally managing client definitions.

For an explanation of the flow of newly using the function for centrally managing client definitions, see (1) Flow of newly using the function for centrally managing client definitions in 11.14.1 Flow of using the function for centrally managing client definitions.

Procedure:

  1. Create the client definition file used by the function for centrally managing client definitions.

    Create the client definition file used by the function for centrally managing client definitions. Store the created client definition file in the server directory $ADBDIR/conf. 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.

  2. Create the client management definition file.

    Create the client management definition file. Store the created client management definition file in the server directory $ADBDIR/conf. Keep the file name the same as the template (adbclientdefmang.def). For details, see (2) Client management definition file in 11.14.2 Files required for the function for centrally managing client definitions.

  3. Apply the function for centrally managing client definitions.

    After creating the client definition file used by the function for centrally managing client definitions and the client management definition file, apply this function.

    The way of applying the function for centrally managing client definitions 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 created, the function for centrally managing client definitions is applied.

    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 created, the function for centrally managing client definitions is applied.

    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 the HADB clients that are connected to the HADB server by using the authorization identifier of the HADB user specified for the -i option of the adbclientmang operand. In that case, disconnect the HADB clients from the HADB server. Then, when the HADB clients are connected to the HADB server next time, the function for centrally managing client definitions is applied.

  4. 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 created in step 2 have been applied.

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