Hitachi

uCosminexus Application Server Expansion Guide


3.8.3 Specifying settings in the execution environment

Before you can use load balancing of requests, you must specify the necessary CTM daemon settings.

To specify the CTM daemon settings, use the Easy Setup definition file. Load-balancing of requests is defined by the <configuration> element for logical CTM (component-transaction-monitor) in the Easy Setup definition file.

The following table describes the parameters for load balancing of requests in the Easy Setup definition file.

Table 3‒8: Parameters for load balancing of requests in the Easy Setup definition file

Type

Parameter

Description

Times when load balancing takes place

ctm.CreatePolicy

Specifies the CTM node selection policy for the create request. This policy is used at the first load balancing.

ctm.DispatchPolicy

Specifies the request schedule policy. This policy is used at the second load balancing.

Watching the load status

ctm.LoadCheckInterval

Specifies the time interval at which to watch the load status of the schedule queue.

For details about the Easy Setup definition file and the parameters that can be specified in the file, see 4.3 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.