Description
[root@localhost bin]# /opt/couchbase/bin/couchbase-cli node-init --cluster=localhost -u Administrator -p password --node-init-data-path=/tmp/data --node-init-index-path=/tmp/index
SUCCESS: init localhost
[root@localhost bin]# curl http://Administrator:password@10.3.121.117:8091/nodes/self
{"availableStorage":{"hdd":[
,
{"path":"/boot","sizeKBytes":101086,"usagePercent":21},
{"path":"/dev/shm","sizeKBytes":1972692,"usagePercent":0}]},"memoryQuota":2054,"storageTotals":{"ram":
{"total":4040077312,"quotaTotal":2153775104,"quotaUsed":0,"used":1923309568,"usedByData":0},"hdd":{"total":56327458816,"quotaTotal":56327458816,"used":5632745881,"usedByData":0,"free":50694712935}},"storage":{"ssd":[],"hdd":[
{"path":"/opt/couchbase/var/lib/couchbase/data","index_path":"/tmp/index","quotaMb":"none","state":"ok"}]},"systemStats":
{"cpu_utilization_rate":0.0,"swap_total":6140452864,"swap_used":0,"minor_faults":0,"major_faults":0,"page_faults":0},"interestingStats":{},"uptime":"7925","memoryTotal":4040077312,"memoryFree":2116767744,"mcdMemoryReserved":3082,"mcdMemoryAllocated":3082,"couchApiBase":"http://10.3.121.117:8092/","otpNode":"ns_1@127.0.0.1","otpCookie":"jlwwmwsrikthbhpy","clusterMembership":"active","status":"healthy","thisNode":true,"hostname":"10.3.121.117:8091","clusterCompatibility":131072,"version":"2.0.2-774-rel-enterprise","os":"x86_64-unknown-linux-gnu","ports":{"proxy":11211,"direct":11210}}[root@localhost bin]#