Enymin/Membase 2.11 client library
I'm having an issue upgrading to the 2.11 client library.
There were some undocumented changes, I've resolved most of them. I just have one issue left.
In MembasePool.cs, when the InitBasic method is called, all the nodes in the ClusterConfig are flagged with a status of "unhealthy".
I'm trying to determine where this is getting set, after searching the source code, I don't see where it is being initialized, or where the nodes collection is being created.
Any help/pointers will be appreciated.
thanks
marc
Perry:
Here is the output of http://<server>:8091/pools/default
{"storageTotals":{"ram":{"quotaUsed":10403971072.0,"usedByData":3717455871.0,"total":12551643136.0,"quotaTotal":10403971072.0,"used":8019468288.0},"hdd":{"usedByData":0,"total":19643006976.0,"quotaTotal":19643006976.0,"used":2946451046.0,"free":16500125860.0}},"name":"default","nodes":[{"uptime":"15804","memoryTotal":6275821568.0,"memoryFree":2205671424.0,"mcdMemoryReserved":4788,"mcdMemoryAllocated":4788,"clusterMembership":"active","status":"healthy","hostname":"172.30.201.70:8091","clusterCompatibility":1,"version":"1.6.5","os":"x86_64-unknown-linux-gnu","ports":{"proxy":11211,"direct":11210}},{"uptime":"15748","memoryTotal":6275821568.0,"memoryFree":2326503424.0,"mcdMemoryReserved":4788,"mcdMemoryAllocated":4788,"clusterMembership":"active","status":"healthy","hostname":"172.30.201.71:8091","clusterCompatibility":1,"version":"1.6.5","os":"x86_64-unknown-linux-gnu","ports":{"proxy":11211,"direct":11210}}],"buckets":{"uri":"/pools/default/buckets"},"controllers":{"addNode":{"uri":"/controller/addNode"},"rebalance":{"uri":"/controller/rebalance"},"failOver":{"uri":"/controller/failOver"},"reAddNode":{"uri":"/controller/reAddNode"},"ejectNode":{"uri":"/controller/ejectNode"},"testWorkload":{"uri":"/pools/default/controller/testWorkload"}},"balanced":true,"failoverWarnings":[],"rebalanceStatus":"none","rebalanceProgressUri":"/pools/default/rebalanceProgress","stopRebalanceUri":"/controller/stopRebalance","nodeStatusesUri":"/nodeStatuses","stats":{"uri":"/pools/default/stats"}}<?xml:namespace prefix = o />
This issue has been resolved.
I'm not sure what was wrong. I had to reboot both servers.
I had deleted and then recreated a bucket. After that everything stopped working correctly.
marc
Thanks for the response Marc. I'll try to reproduce that...
Perry
That "unhealthy" flag comes from Membase itself. Can you log onto the Membase server UI and see if everything is looking well there?
That "unhealthy" should be coming from http://<IP>:8091/pools/default on the Membase server(s)
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!