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

status variable wsrep_incoming_addresses unmatch with wsrep_cluster_address in cnf file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not a Bug
    • Affects Version/s: 5.5.34-galera
    • Fix Version/s: 5.5.35
    • Component/s: None
    • Labels:
    • Environment:
      centos 6.5 x64, MariaDB-Galera-server-5.5.34-1.x86_64

      Description

      4 node cluster, eth0 is 100mbps,eth1 1Gbps
      node 1 : eth0 192.168.6.61/24,eth1 192.168.10.61/24
      node 2 : eth0 192.168.6.62/24,eth1 192.168.10.62/24
      node 3 : eth0 192.168.6.63/24,eth1 192.168.10.63/24
      node 4 : eth0 192.168.6.64/24,eth1 192.168.10.64/24

      wsrep_cluster_address="gcomm://192.168.10.61,192.168.10.62,192.168.10.63,192.168.10.64"

      cluster running ok. but:

      1. mysql -e "show status like 'wsrep%'" | grep address
        wsrep_incoming_addresses 192.168.6.62:3306,192.168.6.61:3306,192.168.6.63:3306,192.168.10.64:3306

      may be it should be 10.6x ,not 6.6x

      regards

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Nirbhay,
            Could you please take a look and see whether there is anything to fix?
            Thanks.

            Show
            elenst Elena Stepanova added a comment - Nirbhay, Could you please take a look and see whether there is anything to fix? Thanks.
            Hide
            agreatwar wx added a comment -

            i will check it when i upgrade to 5.5.35.

            regards

            Show
            agreatwar wx added a comment - i will check it when i upgrade to 5.5.35. regards
            Hide
            nirbhay_c Nirbhay Choubey added a comment -

            While wsrep_cluster_address has to be specified at the node start,
            wsrep_incoming_addresses is internally determined during the initialization.
            On linux operation systems, the command that is used to determine the IP
            address picks the first available global IP address from the list of interfaces.

            ip addr show | grep '^\s*inet' | grep -m1 global | awk '

            {print $2 }

            ' | sed 's/\/.*//'

            Show
            nirbhay_c Nirbhay Choubey added a comment - While wsrep_cluster_address has to be specified at the node start, wsrep_incoming_addresses is internally determined during the initialization. On linux operation systems, the command that is used to determine the IP address picks the first available global IP address from the list of interfaces. ip addr show | grep '^\s*inet' | grep -m1 global | awk ' {print $2 } ' | sed 's/\/.*//'

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                agreatwar wx
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: