4.1.1 To allocate Web Server to different host
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.
-
System configuration example
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
-
Tasks to be implemented and their necessity
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
Setting up the database environment (setting of Oracle)
A
For connecting to the database (Oracle)
Setting up Component Container Administrator (For UNIX)
A
When OS is UNIX and you want to assign operation permission to a general user
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 link supported in Application Server (For UNIX)
A
When 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 environment variable of the system
Y
Mandatory
Setting up the environment variable of the logical server
A
When changing environment variable while installing
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
Setting up the environment of the database (Setting Oracle)
A
For connecting to the database (Oracle)
Setting up Component Container Administrator (For UNIX)
A
When OS is UNIX and you want to assign the operation permission to a general user
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 link supported in Application Server (For UNIX)
A
When OS is UNIX
Setting up the database connection environment
A
When connecting to the database (HiRDB)
When connecting to the database (Oracle)
For connecting to the database (SQL Server)
Setting up the environment variable of the system
Y
Mandatory
Setting up the environment variable of the logical server
A
When changing the environment variable while installing
Setting up the Management functionality
Y
Mandatory
Starting the Administration Agent
Y
Mandatory
Starting the Management Server
Y
Mandatory
Setting up the system environment (Setting the Easy Setup definition file)
Y
Mandatory
Setup of the system environment (Setup)
Y
Mandatory
Starting the system
Y
Mandatory
Setting up the resource adapter
A
When connecting a resource with the resource adapter (DB Connector)
When connecting a resource with the resource adapter (Other than DB Connector)
Starting the resource adapter
A
When connecting a resource with the resource adapter
Setting and starting the business application
Y
Mandatory
Changing the system environment definition
A
As and when required in operations
Changing the settings of the business application
A
As and when required in operations
Changing the settings of the resource adapter
A
As and when required in operations
Stopping the system
A
As and when required in operations
Stopping the Management Server
A
As and when required in operations
Stopping the Administration Agent
A
As and when required in operations
Deleting the system environment
A
As and when required in operations