[MXS-2428] It should be possible to use the Clustrix monitor with a fixed set of servers. Created: 2019-04-08  Updated: 2019-04-16  Resolved: 2019-04-16

Status: Closed
Project: MariaDB MaxScale
Component/s: xpandmon
Affects Version/s: None
Fix Version/s: 2.4.0

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-80

 Description   

The Clustrix monitor autonomously detects the nodes in a cluster and populates services referring to it with the corresponding server objects. Sometimes you want more direct control over what nodes (and ports) should be used. The following should be possible:

[Node-1]
type=server
address=...
port=...
protocol=mariadbbackend
 
[Node-2]
...
 
[Node-3]
...
 
[TheMonitor]
type=monitor
module=clustrixmon
servers=Node-1, Node-2, Node-3
...
dynamic_node_detection=false
 
[TheService]
type=service
router=readconnroute
...
cluster=TheMonitor

The dynamic_node_detection=false in the monitor section would have the effect that the monitor does not dynamically figure out the structure of the Cluster, but simply uses the servers it has been configured with as such.

That is, the servers the Clustrix monitor has been configured with are not used as bootstrap server from which the Cluster configuration is queried, but as the very nodes the monitor should make available to services.


Generated at Thu Feb 08 04:14:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.