Enabling Clustering For Load Balancing And Failover - Adobe 38043755 - ColdFusion Enterprise - Mac Administration Manual

Configuring and administering
Hide thumbs Also See for 38043755 - ColdFusion Enterprise - Mac:
Table of Contents

Advertisement

CONFIGURING AND ADMINISTERING COLDFUSION 10
Using Multiple Server Instances
2
Configure Apache virtual hosts.
In
a
workers.properties
worker.list=cfusion,server1
Add the following block:
b
worker.server1.type=ajp13
worker.server1.host=localhost
worker.server1.port=8014
Note: The port is the AJP port for server1 and that can be found in server1.server.xml in the
cf_root\server1\runtime\conf\server.xml.
Copy the content of
c
uriworkermap.properties
uriworkermap1.properties
d
Now add the following line in each of the virtual host: For example, VH1 is the ColdFusion instance. It should
have:
JkMountFile "cf_root\config\wsconfig\1\uriworkermap.properties"
instance. It should have
Configuring application isolation in Sun ONE Web Server
Under Sun ONE Web Server, each ColdFusion server instance is mapped to a Sub ONE Web Server instance, when
you use multiple virtual hosts with multiple server instances.
It is assumed that you already created server instances, as described in
Configure multiple server instances for application isolation when using Sun ONE Web
Server
Run the Web Server Configuration Tool for each Sun ONE Web Server instance. Specify a different configuration
directory and ColdFusion server instance each time. Ensure that you select the Configure Web Server for ColdFusion
MX Applications option (GUI).

Enabling clustering for load balancing and failover

Load balancing is an enterprise-level feature in which the application server automatically alternates requests among
the server instances in a cluster. Clustering also enables application servers to route requests to a running server
instance when the original server instance goes down.
You can get load balancing and failover by deploying identical ColdFusion applications and configurations to multiple
server instances and adding the instances to a cluster. Each instance must have the same applications deployed and the
same resources configured (such as data sources, Solr collections, and mappings). The web server connector optimizes
performance and stability by automatically balancing load and by switching requests to another server instance when
a server instance stops running.
Note: You must be connected to a network for clustering to work.
For maximum failover protection, use multiple computers in a cluster. However, purchase a separate ColdFusion
Enterprise Edition license for each computer.
To implement session failover for the server instances in a cluster, enable session replication for each server instance.
Session replication coordinates session information in real time among the server instances in a cluster. Enabling
session replication lets Tomcat automatically route a request to a running server if the current server is unavailable.
of
cf-root\config\wsconfig\1
.
in
. Replace the cfusion with
JkMountFile "cf_root\config\wsconfig\1"
Last updated 7/9/2012
, add
to
server1
workers.list
cf-root\config\wsconfig\1
.
server1
.
"Enabling application
122
. For example,
to
VH2 is the server1
isolation" on page 120.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 10

Table of Contents