| Publicity: |
|---|
| [Public Only | All] |
Provides methods for communicating between load-balanced servers.
- Location:
- packages/acs-tcl/tcl/server-cluster-procs.tcl
- Created:
- 7 Mar 2000
- Author:
- Jon Salz
- CVS Identification:
$Id: server-cluster-procs.tcl,v 1.8 2009/02/13 20:28:08 jeffd Exp $
ad_canonical_server_p (private)ad_canonical_server_p Returns true if this is the primary server, false otherwise. we're using IP:port to uniquely identify the canonical server, since hostname or IP does not always uniquely identify an instance of aolserver (for instance, if we have the aolservers sitting behind a load balancer). |
server_cluster_all_hosts (public)server_cluster_all_hosts Returns a list of all hosts, possibly including this host, in the server cluster. |
server_cluster_authorized_p (public)server_cluster_authorized_p ip Can a request coming from $ip be a valid cluster request, i.e., matches some value in ClusterIPMask or is 127.0.0.1? |
server_cluster_enabled_p (public)server_cluster_enabled_p Returns true if clustering is enabled. |
server_cluster_httpget_from_peers (private)server_cluster_httpget_from_peers [ -timeout timeout ] url Schedules an HTTP GET request to be issued immediately to all peer hosts (using ad_schedule_proc -once t -thread f -debug t 0). |
server_cluster_logging_p (private)server_cluster_logging_p Returns true if we're logging cluster requests. |
server_cluster_peer_hosts (public)server_cluster_peer_hosts Returns a list of all hosts, excluding this host, in the server cluster. |