Hitachi

uCosminexus Application Server System Setup and Operation Guide


4.3.2 Scaling in the system environment (when using CUI)

This subsection describes the steps to scale in the system by deleting the service unit (unit2) using the Smart Composer functionality.

Before scaling in the system, also change the resources required to operate the Web system as and when required. For estimating the resources required to operate the Web system, see 5. Estimating Resources to be Used (J2EE Application Execution Platform) in the uCosminexus Application Server System Design Guide.

Organization of this subsection

(1) Stopping the service unit

  1. Start the command prompt on the host for allocating the Management functionality (Management Server).

  2. Execute the cmx_stop_target command to stop the service unit unit2 to be deleted.

    Set the service unit to be deleted to Stopped status. To set the service unit to Stopped status; specify ALL in the -mode option.

    Command execution example is as follows:

    cmx_stop_target -m 192.168.100.12 -u cosmi_admin -p cosmi_admin_passwd -s MyWebSystem -unit unit2 -mode ALL

(2) Deleting the service unit and removing the logical server environment setup

  1. Execute the cmx_delete_system command to delete the service unit.

    Stop the service unit to be deleted and delete the service unit from the system information model registered in the Management Server.

    cmx_delete_system -m 192.168.100.12 -u cosmi_admin -p cosmi_admin_passwd -s MyWebSystem -unit unit2
  2. Remove the setup of the Web server or the J2EE server environment

    cmx_delete_system command does not remove the server environment setup. Remove the setup of the Web server, and the J2EE server environment using the following methods.

    • Removing the setup of Web server environment

      Use the hwsserveredit command of Cosminexus HTTP Server to remove the setup of the Web server. Specify the logical server name# of the Web server to which HWS_ is added, in the hwsserveredit command of the Cosminexus HTTP Server.

    • Removing the setup of the J2EE server environment

      Use the cjsetup command to remove the setup of the J2EE server. Specify the logical server name# of the J2EE server in the cjsetup command.

    #

    If you specify the actual server name of the Web server or the J2EE server while setting up the system, then specify the actual server name while removing the set up of the system as well.