Couchbase Serverのインスタンス、つまりノードは、Couchbase Serverを実行する物理マシンまたは仮想マシンです。各ノードはクラスタのメンバとして存在します。
Couchbaseのクラスター存在するノードに関する情報を表示するには、このリクエストを使用します。
shell> curl -u admin:password 10.4.2.4:8091/pools/nodes
Couchbase ServerはJSONで、この応答を返します。
{"storageTotals": { "ram": { "quotaUsed":10246684672.0, "usedByData":68584936, "total":12396216320.0, "quotaTotal":10246684672.0, "used":4347842560.0}, "hdd": {"usedByData":2560504, "total":112654917632.0, "quotaTotal":112654917632.0, "used":10138942586.0, "free":102515975046.0} }, "name":"nodes", "alerts":[], "alertsSilenceURL":"/controller/resetAlerts?token=0", "nodes": [{"systemStats": { "cpu_utilization_rate":2.5, "swap_total":6140452864.0, "swap_used":0 }, "interestingStats": { "curr_items":0, "curr_items_tot":0, "vb_replica_curr_items":0 }, "uptime":"5782", "memoryTotal":6198108160.0, "memoryFree":3777110016.0, "mcdMemoryReserved":4728, "mcdMemoryAllocated":4728, "clusterMembership":"active", "status":"healthy", "hostname":"10.4.2.5:8091", "clusterCompatibility":1, "version":"1.8.1-937-rel-community", "os":"x86_64-unknown-linux-gnu", "ports": { "proxy":11211, "direct":11210 } ....... }], "buckets": {"uri":"/pools/nodes/buckets?v=80502896" }, "controllers":{"addNode":{"uri":"/controller/addNode"}, "rebalance":{"uri":"/controller/rebalance"}, "failOver":{"uri":"/controller/failOver"}, "reAddNode":{"uri":"/controller/reAddNode"}, "ejectNode":{"uri":"/controller/ejectNode"}, "testWorkload":{"uri":"/pools/nodes/controller/testWorkload"}}, "balanced":true, "failoverWarnings":["failoverNeeded","softNodesNeeded"], "rebalanceStatus":"none", "rebalanceProgressUri":"/pools/nodes/rebalanceProgress", "stopRebalanceUri":"/controller/stopRebalance", "nodeStatusesUri":"/nodeStatuses", "stats":{"uri":"/pools/nodes/stats"}, "counters":{"rebalance_success":1,"rebalance_start":1}, "stopRebalanceIsSafe":true}