1

I am trying to do auto configuration of CouchBase:

  • Cluster
  • Admin User
  • Bucket
  • Bucket User
  • Services for couch base (data,kv,n1ql,index,fts,search)

Using the rest api everything goes well but i can see while doing the manual configuration i can see the service option during the cluster creation:

enter image description here

But, while craeating the cluster sevice using the RESI api when i am trying to pass data as service its saying:

[
    "Unknown services: [\"data\"]"
]

REST API I am using to create service:

http://localhost:8091/node/controller/setupServices

Please suggest me am i doing anything wrong here?

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
Rohitesh
  • 1,514
  • 7
  • 28
  • 51

1 Answers1

2

In the REST API the data service is referred to as "kv" (for key-value).

EbenH
  • 556
  • 4
  • 6
  • is there any way that we can assign the memory for this KV because in the above screen we can see that we can assign memory for data service. – Rohitesh Mar 22 '19 at 07:08
  • I think the argument for data service ram size is "memoryQuota", which should be an integer number of MB. Also, the 'couchbase-cli' command line tool has options for all of these, and is better documented. – EbenH Mar 22 '19 at 15:23