-
2. Re: JBOSS AS 7.3/EAP 6.2 create a 2 Node Cluster where 1 is DC and other is HC
miteshmanani Jun 22, 2014 4:54 PM (in response to miteshmanani)Hey Thanks a Lot ! That Exactly fits the requirement and i am almost there. Except my apache mod_cluster is not able to discover the nodes and http://192.168.1.101:10001/mod_cluster-manager doesnt work.
At Slave's End i get something like this :
02:18:18,419 ERROR [org.jboss.modcluster] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) MODCLUSTER000043: Failed to send INFO to LPT466-PC/192.168.1.101:10001: java.net.SocketTimeoutException: connect timed out
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) [rt.jar:1.7.0_40]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) [rt.jar:1.7.0_40]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) [rt.jar:1.7.0_40]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) [rt.jar:1.7.0_40]
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) [rt.jar:1.7.0_40]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) [rt.jar:1.7.0_40]
at java.net.Socket.connect(Socket.java:579) [rt.jar:1.7.0_40]
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler$Proxy.getConnection(DefaultMCMPHandler.java:818)
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler$Proxy.getConnectionWriter(DefaultMCMPHandler.java:841)
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:482)
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:583)
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:370)
at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:350)
at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:458)
at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:249)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
-
3. Re: JBOSS AS 7.3/EAP 6.2 create a 2 Node Cluster where 1 is DC and other is HC
wdfink Jun 23, 2014 2:02 AM (in response to miteshmanani)Looks like a network issue.
Do you have a firewall or other network stuff in between?
Is the DC host reachable from the slave and vice versa?
-
4. Re: JBOSS AS 7.3/EAP 6.2 create a 2 Node Cluster where 1 is DC and other is HC
miteshmanani Jun 23, 2014 3:37 PM (in response to wdfink)Stopped Windows 7 firewall on Both Master and Slave and Works Fantastic. Thanks a Lot !
Just to close this thread, if you can clear a bit of my concept,
Is mod_cluster a real-time load balancer ? i mean can we use it in a production enviornment with Heavy J2EE Applictions with 2000+ concurrent load?
How is Apache mod_cluster compared to other load balancers like nginx or probably Citrix NetScalar ?
Regards,
-
5. Re: JBOSS AS 7.3/EAP 6.2 create a 2 Node Cluster where 1 is DC and other is HC
wdfink Jun 24, 2014 10:27 AM (in response to miteshmanani)I don't have an idea about performance numbers.
You can use it in production, but the most important thing is the application as the LB should not eat most of the duration and CPU power