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

Linking a service at runtime to an xpandmon doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.5.17, 6.2.0
    • 2.5.18, 6.2.1
    • xpandmon
    • None

    Description

      When a service is linked to a xpandmon monitor which has already discovered all the nodes, the existing servers (dynamic nodes created by xpandmon) don't seem to be added to the service. This causes the service to have no servers in it.

      With a monitor like this in the configuration:

      [Xpand-Monitor]
      type=monitor
      module=xpandmon
      user=user
      password=pw
      servers=bootstrap
      monitor_interval=2000
      

      and with a service created like this:

      maxctrl create service Xpand-Service readwritesplit user=user password=password
      maxctrl link service Xpand-Service Xpand-Monitor
      maxctrl create listener Xpand-Service Xpand-Listener 4006
      

      If xpandmon has already discovered all nodes, the servers won't be added to the service and as a result, it behaves as if it had no nodes. A workaround to this is to unlink and link the bootstrap server to the monitor.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.