[MDEV-5487] status variable wsrep_incoming_addresses unmatch with wsrep_cluster_address in cnf file Created: 2013-12-24  Updated: 2016-10-13  Resolved: 2014-01-08

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.34-galera
Fix Version/s: 5.5.35

Type: Bug Priority: Trivial
Reporter: wx Assignee: Nirbhay Choubey (Inactive)
Resolution: Not a Bug Votes: 0
Labels: galera
Environment:

centos 6.5 x64, MariaDB-Galera-server-5.5.34-1.x86_64


Issue Links:
Relates
relates to MDEV-11048 Galera / SST Fails when running under... Closed

 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



 Comments   
Comment by Elena Stepanova [ 2013-12-26 ]

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

Comment by wx [ 2014-01-02 ]

i will check it when i upgrade to 5.5.35.

regards

Comment by Nirbhay Choubey (Inactive) [ 2014-01-08 ]

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/\/.*//'

Generated at Thu Feb 08 07:04:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.