Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2428

It should be possible to use the Clustrix monitor with a fixed set of servers.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: xpandmon
    • 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.

        Attachments

          Activity

            People

            Assignee:
            johan.wikman Johan Wikman
            Reporter:
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration