2 Replies Latest reply on Aug 4, 2014 7:27 AM by GuitsBoy

    CF10 cluster: isolate instance via URL?

    GuitsBoy Level 1

      Is there any way to specify which instance is used by URL when apache is connected to a CF10 cluster?  We have one instance that handles all our scheduled tasks, and we would like to make sure calls to localhost run on the same instance, not load balanced between the cluster members.  We could create a F/S link (centos) to add the codebase to the CFIDE webroot, and then specify the administration port for the one instance, but I was hoping for a more simplified and elegant solution.




        • 1. Re: CF10 cluster: isolate instance via URL?
          sdsinc_pmascari Level 2

          If I'm understanding you correctly....


          You could edit your HOSTS file and map a URL specific to your scheduled tasks instance.  For example, in your HOSTS file an entry like:


          # Map scheduled tasks URL to Instance 1



          Where the IP address is the specific instance for your tasks and should bypass your load balancer.

          • 2. Re: CF10 cluster: isolate instance via URL?
            GuitsBoy Level 1

            Thanks for the reply, but I was referring to Application Server level load balancing, not the physical load balancer in front of the physical servers.  Calling localhost effectively does what you propose, taking the physical LB out of the equation.   I was looking for a way to isolate the specific instance when running CF with multiple instances configured in a CF cluster.