# memsqlctl

The `memsqlctl` tool is the lower-level tool used to control and manage SingleStore nodes on a host. The `memsqlctl` tool is available in the `singlestoredb-server` package (along with the SingleStore database engine).

Several SQL commands that perform these management tasks are wrapped in `memsqlctl` commands, which allow popular configuration management tools to automate the deployment of a SingleStore cluster across a set of hosts. Also, many of the higher-level commands from `sdb-admin`, `sdb-deploy`, etc. call `memsqlctl` to perform their actions locally on a host and the report back the results.

The following is a complete list of operations you can do with `memsqlctl`:

* [add-aggregator](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/add-aggregator.md)
* [add-leaf](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/add-leaf.md)
* [bootstrap-aggregator](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/bootstrap-aggregator.md)
* [change-root-password](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/change-root-password.md)
* [collect-garbage](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/collect-garbage.md)
* [create-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/create-node.md)
* [delete-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/delete-node.md)
* [describe-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/describe-node.md)
* [enable-high-availability](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/enable-high-availability.md)
* [list-nodes](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/list-nodes.md)
* [optimize](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/optimize.md)
* [query](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/query.md)
* [register-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/register-node.md)
* [remove-aggregator](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/remove-aggregator.md)
* [remove-leaf](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/remove-leaf.md)
* [restart-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/restart-node.md)
* [set-license](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/set-license.md)
* [show-aggregators](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/show-aggregators.md)
* [show-cluster](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/show-cluster.md)
* [show-leaves](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/show-leaves.md)
* [show-license](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/show-license.md)
* [start-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/start-node.md)
* [stop-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/stop-node.md)
* [unregister-node](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/unregister-node.md)
* [update-config](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/update-config.md)
* [update-node-basedir](https://docs.singlestore.com/db/v9.1/reference/singlestore-tools-reference/memsqlctl-commands/update-node-basedir.md)

***

Modified at: April 19, 2023

Source: [/db/v9.1/user-and-cluster-administration/cluster-management-with-tools/singlestore-toolbox/memsqlctl/](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/cluster-management-with-tools/singlestore-toolbox/memsqlctl/)

(An index of the documentation is available at /llms.txt)
