Redis luster is not starting

25 views
Skip to first unread message

Akmal Abbasov

unread,
Jun 28, 2015, 6:56:52 AM6/28/15
to redi...@googlegroups.com
Hi, I am trying to start redis cluster in 2 VMs. I am using the sam configs as in redis cluster tutorial.
the config of each instance is as follows
port 700x
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
appendonly yes
I am starting 3 redis instances in each VM.
but, when I create cluster using redis-trib, I am getting infinite waiting to join.






is there any issue with my config?

Jan-Erik Rediger

unread,
Jun 29, 2015, 3:43:50 AM6/29/15
to redi...@googlegroups.com
Can they actually reach each other?
Can you connect to each node individually?

On Sun, Jun 28, 2015 at 03:56:52AM -0700, Akmal Abbasov wrote:
> Hi, I am trying to start redis cluster in 2 VMs. I am using the sam configs
> as in redis cluster tutorial.
> the config of each instance is as follows
>
> port 700x
> cluster-enabled yes
> cluster-config-file nodes.conf
> cluster-node-timeout 5000
> appendonly yes
>
> I am starting 3 redis instances in each VM.
> but, when I create cluster using redis-trib, I am getting infinite waiting
> to join.
>
> <https://lh3.googleusercontent.com/-8WAZ4fwF4Yk/VY_SZh_TDcI/AAAAAAAAABo/Sl9sABLbB_8/s1600/screenshot.png>
>
>
>
>
>
> is there any issue with my config?
>
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.

Akmal Abbasov

unread,
Jun 29, 2015, 6:54:44 AM6/29/15
to redi...@googlegroups.com, jan...@fnordig.de
yes, I can ping vm1 from vm2 and vice versa. Also I've checked the ports using the telnet, and they also open.
I solved problem by replacing 127.0.0.1:port to actual ip_address of the node I am running redis-trib script.
so instead of running
I run
and it worked?
is it supposed to behave like this?

Jan-Erik Rediger

unread,
Jun 29, 2015, 8:15:13 AM6/29/15
to redi...@googlegroups.com
Yes, of course. 127.0.0.1 is localhost, so that is not reachable from
other hosts.
> > an email to redis-db+u...@googlegroups.com <javascript:>.
> > > To post to this group, send email to redi...@googlegroups.com
> > <javascript:>.
Reply all
Reply to author
Forward
0 new messages