Define remote server instances to the ColdFusion Administrator
Register a new remote instance of ColdFusion using the
ColdFusion Administrator.
In the ColdFusion Administrator, click Enterprise Manager
> Instance Manager > Register Remote Instance.
Specify the details such as instance name, remote host, remote
port, http port, JVM route, and load balancing factor.
Instance
name is a string that is used to identify the instance. Remote port
and HTTP port are displayed in the Instance Manager page. These
ports are provided in the server.xml file available
in the runtime\conf folder of the instance. Remote
port is the AJP port and the instance port is the connector port.
JVM
route is the remote instance name. The JVM route is an attribute
that acts as an identifier for a particular Tomcat worker. JVM route
is provided in the server.xml file available in
the runtime\conf folder of the instance. For more
information on JVM route, see http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html. Note: A
remote instance and a local instance cannot have the same JVM route
if they are added in a cluster with sticky session enabled.
If you want remote start and stop functionality over HTTP,
enter Admin Component port, Admin Component user name, and Admin
Component password. The default Admin Component port is 8985.
Note: To
enable this feature, install admin component on the remote host.
In the remote host, open the cfroot\cfusion\jetty\etc\jetty.xml.
Search for the string, org.mortbay.jetty.bio.SocketConnector.
Update the host with the IP address of the remote host.
Restart the jetty server.
Click Submit.
|
|
|
|
|