Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to increase RAM memory for cluster in couchbase?

Tags:

couchbase

For example I have created cluster with 1GB RAM memory per node. After some time I want to increase RAM memory for claster for example to 2GB per node. I assumed that I can do that through Couchbase Console. But "edit" button is disabled for every node.

So can someone advise me the solution?

Thanks.

like image 806
Vyacheslav Avatar asked Jun 26 '12 15:06

Vyacheslav


People also ask

Is Couchbase in memory?

Couchbase Server, an open source NoSQL key-value and document database, offers in-memory technology that appeals to enterprises that need to support higher performance, multimodel, scale, and simplified data access for next-generation applications.

How does Couchbase support high availability?

So far, we have learned how Couchbase achieves high availability by leveraging replication and failover mechanisms in its distributed environment. In addition to that, Cross-Data Center Replication (XDCR) replicates data between clusters that protects against data center failure.


1 Answers

You can do so with the couchbase-cli utility that is installed with Couchbase. This tool should be located with the other Couchbase binaries on your system (e.g., C:\Program Files\Couchbase\Server\bin).

From the command line:

c:\>couchbase-cli cluster-init -c <CLUSTER_IP> -u <USERNAME> -p <PASSWORD> --cluster-init-ramsize=<NEW_RAM_SIZE>

With actual values:

c:\>couchbase-cli cluster-init -c 127.0.0.1:8091 -u Administrator -p s3cr3t --cluster-init-ramsize=4096

More information may be found at http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-admin-cmdline-couchbase-cli.html

like image 85
John Zablocki Avatar answered Oct 19 '22 21:10

John Zablocki