App Connect

  • 1.  Start ACE Integration server without starting apps

    IBM Select
    Posted Wed October 20, 2021 11:54 AM
    Experts, 

    We have deployed ACE IS on OCP, when we are creating the CR for ACE IS with around 35apps, IS is taking around 10mins to become available. Is there any way we can expedite this process? 

    Thanks, 
    Dilip

    ------------------------------
    Dilip Veeturi
    ------------------------------


  • 2.  RE: Start ACE Integration server without starting apps

    Posted Thu October 21, 2021 02:31 AM
    Hello Dilip,

    The starting up of the ACE containersreally depends to what ACE applications you have deployed, how much and the amount of cpu that has been assigned.
    If you start ACE with 200mCPU limit, it will take more time than if you had set 1 core.

    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    +32474681892
    ------------------------------



  • 3.  RE: Start ACE Integration server without starting apps

    IBM Select
    Posted Thu October 21, 2021 05:33 AM
    Hi Pierre, 

    Thanks for the response, have tried with 1CPU as requested and still it took around 12mins to start all the apps and IS to become ready. Please find the logs below and attached the IS YAML. 

    2021-10-21T09:00:06.726Z Image created: 2021-08-09T10:11:14+00:00
    2021-10-21 09:12:46.863920: BIP1991I: Integration server has finished initialization.
    2021-10-21T09:12:47.152Z Integration server is ready



    apiVersion: appconnect.ibm.com/v1beta1
    kind: IntegrationServer
    metadata:
      name: test-ace
      namespace:
    spec:
      designerFlowsOperationMode: disabled
      license:
        accept: true
        license: L-APEH-C2XEUK
        use: AppConnectEnterpriseNonProduction
      replicas: 1
      router:
        timeout: 120s
      service:
        endpointType: http
      useCommonServices: true
      version: 11.0.0.13-r1-eus
      configurations:
        - serverconf-conf
        - keystoresecret-conf
        - truststoresecret-conf
        - odbc-conf
        - setdbparmsecret-conf
        - mqendpointpolicy-conf
        - wlmpolicycard01-conf
      pod:
        containers:
          runtime:
            resources:
             limits:
               cpu: "1"
               memory: 4Gi
             requests:
               cpu: "1"
               memory: 2Gi
            image: "private-regitry:5000/ace-images/ace_image:312"
            livenessProbe:
              initialDelaySeconds: 600
              timeoutSeconds: 10
              periodSeconds: 30
              successThreshold: 1
              failureThreshold: 10
            readinessProbe:
              initialDelaySeconds: 600
              timeoutSeconds: 5
              periodSeconds: 30
              successThreshold: 1
              failureThreshold: 10
        imagePullSecrets:
          - name: deployer-dockercfg-jww5r


    ------------------------------
    Dilip Veeturi
    ------------------------------



  • 4.  RE: Start ACE Integration server without starting apps

    Posted Thu October 21, 2021 09:31 AM
    Have you compiled the bars you burned into your image? Look at "mqsibar --compile". This can improve container start up time.

    ------------------------------
    Duke Star
    ------------------------------



  • 5.  RE: Start ACE Integration server without starting apps

    IBM Select
    Posted Thu October 21, 2021 11:13 AM
    Thanks for the suggestion, we did try now with complied bars. ACE has skipped the compilation check during instantiation but still, the time is around 10mins.

    ------------------------------
    Dilip Veeturi
    ------------------------------



  • 6.  RE: Start ACE Integration server without starting apps

    Posted Thu October 21, 2021 11:22 AM
    On my own server I can see details about what is happening.
    Do you see in your logs what is taking so long to start ?
    Also the recommendation when using containers is to have a reduced number of application per integration server.

    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    +32474681892
    ------------------------------



  • 7.  RE: Start ACE Integration server without starting apps

    IBM Select
    Posted Fri October 22, 2021 07:28 AM
    each app is taking around 20s to start. so having 30apps per IS will take at least 600s. Wondering why IS is starting apps sequentially, is there any way we can make it parallel or group together to start at once?

    ------------------------------
    Dilip Veeturi
    ------------------------------



  • 8.  RE: Start ACE Integration server without starting apps

    Posted Fri October 22, 2021 03:34 AM
    Dilip,
        Deploying 35 applications on ACE container is REALLY a bad design. It defeats the purpose of 'Integration modernization' as you are essentially making your Integration server a monolith.

    Thanks

    ------------------------------
    Anand Awasthi
    ------------------------------



  • 9.  RE: Start ACE Integration server without starting apps

    Posted Fri October 22, 2021 12:13 PM
    You would need to significantly raise the amount of CPU available to see a change in start up time, but some aspects of application start up will remain sequential even then.

    I would echo the sentiment that both Pierre and Anand have raised, that if you are moving to containers you should really consider breaking those applications out into separate containers. It need not be all the way to an application per container, but certainly into logical groupings of applications. I wrote on grouping of integrations many years ago, and it is one of the core principles behind agile integration. You would stand to gain many advantages from independent scalability, to safer more isolated deployment and operation, through to overall productivity.

    This topic is a key part of my role in IBM and I would be more than happy to discuss this with you in more detail if that would be useful. Either reply privately here, or connect with me on LinkedIn (https://www.linkedin.com/in/kimjulianclark/).

    ------------------------------
    Kim Clark
    London
    ------------------------------