- Publicity: Public Only All
cluster-procs.tcl
This file defines the following Objects and Classes: ::acs::Cluster, ::acs::cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster, ::acs::Cluster
- Location:
- packages/acs-tcl/tcl/cluster-procs.tcl
Procedures in this file
- Class ::acs::Cluster (public)
- Object ::acs::cluster (public)
- acs::Cluster instproc allowed_command (protected)
- acs::Cluster instproc broadcast (public)
- acs::Cluster instproc check_state (public)
- acs::Cluster instproc current_server_is_canonical_server (public)
- acs::Cluster instproc current_server_is_dynamic_cluster_peer (public)
- acs::Cluster instproc current_server_locations (protected)
- acs::Cluster instproc disconnect_request (public)
- acs::Cluster instproc dynamic_cluster_nodes (public)
- acs::Cluster instproc dynamic_cluster_reconfigure (public)
- acs::Cluster instproc execute (protected)
- acs::Cluster instproc external_location (protected)
- acs::Cluster instproc incoming_request (public)
- acs::Cluster instproc init (protected)
- acs::Cluster instproc is_canonical_server (public)
- acs::Cluster instproc is_configured_server (protected)
- acs::Cluster instproc is_current_server (protected)
- acs::Cluster instproc join_request (public)
- acs::Cluster instproc last_contact (public)
- acs::Cluster instproc last_request (public)
- acs::Cluster instproc log (protected)
- acs::Cluster instproc map_inaddr_any (protected)
- acs::Cluster instproc ns_http_send (protected)
- acs::Cluster instproc peer_nodes (protected)
- acs::Cluster instproc preauth (public)
- acs::Cluster instproc preferred_location (protected)
- acs::Cluster instproc qualified_location (public)
- acs::Cluster instproc reachable (protected)
- acs::Cluster instproc register_nodes (public)
- acs::Cluster instproc secret (protected)
- acs::Cluster instproc secret_configured (public)
- acs::Cluster instproc send (public)
- acs::Cluster instproc send_disconnect_request_to_canonical_server (public)
- acs::Cluster instproc send_dynamic_cluster_reconfigure_request (protected)
- acs::Cluster instproc send_join_request_to_canonical_server (public)
- acs::Cluster instproc setup (public)
- acs::Cluster instproc update_node_info (public)
- acs::Cluster instproc {message decode} (protected)
- acs::Cluster instproc {message encode} (protected)
- acs::Cluster instproc {message sign} (protected)
- acs::Cluster instproc {message verify} (protected)
Detailed information
Class ::acs::Cluster (public)
::nx::Class ::acs::Cluster
Class for managing a cluster of OpenACS nodes
- Testcases:
- No testcase defined.
Object ::acs::cluster (public)
::acs::Cluster ::acs::cluster
Configured cluster object, keeping the state of the cluster configuration. The interaction with the cluster is performed over this object.
- See Also:
- Class ::acs:Cluster
- ::acs::cluster send_join_request_to_canonical_server
- ::acs::cluster join_request /peerLocation/
- ::acs::cluster setup
- ::acs::cluster preauth ?/arg .../?
- ::acs::cluster is_canonical_server /location/
- ::acs::cluster current_server_is_canonical_server
- ::acs::cluster send ?-delivery /value/? /location/ ?/arg .../?
- ::acs::cluster secret_configured
- ::acs::cluster last_request /location/
- ::acs::cluster incoming_request
- ::acs::cluster dynamic_cluster_nodes
- ::acs::cluster send_disconnect_request_to_canonical_server
- ::acs::cluster disconnect_request /peerLocation/
- ::acs::cluster update_node_info
- ::acs::cluster broadcast ?/arg .../?
- ::acs::cluster qualified_location /location/
- ::acs::cluster current_server_is_dynamic_cluster_peer
- ::acs::cluster register_nodes ?-startup?
- ::acs::cluster message ...
- ::acs::cluster check_state
- ::acs::cluster dynamic_cluster_reconfigure /operation/ /qualifiedLocation/
- ::acs::cluster last_contact /location/
- Testcases:
- No testcase defined.
acs::Cluster method allowed_command (protected)
<instance of acs::Cluster> allowed_command cmd
Check, which command are allowed to be executed in the cluster. ns_log notice "--cluster allowed [dict keys ${:allowed_command}]?"
- Parameters:
- cmd (required)
- Testcases:
- No testcase defined.
acs::Cluster method broadcast (public)
<instance of acs::Cluster> broadcast args [ args... ]
Send requests to all cluster peers.
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
acs::Cluster method check_state (public)
<instance of acs::Cluster> check_state
Check the livelyness of the dynamic cluster nodes. This method is intended to be run on the canonical server only, since it might update the DynamicClusterPeers via acs::clusterwide.
- Testcases:
- No testcase defined.
acs::Cluster method current_server_is_canonical_server (public)
<instance of acs::Cluster> current_server_is_canonical_server
Check, if the current server is the canonical_server.
- Testcases:
- No testcase defined.
acs::Cluster method current_server_is_dynamic_cluster_peer (public)
<instance of acs::Cluster> current_server_is_dynamic_cluster_peer
We are a dynamic cluster peer, when we are not the canonical server neither isted in the static server locations.
- Testcases:
- No testcase defined.
acs::Cluster method current_server_locations (protected)
<instance of acs::Cluster> current_server_locations \ [ -network_drivers network_drivers ]
Return a list of valid locations of the current server. Since "ns_driver info" is not yet available at the time, the *-init files are loaded, this method goes a long way to check for properties of all of the loaded modules. Network drivers with empty "port" or port == 0 are ignored.
- Switches:
- -network_drivers (optional, defaults to
"nssock nsssl nsudp"
)- Testcases:
- No testcase defined.
acs::Cluster method disconnect_request (public)
<instance of acs::Cluster> disconnect_request peerLocation
Server received a request to disconnect $peerLocation from dynamic cluster nodes.
- Parameters:
- peerLocation (required)
- Testcases:
- No testcase defined.
acs::Cluster method dynamic_cluster_nodes (public)
<instance of acs::Cluster> dynamic_cluster_nodes
Convenience function returning the list of dynamic cluster nodes.
- Testcases:
- No testcase defined.
acs::Cluster method dynamic_cluster_reconfigure (public)
<instance of acs::Cluster> dynamic_cluster_reconfigure operation \ qualifiedLocation
Reconfigure the cluster via "join" or "disconnect" operation, when running on the canonical server. The result of the reconfiguration is a changed list of DynamicClusterPeers. The method returns a boolean value indicating success.
- Parameters:
- operation (required)
- qualifiedLocation (required)
- Testcases:
- No testcase defined.
acs::Cluster method execute (protected)
<instance of acs::Cluster> execute messageDict
:log execute $messageDict
- Parameters:
- messageDict (required)
- Testcases:
- No testcase defined.
acs::Cluster method external_location (protected)
<instance of acs::Cluster> external_location qualified_location
For addresses communicated to container-external entities, we have to map container-internal IP addresses to external accessible addresses.
- Parameters:
- qualified_location (required)
- Testcases:
- No testcase defined.
acs::Cluster method incoming_request (public)
<instance of acs::Cluster> incoming_request
We received an incoming request from a cluster peer.
- Testcases:
- No testcase defined.
acs::Cluster method init (protected)
<instance of acs::Cluster> init
- Testcases:
- No testcase defined.
acs::Cluster method is_canonical_server (public)
<instance of acs::Cluster> is_canonical_server location
Check, if provided location belongs to the canonical server specs. The canonical server might listen on multiple protocols, IP addresses and ports.
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method is_configured_server (protected)
<instance of acs::Cluster> is_configured_server locations
Check, if one of the provided locations is in the currently configured cluster nodes.
- Parameters:
- locations (required)
- Testcases:
- No testcase defined.
acs::Cluster method is_current_server (protected)
<instance of acs::Cluster> is_current_server location
Check, if the provided location is the current server. We expect the that the method "setup" was already called.
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method join_request (public)
<instance of acs::Cluster> join_request peerLocation
Server received a request to join dynamic cluster nodes from $peerLocation. ns_log notice "Server received a join request" ns_log notice "... ns_conn host <[ns_conn host]> peer <[ns_conn peeraddr]>" ns_log notice "... ns_conn port <[ns_conn port]> peerport <[ns_conn peerport]>" ns_log notice "... peerLocation <$peerLocation> qualified [:qualified_location $peerLocation]" set headers [join [lmap {key value} [ns_set array [ns_conn headers]] {set _ "$key: $value\n... "}]] ns_log notice "... headers $headers"
- Parameters:
- peerLocation (required)
- Testcases:
- No testcase defined.
acs::Cluster method last_contact (public)
<instance of acs::Cluster> last_contact location
Return the milliseconds since the last contact with the denoted server. If there is no data available, the return values is empty.
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method last_request (public)
<instance of acs::Cluster> last_request location
Return the milliseconds since the last request from the denoted server. If there is no data available, the return values is empty.
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method log (protected)
<instance of acs::Cluster> log args [ args... ]
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
acs::Cluster method map_inaddr_any (protected)
<instance of acs::Cluster> map_inaddr_any [ -dict ] location
When the preferred location match returns INADDR_ANY, map it to "localhost" (which is certainly a valid member in this range, valid for IPv4 and IPv6).
- Switches:
- -dict (optional)
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method ns_http_send (protected)
<instance of acs::Cluster> ns_http_send location args \ [ args... ]
:log "outgoing ns_http request to $location // $args"
- Parameters:
- location (required)
- args (required)
- Testcases:
- No testcase defined.
acs::Cluster method peer_nodes (protected)
<instance of acs::Cluster> peer_nodes dynamic_peers
Determine the peer nodes of the server cluster. These are cluster nodes which will receive intra-server commands.
- Parameters:
- dynamic_peers (required)
- Testcases:
- No testcase defined.
acs::Cluster method preauth (public)
<instance of acs::Cluster> preauth args [ args... ]
Process no more pre-authorization filters for this connection (avoid running of expensive filters). ns_log notice "PREAUTH returns filter_break"
- Parameters:
- args (required)
- Testcases:
- No testcase defined.
acs::Cluster method preferred_location (protected)
<instance of acs::Cluster> preferred_location locations
Return the preferred location.
- Parameters:
- locations (required)
- Testcases:
- No testcase defined.
acs::Cluster method qualified_location (public)
<instance of acs::Cluster> qualified_location location
Return a canonical representation of the provided location, where the DNS name is resolved and the protocol and port is always included. When there is no protocol provided, HTTP is assumed. Provide defaults, when no port is included in the passed-in location. Note, that there is no default provided for non-HTTP* locations, so these must contain the port.
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method reachable (protected)
<instance of acs::Cluster> reachable location
:log "reachable $location"
- Parameters:
- location (required)
- Testcases:
- No testcase defined.
acs::Cluster method register_nodes (public)
<instance of acs::Cluster> register_nodes [ -startup ]
Register the defined cluster nodes by creating/recreating cluster node objects.
- Switches:
- -startup (optional, defaults to
"false"
)- Testcases:
- No testcase defined.
acs::Cluster method secret (protected)
<instance of acs::Cluster> secret
Return secret used for signing messages
- Testcases:
- No testcase defined.
acs::Cluster method secret_configured (public)
<instance of acs::Cluster> secret_configured
Check, whether the secret for signing messages in the intra-cluster talk is configured. More checks for different secret definition methods might be added.
- Testcases:
- No testcase defined.
acs::Cluster method send (public)
<instance of acs::Cluster> send [ -delivery delivery ] location \ args [ args... ]
Send a command by different means to the cluster node for intra-server talk. Valid delivery methods are - ns_http (for HTTP and HTTPS) - connchan (for HTTP and HTTPS) - udp (plain UDP only)
- Switches:
- -delivery (optional, defaults to
"ns_http"
)- Parameters:
- location (required)
- args (required)
- Testcases:
- No testcase defined.
acs::Cluster method send_disconnect_request_to_canonical_server (public)
<instance of acs::Cluster> send_disconnect_request_to_canonical_server
Send a disconnect request to the canonical server.
- Testcases:
- No testcase defined.
acs::Cluster method send_dynamic_cluster_reconfigure_request (protected)
<instance of acs::Cluster> send_dynamic_cluster_reconfigure_request \ operation
Send a cluster reconfigure request to the canonical server.
- Parameters:
- operation (required)
- Testcases:
- No testcase defined.
acs::Cluster method send_join_request_to_canonical_server (public)
<instance of acs::Cluster> send_join_request_to_canonical_server
Send a join request to the canonical server.
- Testcases:
- No testcase defined.
acs::Cluster method setup (public)
<instance of acs::Cluster> setup
Setup object specific variables. Make sure to call this method, when the called procs are available. Make sure the container support is initialized
- Testcases:
- No testcase defined.
acs::Cluster method update_node_info (public)
<instance of acs::Cluster> update_node_info
Update cluster configuration when the when the configuration variables changed, or when nodes become available/unavailable after some time. Typically, this method is called via scheduled procedure every couple of seconds when clustering is enabled.
- Testcases:
- No testcase defined.
acs::Cluster method message decode (protected)
<instance of acs::Cluster> message decode
Return a dict of the decoded message TODO: add timestamp?
- Testcases:
- No testcase defined.
acs::Cluster method message encode (protected)
<instance of acs::Cluster> message encode cmd
- Parameters:
- cmd (required)
- Testcases:
- No testcase defined.
acs::Cluster method message sign (protected)
<instance of acs::Cluster> message sign message
Return signature for message :log "message sign: $message"
- Parameters:
- message (required)
- Testcases:
- No testcase defined.
acs::Cluster method message verify (protected)
<instance of acs::Cluster> message verify message signature
Verify if the signature of the message is ok and return boolean value. :log "message verify {$message $signature}"
- Parameters:
- message (required)
- signature (required)
- Testcases:
- No testcase defined.