2 Replies Latest reply on Nov 7, 2016 10:39 AM by Jaime Gonzalez

    Using Wildfly 8.2.0 to segment processes.

    Jaime Gonzalez Newbie

      Hi everyone,

       

      In my company we are using Wildfly 8.2.0 for software deployment, and we would like to be able to segment the processes into several machines, instead of having everything running in one. Some of them may scale a lot in system resources, and we need to do segmentation.

       

      My question is, can we do this with a Cluster HA Load-balancing setup? The only way I've seen that seems similar to what we need is to define a Managed Domain with server groups, but how can we assign a specific process to a specific server? Does the Domain Controller asign it and/or can we influence it?

       

      We don't want to do HA failover, meaning we don't want the same info in every server, we want different processes in different machines to manage the load.

       

      Thank you for your help.

       

      Please feel free to ask any question that you may think is relevant.

        • 1. Re: Using Wildfly 8.2.0 to segment processes.
          Radoslav Husar Master

          Hey Jaime,

           

          Can you explain what you mean by "processes"?

           

          Either way you seem to be asking whether you can scale your deployment across different hosts. Surely you can start multiple instances with same configuration and same deployments and have a load-balancer in front of the WildFly instances. Make sure you configure the load-balancer with sticky sessions. If you do not want to use clustering, use server profiles without "ha" suffix.

          • 2. Re: Using Wildfly 8.2.0 to segment processes.
            Jaime Gonzalez Newbie

            Hello and thank you for your reply.

             

            We want to deploy certain services for our project via wildfly to specific machines, so we can separate the load and minimize the risk of collapsing the resources if we run it on a single server.

             

            However, I don't know how to make the processes talk to each other or how to send a specific process to a specific machine.

             

            Wildfly instances are being launched with Docker, and what I'm testing is to cluster them into a domain and see if that works.

             

            Maybe there's a better or an easier approach.

             

            Thank you again.

             

            Edit: I've managed to launch 2 Wildfly instances, Master and Slave, and perform a deployment on each one. However, I can't see the Master being aware of a deployment on Slave or viceversa. Is this possible? I will need in the future to be able to communicate from deployed service 1 to deployed service 2.