Hitachi

uCosminexus Service Platform Setup and Operation Guide


5.8.1 When you change the IP address and the host nameof the database operating machine

To change the IP address or the host name of the database operating machine, depending on the type of the database, you perform the following activities mentioned in (1) or (2):

Organization of this subsection

(1) When you change the IP address or the host name of the machine on which the database used by the HCSC server is running, when HCSC server is setup

Confirm the definition items of the following definition files when you change the IP address or host name of the machine on which the database used by the HCSC server is running. For details on how to define the properties of the HCSC server setup definition file, see "6.4.3 HCSC server setup definition file" in "Service Platform Reference Guide".

Table 5‒9: Definition items to be confirmed at the time of changing IP address or host name

Definition file name

Definition items

HCSC server setup definition file

  • For Oracle

    jdbc-url

  • Other than Oracle

    jdbc-dbhostname

DB Connector definition file

  • For HiRDB

    DBHostName

  • Other than HiRDB

    serverName

The methods to change the IP address and the host name differ depending on the contents defined in the definition items.

Table 5‒10: Methods to change the IP address or the host name

Definition content of definition items

Methods for changing

Changing IP address

Changing host name

localhost

Even if you want to change either the IP address or the host name of the machine, you need not change the settings of the definition file.

Host name

If you change the IP address of the machine without changing the host name, you need not change the settings of the definition file. You can change simply by restarting Administration Agent, Management Server, and the HCSC server.

You cannot change the host name of the machine. To change the host name, you must re-set up the HCSC server.

IP address

You cannot change the IP address of the machine. To change the IP address, you must re-set up the HCSC server.

--

Legend:

--: Not applicable.

The following figure shows an example of changing the IP address or the host name:

Figure 5‒5: Changing the IP address or the host name of the machine on which a database used by HCSC server is running (when the HCSC server is setup)

[Figure]

(2) When you change the IP address or the host name of the database to which the database adapter is connected

Confirm the definition items of the following definition files when you change the IP address or host name of the database to which the database adapter is connected:

Table 5‒11: Definition items to be confirmed at the time of changing IP address or host name

Definition file name

Definition name

DB Connector definition file

  • For HiRDB

    DBHostName

  • Other than HiRDB

    serverName

The methods to change the IP address and the host name differ depending on the contents defined in the definition items.

Table 5‒12: Methods to change the IP address or the host name

Definition content of definition items

Methods for changing

Changing IP address

Changing host name

Localhost

Even if you want to change either the IP address or the host name of the machine, you need not change the settings of the definition file.

Host name

You can change either the IP address or the host name of the machine with the following procedure:

  1. Change the definition content (IP address or host name) of the definition file

  2. Reflect the definition file with the cjsetrarprop command to the DB Connector

  3. Restart the HCSC server

IP address

You must implement the following procedure to change the IP address of the machine:

  1. Change the definition content (IP address) of the definition file

  2. Reflect the definition file with the cjsetrarprop command to the DB Connector

  3. Restart the HCSC server

--

Legend:

--: Not applicable.

The following figure shows an example of changing the IP address or the host name:

Figure 5‒6: Changing the IP address or the host name of the database to which the database adapter is connected

[Figure]