Set up the external scheduler interface using the default messaging provider
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.
Ensure that we configure and secure the job scheduler.
We 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:
Tasks
- Run the wsgridConfig.py script to enable the external scheduler interface.
By running the script from the deployment manager, we 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 created.
- On the administrative console, click Service integration > Buses; select the bus 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 Security > Global security > RMI/IIOP security > CSIv2 inbound communications.
- For Transport, select SSL-supported instead of SSL-required.
- Click Apply and save the changes.
- On the administrative console, click Security > Global security > RMI/IIOP security > CSIv2 outbound communications.
- 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.
Subtopics
- Secure the external scheduler interface when using default messaging
Securing the external scheduler interface requires securing the JobSchedulerMDI system application and the JMS resources it uses.
Submitting jobs from an external job scheduler Configure the external scheduler interface wsgridConfig.py batch script