Decision Management (ODM,ADS)

 View Only
  • 1.  Deploying ODM on Docker

    Posted Thu October 21, 2021 01:26 PM
    Edited by Eduardo Izquierdo Lázaro Thu October 21, 2021 01:29 PM
    Hello, I'm trying to deploy ODM cluster using resources the odm-cluster.yaml provided in https://github.com/ODMDev/odm-ondocker
    All the components are accesible in the expected ports like documented except the DecisionService.

    Note that DecisionService container is running properly. If I modify odm-cluster.yaml to expose externally the port, then I can execute an HTDS.
    The problem is with the haproxy container that is not routing to DecisionService. In fact, entering into haproxy container I checked that the configuration in the file haproxy.cfg file is missing the "backend" section to redirect traffic to any backend server.

    Inspecting file odm-cluster.yaml I don't see how configuration is copied to haproxy container or how a volume with the configuration is mounted to the container. What am I missing? The doc does not provide any reference to a manual configuration of the proxy, seems like it should be automatic..

    Please, advise.



    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    MADRID
    +34609893677
    ------------------------------


  • 2.  RE: Deploying ODM on Docker

    Posted Tue October 26, 2021 04:57 PM

    The haproxy configuration is specified here  https://hub.docker.com/r/dockercloud/haproxy
    What is in the file odm-cluster.yaml matches with the docker-compose v2 implementation provided, maybe you are running on Mac I see a different setup there. 



    ------------------------------
    Alain Robert
    ------------------------------



  • 3.  RE: Deploying ODM on Docker

    Posted Wed October 27, 2021 08:52 AM
    Edited by Eduardo Izquierdo Lázaro Wed October 27, 2021 08:52 AM
    Yes, I already checked that, and it's exactly the same configuration provided with ODM on Docker.
    It should work, however I cannot make it work with the haproxy. The only way is exposing the ports of the runtime and accessing directly.
    I'm using Windows Linux Subsystem, maybe this is the problem.
    Thanks Alain.

    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    Madrid
    609893677
    ------------------------------