Cognos Analytics

 View Only
  • 1.  IBM Cognos SDK Workload Balance

    Posted Wed November 13, 2019 09:40 AM
    Hi,
    We have a web service that uses the functionality of the IBM Cognos SDK for the execution of reports from a web portal.

    We would be needing to be able to balance the workload between 2 Dispatchers.

    Is there any way to balance the load of SDK calls?

    We have tested with Cognos internal load balancing but we could see that all executions are done by a single dispatcher, the one configured in the web service (in the connect method)
    Example:
    dispatcherURL = "http: // localhost: 9300 / p2pd / servlet / dispatch"

    We are using Cognos 10.2.2

    Thanks.

    ------------------------------
    Diego Campos
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: IBM Cognos SDK Workload Balance

    Posted Wed November 13, 2019 03:43 PM
    Do you have a gateway configured?  In our environment we typically make the dispatcher url = Gateway server.  Then the gateway server processes it as a normal report request which then uses all your configured routing rules, load balancing, and dispatcher settings.  If you are hardcoding dispatcherUrl = one dispatcher that server will be the only one processing the requests.

    ------------------------------
    Chris Stadler
    ------------------------------



  • 3.  RE: IBM Cognos SDK Workload Balance

    Posted Thu November 14, 2019 07:43 AM
    Hi Chirs,
    Thanks for your answer.

    My installation is distributed:
    BICMDESA Server: Content Manager + Gateway (installed in separate folders)
    BIAPP1DESA Server: Dispatcher
    BIAPP2DESA Server: Dispatcher

    Both Dispatchers are declared in Dispatcher URIs for the gateway



    Gateway URL: "http: // bicmdesa: 80 / ibmcognos / cgi-bin / cognosisapi.dll"

    I should replace the value:
    dispatcherURL = "http: // biapp1desa: 9300 / p2pd / servlet / dispatch"

    for:
    dispatcherURL = "http: // bicmdesa: 80 / ibmcognos / cgi-bin / cognosisapi.dll"

    Once this change is made, the load balancing rules will be applied and will begin to distribute the load between both dispatchers?

    Note:
    My environment is configured as Weighted Round Robin with a Processing capacity 1,1 because both dispatchers has the same configuration of hardware (Processor, Ram, HDD)


    Regards



    ------------------------------
    Diego Campos
    ------------------------------



  • 4.  RE: IBM Cognos SDK Workload Balance

    Posted Thu November 14, 2019 07:56 AM
    not 100% sure as we use cgi, but believe that looks correct.  This is what our endpoint URL looks like, which appears to be basically be the same as yours.

    gatewayUrl="http://[servername]:[port]/ibmcognos/cgi-bin/cognos.cgi

    ------------------------------
    Chris Stadler
    ------------------------------