Copy link to clipboard
Copied
I have just decided to set up my site using ColdFusion clustering in the staging environment. I need to find out what code adjustments are required when we move to a cluster environment. I have two machines where Coldfusion server is installed. Till now Steps I followed:
Now my question is Do I also need to set up the code base on the second server(CFServer_2), Create a site in IIS with same name(testsite.com) and associate the site with the cfinstance_2?
The Key point is
ColdFusion 10 servers must be Enterprise Edition for Session Replication To Work.
As in Developer Edition you will never see a option(Check box) for enabling session replication. Its so strange that some forums explains that "Deselecting the Sticky Session" option leads to session replication, which I tried a lot on my local dev edition but did not worked. I do not understand why Adobe does not explain these things properly on the documentation.
Thanks a lot for the info.
Thanks
Deep
...Copy link to clipboard
Copied
Hi Deepak,
Everything is correct ![]()
Do not worry, you need not to create a site/folder in the server where you have cfinstance_2. Just place the .cfm in the webroot only and I believe IIS is configured in the machine where you have cfinstance_1.
HTH ![]()
Thanks
VJ ![]()
Copy link to clipboard
Copied
Yes IIS is configured on cfinstance_1. So basically all my project files and folders must be on both the machines.Am I correct?
Copy link to clipboard
Copied
Place the cfm in 2 different folders
1. in the webroot (say C:\inetpub\wwwroot)
2. in the cfinstance_2 webroot which is the other server (server 2) where you have this instance. The path will be C:\ColdFusion11\cfinstance_2\wwwroot
Thanks
VJ ![]()
Copy link to clipboard
Copied
Thanks VJ, for you reply. Now everything is working fine. But I have one more query. Actually I have two instances from my local machine and one instance from remote server. Session replication is not working properly. Session replication works fine when i switch between the two local instances (sessionid remains same) , but the time when it hits to the remote server instance the sessionid changes and all my session variable are lost. I have followed all the steps exactly mentioned on this link Adobe ColdFusion 10 * Enterprise Manager section . Do I need any other setting changes?
Any Help would be greatly appreciated.
Thanks,
Deepak Kumar
Copy link to clipboard
Copied
Check this thread : https://forums.adobe.com/message/5616340#5616340
Also, make sure when you add the instances in the cluster then you must check the "Session Replication" option
HTH ![]()
Thanks
VJ ![]()
Copy link to clipboard
Copied
The Key point is
ColdFusion 10 servers must be Enterprise Edition for Session Replication To Work.
As in Developer Edition you will never see a option(Check box) for enabling session replication. Its so strange that some forums explains that "Deselecting the Sticky Session" option leads to session replication, which I tried a lot on my local dev edition but did not worked. I do not understand why Adobe does not explain these things properly on the documentation.
Thanks a lot for the info.
Thanks
Deepak Kumar
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more