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

cluster-init-ramsize does not change memory quota

3 replies [Last post]
  • Login or register to post comments
Thu, 07/14/2011 - 01:42
Siebren
Offline
Joined: 02/24/2011
Groups: None

Hello !

We are running membase 1.6.5 server on one of our machines with 72 GB of memory, now we want to add another server but that one only has 64 GB of memory, so we are getting the error message that the server does not fit into the cluster due to lack of memory.

When i try to downgrade the amount of memory needed per cluster-node it doesn't give any output in the cli, so i guess the command is correct and it worked. But when i check the cluster ram quota it didn't change.
The membase server is in production so we can not restart it to check if the quota changed.

Is there a way to change the cluster ram quota per node without restarting the membase server ?

At the moment it is a single server setup, not a cluster yet.

Server details
OS : Ubuntu 10.04 LTS
Membase community version : 1.6.5

If more details are needed please let me know.

Thanks in advance.

- Siebren

Top
  • Login or register to post comments
Fri, 07/15/2011 - 11:34
perry
Offline
Joined: 10/11/2010
Groups:

Siebren, I believe there was a bug in the 1.6.5 CLI that prevented this from working properly. You should be able to achieve the same results by running:
curl -d memoryQuota=400 http://:@localhost:8091/pools/default

The 1.7 release has fixed this bug.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Mon, 07/18/2011 - 05:19
Siebren
Offline
Joined: 02/24/2011
Groups: None

Perry, since we got an "@" in our membase password we are not able to change the ram-size with curl,
Command :

curl -d memoryQuota=60000 "http://root:****@****@localhost:8091/pools/default"

error :

curl: (6) Couldn't resolve host '******@localhost'

And when i try to change the password ( which has worked before ) it doesn't work.
./membase cluster-init -c localhost:8091 -u root -p --cluster-init-password=

but the command doesnt give any output what so ever.

any more suggestions ?

EDIT :

I used another membase binary :
/opt/membase/1.6.5/bin/cli/membase

That one is different then the one in /opt/membase/bin/

The curl command to change the cluster quota worked aswell!

Thank you perry :)

Top
  • Login or register to post comments
Thu, 12/01/2011 - 14:37
nancyhoxr
Offline
Joined: 11/18/2011
Groups: None

This really answered my problem, thanks!
best casino bonuses dermopathy play slots online for real money lightheartedly

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