uCosminexus Application Server, Expansion Guide
You are required to perform the following settings for using the scheduling functionality:
This section describes the respective settings. Note that you also need to specify the definition of the batch application execution functionality for using the scheduling functionality. For details on the definition of the batch application execution functionality, see 2.3.10 Settings of the execution environment (Setting batch servers).
You execute the batch server settings in the Easy Setup definition file. You specify the definitions of the scheduling functionality in the <configuration> tag of logical J2EE servers (j2ee-server) in the Easy Setup definition file.
The following table describes the definitions of the scheduling functionality in the Easy Setup definition file.
Table 4-6 Definitions of scheduling functionality in Easy Setup definition file
| Item | Parameter to be specified | Settings | Required or optional |
|---|---|---|---|
| Settings for using the scheduling functionality | ejbserver.ctm.enabled | Specify whether the scheduling functionality is to be used. true is specified by default. If you specify ctm-tier in the tier-type tag, true is automatically specified when building a system. | Optional |
| Settings for using Smart Agent | vbroker.agent.enableLocator | Specify that Smart Agent is to be used. false is specified by default. However, true is automatically specified when integrating with CTM. Therefore, you need not change the parameter value to true. | Optional |
| Settings for the schedule group name | ejbserver.batch.schedule.group.name | Specify the schedule group name of a batch server group managed by CTM. JOBGROUP is specified by default. CTM schedules the execution of batch applications for respective schedule groups. If you divide a schedule queue by using multiple schedule groups, specify the schedule group names for respective batch servers. |
Optional |
| Settings for the length of a schedule queue | ejbserver.batch.queue.length | Specify the length of a schedule queue that is created by CTM. 50 is specified by default. | Optional |
You execute the CTM settings with the Easy Setup definition file. You specify the definition of the scheduling functionality in the configuration tag of the logical CTM (componenttransaction-monitor) in the Easy Setup definition file. The following parameters are to be specified. Specify these parameters without fail.
For details on the Easy Setup definition file and parameters, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.
You execute the settings of the commands to be used with batch applications, in usrconf.cfg (option definition file for batch applications). You specify command options in usrconf.cfg for definitions of the scheduling functionality.
The following table describes the definitions of the scheduling functionality in usrconf.cfg.
Table 4-7 Definitions of the scheduling functionality in usrconf.cfg
| Item | Key to be specified | Settings | Required or optional |
|---|---|---|---|
| Settings for using the scheduling functionality | batch.ctm.enabled | Specify whether the scheduling functionality is to be used. Specify the parameter value as true without fail. | Required |
| Settings for the schedule group name | batch.schedule.group.name | Specify the schedule group name of a batch server group managed by CTM. JOBGROUP is specified by default. CTM schedules the execution of batch applications for respective schedule groups. |
Optional |
| Setting the maximum time for connecting to CTM | batch.request.timeout | Specify a timeout between the batch execution command and a batch sever, and a timeout between the batch forced stop command or the batch list display command and CTM. 0 (no timeout) is specified by default. | Optional |
| Settings for a port number used by Smart Agent | batch.vbroker.agent.port | Specify a port number used by Smart Agent. 14000 is specified by default. | Optional |
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.