until Bug 1247243 – Review Request: mod_cluster - httpd modules and Tomcat/WildFly java libraries is resolved, it is strongly discouraged to use mod_cluster RPM available in Fedoras these days.
Although, you can download recent mod_cluster 1.3.1.Final RPM fom Fedora People - karm.fedorapeople.org and build your rpm packages using rpmbuild. If you don't know how and you would still prefer RPM before tar/zip installation, I could build Fedora RPMs with mod_cluster 1.3.1 for httpd 2.4 for you (Fedora).
At a glance, it seems correct. On the other hand, it is mandatory for both machines being able to reach to each other. Could you tell us whether the status of your worker nodes on the Mod_cluster manager console is OK or NOTOK?
Last but not least, share your logs -- Apache HTTP Server log on LogLevel Debug and you Wildfly log so as we could spot any suspicions undertakings.
thankyou for your reply.
I removed installed mod_cluster and installed one that you provided in your reply.
After installation i configure back mod_cluster and still didn't get wanted results. I am attaching logs from both wildflys and logs from httpd. Here is also a screenshot of mod_cluster_manager page.
Node 2 is giving following error but thats new problem. That error i didn't get before new mod_cluster instalation.
It says connection refused and i tried ping machines and connection works. I also saw second server on mod manager site yesterday, but cant see it today.
YSRV0207: Starting subdeployment (runtime-name: "cloudflow-ejb.jar")
13:22:53,323 ERROR [org.jboss.modcluster] (UndertowEventHandlerAdapter - 1) MODCLUSTER000043: Failed to send INFO command to localhost.localdomain/127.0.0.1:6666: Connection refused
sorry for bad error log previous time..
Until now i changed fedora virtual machines for centos 6.7, installed httpd 2.4. and mod_cluster 1.3.1.
At the moment i am trying to set up cluster with only one node. It should work anyway and i would simply add more nodes latter.
As much as i understand this means mod_cluster wants to ping node to see if it is online. Since node didnt open that port, connection is refused and mod_cluster understands that as node is in error state. Am I right? How can i set port for pinging?
Here is what i see in mod_cluster_manager and i am attaching all logs and config files. Only part that i am letting out is datasource in my standalone-ha.xml
start of "httpd.conf" configuration
Protocol supported: AJP
Server: 192.168.2.246 VirtualHost: *:80
Server: nekineki.com VirtualHost: 10.0.2.6:6666 Advertising on Group 126.96.36.199 Port 23364 for http://10.0.2.6:6666 every 10 seconds
end of "httpd.conf" configuration
Node node1 (ajp://10.0.2.6:8009):
Balancer: mycluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax: 2,Ttl: 60000000,Status: NOTOK,Elected: 0,Read: 0,Transferred: 0,Connected: 0,Load: -1
Virtual Host 1:
Thank you for your help
logsAndConfig.zip 19.7 KB
Hi, I have the same problem. Have you resolved it? I'm getting crazy for two weeks, and I don't have found any solution... Thanks.