7 Replies Latest reply on Aug 5, 2014 3:06 PM by wdfink

    More than one Domain Controller

    dbeltran

      Hi,

       

      We have configured a very basic cluster of JBoss AS 7 in domain mode with two nodes. The domain controller is configured in the first node through the <local> tag in the <domain-controller> section of the host.xml. The other nodes has a <remote> tag that points to the node 1. The problem is that if the node 1 is not present the entirely system can't work because there is not a domain-controller. I understand this behaviour but nowadays systems try to don't have single failure points, and with the domain controller we have one. Of course we could move the domain controller to other host but the situation will be still the same.

      I have read somewhere that you can configure a host-controller in order to became a domain-controller if necessary. The problem is, I couldn't find how. Is this possible? How?

       

      Thank you and best regards,

       

      David

        • 1. Re: More than one Domain Controller
          nickarls
          • 2. Re: More than one Domain Controller
            dbeltran

            Thank you Nicklas,

             

            But I have notice that when the domain controller goes offline, after some time, the host-controller of the slave node shutdowns everything including the servers and himself. So perhaps the only thing I would need, is not another domain controller, but to avoid this undesired sided effect. Is there a way to avoid this?

            • 3. Re: More than one Domain Controller
              nickarls

              I guess one problem would be that when the original master would come back online, the old one and the new one would have to play paper-rock-scissors over which should back down.

              • 4. Re: More than one Domain Controller
                dbeltran

                Ok, but if we forget the point about having more than one domain controller and you look at the link you posted before, the first point:

                "1) Servers don't need a running domain controller in order to handle

                requests."

                Is simply don't working to me because the servers shutdown.

                • 5. Re: More than one Domain Controller
                  dbeltran

                  Answering to your last post in the case when two node becames master there well are defined algorithms to solve that. Paper-rock-scissors could be one option, other, simplest to me, could be to say somewhere which node have priority to other in order to became muster. Red Hat cluster failover domains work in this way.

                  • 6. Re: More than one Domain Controller
                    jxavier

                    I've configured the Wildfly HA configuration using Domain controller with Mod-cluster in AWS VPC, but here in this config has a single point of failure, if the domain controller is down all the hosts will be down. Is there anyway to configure Domain controller in HA(two domain controller shares the session data) mode?

                    Thanks in advance!

                    • 7. Re: More than one Domain Controller
                      wdfink

                      If the domain controller crash, neither the host-contollers nor the servers are affected if the DC is a separate instance.

                      You can restart the DC and the slave hosts should able to re-connect.

                       

                      BTW you should open a new thread as this is an old thread and also a different question