server_cluster_peer_hosts

one of the documented procedures in this installation of the ACS
Usage:
server_cluster_peer_hosts
What it does:
Returns a list of all hosts, excluding this host, in the server cluster.
Defined in: /web/philip/tcl/ad-server-cluster.tcl

Source code:


    set peer_hosts [list]
    set my_ip [ns_config ns/server/[ns_info server]/module/nssock Address]

    foreach host [server_cluster_all_hosts] {
	if { $host != $my_ip } {
	    lappend peer_hosts $host
	}
    }

    return $peer_hosts


philg@mit.edu