Search:

Search all manuals
Search this manual
Manual
Moxi Server 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
6 Moxi Statistics
Chapter Sections
Chapters

6.3. Proxy Configuration

Recent builds of moxi (> 1.6.1) support a "stats proxy config" command, which can show you the exact configuration REST/JSON that moxi is using.

For example, if moxi was started with ketama hashing:

$ ./dev/moxi/moxi -z 11211=127.0.0.1:11411,127.0.0.1:11511

Then "stats proxy config" would return:

$ echo stats proxy config | nc 127.0.0.1 11211
STAT 11211:default:config 127.0.0.1:11411,127.0.0.1:11511
END

If moxi was started with Coucbase REST/URL/JSON, then you'll see JSON:

$ echo stats proxy config | nc 127.0.0.1 11211
STAT 11211:default:config {
"name": "default",
"nodeLocator": "vbucket",
"saslPassword": "",
...clipped...
}
STAT 11211:[ <NULL_BUCKET> ]:config
END