IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Tasks in clustered environment

    Posted Thu July 10, 2014 02:25 PM

    Hi!
    I have a question about Processes and Tasks in cluster environment. Imagine a situation that a long-running task is executed on IS1, IS dies for any reason. This Task is still in running state. Even when I set a timeout and the task fails, upon resubmission the same IS1 server is required… (server is still down).

    Is it possible to configure IS/PRT so that upon server failure the task will be resubmitted on different IS? Or am I missing something? Tried both wM8.2 and wM9.0 with Broker as JMS.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: Tasks in clustered environment

    Posted Sun July 13, 2014 03:42 AM

    By IS you mean Integration Server? Task engine resides on MWS.
    In your case if you are resubmitting only the process step where the task is then it can fail because the task contains calls to IS which is down.
    In this case you can point your webservice calls to the cluster url or the load balancer so that it automatically redirects the call to active IS.
    let me know if this helps.


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 3.  RE: Tasks in clustered environment

    Posted Mon July 14, 2014 10:46 AM

    Makes sense.

    You mean Task Engine url should point to cluster/LB address?


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 4.  RE: Tasks in clustered environment

    Posted Mon July 14, 2014 02:28 PM

    Yes that should be done.
    but in your case the problem is re submission fails due to IS being down, correct me if I am wrong?
    If this is the problem then you need to configure your IS calls from CAF code/Task to point to IS load balancer.
    check your CAF Application runtime configuration and point the wsclient-endpointAddress to the IS load balancer URL.
    let me know if this is unclear


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 5.  RE: Tasks in clustered environment

    Posted Tue July 15, 2014 03:17 AM

    Yes, resubmission fails when IS is down. Task service is pointing to Node that is done so setting LB should solve the problem.

    There is another, maybe u can help. When running a process, one of task is a long-running IS service. While the service is running Node goes down. Task stays in running state until the Node is back up. So I have moved the long-running service to sub-process and set a timeout after which the sub-process will fails.

    Is the re a better way to handle failover?


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 6.  RE: Tasks in clustered environment

    Posted Wed July 16, 2014 03:05 AM

    If the time to execute the service from task cannot be reduced/optimized then this might be a workaround.
    alternatively can you try increasing the timeout for the webservice call so that task can wait while the node is back up.
    you can do it only for the specific CAF portlet where this problem is. Search your portlet in CAF application runtime configuration and increase “wsclient-socketTimeout” this value (in milliseconds), lets see the results.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 7.  RE: Tasks in clustered environment

    Posted Wed July 16, 2014 05:55 AM

    Hi!
    I don’t use CAF projects. Only Tasks. Anyway thanks for clarification!


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS