Reputation: 42758
I have 2 nodes inside a riak ring. I tend to add third node
ubuntu@ip-172-30-1-252:~/riak$ sudo riak-admin status | grep ring_members
ring_members : ['[email protected]','[email protected]']
ubuntu@ip-172-30-1-252:~/riak$ sudo riak-admin cluster join [email protected]
Failed: This node is already a member of a cluster
ubuntu@ip-172-30-1-252:~/riak$
But, in my 172.30.1.249
, it doesn't join any other cluster.
ubuntu@ip-172-30-1-249:~/riak$ sudo riak-admin cluster leave
Failed: '[email protected]' is the only member.
I event try to start and stop again.
ubuntu@ip-172-30-1-249:~/riak$ sudo riak stop
ok
ubuntu@ip-172-30-1-249:~/riak$ sudo riak start
!!!!
!!!! WARNING: ulimit -n is 1024; 65536 is the recommended minimum.
!!!!
ubuntu@ip-172-30-1-249:~/riak$
But, I'm keep getting Failed: This node is already a member of a cluster when I try to execute join
command from 172.30.1.252
Any idea?
Upvotes: 1
Views: 484
Reputation: 3153
Execute join from 172.30.1.249.
sudo riak-admin cluster join [email protected]
Riak is right, 172.30.1.252 is already a member of ['[email protected]','[email protected]'].
Upvotes: 1