The external scheduler interface uses Java Message Service (JMS) as its default messaging
provider. JMS is a bidirectional communication mechanism between an
external client and the job scheduler.
Before you begin
Ensure that you configure and secure the job scheduler.
About this task
You can run the
wsgridConfig.py script
to enable the external scheduler interface.
The following diagram
illustrates the elements that the script performs to set up the external
scheduler interface. These elements include the job scheduler server,
the job scheduler bus, the jms/com.ibm.ws.grid.InputQueue JMS input
queue, and the jms/com.ibm.ws.grid.OutputQueue output queue:
Procedure
- Run the wsgridConfig.py script to
enable the external scheduler interface.
By running
the script from the deployment manager, you configure the job scheduler
message-driven interface, the service integration bus and the JMS
queues.
For example:wsadmin -user <username> -password <userpassword>
-f ../bin/wsgridConfig.py -install -node <nodeName>
-server <serverName>
-providers "<hostname>,<SIB_ENDPOINT_ADDRESS>"
or
wsadmin -user <username> -password <userpassword>
-f ../bin/wsgridConfig.py -install -cluster <clusterName>
-providers "<hostname>,<SIB_ENDPOINT_ADDRESS>;
<hostname>,<SIB_ENDPOINT_ADDRESS>;...;
<SIB_ENDPOINT_ADDRESS>;<hostname>,<SIB_ENDPOINT_ADDRESS>"
For more information about the command options, read the
wsgridConfig.py topic.
- If security is enabled on the administrative console, update
the bus that was created.
- On the administrative console, click ; select the bus that was created in the previous step.
The default bus name is JobSchedulerBus.
- Click Security.
- Clear Enable bus security.
- For Permitted transports, select Allow
the use of all defined transport channel chains.
- Click Apply and save the changes.
- Change values for the CSIv2 inbound and outbound communications.
- On the administrative console, click .
- For Transport, select SSL-supported instead
of SSL-required.
- Click Apply and save the changes.
- On the administrative console, click .
- For Transport, select SSL-supported instead
of SSL-required.
- Click Apply and save the changes.
- Restart the cell for configuration changes to take effect.
What to do next
Submit a job from the external job scheduler interface to
batch.