Hitachi

Hitachi Advanced Database Setup and Operation Guide


17.15 Changing the host name or IP address of the server machine's OS (in the case of the cold standby configuration)

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 cold standby configuration.

If you change only the IP addresses of the active and standby systems, there is no task to be performed for an HADB server and HA Monitor.

■ Tasks to be performed on an HADB server in a cold standby configuration

The following explains the tasks to be performed on an HADB server in a cold standby configuration to change the host name or IP address of the server machine's OS.

  1. Normally terminate the cold standby configuration.

    Normally terminate the cold standby configuration. For details about the termination procedure, see (a) Terminating the cold standby configuration normally in (1) Procedures for terminating the cold standby configuration under 17.4.2 How to terminate the cold standby configuration.

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

  2. Change the HA Monitor settings on all hosts.

    Change the HA Monitor settings on all hosts. For details, see 17.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. Start the cold standby configuration.

    Use the monstart command to start HA Monitor on all hosts. Then, start the cold standby configuration. For details about the start procedure, see (1) Procedure for starting the cold standby configuration in 17.4.1 How to start the cold standby 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 server in a cold standby 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 17.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 server in a cold standby configuration.

Important

If the system is not in a cold standby configuration, see 8.11 Changing the host name or IP address of the server machine's OS.