Is it possible to increase the Membase Cluster size (ie allocated RAM)
Membase Server version 1.7.1
Yes - it definitely is possible assuming of course you have free memory left on your nodes. You can use this command to do so:
This only seems to increase the bucket size, not the total available memory to the cluster right?
So the flushctl allows you to set the max memory quota per node above what it was set to initially. Increasing the per node quota will increase the overall cluster size in terms of allocated/available ram.
I have 37GB "Free" on the cluster but I try this:
/opt/membase/bin/mbflushctl localhost:11211 set max_size 32GB
setting flush param: max_size 32GB
And I get this error in the logs and it doesn't work:
Metadata overhead warning. Over 168383150% of RAM allocated to bucket "default" on node "10.129.36.56" is taken up by keys and metadata. menelaus_web_alerts_srv001 firstname.lastname@example.org 10:58:04 - Wed Nov 2, 2011
I want to increase the over all cluster to take advantage of the "unused" memory:
Our docs need a bit of work, I believe you've set your memory allocation per node to 32bytes.
you would need to run the same command with a max size of: 34359738368
is it possible to increase the over all membase server quota? (not talking about individual buckets) Thx
yes - you can use the membase CLI
and this option specifically: --cluster-init-ramsize
Is there a way to do it on membase 1.7 ? There seems to be no cli interface there also I have no success with :
[root@memstore4 ~]# /opt/membase/bin/mbflushctl localhost:11211 set max_size 64359738368
setting flush param: max_size 64359738368
Traceback (most recent call last):
File "/opt/membase/lib/python/mbflushctl", line 71, in ?
File "/opt/membase/lib/python/clitool.py", line 43, in execute
f(mc, *args[2:], **opts.__dict__)
File "/opt/membase/lib/python/mbflushctl", line 41, in set_param
File "/opt/membase/lib/python/mc_bin_client.py", line 213, in set_flush_param
return self._doCmd(memcacheConstants.CMD_SET_FLUSH_PARAM, key, val)
File "/opt/membase/lib/python/mc_bin_client.py", line 104, in _doCmd
File "/opt/membase/lib/python/mc_bin_client.py", line 97, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File "/opt/membase/lib/python/mc_bin_client.py", line 93, in _handleKeyedResponse
raise MemcachedError(errcode, rv)
mc_bin_client.MemcachedError: Memcached error #129
© 2013 COUCHBASE All rights reserved.