uCosminexus Application Server, System Setup and Operation Guide
In a system where the Web Server is allocated to a different host, the performance is improved by separating the host, for allocating static contents such as HTML file from the host executing business applications.
In the Smart Composer functionality, set up the system by using commands from the Easy Setup definition file for defining the environment settings of the logical server, the host (http-tier) for allocating the Web Server, and the host (j2ee-tier) for allocating the J2EE server. In the management portal, set up the system by allocating a logical server (such as Web Server, the J2EE server) to the respective hosts, and by deploying the settings of each logical server to the host.
The following figure shows an example of the system setup where the Web Server is allocated to a different host. Note that in this system the Management Server, serving as the Management functionality, is allocated to the host for allocating the J2EE server. Also, in the following Setup example, the network is a single setup (configuration that does not separate Workstation LAN and Management LAN), and each host uses one physical NIC.
Figure 4-1 System configuration example of a system that allocates Web Server to a different host.
The following table describes the settings used in the example.
Table 4-1 Settings used in the example (Setup of the system where the Web Server is allocated to a different host)
| Classification | Item | Set up example |
|---|---|---|
| Host for allocating the Web Server | Host name | apsv1 |
| IP Address (Management IP address)#1 | 192.168.100.11 | |
| Name of the logical Web Server | MyWebSystem_HTTP01 | |
| Name of the logical performance tracer | MyWebSystem_PRF01 | |
| Host for allocating the J2EE server#2 | Host name | apsv2 |
| IP Address (Management IP address)#1 | 192.168.100.12 | |
| Name of the logical J2EE server | MyWebSystem_J2EE01 | |
| Name of the logical performance tracer | MyWebSystem_PRF02 | |
| File name of J2EE applications | MyApp.ear | |
| Display name of J2EE applications | MyApp | |
| Management user ID of the management functionality | cosmi_admin | |
| Management user password of the Management functionality | cosmi_admin_passwd |
The following table describes the tasks to be implemented for setting up the system in which the Web Server is allocated to a different host, and the necessity of these tasks, for every set up tool used.
Table 4-2 Tasks for setting up the system where the Web Server is allocated to a different host, and necessity of these tasks (when using management portal)
| Tasks to be implemented for setting up a system where the Web Server is allocated to a different host | Necessity of the task | Task implementation conditions | References | Section |
|---|---|---|---|---|
| Preparing the database | A | For connecting to the database | This manual | 2.1.1 |
| Setting up the database environment (setting of Oracle) | A | For connecting to the database (Oracle) | 4.1.2 | |
| Setting up Component Container Administrator (For UNIX) | A | When OS is UNIX and you want to assign operation permission to a general user | 4.1.3 | |
| Installing Application Server | Y | Mandatory (when the OS is Windows) | 2.2.2 | |
| Mandatory (when the OS is AIX, HP-UX) | 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 in Application Server (For UNIX) | A | When OS is UNIX | 4.1.5 | |
| Setting up the database connection environment | A | For connecting to the database (HiRDB) | 4.1.6 | |
| For connecting to the database (Oracle) | 4.1.7 | |||
| For connecting to the database (SQL Server) | 4.1.8 | |||
| Setting up the environment variable of the system | Y | Mandatory | 4.1.11 | |
| Setting up the environment variable of the logical server | A | When changing environment variable while installing | 4.1.12 | |
| Setting up the Management functionality | Y | Mandatory | Management portal | 2.2 |
| Starting the Administration Agent | Y | Mandatory | 4.1.2 | |
| Starting the Management Server | Y | Mandatory | 4.1.2 | |
| Setting up the system environment | Y | Mandatory | 3.2 | |
| Setup of the system environment | Y | Mandatory | ||
| Starting the system (startup of the logical server) | Y | Mandatory | 4.1.2 | |
| Setting up the resource adapter | A | When connecting a resource with the resource adapter (DB Connector) | 3.3 | |
| When connecting a resource with the resource adapter (Other than DB Connector) | ||||
| Starting the resource adapter | A | When connecting a resource using the Resource adapter | 4.1.2 | |
| Setting and starting the business application | Y | Mandatory | 3.4, 4.1.2 | |
| Changing the system environment definition | A | As and when required in operations | 4.2 | |
| Changing the settings of the business application. | A | As and when required in operations | 4.2, 4.3 | |
| Changing the settings of the resource adapter | A | As and when required in operations | 4.2 | |
| Stopping the system (Stopping the logical server) | A | As and when required in operations | 4.1.4 | |
| Stopping the Management Server | A | As and when required in operations | 4.1.4 | |
| Stopping the Administration Agent | A | As and when required in operations | 4.1.4 | |
| Deleting the system environment | A | As and when required in operations | 3.6 |
Table 4-3 Tasks to be implemented for setting up the system where the Web Server is allocated to a different host, and the necessity of these tasks (when using the Smart Composer functionality)
| Tasks to be implemented for setting up a system where the Web Server is allocated to a different host | Necessity of the task | Task implementation conditions | Section |
|---|---|---|---|
| Preparing the database | A | For connecting to the database | 2.1.1 |
| Setting up the environment of the database (Setting Oracle) | A | For connecting to the database (Oracle) | 4.1.2 |
| Setting up Component Container Administrator (For UNIX) | A | When OS is UNIX and you want to assign the operation permission to a general user | 4.1.3 |
| Installing Application Server | Y | Mandatory (when the OS is Windows) | 2.2.2 |
| Mandatory (when the OS is AIX, HP-UX) | 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 in Application Server (For UNIX) | A | When 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 variable of the system | Y | Mandatory | 4.1.11 |
| Setting up the environment variable of the logical server | A | When changing the environment variable while installing | 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 |
| Setting up the system environment (Setting the Easy Setup definition file) | Y | Mandatory | 4.1.20 |
| Setup of the system environment (Setup) | Y | Mandatory | 4.1.23 |
| Starting the system | Y | Mandatory | 4.1.24 |
| Setting up the resource adapter | A | When connecting a resource with the resource adapter (DB Connector) | 4.1.26 |
| When connecting a resource with the resource adapter (Other than DB Connector) | 4.1.27 | ||
| Starting the resource adapter | A | When connecting a resource with the resource adapter | 4.1.28 |
| Setting and starting the business application | Y | Mandatory | 4.1.29 |
| Changing the system environment definition | A | As and when required in operations | 4.1.31 |
| Changing the settings of the business application | A | As and when required in operations | 4.1.32 |
| Changing the settings of the resource adapter | A | As and when required in operations | 4.1.33 |
| Stopping the system | A | As and when required in operations | 4.1.34 |
| Stopping the Management Server | A | As and when required in operations | 4.1.35 |
| Stopping the Administration Agent | A | As and when required in operations | 4.1.36 |
| Deleting the system environment | A | As and when required in operations | 4.1.37 |
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.