Maxim Gadalov
Maxim Gadalov

Reputation: 1

How to use ibm workload scheduler on bluemix?

I try to use IBM workload scheduler on bluemix, but I can't find good information about using this service.

My steps are follow :

  1. Create new Process library
  2. Create new Process
  3. Add general information
  4. Add trigger
  5. Add restful step and add url in it. The URL reference to the existing Java liberty instance that already connected to the service.(add some secure headers in advanced options)
  6. Then I try to test my job and just run it now.

But in the end I have error :

AWKRST030E An error occurred establishing a connection to the remote service. The error message is "Connection timed out".

Maybe I don't indicate some fields?

Can anybody explain how to schedule task from existing liberty instance using Restful step in bluemix workload scheduler? Or can offer another solution how to use this service?

P.S. the url that I paste full.

Upvotes: 0

Views: 390

Answers (1)

Franco Mossotto
Franco Mossotto

Reputation: 600

Workload Scheduler service and its default cloud agents are running on the cloud outside Bluemix regions.

When using dedicated Bluemix regions, if you want to schedule an API of your application running on Bluemix, you have two options:

  1. Assure the Bluemix region firewall allows incoming connections from the Workload Scheduler server hosting your instance.
  2. Instantiate and run in your region the Workload Scheduler docker image ibm_wa_agent. This image contains the Workload Scheduler agent and you can bind it to the service instance to automatically connect the agent to your instance. From network perspective this will only require the possibility to open https connections from the docker container to Workload Scheduler cloud.

More information about Workload Scheduler docker container are available at Scheduling with IBM Containers for Bluemix

Upvotes: 0

Related Questions