Hitachi

uCosminexus Application Server System Setup and Operation Guide


2.3.1 Allocating multiple hosts of same configuration to ensure availability

This subsection describes the procedure for changing to a system environment where multiple hosts of the same configuration are allocated, and a load balancer is used for balancing the load, thereby ensuring the availability in a single Web front system. For system configuration, see 1.2.2 Ensuring availability by allocating multiple hosts with same configuration.

Use the Setup Wizard and replicate the hosts to create hosts of the same configuration. Use the load balancer to ensure availability. For notes on allocating multiple hosts of the same configuration, see 2.3.2 Notes on allocating multiple hosts of same configuration.

Reference note

For details on the reference locations of the commands and files used in the description, and the storage locations of the commands and files, see 5. Windows, Commands, and Files used in the System Setup and Operations.

Organization of this subsection

(1) Output of the replication information

Output the information (Easy Setup definition file) for replicating the system in the replication source host.

  1. Specify the -export option in the setupwizard command with the command prompt of the source host, and then execute to export the Easy Setup definition file to Any-directory.

    Command execution example is as follows:

    setupwizard -export -omd Export destination path of Easy Setup Definition file

    Specify the file name and the path of the directory where the Easy Setup definition file is stored in Export-destination-file-path-of-Easy-Setup-definition-file. The Easy Setup definition file is in XML format.

(2) Setup using the replication information

Use the information for system replication (Easy Setup definition file), and the Setup Information file to execute the setup.

  1. Prepare a new host as the target host (host after replication), and install the following products.

    • Application Server

    • HiRDB Run Time, or Oracle JDBC Thin Driver

  2. Copy the following files to Any-directory of the replication target host.

    • Easy Setup definition file output in (1) Output of replication information

    • Setup Information file of the replication source host (setupwizard_success.dat)

      The storage destination of the Setup Information file is as follows:

      Type of OS

      Storage destination

      Windows

      Cosminexus installation directory\manager\setup\config\

      UNIX

      /opt/Cosminexus/manager/setup/config/

  3. In the command prompt of the target host, specify the Easy Setup definition file and Setup Information file copied in the step 2, with the setupwizard command, and then execute to replicate the system environment.

    Command execution example is as follows:

    setupwizard -f <file path of setup information file> -md <file path of Easy Setup Definition file>

    Specify the storage destination of files copied in step 2, in file-path-of-Setup-Information-file, and file-path-of-Easy-Setup-definition-file.

  4. In the Setup Information window, enter "1", and press the Enter key.

  5. Set the business application in the target J2EE server (J2EE server after replication), and then start.