The job scheduler accepts job submissions
and determines where to run them. As part of managing jobs, the job scheduler stores job information in an external job
database. Configurations for the job scheduler
includes the selection of the deployment target, data source JNDI name, database schema name, and
endpoint job log location to be configured for the scheduler.
Before you begin
See the topic about creating a non-default job scheduler and grid endpoint database.
About this task
Stand-alone application servers or clusters can host the job scheduler. The first time a
server or cluster is selected to host the grid scheduler, an embedded Apache Derby database is
automatically created, and configured to serve as the scheduler database if the default data source
JNDI name jdbc/lrsched is selected.The job scheduler can be configured using the
administrative console or by scripting. This topic discusses how to configure the job scheduler
using the administrative console. To configure the job scheduler using the scripting language, see
information on the job scheduler configuration administrative tasks.
Avoid trouble: The job scheduler process does not support
multiple servants. You must ensure that the
wlm_maximumSRCount custom property
is set to
1
.
Procedure
- Choose the environment to host the job scheduler.
Use a stand-alone server for test environments. The stand-alone server can use the default Derby
database. Use a cluster host for production environments.
Although Derby is used as the default job scheduler database, you might want to use your own
database. See the topic on creating a job scheduler and grid endpoint database for more
information.
- Log on to the administrative console.
- Click to view the Job scheduler
page.
- In the Scheduler hosted by list, select the deployment
target.
- Type the database schema name. The default is LRSSCHEMA.
- Select the data source JNDI name from the list.
If the default of
(none) is selected, a default embedded Derby job scheduler database is
created with a value of jdbc/lrsched
.
- Type the directory where the job scheduler and the batch execution environment write the job
logs.
The default is ${GRID_JOBLOG_ROOT}/joblogs.
- Optional: Check a usage data check box.
Specifies if the scheduler records job usage data for charge-back purposes in the scheduler
database.
Specifies if job usage data for jobs are to be written in SMF.
Job usage data can be recorded with either SMF120 subtype 20 records or SMF120
subtype 9 records. Use the RECORD_SMF_SUBTYPES job scheduler custom property to indicate the
preferred subtype.
- Click OK and save the configuration.
- If administrative security is enabled, enable application security and secure the job
scheduler.
For more information, see Securing the job scheduler using roles. Only authorized users who are
granted the lrmonitor, lrsubmitter, and lradmin roles, or a combination of the roles, through the
administrative console are allowed access to the job management console.