Configuring vBuckets & Enyim Client
We have completed our first pass integration of Membase with a simple architecture where each application server has a small, stand-alone Membase instance to use for its objects. It's been great, but now we need to plan for the next step, which will require us to deal with 10x the data and introduce redundancy/fail-over.
So I have taken three machines and done a clean installation of 22.214.171.124. I have allocated 512 MB of RAM on each machine and joined all three into a cluster. I am trying to reproduce Dustin Sallings' demonstration configuration.
servers = ['server1:11211', 'server2:11211', 'server3:11211']
vbuckets = [0, 0, 1, 1, 2, 2]
server_for_key(key) = servers[vbuckets[hash(key) % vbuckets.length]]
What Dustin does not share, however, is exactly how he configured these buckets on the cluster/nodes using the web console. Specifically, what kind of buckets do I create? Do they need to be on different ports? Do they need to have special names?
Can anyone help me out here? Even just a good document on the subject.