• Publicity: Public Only All

server-cluster-procs.tcl

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.12 2024/09/11 06:15:48 gustafn Exp $

Procedures in this file

Detailed information

ad_canonical_server_p (private)

 ad_canonical_server_p

Returns true if this is the primary (called historically "canonical") server, false otherwise. This function is e.g. used to determine, whether scheduled procedures are run on the current node.

Returns:
boolean value

Testcases:
ad_schedule_proc

server_cluster_all_hosts (public)

 server_cluster_all_hosts

Returns a list of all hosts in the server cluster, possibly including the current host.

Testcases:
No testcase defined.

server_cluster_enabled_p (public)

 server_cluster_enabled_p

Returns true if clustering is enabled.

Testcases:
ad_schedule_proc
[ show source ]