This topic explains how to install and configure the parallel
job manager.
About this task
The following summary provides high-level information about
the configuration procedures for the Compute Grid system applications
and SPIs.
- System Application Installation
- Configure the Job Scheduler system application through the WebSphere
Administrative Console Job Scheduler configuration page. On this page,
you can specify the application server or cluster that will host the
Job Scheduler function. By selecting the server or cluster, you are
choosing the deployment target on which the Job Scheduler system application
must be installed.
- Configure the Parallel Job Manager system application using the
parallelJobManager.py wsadmin script. Find this script in the WebSphere
‘bin' directory. Using the script, you can specify the deployment
target for the Parallel Job Manager system application, as well as
other configuration values, such as application name, persistence
manager backend id and database schema name.
- You can configure the batch container system application indirectly
the first time you install a batch application on a WebSphere deployment
target – either an application server or a cluster.
- SPI Installation
- Define the SPIs to Compute Grid by specifying them in the xd.spi.properties
file. This file is available in the WebSphere ‘properties' directory
of a WebSphere profile. The file contains the class names of the SPI
implementations. This file must be edited for each WebSphere profile
in the WebSphere Network Deployment cell. The default xd.spi.properties
file is self-documented. For more information about the default xd.spi.properties,
refer to the document of the property.
- The Compute Grid system applications load the SPI classes. The
system applications load the SPI classes through a shared library
class loader. To install the SPI classes, package them in a jar file,
configure them as a shared library through the WebSphere Administration
Console assign the shared library to each Compute Grid system application.
Procedure
- Create the database. The DDL files for creating
the PJM database for all the supported databases are located in the install_root\longRunning directory.
Use database-specific instructions to create the PJM database using
the DDL files.
- Create the datasource. Create or select an existing
XA JDBC provider. Create a new datasource with the JNDI name jdbc/parallelJobManager
that points to the database you are using. Ensure that the connection
to the database is successful. From the administrative console, select Resources>
JDBC > Data sources > data source. Then, click Test
the connection .
- Use the parallelJobManager.py script to
install and configure the PJM.
- Specify the SPI in the xd.spi.properties file to configure
the SPI that the system application will use.