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

I want to access the web site if master server is down.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • readwritesplit
    • None
    • CentOS Linux release 7.2.1511
      maxscale-2.0.0-1.x86_64 ( maxscale-beta-2.0.0-1.centos.7.x86_64.rpm )

    Description

      My /etc/maxscale.cnf is:

      [Read-Write Service]
      router_options=master_failure_mode=error_on_write

      I have two servers:

      server1 | 127.0.0.1 | 3311 | 0 | Slave, Running
      server2 | 127.0.0.1 | 23307 | 0 | Master, Slave of External Server, Running

      I can access the web site at this time.
      Then I stopped the server2.

      server1 | 127.0.0.1 | 3311 | 0 | Slave, Running
      server2 | 127.0.0.1 | 23307 | 0 | Down

      I can still access the web site because of having option error_on_write.
      Then I restarted maxscale daemon.

      server1 | 127.0.0.1 | 3311 | 0 | Running
      server2 | 127.0.0.1 | 23307 | 0 | Down

      I can't access the web site because of database error.
      I want to access the web site if master server is down.

      Attachments

        Activity

          People

            markus makela markus makela
            g980 sava
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.