uCosminexus Application Server, System Setup and Operation Guide
To control the load balancer from management functionality on a system that uses the Smart Composer functionality, you must arrange the load balancer, and also set up an environment to connect to the load balancer on the host for allocating the management functionality.
Following figure shows an example of system configuration for controlling the load balancer from the management functionality. This subsection describes the settings to enable the control of load balancer from the management functionality by allocating load balancer to the system built in 4.1 System setup for improving machine performance by allocating Web server to a different host.
Figure 4-12 Configuration example of the system for controlling the load balancer from the management functionality
The following table describes the settings used in the example:
Table 4-37 Settings used in the example (controlling the load balancer from the management functionality)
| Classification | Item | Example of settings |
|---|---|---|
| Entire system | Easy Setup definition file name | MyWebSystemDef.xml |
| Web system name | MyWebSystem | |
| Service unit name | unit1 | |
| Load balancer | Load balancer name | MyAX2000 |
| Load balancer type | ACOS | |
| Management IP address of the load balancer | 192.168.100.10 | |
| Virtual server name | www.sample.com | |
| IP address of a virtual server | 192.168.1.10 | |
| Port number of virtual server | 80 | |
| Host for allocating Web server | Host name | apsv1 |
| IP address (Management IP Address)# | 192.168.100.11 | |
| Host for allocating J2EE server | Host name | apsv2 |
| IP address (Management IP Address)# | 192.168.100.12 |
Note: In a single network configuration, the same IP address serves as the business IP address and the management IP address.
Following table describes the tasks to be executed when setting up a system for controlling the load balancer from the management functionality, and the necessity of these tasks. You can use the Smart Composer functionality to control the load balancer from the management functionality.
Table 4-38 Tasks to be executed when setting up the system for controlling load balancer from the management functionality and necessity of these tasks.
| Tasks to be executed when setting up the system for controlling load balancer from the management functionality | Necessity of the task | Conditions for executing the tasks | Reference |
|---|---|---|---|
| Preparing the database | A | For connecting to the database | 2.1.1 |
| Setting up the database environment (Oracle settings) | A | For connecting to the database (Oracle) | 4.1.2 |
| Setting up the load balancer | Y | Mandatory | 4.7.3 |
| Setting up Component Container Administrator (for Unix) | A | When the OS is UNIX and you want to assign operational rights to general users. | 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 links supported by Application Server (for Unix) | A | When the 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 system environment variable | Y | Mandatory | 4.1.11 |
| Setting up the logical server environment variable | A | When you want to change environment variables during installation | 4.1.12 |
| Setting up the management functionality | Y | Mandatory | 4.1.14 |
| Starting Administration Agent | Y | Mandatory | 4.1.17 |
| Starting Management Server | Y | Mandatory | 4.1.18 |
| Setting up connections to the load balancer | Y | Mandatory | 4.7.5(1) |
| System environment settings (setting Easy Setup definition file) | Y | Mandatory | 4.1.20, 4.7.5(2) |
| Setting up the system environment (setup) | Y | Mandatory | 4.1.23 |
| System startup | Y | Mandatory | 4.1.24 |
| Resource adapter settings | A | For resource connection by using the resource adapter (DB Connector) | 4.1.26 |
| For resource connection by using the resource adapter (other than a DB Connector) | 4.1.27 | ||
| Starting the resource adapter | A | For resource connection by using the resource adapter | 4.1.28 |
| Setting and starting the business application | Y | Mandatory | 4.1.29 |
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.