Hitachi

uCosminexus Application Server System Setup and Operation Guide


4.4.2 Outputting the configuration and definition information and migrating the system environment

This subsection describes steps to migrate the already setup system environment to a different environment; using Smart Composer functionality. For contents of the configuration and definition information used for migrating the system environment, see 4.4.3 Configuration and definition information used during migration. Also, for notes on migrating the system environment, see 4.4.4 Notes on outputting the configuration and definition information and the system migration.

Organization of this subsection

(1) Preparing the host in the target environment

  1. Prepare a host in the target environment, install the product, perform initial settings and configure the Management functionality.

    The Management Server must be running on the target system. The installation and initial settings must be complete.

    The following table describes the tasks to be implemented in the target hosts and necessity of these tasks.

    Table 4‒26: Tasks to be executed in the target hosts and necessity of these tasks

    Tasks to be executed in the target hosts

    Necessity of the task

    Conditions for executing the tasks

    References

    Setting up Component Container Administrator (For UNIX)

    A

    When assigning the operation permissions to general users in UNIX OS

    4.1.3

    Installing Application Server

    Y

    Mandatory (when the OS is Windows)

    2.2.2

    Mandatory (when the OS is AIX)

    2.2.3

    Mandatory (when the OS is Linux)

    2.2.4

    Installing products used for connecting to the database

    A

    For connecting to the database

    2.2.5

    Symbolic link supported by Application Server (For UNIX)

    A

    When the OS is UNIX

    4.1.5

    Setting up the database connection environment

    A

    When connecting to the database (HiRDB)

    4.1.6

    When connecting to the database (Oracle)

    4.1.7

    For connecting to the database (SQL Server)

    4.1.8

    Setting up the environment variables for the system

    Y

    Mandatory

    4.1.11

    Setting up the environment variables for the logical server

    A

    When changing the environment variables during installation

    4.1.12

    Setting up the Management functionality

    Y

    Mandatory

    4.1.14

    Starting the Administration Agent

    Y

    Mandatory

    4.1.17

    Starting the Management Server

    Y

    Mandatory

    4.1.18

    Legend:

    Y: Mandatory task.

    A: Tasks to be executed with the execution conditions are fulfilled.

(2) Outputting the configuration and definition information

  1. Start the command prompt on the host (apsv2 (192.168.100.12) for allocating the Management functionality (Management Server) of the source environment.

  2. Execute the cmx_export_model command, and output the settings of the set up system to the Easy Setup definition file.

    Command execution example is as follows: In this example, the name of the Easy Setup definition file to be output is MyWebSystemexport.xml.

    cmx_export_model -m 192.168.100.12 -u cosmi_admin -p cosmi_admin_passwd -o MyWebSystemexport.xml-file-path

    Specify the path of the directory for storing MyWebSystemexport.xml, and the file name (MyWebSystemexport.xml) in MyWebSystemexport.xml-file-path.

(3) Setting up the target system environment

  1. Start the command prompt on the host (apsvb (192.168.100.22) for allocating the Management functionality (Management Server) of the target environment.

  2. Execute the cmx_build_system command and set up the system same as the system set up in the target environment.

    Command execution example is as follows: Specify the Easy Setup definition file output in (2) Output of configuration and definition information, in the -f option of cmx_build_system command.

    cmx_build_system -m 192.168.100.22 -u cosmi_admin -p cosmi_admin_passwd -f MyWebSystemexport.xml-file-path