Yeah, I know it's a pretty ancient version. I just spoke to John Kaiser on the phone and I've also been in touch with Tyler Hannan via Twitter. If we need to get you guys on a WebEx maybe that's the best route to take.
In the meantime I was looking at the erlang shell as a possible way to clean things up. Obviously it's not a bad thing that modifying the ring directly should be a little difficult. ________________________________ From: bryan hunt <[email protected]> Sent: Wednesday, August 20, 2014 2:43 PM To: Riak Users Mailing List Cc: Sebastian Wittenkamp Subject: Re: How to call riak_core_ring:remove_member/3 from erlang shell? Hi Sebastian, Wow that’s a really old version, I know with modern versions the ring file can be nuked at the expense of a ton of transfer activity when you join the nodes back into a single cluster, shouldn’t lose data though. Anyone want to chime in with an opinion on this version ? Bryan On 20 Aug 2014, at 20:28, Sebastian Wittenkamp <[email protected]<mailto:[email protected]>> wrote: Hi Bryan, thanks for getting back to me. We are running riak as a service on CentOS. We are running individual VMs with a riak node on each VM. We are running version 1.0.0 (yeah, I know...). Regarding the -name parameter, it may be helpful to understand what happened here: One of our customer cloned 3 VMs running a riak cluster. He accidentally booted up the three new VMs with the network interfaces hot before he had a chance to re-ip them. The nodes joined themselves to the existing cluster and things went south. He changed the -name parameter to be something distinct for each node it may have been done after the nodes were already joined to the cluster. When we did a 'riak member_status' we see output that looks like this: ================================= Membership ================================== Status Ring Pending Node ------------------------------------------------------------------------------- valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' valid 25.0% 25.0% '[email protected]<mailto:[email protected]>' I looked at the docs you sent me and I think the version we are running is too old to have the 'riak-admin cluster replace' command. I'm wondering - if we nuke the ring metadata on all the nodes that shouldn't cause any data loss, correct? Thanks so much! Let me know if there is any other information I can provide. ________________________________ From: Bryan Hunt <[email protected]<mailto:[email protected]>> Sent: Wednesday, August 20, 2014 1:08 AM To: Sebastian Wittenkamp Subject: Re: How to call riak_core_ring:remove_member/3 from erlang shell? How are you running Riak? Are you running individual vm's, using 'make devrel', or other? What version are you running? Have you set the -name parameter in vm.args to a different value for each node in your cluster? This page gives information about ring manipulation and should provide you with what you need to get back up and running: http://docs.basho.com/riak/latest/ops/building/basic-cluster-setup/<https://urldefense.proofpoint.com/v1/url?u=http://docs.basho.com/riak/latest/ops/building/basic-cluster-setup/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=mKLLfkIoppjl22HKAMtieO7NTIwgO3DfIxjXm6OMceM%3D%0A&m=VrUPKp5fhh8AT5MTANLOnsE0%2FWkO%2FaLQpcp7ugAym0Q%3D%0A&s=664df0f9da1b5c20f06fce8dac126865e5939729ff492d7ee81dec557765f012> On 19 Aug 2014 22:54, "Sebastian Wittenkamp" <[email protected]<mailto:[email protected]>> wrote: Hello all, riak shell newbie here. I have a cluster running Riak 1.0.0 which is showing duplicate entries in its ring_member list. E.g. I have '[email protected]<mailto:[email protected]>' listed multiple times when I do 'riak-admin member_status'. If I tell the node to leave or force-remove it, only one entry is removed from the list. >From looking at the docs it appears that there's a function >http://basho.github.io/riak_core/riak_core_ring.html#remove_member-3<https://urldefense.proofpoint.com/v1/url?u=http://basho.github.io/riak_core/riak_core_ring.html%23remove_member-3&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=mKLLfkIoppjl22HKAMtieO7NTIwgO3DfIxjXm6OMceM%3D%0A&m=VrUPKp5fhh8AT5MTANLOnsE0%2FWkO%2FaLQpcp7ugAym0Q%3D%0A&s=1f6724f4fd24b43356f0cf2d0051dec5accf4a629b45772cc311e49789e1e86e> > which can be used to remove a member from the ring. I'm wondering how to call >that from an erlang shell and also if that's the best/only option? Basically, I just want to forcibly remove the node through any means necessary. Please let me know if more information is needed. Thanks in advance. _______________________________________________ riak-users mailing list [email protected]<mailto:[email protected]> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com<https://urldefense.proofpoint.com/v1/url?u=http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=mKLLfkIoppjl22HKAMtieO7NTIwgO3DfIxjXm6OMceM%3D%0A&m=VrUPKp5fhh8AT5MTANLOnsE0%2FWkO%2FaLQpcp7ugAym0Q%3D%0A&s=46277e7b0be20103ba5e01d88e0da40704e069258085d2e592bbbb8fb7528081>
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
