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

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_schedule_proc ad_schedule_proc (test acs-tcl) ad_canonical_server_p ad_canonical_server_p test_ad_schedule_proc->ad_canonical_server_p server_cluster_enabled_p server_cluster_enabled_p (public) ad_canonical_server_p->server_cluster_enabled_p ad_schedule_proc ad_schedule_proc (public) ad_schedule_proc->ad_canonical_server_p

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.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-admin/www/cluster.tcl packages/acs-admin/ www/cluster.tcl server_cluster_all_hosts server_cluster_all_hosts packages/acs-admin/www/cluster.tcl->server_cluster_all_hosts parameter::get parameter::get (public) server_cluster_all_hosts->parameter::get server_cluster_enabled_p server_cluster_enabled_p (public) server_cluster_all_hosts->server_cluster_enabled_p

Testcases:
No testcase defined.

server_cluster_enabled_p (public)

 server_cluster_enabled_p

Returns true if clustering is enabled.

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_schedule_proc ad_schedule_proc (test acs-tcl) server_cluster_enabled_p server_cluster_enabled_p test_ad_schedule_proc->server_cluster_enabled_p parameter::get parameter::get (public) server_cluster_enabled_p->parameter::get ad_canonical_server_p ad_canonical_server_p (private) ad_canonical_server_p->server_cluster_enabled_p ad_schedule_proc ad_schedule_proc (public) ad_schedule_proc->server_cluster_enabled_p packages/acs-admin/www/cluster.tcl packages/acs-admin/ www/cluster.tcl packages/acs-admin/www/cluster.tcl->server_cluster_enabled_p packages/acs-tcl/tcl/cluster-init.tcl packages/acs-tcl/ tcl/cluster-init.tcl packages/acs-tcl/tcl/cluster-init.tcl->server_cluster_enabled_p server_cluster_all_hosts server_cluster_all_hosts (public) server_cluster_all_hosts->server_cluster_enabled_p

Testcases:
ad_schedule_proc
[ show source ]