Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 767 Bytes

deploy.md

File metadata and controls

40 lines (29 loc) · 767 Bytes

Deploy a TiKV production cluster

Deploy a cluster with TiUP

We provide multiple deployment methods, but it is recommended to use our TiUP deployment for production environment.

  1. Ensure SSH connectivity between tiup's machine and several target nodes
  2. topo.yaml:
global:
  user: "ubuntu"
  ssh_port: 22
  deploy_dir: "whatever"
  data_dir: "whatever"

pd_servers:
  - host: x.x.x.x
  - host: y.y.y.y
  - host: z.z.z.z

tikv_servers:
  - host: x.x.x.x
  - host: y.y.y.y
  - host: z.z.z.z

monitoring_servers:
  - host: a.a.a.a

grafana_servers:
  - host: b.b.b.b

alertmanager_servers:
  - host: c.c.c.c
  1. $ tiup cluster deploy foobar v4.0.0 ./topo.yaml --user ubuntu -i ~/.ssh/id_rsa
  2. $ tiup cluster start foobar
  3. You're all set!