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

Add rebuild server to MariaDB Monitor

    XMLWordPrintable

Details

    • MXS-SPRINT-144, MXS-SPRINT-157, MXS-SPRINT-158, MXS-SPRINT-159, MXS-SPRINT-160, MXS-SPRINT-162

    Description

      It would be nice to add a feature to MaxScale that could rebuild a corrupted machine or automatically build a new replica. That replica should then automatically join an existing cluster. This could be accomplished in a similar method that is used with Galera SST.

      On the current master:

      1. Launch MariaBackup
      2. Create a streaming snapshot of the datadir using xbstream/mbstream
      3. Compress with a utility like pigz for minimal transfer time
      4. Stream to the joiner/replica server with socat.

      On the joining node:

      1. Receive the socat stream
      2. Decompress
      3. Prepare MariaBackup
      4. Find the GTID position
      5. Register with the existing master / MaxScale
      6. Start slave replication

      Attachments

        Issue Links

          Activity

            People

              esa.korhonen Esa Korhonen
              toddstoffel Todd Stoffel (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              7 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.