3 Replies Latest reply on Dec 6, 2012 6:58 AM by ctomc

    jboss-as-7.1.0.Final use proxy-list problem

    bushurui

      Hi there,

       

      Slave agent cannot receive advertise sent from apache mod_cluster module, since there is a firewall between apache proxy and jboss slave agent, and the multicast packages cannot access the firewall.

       

      And we have no priviledges to configure the firewall in our customer environment. So I cannot use Advertise mode, and should choose manully list the X-Management-Address that advertised.

       

      1)  I have add the instance-id="hellnode" under <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false" instance-id="hellnode1">

       

      2) And manully add the proxy-list under:

       

      <subsystem xmlns="urn:jboss:domain:modcluster:1.0">

                      <mod-cluster-config advertise-socket="modcluster" proxy-list="master:10001"/>

                  </subsystem>

       

      After these modifications, I start server-three-salve which in the "other-server-group" and use "full-ha" profile.

       

      When this instance compeletly started, I use tcpdump tool to caputure the packet on this agent, but still cannot find any packet which should sent to the proxy that listed under "proxy-list" argument.

       

      Anyone can give me some points to figure out this problem?

       

      Thanks,

      Sury Bu

        • 1. Re: jboss-as-7.1.0.Final use proxy-list problem
          ctomc

          I think this was bug that was already fixed.

          It might be in 7.1.1.Final or in later versions, can you try wiht 7.1.1 or with latest nightly.

           

           

          --

          tomaz

          • 2. Re: jboss-as-7.1.0.Final use proxy-list problem
            bushurui

            Agree, I think this is a bug in jboss-as-7.1.0.final. When I only change the <domain-controller> argument under slave host's host.xml from

             

            <domain-controller> 

                <remote host="master" port="9999" security-realm="ManagementRealm"/>

            </domain-controller>  

             

            into

             

            <domain-controller> 

                <local/>

            </domain-controller> 

             

            then everything works fine.

             

            Is there a graceful way, that I can use remote domain controller and not use apache advertise mode?

             

            Thanks,

            Sury Bu

            • 3. Re: jboss-as-7.1.0.Final use proxy-list problem
              ctomc

              Hi,

               

              modcluster  & domain management mode have nothing in common.

               

              except the fact that if you run your servers in domain managed enviroment, you can manage many servers from one location.

               

              if you dont need that, than run standalone it will be easier for you.

               

              --

              tomaz