Hitachi

Hitachi Advanced Database Setup and Operation Guide


16.18 Changing the host name or IP address of the server machine's OS (when the multi-node function is being used)

This section explains how to change the host name or IP address of the OS of a server machine on which the HADB server is installed in a case where the multi-node function is used.

■ Tasks to be performed on the HADB servers in a multi-node configuration

The following explains the tasks to be performed on the HADB servers in a multi-node configuration to change the host name or IP address of the server machine's OS.

  1. Normally terminate the HADB servers in a multi-node configuration.

    Normally terminate the HADB server on all nodes. For details about the termination procedure, see (a) Normally terminating HADB servers in the multi-node configuration in (1) Termination procedures for HADB servers in a multi-node configuration under 16.4.2 Terminating HADB servers in the multi-node configuration.

    Also, normally stop HA Monitor on all nodes by using the monstop command.

  2. Change the HA Monitor settings on all nodes.

    Change the HA Monitor settings on all nodes. For details, see 16.3.4 Setting up an HA Monitor environment.

    • To change the host name of the LAN to be used as the monitoring path of HA Monitor

      Change the settings in the HA Monitor environment settings file (sysdef file).

    • To change the alias IP address

      Change the settings in the LAN status settings file for connection (server-identification-name.up file) and the LAN status settings file for disconnection (server-identification-name.down file).

  3. Change the server definition on all nodes.

    To change the IP address for communication between HADB servers, change the value of the adb_sys_multi_node_info operand in the server definition on all nodes. For details, see 16.3.5 Creating server definitions on all nodes.

  4. Start the HADB servers in the multi-node configuration.

    Use the monstart command to start HA Monitor on all nodes. After that, start the HADB server on all nodes. For details about the start procedure, see 16.4.1 Starting the HADB servers in the multi-node configuration.

■ Tasks to be performed on the HADB client

The following explains the tasks to be performed on the HADB client to change the host name or IP address of the server machine's OS. Perform the following tasks when changing the alias IP address used for communication between the HADB client and the HADB server.

  1. Terminate the application programs.

    Terminate all application programs that connect to the HADB servers in a multi-node configuration.

  2. Change the alias IP address specified in the client definition.

    To change the alias IP address that is used for communication between the HADB client and HADB server, change the value of the adb_clt_rpc_srv_host operand in the client definition. For details, see 16.3.6 Creating client definitions.

    For details about the adb_clt_rpc_srv_host operand in the client definition, see Contents of operands in the client definition under Designing Client Definitions in the HADB Application Development Guide.

    • If the JDBC driver is used

      Change the host name or IP address of the HADB server specified with the property that corresponds to the adb_clt_rpc_srv_host operand in the client definition. The JDBC driver can use a system property, user property, or connection URL property. For details, see Setting Up an Environment for the JDBC Driver in the HADB Application Development Guide.

    • If the ODBC driver or a CLI function is used

      Change the host name or IP address of the HADB server specified for the adb_clt_rpc_srv_host operand in the client definition. For details, see Setting Up an Environment for an HADB Client (If the ODBC Driver and CLI Functions Are Used) in the HADB Application Development Guide.

  3. Start the application programs.

    Start all application programs that connect to the HADB servers in a multi-node configuration.

Important

If the multi-node function is not used, see 8.11 Changing the host name or IP address of the server machine's OS.