Usage:
/opt/membase/bin/mbvbuckettool mapfile key0 [key1 ... keyN]The mbvbuckettool expects a vBucketServerMap JSON mapfile, and will print the vBucketId and servers each key should live on. You may use '-' instead for the filename to specify stdin.
Examples:
mbvbuckettool file.json some_key another_keyOr
curl http://host:8091/pools/default/buckets/default | mbvbuckettool - some_key another_keyAn example of running it with output:
curl http://127.0.0.1:8091/pools/default/buckets/default | mbvbuckettool - some_key another_key key: some_key vBucketId: 260 master: http://127.0.0.1:11210/ replicas: key: another_key vBucketId: 1022 master: http://127.0.0.1:11210/ replicas: