[Maria-discuss] wsrep problem with dns names
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
On Tue, Oct 18, 2016 at 4:28 PM, l vic <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 Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
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 <lvic4594@gmail.com <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
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 <erik.mathis@tritondigital.com
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 <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.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