5 Replies Latest reply on Mar 24, 2012 3:11 PM by wdfink

    What are of host-*.xml files?

    rareddy

      Hi,

       

      I am trying to understand why there are 3 of them. The documents like https://docs.jboss.org/author/display/AS71/AS7+Cluster+Howto all start with with single host.xml in master and slave situations and show it how to modify the host.xml file for starting the AS in Domain mode.

       

      Are host-master.xml and host-slave.xml used in any other specific situation? They look exactly same, just do not have <servers> element.

       

      Thanks.

       

      Ramesh..

        • 1. Re: What are of host-*.xml files?
          rbertoncelj

          They are only examples that you can use by renaming them to host.xml.

           

          host-master.xml is an example configuration of the server that acts as a domain controller only and does not spawn any servers.

          host-slave.xml is an example configuration of a slave host controller that is managed by some domain controler (you still have to specify the address of that domain controller).

          Default host.xml that comes with the distribution is a configuration that makes the server act as domain controller and also spawn 3 servers that are defined in <servers> section.

          • 2. Re: What are of host-*.xml files?
            kabirkhan

            Rok Bertoncelj wrote:

             

            They are only examples that you can use by renaming them to host.xml.

             

            Or search for --server-config, --host-config and --domain-config in https://docs.jboss.org/author/display/AS71/Admin+Guide

            • 3. Re: What are of host-*.xml files?
              wdfink

              I use one of them as template, change the name to host.xml and set my configuration.

              Just to start without --XXX-config

               

              If you compare to AS4/5/6 it is the same as the different directories under ../server/

              • 4. Re: What are of host-*.xml files?
                rareddy

                Thanks you for the answers. I guess to avoid confusion it woud have been better to have one host.xml with commented lines for host controller configuration or host-master.xml and host-slave.xml, not both.

                 

                Ramesh..

                • 5. Re: What are of host-*.xml files?
                  wdfink

                  I think there are different opinions for that

                  Important is to know it.