1
votes

I succesfully followed the guides on http://docs.wso2.org/display/Cluster/Clustering+Application+Server and have deployed an scenario of one ELB 2.1.0 balancing and connecting the nodes as follows:

- One machine with the ELB, Manager and Worker node
- Another physical different machine with another worker node

All the managing on the ELB and manager and workers seems to be fine, for the logs and the console show every member connecting to each other, and so.

My problem is that if I configure the "proxyPort" properties on the Catalina-server.xml of the Manager and the workers node, I can't connect trhough the ports on the ELB 8280 or 8243, because I am obtaining a blank page (if i try to use the manager administration console) or a blank webserver response (if I try to consume any webservice through the ELB port).

If I don't configure the proxyPorts properties on each node, and point to each IP and port separately, I can successfully use the manager console, and consume the WebServices on each worker node as I expected but...of course, this way I am not having Load Balance and High Availability.

Sorry to bother you because I'm new at this matters, but I searched the internet all around and have found how to fix problems all the way through this point I'm in... It seems that the problem should only be at some transportation level configuration on the axis2.xml of some node, or maybe the fact our network is behind a proxy had something to be...don't know.

¿Anybody could give any advice? Versions are: WSAS 5.2.0 and ELB 2.1.0.

We have found now, that working with previous versions (with Tribes and not Hazelcast as the clustering class), WSAS 5.1.0 and ELB 2.0.3, and not changing the parameter on the Axis2.xml file in the ELB (leaving as it comes, being different than the domain established in the loadbalancer.cfg and the domain in the Axis2.xml of the Workers and Managers), it works well. But, if we don't change the on the axis2.xml working with the 5.2.0 and 2.1.0 versions, trying to replicate the status we have with the previous version, the ELB doesn't realice that a manager and worker are connecting to him (we can't see anything on the ELB logs when launching the manager and Worker), so I suppose in this case the clustering is not working, and for it to work properly, we need to set the in the Axis2.xml of the loadbalancer the same as in the loadbalancer.conf and in the axis2.xml of the rest of nodes in the cluster.

We need to deploy this for testing and valoration purposes on a customer and we would like to understand or to know if there is something wrong with the last versions, or this is just a lack of knowledge for our part, case when we will need the help of this forum :).

In this link you could find the configuration files involved in the ELB 2.1.0 and Manager WSAS 5.2.0 issue: http://www.dravencrow.com/varios/configuration_files.rar

Thank you very much in advance

1
This could be a configuration issue in your environment. You just need to map the host names of Application Server management and worker to ELB IP. Proxy ports of Application Server should be the corresponding ports of ELB. May be you can send all the relevant configs to our dev@ mailing list and we can check. wso2.org/mailIsuru Perera
Thanks Isuru. I'm trying to register on the wso2 mail list and as soon as I can I would put the information on my .cfg's there. Thanks in advanceDraven
I have edited the first message adding a link to the configuration files and explaining a new test case: It seems that with previous versions of ELB and WSAS, not changing the domain on the axis2.xml at ELB level, it works well. Puting the same domain in this file (needed to make the cluster nodes seeing each other in last versions) as the domain configured in the loadbalancer.conf, makes the blank page issue happens. Thank you very muchDraven
Hi again. Just for the sake of others with the same problem, we finally worked this out.<br>fDraven
Hi Draven, I'm really sorry for the delay. I'm glad it worked out for you!Isuru Perera

1 Answers

1
votes

Just for the sake of others with the same problem, we finally worked this out.

It seems that with the newest versions of ELB (2.1.0) you need to stablish the port where to listen to other members in the "loadbalancer.conf" level, with the property "group_mgt_port", which did not comes as default in the file from the release of ELB 2.1.0.
Also, the domain fixed in the Axis2.xml of the ELB level must be totally different from the domain fixed in the rest of Axis2.xml files of other nodes (and from the domain in the loadbalancer.conf itself).

With this setup, the last version of ELB and AS works fine taking care of connections between each other, and the proxyports works as well connecting to manager and workers throug the elb port 8243.

Thank you very much for your patience and apologies for bothering you....it's really difficult find some reliable documentation on the last versions of each product in the WSO2 suite, for the most of the info available is spreaded through different blogs and forums. Regards