I have two Membase servers running with 1GB memory each. In the future, I want to replace them with two 8GB-memory servers. Is this possible with Membase? From the search I have made, I have the impression that once the memory quota is set, it can no longer be changed. If it is possible, how is it done?
Asked
Active
Viewed 1,729 times
3 Answers
1
Try this:
couchbase-cli cluster-init -c host:portnumber -u user -p password --cluster-init-ramsize=1024
Where host is your address, portnumber the port for your couchbase server, user is de administrator username and password the one you configured when you installed membase.
1024 is the amount of memory in MB.

Mark Ursino
- 31,209
- 11
- 51
- 83

Mauricio Calgaro
- 11
- 3
0
This actually changed in 1.6.4, it used to not be possible, now the cluster will accept this command: Configuring a cluster's memory quota

Marc Climent
- 9,434
- 2
- 50
- 55

Perry Krug
- 16
-
I clicked the link but the page is empty. Do you have any other link I can use? – Dondon Vizcayno Mar 14 '11 at 11:16
-
http://techzone.couchbase.com/wiki/display/membase/Membase+Management+REST+API#MembaseManagementRESTAPI-Configuringacluster%27smemoryquota – David Christiansen May 05 '11 at 18:36
0
The command is
curl -d memoryQuota=400 http://localhost:8091/pools/default
Link to the wikipedia page Perry is referring to is here

Manto
- 1,642
- 1
- 13
- 28