Question
CF8/JRun4 Cluster for Load Balancing
Does anyone have an example of how to set up a CF8/JRun4
cluster for load balancing?
I have three servers:
x004 - Linux - Apache2 (10.0.0.54,10.1.0.54)
x020 - Linux - JRun4/CF8 (10.0.0.70,10.1.0.70)
x021 - Linux - JRun4/CF8 (10.0.0.71,10.1.0.71)
Every server in our network has two network cards. One network card is attached to 10.0.x.x which has a gateway to the internet and runs at 100Mbps and is firewalled, and the other is attached to 10.1.x.x which runs at 1Gbps and is internal with no gateway. I'm trying to set it up so web traffic arrives on 10.0.0.54 into Apache and mod_jrun20 bootstraps a cluster named STST using 10.1.0.54 which consists of STST_x020 coldfusion server running on x020 and STST_x021 running on x021. I want the communications between JRun4 on x020 and x021 to occur on the 10.1.x.x network and eventhough JRun and ColdFusion will only use the 10.1.x.x network I still need the 10.0.x.x network card attached for other purposes which require a gateway. I have installed JRun4/CF8 about 10 times already and it seems I have no control over what network JRun4 clusters on... sometimes it will communicate on one, sometimes the other and without being able to set which network is being used there always seems to be "network error" on at least one of the two CF8 servers. I was able to get everything working fine by disabling the network cards on the 10.0.x.x network and re-installing everything... but as soon as I added the network cards back the whole thing was broken again.
How is this supposed to work? Most of the examples are either no clustering or clustering on the same machine with Apache running on the same box... I don't see any clustering across machines examples.
How do I install a connector on a web server which doesn't have JRun on it and get wsconfig to connect to a multi-machine cluster when wsconfig only accepts a single IP address as a host and the cluster is not listed?
How do I get JRun to bind to a specific network card?
Does this work if I choose a J2EE server other than JRun?
Any help anyone can provide is greatly appreciated. I'm getting close to giving up which means staying on the non-clustered environment and figuring out how we can deal with scalability by switching to something else.
I have three servers:
x004 - Linux - Apache2 (10.0.0.54,10.1.0.54)
x020 - Linux - JRun4/CF8 (10.0.0.70,10.1.0.70)
x021 - Linux - JRun4/CF8 (10.0.0.71,10.1.0.71)
Every server in our network has two network cards. One network card is attached to 10.0.x.x which has a gateway to the internet and runs at 100Mbps and is firewalled, and the other is attached to 10.1.x.x which runs at 1Gbps and is internal with no gateway. I'm trying to set it up so web traffic arrives on 10.0.0.54 into Apache and mod_jrun20 bootstraps a cluster named STST using 10.1.0.54 which consists of STST_x020 coldfusion server running on x020 and STST_x021 running on x021. I want the communications between JRun4 on x020 and x021 to occur on the 10.1.x.x network and eventhough JRun and ColdFusion will only use the 10.1.x.x network I still need the 10.0.x.x network card attached for other purposes which require a gateway. I have installed JRun4/CF8 about 10 times already and it seems I have no control over what network JRun4 clusters on... sometimes it will communicate on one, sometimes the other and without being able to set which network is being used there always seems to be "network error" on at least one of the two CF8 servers. I was able to get everything working fine by disabling the network cards on the 10.0.x.x network and re-installing everything... but as soon as I added the network cards back the whole thing was broken again.
How is this supposed to work? Most of the examples are either no clustering or clustering on the same machine with Apache running on the same box... I don't see any clustering across machines examples.
How do I install a connector on a web server which doesn't have JRun on it and get wsconfig to connect to a multi-machine cluster when wsconfig only accepts a single IP address as a host and the cluster is not listed?
How do I get JRun to bind to a specific network card?
Does this work if I choose a J2EE server other than JRun?
Any help anyone can provide is greatly appreciated. I'm getting close to giving up which means staying on the non-clustered environment and figuring out how we can deal with scalability by switching to something else.
