Membase Server includes a number of command-line tools that can be used to manage and monitor a Membase cluster or server. All operations are mapped to their appropriate Section 4.3, “Membase Management REST API” call (where available).
There are a number of command-line tools that perform different functions and operations, these are described individually within the following sections. Tools can be located in a number of directories, dependent on the tool in question in each case.
Table 4.1. Membase Command-line Tools
| Tool | Description |
|---|---|
| membase | The main tool for communicating and managing your Membase server or cluster. |
| mbstats | A tool for probing a Membase node for its local stats |
| mbflushctl | A tool for controlling the disk persistence behavior |
| tap.py | A tool for accessing the TAP interface of a Membase node |
| mbvbucketctl | A tool for controlling the vbucket states on a Membase node |
| mbdbmaint | A tool for managing the SQLite database on a Membase node |
| mbcollect_info | A support tool for gathering a multitude of statistics from a Membase node |