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

execute command with node-init-data-path , path is not changing

2 replies [Last post]
  • Login or register to post comments
Thu, 12/06/2012 - 01:13
aruna
Offline
Joined: 11/06/2012
Groups: None

when i am trying to initialize the node with the data path as "/app/couchbase/data" instead of default data path "/opt/couchbase/var/lib/couchbase/data",
node is getting initialized successfully but path is not changing.

Command is :

shell> couchbase-cli cluster-init –c localhost –u Administrator –p password

--cluster-init-username=Administrator –-cluster-init-password=password –-cluster-init-ramsize=256 –-node-init-data-path=/app/couchbase/data

Output:
SUCCESS: init localhost

Could you please help me why my node-init-data-path is still default path .

Top
  • Login or register to post comments
Mon, 12/10/2012 - 23:33
mikew
Offline
Joined: 03/14/2011
Groups:

Has this node already been set up? I'm pretty sure that you can't change the data path once it's set.

Top
  • Login or register to post comments
Mon, 12/17/2012 - 02:11
aruna
Offline
Joined: 11/06/2012
Groups: None

Hi Mikew,
Thanks for the response.
This node is not already set up.

To recheck again i have installed couchbase server on new server .
1.Install couchbase-server
sudo rpm –-install couchbase-server-community_x86_64_1.8.1.rpm
once i ran above command (installing couchbase server) itself couchbase server default path is being created - /opt/couchbase/var/lib/couchbase/data

2.Initialize the cluster:
shell> couchbase-cli cluster-init –c localhost –u Administrator –p password --cluster-init-username=Administrator –-cluster-init-password=password –-cluster-init-ramsize=256 –-node-init-data-path=/app/couchbase/data

path is still the same default one.

Working fine when i use curl command : shell > curl -uAdministrator:password -d path=/app/couchbase/data http://localhost:8091/nodes/self/controller/settings
Through command line it's not working.

Could you please check .

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