Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-17623

Cannot Initialize a New Cluster using /usr/bin/galera_new_cluster

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.10
    • Fix Version/s: N/A
    • Component/s: Documentation, Galera
    • Labels:
    • Environment:
      RedHat Enterprise 7.3

      Description

      I have installed mariadb 10.3.10 rpm version. I established 3 nodes. On the first node, I execute the following command to initialize the cluster:

      # cd /usr/bin
      # ./galera_new_cluster
      

      It was done successfully. However, when I queried the result, it showed the following:

      > mysql -u root
      Welcome to the MariaDB monitor.  Commands end with ; or \g.
      Your MariaDB connection id is 8
      Server version: 10.3.10-MariaDB MariaDB Server
       
      Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
       
      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
       
      MariaDB [(none)]> SHOW STATUS LIKE 'wsrep_%';
      +--------------------------+----------------------+
      | Variable_name            | Value                |
      +--------------------------+----------------------+
      | wsrep_cluster_conf_id    | 18446744073709551615 |
      | wsrep_cluster_size       | 0                    |
      | wsrep_cluster_state_uuid |                      |
      | wsrep_cluster_status     | Disconnected         |
      | wsrep_connected          | OFF                  |
      | wsrep_local_bf_aborts    | 0                    |
      | wsrep_local_index        | 18446744073709551615 |
      | wsrep_provider_name      |                      |
      | wsrep_provider_vendor    |                      |
      | wsrep_provider_version   |                      |
      | wsrep_ready              | OFF                  |
      | wsrep_thread_count       | 0                    |
      +--------------------------+----------------------+
      12 rows in set (0.001 sec)
      

      wsrep_cluster_size is 0, not 1. Why?

        Attachments

          Activity

            People

            • Assignee:
              greenman Ian Gilfillan
              Reporter:
              testjetco Test Jetco
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: