Copy link to clipboard
Copied
I'm wondering how I might have multiple CF9 instances serviced by one IIS7 website.
Software:
Windows 2008 Enterprise 32bit
ColdFusion 9 Enterprise
IIS 7
Hardware:
Dual Quad Core CPUs
16GB RAM
Basically we have all of our CF applications defined in IIS as applications accessible similar to the following:
http://mycompanyintranet/CFAPPfinance
http://mycompanyintranet/CFAPPsales
http://mycompanyintranet/CFAPPaudit
Right now we have 120 CF applications running under one instance and I'd like to break these up into 3 or more instances to better utilize our server's resources. The thing I really would like to avoid is having to modify application links and user favorites to these locations but I do not know how to have IIS properly direct an application request to the associated CF instance without having to create new websites in IIS. I am not opposed to using Apache to help accomplish this but I have never done this before. I spent a bit of time pouring through the forums here and did not find what I was looking for. Any assistance or guidence on this would be greatly appreciated.
Thanks,
Shaun S.
Copy link to clipboard
Copied
That is not the usual direction for this problem. Usually people want to know how to have multiple IIS (or Apache) web sites connected to one ColdFusion server.
I can not think of any way to do this at the web server -- applicaiton server conection layer. That is just not the way things are set up.
Two possible ideas.
1) Set up multiple ColdFusion instances and connect them as a cluster. Then connect the IIS web site to the cluster. You won't get specific applications connecting to specific instances. But you can get multiple ColdFusion instances sharing the load of those 120 applications.
2) Do something with fancy URL rewriting rules. Create the multiple IIS web sites and connect them to the multiple ColdFusion instances. But then use the URL rewriting rules to make it look to the user like all of these web sites are still one single one.
Other then those two ideas, I think you start getting really wonky and tricky.
Copy link to clipboard
Copied
Another variation of the second idea.
Create the new web sites and ColdFusion instances. Then create any needed 301 moved permeably redirects in the original web site so that any user that clicks on an old link is immediately redirected to the new URL.
Copy link to clipboard
Copied
Thank you for your response. This is the information I was after.
Shaun S.
Copy link to clipboard
Copied
(old thread i know)
what you can be looking at is either
1) create a cluster of several cf instances and point the iis server to this (using round robin or whatever style of balancing) - however with 120 applications, this could cause you more problems unless you have a beast of a machine.
2) create some reverse proxy or url rewriting techniques such that /cfappsales actually runs thru :8100 or whatever the internal web server is for each of the instances you have. That was all the URLs will look the same, but on the box it will all work a bit differently