uCosminexus Application Server, System Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

3.2.9 Deleting unwanted J2EE servers

This subsection describes the procedure to delete the unwanted J2EE Servers, such as in case of reducing the business scale or reducing the number of tenants during the system operations.

Delete J2EE servers using Smart Composer functionality.

Reference note
For details on the reference locations of the commands used in the description, and the storage locations of the commands, see 5. Windows, Commands, and Files used in the System Setup and Operations.
Organization of this subsection
(1) Checking the contents of system environment to be deleted
(2) Web Server to be deleted, stopping J2EE Server and performance tracer
(3) Deleting Web Server, J2EE Server, and Performance Tracer

(1) Checking the contents of system environment to be deleted

  1. Check the name of the system environment to be deleted by executing cmx_list_model command with the command prompt.
    Command execution example is as follows:
    cmx_list_model -m localhost:28080 -u admin -modeltype SERVEREX -all
    List of Web systems and logical servers set up on Application Server is output.
    Check the following names:
    • Name of the Web system for allocating J2EE Server to be deleted.
    • Name of the Service unit for allocating J2EE Server to be deleted.
    • Logical Web Server name of the Web Server in the Web system to be deleted.
    • Name of the Logical J2EE Server of J2EE Server to be deleted
    (Example of command execution result)
    MyPerformanceTracer,PRF,<Host name>,combined-tier,unit1,MyWebSystem
    MyJ2EEServer,J2EEServer,<Host name>,combined-tier,unit1,MyWebSystem
    MyWebServer,Webserver,<Host name>,combined-tier,unit1,MyWebSystem
    MyPerformanceTracer2,PRF,<Host name>,combined-tier,unit2,MyWebSystem
    MyJ2EEServer2,J2EEServer,<Host name>,combined-tier,unit2,MyWebSystem
    MyWebServer2,Webserver,<Host name>,combined-tier,unit2,MyWebSystem
    In any instance where the logical J2EE server name of J2EE Server to be deleted is MyJ2EEServer2, the respective names to be used will be as follows:
    Item Name
    Name of the Web system where J2EE Server to be deleted is allocated MyWebSystem
    Name of the Service unit where J2EE Server to be deleted is allocated unit2
    Name of the Logical Web Server of the Web Server in the Web system to be deleted MyWebServer2

(2) Web Server to be deleted, stopping J2EE Server and performance tracer

  1. Stop the Service unit (unit2) where J2EE Server to be deleted is allocated, by executing cmx_stop_target command with the command prompt.
    Command execution example is as follows:
    cmx_stop_target -m localhost:28080 -u admin -s MyWebSystem -unit unit2 -mode ALL
    Specify the Service unit name and the name of the Web system for allocating J2EE Server to be deleted, checked in (1) Checking the contents of system environment to be deleted.

(3) Deleting Web Server, J2EE Server, and Performance Tracer

  1. Delete the Service unit (unit2) where J2EE Server to be deleted is allocated, by executing cmx_delete_system command with the command prompt.
    Command execution example is as follows:
    cmx_delete_system -m localhost:28080 -u admin -s MyWebSystem -unit unit2
    Specify the Service unit name and the name of Web system where J2EE Server to be deleted is allocated, checked in (1) Checking the contents of system environment to be deleted.
  2. Delete the Web Server environment, by executing hwsserveredit command with the command prompt.
    Command execution example is as follows:
    hwsserveredit -delete HWS_MyWebServer2
    Specify with the format in which HWS_ is attached to the name of the Logical Web Server of the Web server within the Web system to be deleted, checked in (1) Checking the contents of system environment to be deleted
  3. Delete J2EE Server environment, by executing cjsetup command with the command prompt.
    Command execution example is as follows:
    cjsetup -d MyJ2EEServer2
    Specify the Logical J2EE server name of J2EE Server to be deleted, checked in (1) Checking the contents of system environment to be deleted.