Unable to change the default data-path
Executed the following:
SHELL> rpm -i couchbase-server-community_x86_64_2.0.0.rpm
Starting couchbase-server[ OK ]
You have successfully installed Couchbase Server.
Please browse to http://server0065-vm12:8091/ to configure your server.
Please refer to http://couchbase.com for additional resources.
SHELL> couchbase-cli cluster-init -d -c server0065-vm12:8091 --cluster-init-username=admin --cluster-init-password=xxxxxx --cluster-init-port=8091 --cluster-init-ramsize=8192 --node-init-data-path=/store/couchbase -u admin -p xxxxxx
INFO: running command: cluster-init
INFO: servers {'add': {}, 'failover': {}, 'remove': {}}
METHOD: POST
PARAMS: {'username': 'admin', 'password': 'xxxxxx', 'port': '8091', 'initStatus': 'done'}
ENCODED_PARAMS: username=admin&password=xxxxxx&port=8091&initStatus=done
REST CMD: POST /settings/web
response.status: 200
SUCCESS: init server0065-vm12
METHOD: POST
PARAMS: {'memoryQuota': '8192'}
ENCODED_PARAMS: memoryQuota=8192
REST CMD: POST /pools/default
response.status: 200
SUCCESS: init server0065-vm12
SHELL> couchbase-cli server-info -d -c server0065-vm12:8091 -u admin -p xxxxxx
INFO: running command: server-info
METHOD: GET
PARAMS: {}
ENCODED_PARAMS:
REST CMD: GET /nodes/self
response.status: 200
{
"availableStorage": {
"hdd": [
{
"path": "/",
"sizeKBytes": 18156292,
"usagePercent": 45
},
{
"path": "/boot",
"sizeKBytes": 101086,
"usagePercent": 49
},
{
"path": "/dev/shm",
"sizeKBytes": 6291456,
"usagePercent": 0
},
{
"path": "/store",
"sizeKBytes": 37148224,
"usagePercent": 16
}
]
},
"clusterCompatibility": 131072,
"clusterMembership": "active",
"couchApiBase": "http://69.194.55.217:8092/",
"hostname": "69.194.55.217:8091",
"interestingStats": {},
"mcdMemoryAllocated": 9830,
"mcdMemoryReserved": 9830,
"memoryFree": 10936721408,
"memoryQuota": 8192,
"memoryTotal": 12884901888,
"os": "x86_64-unknown-linux-gnu",
"otpCookie": "hdydifcpcxfylulr",
"otpNode": "ns_1@127.0.0.1",
"ports": {
"direct": 11210,
"proxy": 11211
},
"status": "healthy",
"storage": {
"hdd": [
{
"index_path": "/opt/couchbase/var/lib/couchbase/data",
"path": "/opt/couchbase/var/lib/couchbase/data",
"quotaMb": "none",
"state": "ok"
}
],
"ssd": []
},
"storageTotals": {
"hdd": {
"free": 10225623655,
"quotaTotal": 18592043008,
"total": 18592043008,
"used": 8366419353,
"usedByData": 0
},
"ram": {
"quotaTotal": 8589934592,
"quotaUsed": 0,
"total": 12884901888,
"used": 1948180480,
"usedByData": 0
}
},
"systemStats": {
"cpu_utilization_rate": 0.0,
"swap_total": 15032369152,
"swap_used": 0
},
"thisNode": true,
"uptime": "332",
"version": "2.0.0-1976-rel-community"
}
===================================
Despite the SUCCESS result from cluster-init, server-info shows that index_path and path remain unchanged from their default values.
What is the CLI based procedure for changing the default data-path?