forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*: rephrase quickstart section of README (tikv#9954)
* *: rephrase quickstart section of README Signed-off-by: tison <[email protected]> * link to TiUP document instead of inline it Signed-off-by: tison <[email protected]> * Update README.md Co-authored-by: Greg Weber <[email protected]> Signed-off-by: tison <[email protected]> Co-authored-by: Greg Weber <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
- Loading branch information
1 parent
0b46e60
commit aa294d2
Showing
2 changed files
with
91 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## 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: | ||
|
||
```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 | ||
``` | ||
3. `$ tiup cluster deploy foobar v4.0.0 ./topo.yaml --user ubuntu -i ~/.ssh/id_rsa` | ||
4. `$ tiup cluster start foobar` | ||
5. You're all set! | ||
|