Cluster Tool
Connection¶
ClusterTool connects to the Consensus Module using the same IPC streams as the Clustered Service. It looks up the Channel, Consensus Module streamId and Service streamId in the Cluster Mark File. Then it creates a (Concurrent) Publication to the Consensus Module and a Subscription to the Service stream, as though it was the Clustered Service. It shares the same IPC log buffers as used by the Clustered Service.
ClusterTool sends requests to the Consensus Module via its Consensus Module Publication and receives responses on the Service Subscription. While ClusterTool is running, both ClusterTool and the Clustered Service will receive the same Service messages from the Consensus Module, but they each care about a different, mutually exclusive set of messages.
todo: maybe move the list of actions here from messages/log.md