Hi Udara, My idea was to map all wso2 server hostnames to Marathon-LB, not to other containers directly. We should route all traffic via Marathon-LB. We can always use "add-host" properties to add entries to /etc/hosts but that looks like a hack. Using DNS is a much cleaner and flexible approach. We can always run DNS server as another container [1].
[1] https://github.com/skynetservices/skydns Thanks. On Tue, Aug 23, 2016 at 10:18 AM, Udara Liyanage <[email protected]> wrote: > Hi, > > Container to contianer communication can be done by this as long as we run > a dns server. > However when users/browser wants to access a service running on a > container (say ESB maagement console) don't they have to come via marathon > lb? Or else do the they have to add our dns server to their resolve.conf ? > > How about load balancing features such as sticky sessions and round > robbing load balancing. Round robbing load balancing can be done using DNS > server itself, but not sure about sticky session. > > > On Tue, Aug 23, 2016 at 10:07 AM, Akila Ravihansa Perera < > [email protected]> wrote: > >> Hi, >> >> Currently we are using Marathon-LB hostname and service ports in product >> configuration when deploying on DC/OS (Apache Mesos). We can set the >> --dns-search and --dns properties and set a DOMAIN and DNS server in >> /etc/resolve.conf to resolve hostnames which are not found in /etc/hosts >> [1]. >> >> This is a much cleaner approach than using Marathon-LB hostname and >> service ports. WDYT? >> >> >> [1] https://docs.docker.com/v1.7/articles/networking/#dns >> >> Thanks. >> >> -- >> Akila Ravihansa Perera >> WSO2 Inc.; http://wso2.com/ >> >> Blog: http://ravihansa3000.blogspot.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > Blog: http://udaraliyanage.wordpress.com > -- Akila Ravihansa Perera WSO2 Inc.; http://wso2.com/ Blog: http://ravihansa3000.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
