[Maria-discuss] wsrep problem with dns names
![](https://secure.gravatar.com/avatar/d0d8c7121f7dbf120c5a8a06243e902b.jpg?s=120&d=mm&r=g)
I am trying to use dns hostnames vs. ip addresses in mariadb container configuration: --wsrep-cluster-address=gcomm://node1.cluster1.mesos,node2.cluster1.mesos.. --wsrep_node_address=node1.cluster1.mesos --wsrep-new-cluster .. but i see galera error: WSREP: Failed to resolve tcp://node1.cluster1.mesos The address "node1.cluster1.mesos" i can ping 64 bytes from node-x (10.10.30.1): icmp_seq=1 ttl=64 time=0.023 ms Would it be possible to configure Galera to use dns names? Thanks, -V
![](https://secure.gravatar.com/avatar/0c65dc0ac6187abaea3a690ac1c1ee5b.jpg?s=120&d=mm&r=g)
On Tue, Oct 18, 2016 at 4:28 PM, l vic
I am trying to use dns hostnames vs. ip addresses in mariadb container configuration: --wsrep-cluster-address=gcomm://node1.cluster1.mesos,node2. cluster1.mesos.. --wsrep_node_address=node1.cluster1.mesos --wsrep-new-cluster .. but i see galera error: WSREP: Failed to resolve tcp://node1.cluster1.mesos The address "node1.cluster1.mesos" i can ping 64 bytes from node-x (10.10.30.1): icmp_seq=1 ttl=64 time=0.023 ms
Would it be possible to configure Galera to use dns names?
Hostnames should work. I would check if selinux isn't causing this. Best, Nirbhay
Thanks, -V
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
![](https://secure.gravatar.com/avatar/ba1921a5a598cdf39826705772eb8df2.jpg?s=120&d=mm&r=g)
You need to make us of wsrep_node_name and make sure the gcomm address matches the name given in wsrep_node_name. -Erik- On 10/18/2016 11:46 PM, Nirbhay Choubey wrote:
On Tue, Oct 18, 2016 at 4:28 PM, l vic
mailto:lvic4594@gmail.com> wrote: I am trying to use dns hostnames vs. ip addresses in mariadb container configuration: --wsrep-cluster-address=gcomm://node1.cluster1.mesos,node2.cluster1.mesos.. --wsrep_node_address=node1.cluster1.mesos --wsrep-new-cluster .. but i see galera error: WSREP: Failed to resolve tcp://node1.cluster1.mesos The address "node1.cluster1.mesos" i can ping 64 bytes from node-x (10.10.30.1): icmp_seq=1 ttl=64 time=0.023 ms
Would it be possible to configure Galera to use dns names?
Hostnames should work. I would check if selinux isn't causing this.
Best, Nirbhay
Thanks, -V
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss https://launchpad.net/%7Emaria-discuss Post to : maria-discuss@lists.launchpad.net mailto:maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss https://launchpad.net/%7Emaria-discuss More help : https://help.launchpad.net/ListHelp https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
![](https://secure.gravatar.com/avatar/d0d8c7121f7dbf120c5a8a06243e902b.jpg?s=120&d=mm&r=g)
do you mean "wsrep-node-address" option? i have --wsrep-node-address=node1.
cluster1.mesos
On Wed, Oct 19, 2016 at 10:58 AM, Erik Mathis wrote: You need to make us of wsrep_node_name and make sure the gcomm address
matches the name given in wsrep_node_name. -Erik- On 10/18/2016 11:46 PM, Nirbhay Choubey wrote: On Tue, Oct 18, 2016 at 4:28 PM, l vic I am trying to use dns hostnames vs. ip addresses in mariadb container
configuration:
--wsrep-cluster-address=gcomm://node1.cluster1.mesos,node2.c
luster1.mesos..
--wsrep_node_address=node1.cluster1.mesos
--wsrep-new-cluster
..
but i see galera error:
WSREP: Failed to resolve tcp://node1.cluster1.mesos
The address "node1.cluster1.mesos" i can ping
64 bytes from node-x (10.10.30.1): icmp_seq=1 ttl=64 time=0.023 ms Would it be possible to configure Galera to use dns names? Hostnames should work. I would check if selinux isn't causing this. Best,
Nirbhay Thanks,
-V _______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp _______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp _______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to : maria-discuss@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-discuss
More help : https://help.launchpad.net/ListHelp
participants (3)
-
Erik Mathis
-
l vic
-
Nirbhay Choubey