You are viewing the archived documentation of TiDB, which no longer receives updates.

View latest LTS version docs

tiup dm start

The tiup dm start command is used to start all or part of the services of the specified cluster.

Syntax

tiup dm start <cluster-name> [flags]

<cluster-name>: the name of the cluster to operate on. If you forget the cluster name, you can check it with the cluster list command.

Options

-N, --node

  • Specifies the nodes to be started. If not specified, all nodes are started. The value of this option is a comma-separated list of node IDs. You can get the node IDs from the first column of the cluster status table returned by the tiup dm display command.
  • Data type: STRINGS
  • If this option is not specified in the command, all nodes are started.

-R, --role

  • Specifies the roles to be started. If not specified, all roles are started. The value of this option is a comma-separated list of node roles. You can get the roles of nodes from the second column of the cluster status table returned by the tiup dm display command.
  • Data type: STRINGS
  • If this option is not specified in the command, all roles are started.

-h, --help

  • Prints the help information.
  • Data type: BOOLEAN
  • Default: false

Output

The log of starting the service.

<< Back to the previous page - TiUP DM command list