On 2013-11-11 15:26, SyRenity wrote:
> Also, how to connect the nodes back to garbd?
>
> Just adding it's IP in the end of wsrep_urls does not works as the node
> tries to get the state from garbd, and shuts down.
>
> Thanks.
>
> On Monday, November 11, 2013 3:24:37 PM UTC+2, SyRenity wrote:
>>
>> Hi,
>>
>> Is it possible to point garbd to two nodes (in two node deployment):
>> garbd -d -a gcomm://IP1, IP2 -g cluster0
>>
>> And have it synch with the one that currently up?
>>
>> Thanks.
>>
1) Come on! ;) You already have a command line (albeit with a stray
space in the address list), why don't just hit it?
2) garbd is not a full-fledged node. It can help with quorum or message
relaying, but it does not have a state. So if it is the last man
standing, you don't want to connect to it - it is likely to be of no
use, especially if it saw a more advanced node before: it knows that the
joiner is out of date, but it can't help it in any way. If it is not the
last one, then there is no point to connect to it as well: there are
other nodes.
So, no, you don't connect your nodes to garbd, only the other way
around. And so you don't put its address into wsrep_cluster_address
list.
Regards,
Alex
--
Alexey Yurchenko,
Codership Oy,
www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011