Cluster not sending request to second server
I have two Windows 2008 R2 boxes, one running 4 CF instances and the other running two. I have created a cluster with all six instances. My problem is that Coldfusion never sends request to the second server. I had this running for many years on 2003 servers but for some reason i cannot get this setup to work. Any ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350363 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
Do you have a port filter on the network? On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote: I have two Windows 2008 R2 boxes, one running 4 CF instances and the other running two. I have created a cluster with all six instances. My problem is that Coldfusion never sends request to the second server. I had this running for many years on 2003 servers but for some reason i cannot get this setup to work. Any ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350364 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
Do you have a port filter on the network? On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote: No port filter and local os firewall disabled. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350366 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
Do you have a port filter on the network? On Mar 12, 2012 10:49 AM, brad f b...@ciswired.com wrote: no port filter and local os firewall is disabled. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350368 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
On Mon, Mar 12, 2012 at 10:49 AM, brad f b...@ciswired.com wrote: I have two Windows 2008 R2 boxes, one running 4 CF instances and the other running two. I have created a cluster with all six instances. My problem is that Coldfusion never sends request to the second server. I had this running for many years on 2003 servers but for some reason i cannot get this setup to work. Any ideas? Are you sure that you've used wsconfig to connect the cluster to the webserver instead of just one instance? Also - how are you determining that the second server isn't ever hit? If you need to - drop some code like this into you app.cfc/cfm and have the instance name output into an HTML comment to make sure you know which server is being hit. http://www.sumoc.com/blog/post.cfm/how-to-find-an-instance-name-or-machine-name-in-a-cfmx-cluster -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350369 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
How do you know for sure that requests are not going to the other two instances on the second server? Remember, if you are using ColdFusion's clustering, your web server (IIS) on the second server will not get any traffic - Java clustering goes between JVMs and foregoes the all the web servers. Your web traffic comes in via one web server, passes to Java, then the cluster manager decides which ColdFusion instance to run the request on. You would have better luck checking for traffic based on the CF server manager or memory usage on the other server. Of course, I suppose it's possible the other clustered instances really aren't getting any traffic. Remove them and re-add them, or reboot the 2nd server. Maybe even the first for that matter. nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] On Mon, Mar 12, 2012 at 7:49 AM, brad f b...@ciswired.com wrote: I have two Windows 2008 R2 boxes, one running 4 CF instances and the other running two. I have created a cluster with all six instances. My problem is that Coldfusion never sends request to the second server. I had this running for many years on 2003 servers but for some reason i cannot get this setup to work. Any ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350371 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
ok.. Thanks for all the quick replies but i have figured it out after doing a netstat and seeing the other server was connecting on the wrong subnet.. i disabled the other NIC and restarted CF services.. then re-enabled the other nic and we are good to go. Thanks again for all the responses :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350373 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cluster not sending request to second server
Hmmm, I won't be surprised if this occurs again when the service restarts with both NICs enabled. Just sounds like a configuration issue in the networking isn't quite right. As a double check when you restart CF are things still fine? Might even go as far as a server reboot just to be sure. If it's something like a DNS issue it might not show up til a service restart or dns cache refresh (which for java is on a service stop/start). Can't remember off the top of my head, but does CF clustering allow for using hostnames as opposed to IPs only? For windows DNS, your NICs, are they both reporting their IPs back to active directory? NIC properties - advanced settings - dns tab - register blah blah with Dns? That would make your host possibly resolve to 2 different ip addresses (round robin DNS). Which in turn, based on routing and such could cause the issue. That also, might come into play if your Jrun configuration (the file that allows which subnets can connect for clustering, ug, on phone not workstation) isn't allowing to connect on the othe NICs subnet. Best thing is to specify all IPs and by-pass any DNS issues. Byron Mann Lead Engineer and Architect Hostmysite.com On Mar 12, 2012 11:38 AM, brad f b...@ciswired.com wrote: ok.. Thanks for all the quick replies but i have figured it out after doing a netstat and seeing the other server was connecting on the wrong subnet.. i disabled the other NIC and restarted CF services.. then re-enabled the other nic and we are good to go. Thanks again for all the responses :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350390 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Second Server
Thanks all. Thats seems like sound advice. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259277 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Second Server
Richard Cooper wrote: Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? Run it on both. Set the zones up on the database server and do an automated transfer to a simple resolver on the webserver. Then adverise the webserver as authorative. That way the public facing DNS server is a simple, robust resolver and the full DNS server is not publicly accessible. Jochem ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Second Server
Should I just move over the DB or would I be better off Load balancing across the two boxes? Or is the something else you'd recommend? Make sure that you also take into consideration how much you care about maintenance / administration time. IMO it's often worth paying a little more for a couple of larger boxes than an army of cheaper ones just so that you can save time keeping them in order. All depends on what your priorities are, and what you expect your future traffic growth to be. If you're getting any sort of load, get that db off the CF box. It's like night and day. I just upgraded my CF setup from a single dual Xeon to a pair of Opterons, 1 acting as a mysql server, the other for httpd/cfmx. Stick a switch between them, and watch in amazement. My experience is that you'll tend to be disk/IO bound if you're running your DB on a busy CFMX server. Fast disks might help, but giving the DB a new home is going to be worth it. If your db server is light loaded, you can pile other tasks on it like sendmail, backups, etc and take even more pressure off the CF server. Personally I wouldn't consider load balancing at all until a 3rd server was required, unless failover is important to you. Of course, if availability is critical then your requirements will vary, in which case you're going to want failover of both cf and the db. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Second Server
Hi All I've a win2k server, IIS, SQL Server 2000 and DNS all on the same box. Servers spec is good but I've been having quite a few issues lately with the JVM. I'm strongly considering gettting a second box. What's the best use for this box? Should I just move over the DB or would I be better off Load balancing across the two boxes? Or is the something else you'd recommend? R ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259036 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Second Server
Should I just move over the DB or would I be better off Load balancing across the two boxes? Put the database on a dedicated server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259038 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Second Server
DB on its own box.. Absolutely. World of difference. J On 11/3/06, Richard Cooper [EMAIL PROTECTED] wrote: Hi All I've a win2k server, IIS, SQL Server 2000 and DNS all on the same box. Servers spec is good but I've been having quite a few issues lately with the JVM. I'm strongly considering gettting a second box. What's the best use for this box? Should I just move over the DB or would I be better off Load balancing across the two boxes? Or is the something else you'd recommend? R ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259056 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Second Server
Thanks Dave. Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Second Server
Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? Yes. That is, I would put the database on a dedicated server. Ideally, the web/app server would not run DNS either, but if you only have two boxes, well, I guess you go to war with the Army you have. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259063 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Second Server
On 11/3/06, Richard Cooper [EMAIL PROTECTED] wrote: Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? It really depends on how hard your db is being hit. You might have a db server that is underutilized when its a standalone (even so, moving it off the web box is going to be a huge boost to reliability). So far as I can tell DNS isn't much of a burden, at least for me. You might want to consider going to still more boxes; only using cheap little ones instead of big ones. I used to use a couple of BIG badass servers to do everything I need. Now I use five small ones and I am paying something like $200 less per month. Box 1 is primary DNS and statistics Box 2 is antispam gateway, mail server dedicated to cfmail and db/web backup repository Box 3 is database Box 4 is CF/Web Box 5 is secondary dns and 'human' mail All but Box 4 are basic $80/month servers. By dicing the load into little bits like this I can get away with that. If I need to upgrade something I can upgrade just the component I need (or split off to another cheapie box if I must in the few cases where a server does more than one thing), and my upgrade feeds just what needs it. Best of all, by splitting stuff up to this degree I have experienced a huge jump up in reliability, and I was doing pretty good before. Basically nothing ever, ever goes down. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Second Server
First, I concur - use a separate box for the database. And since you are building a new box, let me give a couple of additional suggestions. 1. Use at least three separate, physical disks. One as your boot drive for the OS and the database software. One for your datastore One for database log files (transaction logs, etc.) Databases are extremely IO intensive, and the more you can avoid disk contention during database access, the better. 2. Put as much RAM in the box as you can comfortably handle. Think that seems like enough and then add more. The reason is actually related to my first suggestion. Databases KNOW that IO is a problem, so will keep as much data in memory as possible to avoid disk access as much as possible. Ideally, you should have enough RAM to hold the entire contents of your database. These two things are far more important than CPU speed. If your budgeting comes down to going with a faster CPU vs. more RAM or disks, go for the disks and RAM. If your database is really getting worked hard, your CPU will be wasting a lot of time waiting for the disks and even the memory - it's unlikely with a reasonably powerful processor that the processor will be the bottleneck. As for DNS - it's not a terribly heavy process, assuming you aren't using it as the core DNS server for a large network, so leave it where it is. -Original Message- From: Richard Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 9:38 AM To: CF-Talk Subject: Re: Second Server Thanks Dave. Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259080 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Second Server
Hi Matt, That's interesting. At the moment, I have 30 odd sites running off one box, including cfmail and my personal email. The mySQL server is running on the same machine - DNS is handled by a separate machine. We haven't experienced any issues as yet, but the idea of running a number of smaller boxes is interesting. Do you host this yourself or outsource it? Will Swain -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: 03 November 2006 16:16 To: CF-Talk Subject: Re: Second Server On 11/3/06, Richard Cooper [EMAIL PROTECTED] wrote: Do you think all other services should remain off that box. i.e. should I keep the DNS on the website server? It really depends on how hard your db is being hit. You might have a db server that is underutilized when its a standalone (even so, moving it off the web box is going to be a huge boost to reliability). So far as I can tell DNS isn't much of a burden, at least for me. You might want to consider going to still more boxes; only using cheap little ones instead of big ones. I used to use a couple of BIG badass servers to do everything I need. Now I use five small ones and I am paying something like $200 less per month. Box 1 is primary DNS and statistics Box 2 is antispam gateway, mail server dedicated to cfmail and db/web backup repository Box 3 is database Box 4 is CF/Web Box 5 is secondary dns and 'human' mail All but Box 4 are basic $80/month servers. By dicing the load into little bits like this I can get away with that. If I need to upgrade something I can upgrade just the component I need (or split off to another cheapie box if I must in the few cases where a server does more than one thing), and my upgrade feeds just what needs it. Best of all, by splitting stuff up to this degree I have experienced a huge jump up in reliability, and I was doing pretty good before. Basically nothing ever, ever goes down. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259086 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Second Server
Matt Will, My host is CrystalTech. They had a June Special where the setup fees were waived and I got three free months of service. It was a deal I simply couldn't pass up. Formerly I was paying about $850 per month for two big 2-processor, mongo-memory servers at Cybercon. At CT, four of their peener-wiener servers are $79.95 each, totalling $319.80. Then my CF box is a dual Xeon, SCSI-driven box with 1gb for $259.95. Total monthly cost is 579.75 vs. the $852 i used to be paying. Saving $over $270 monthly, plus I got free setup for five servers, which was a $580 value. Plus the two free months, which was another $1700+. Like I said... could not pass it up despite the enormous amount of work involved in moving all my stuff over from A to B. The CF server's specs look a little anemic compared to what I used to have, but across the board I found that I could do fine with less hardware since I was specializing the boxes the way I am. Also, backing up a server costs money over there, and if you have four servers it costs much more to back them up than it does to just get another freaking server and run Synchback from it... and back up your goodies yourself. My backup server is actually running an instance of mySQL (or actually it is running mySQL only long enough for the backup routine to pull a copy of the live files... something SqlYog Enterprise does a great job of handling). The O/S is Win2k3 Server (not Advanced) I would recommend this kind of setup to everyone. Its very affordable and highly effective. If you need to upgrade the db, or need more backup space or something you just add a bigger server, or look at what I have Box 2 doing. I could split that into two or even three more little servers and get a whole lot of bang for my buck, still. -- [EMAIL PROTECTED] Janitor, MSB Web Systems mysecretbase.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4