Membase setup
Sun, 11/20/2011 - 20:18
Hello,
I was playing with membase and here is what i encountered. I had a VMWare Centos membase instance which didnt want to work with a Windows 7 membase instance.
Then, i wanted to join another virtual server with different memory and hdd size and that failed as well.
Is it possible to get membase to work with servers that have different hardware configurations or the hardware for all the instances should be same, including the memory and disk space?
As far as memcached, there is no such requirement.
Cross platform clusters is something that is not QA tested but i have seen it work. When adding nodes to the cluster - membase will only allow the new node to join if it can meet the per node memory quota that was set when the cluster was initialized.
As a example.
If your win7 machine has 8gb of ram and your centos Instance 1gb.
If you create the cluster initially off of the centos instance setting the per node memory quota to 256mb than the win7 machine can join the cluster and your total available memory will be 512mb.
if you create the cluster initially off the win7 instance and go with the defaults suggested by membase, your per server memory quota will likely be around 6gb. Since the centos vm only has 1gb total - it will not be able to join the cluster.
The thing to keep in mind when trying to create a membase cluster with different hardware configurations - the thing to keep in mind is that you need to size it to the lowest common denominator.
hope this helps
-Alex.