Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

Increasing the Cluster Size

8 replies [Last post]
  • Login or register to post comments
Tue, 10/25/2011 - 01:39
jasaid
Offline
Joined: 06/22/2011
Groups: None

Is it possible to increase the Membase Cluster size (ie allocated RAM)
Membase Server version 1.7.1

Top
  • Login or register to post comments
Mon, 10/31/2011 - 09:53
alex
Offline
Joined: 08/29/2011
Groups: None

Hi there,

Yes - it definitely is possible assuming of course you have free memory left on your nodes. You can use this command to do so:
http://www.couchbase.org/wiki/display/membase/Membase+Command-line+Inter...

thanks

-Alex

Top
  • Login or register to post comments
Wed, 11/02/2011 - 10:45
enkrypt3d
Offline
Joined: 11/01/2011
Groups: None

This only seems to increase the bucket size, not the total available memory to the cluster right?

Top
  • Login or register to post comments
Wed, 11/02/2011 - 10:55
alex
Offline
Joined: 08/29/2011
Groups: None

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.

Top
  • Login or register to post comments
Wed, 11/02/2011 - 11:03
enkrypt3d
Offline
Joined: 11/01/2011
Groups: None

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 ns_1@10.129.36.56 10:58:04 - Wed Nov 2, 2011

I want to increase the over all cluster to take advantage of the "unused" memory:

http://www.enkrypted.com/membase.png

Top
  • Login or register to post comments
Wed, 11/02/2011 - 11:06
alex
Offline
Joined: 08/29/2011
Groups: None

Hi There,

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

Top
  • Login or register to post comments
Tue, 11/08/2011 - 18:55
enkryp3d
Offline
Joined: 10/28/2011
Groups: None

alex wrote:
Hi There,

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

Top
  • Login or register to post comments
Mon, 11/21/2011 - 17:28
alex
Offline
Joined: 08/29/2011
Groups: None

yes - you can use the membase CLI

http://www.couchbase.org/wiki/display/membase/Membase+Command-line+Inter...
and this option specifically: --cluster-init-ramsize

Top
  • Login or register to post comments
Tue, 10/09/2012 - 06:10
krisjdi
Offline
Joined: 10/09/2012
Groups: None

Hey,

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 ?
c.execute()
File "/opt/membase/lib/python/clitool.py", line 43, in execute
f[0](mc, *args[2:], **opts.__dict__)
File "/opt/membase/lib/python/mbflushctl", line 41, in set_param
mc.set_flush_param(key, val)
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
return self._handleSingleResponse(opaque)
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

Thanks

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker