Zheng, A 'down' status for a node is different from "unreachable" or "partitioned". It's quite possible (to the node you are running riak-admin from) that dev2 and dev3 are still actively up and running, but not partitioned from the rest of the cluster due to other networking reasons.
When at least one node is partitioned from the rest of the cluster, various ring membership actions cannot be performed. For example, you can't add or remove a node from the cluster. When you - the admin - know that a node has crashed, gone offline, or will be partitioned from the rest of the ring for a prolonged period of time, you can mark a given node as 'down' using riak-admin: $ riak-admin down [email protected] Success: "[email protected]" marked as down $ riak-admin member_status Status Ring Pending Node -------------------------- down 100.0% -- '[email protected]' valid 0.0% -- '[email protected]' --------------------------- Valid:1 / Leaving:0 / Exiting:0 / Joining:0 / Down:1 Notice now how there is one node 'valid' and another 'down'. Once dev2 is no longer partitioned from the rest of the cluster, it will automatically have its status changed back to 'valid'. Hope this helps, -- Jeff Massung Basho Technologies, Inc. On Dec 18, 2011, at 9:21 AM, Zheng Zhibin wrote: > Dear all, > > There is a problem of riak-admin member_status I found, please find my > actions below: > > [一 12 19 zhengzhibin@ZhengmatoMacBook-Air ~/riak/dev]$dev1/bin/riak-admin > member_status > ================================= Membership > ================================== > Status Ring Pending Node > ------------------------------------------------------------------------------- > valid 34.4% -- '[email protected]' > valid 32.8% -- '[email protected]' > valid 32.8% -- '[email protected]' > ------------------------------------------------------------------------------- > Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 > [一 12 19 zhengzhibin@ZhengmatoMacBook-Air ~/riak/dev]$dev2/bin/riak ping > Node '[email protected]' not responding to pings. > [一 12 19 zhengzhibin@ZhengmatoMacBook-Air ~/riak/dev]$dev3/bin/riak ping > Node '[email protected]' not responding to pings. > [一 12 19 zhengzhibin@ZhengmatoMacBook-Air ~/riak/dev]$dev1/bin/riak-admin > member_status > ================================= Membership > ================================== > Status Ring Pending Node > ------------------------------------------------------------------------------- > valid 34.4% -- '[email protected]' > valid 32.8% -- '[email protected]' > valid 32.8% -- '[email protected]' > ------------------------------------------------------------------------------- > Valid:3 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 > [一 12 19 zhengzhibin@ZhengmatoMacBook-Air ~/riak/dev]$ > > > > Can anyone tell me why there is no 'Down' Count in the riak-admin > member_status? Actually there aretwo down node in this cluster 'dev2' and > 'dev3'. > > Best Regards, > Witeman Zheng > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
