curl -H "Accept: text/plain" http://127.0.0.1:8098/stats
# Add the node to the cluster
riak-admin cluster join ${NODE}
# Create a plan to see how the new ring will be laid out
riak-admin cluster plan
# Commit the plan
riak-admin cluster commit
# Remove a node from the cluster
riak-admin cluster leave ${NODE}
riak-admin transfers # ensure cluster is in good state
riak-admin member-status # get status of all cluster members
http://docs.basho.com/riak/kv/2.2.3/using/security/
desc | port |
---|---|
epmd listener | TCP:4369 |
handoffport listener | TCP:8099 |
internode communication | TCP:6000-7999 |
protocol buffers | TCP:8087 |
HTTP | TCP:8098 |
Note - this is an undocumented interface in the C memcached server
# get slab info
stats items
# get dump of slab
stats cachedump SLAB LIMIT
telnet host 11211
require 'dalli'
dc = Dalli::Client.new('localhost:11211')
dc.set('foo', 'bar')
dc.get('foo')