4.7.1 Controlling the load balancer from management functionality
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.
-
System configuration example
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
# In a single network configuration, the same IP address serves as the business IP address and the management IP address.
-
Tasks to be executed and their necessity
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 (when using the Smart Composer functionality) 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
Setting up the database environment (Oracle settings)
A
For connecting to the database (Oracle)
Setting up the load balancer
Y
Mandatory
Setting up Component Container Administrator (for Unix)
A
When the OS is UNIX and you want to assign operational rights to general users.
Installing Application Server
Y
Mandatory (When the OS is Windows)
Mandatory (When the OS is AIX)
Mandatory (When the OS is Linux)
Installing products used for connecting to the database
A
For connecting to the database
Symbolic links supported by Application Server (for Unix)
A
When the OS is UNIX
Setting up the database connection environment
A
For connecting to the database (HiRDB)
For connecting to the database (Oracle)
For connecting to the database (SQL Server)
Setting up the system environment variable
Y
Mandatory
Setting up the logical server environment variable
A
When you want to change environment variables during installation
Setting up the management functionality
Y
Mandatory
Starting Administration Agent
Y
Mandatory
Starting Management Server
Y
Mandatory
Setting up connections to the load balancer
Y
Mandatory
System environment settings (setting Easy Setup definition file)
Y
Mandatory
Setting up the system environment (setup)
Y
Mandatory
System startup
Y
Mandatory
Resource adapter settings
A
For resource connection by using the resource adapter (DB Connector)
For resource connection by using the resource adapter (other than a DB Connector)
Starting the resource adapter
A
For resource connection by using the resource adapter
Setting and starting the business application
Y
Mandatory
- Legend:
-
Y: Mandatory task
A: Tasks to be executed with the execution conditions are fulfilled
- Note:
-
For notes on controlling the load balancer from the management functionality, see 4.7.6 Notes on controlling the load balancer.