Single-Node Multi-Instance Deployment Failure

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 单机多实例部署失败

| username: 大飞哥online

[TiDB Usage Environment] /Test/

The above topology.yaml configuration information

tiup cluster check topology.yaml
tiup cluster check topology.yaml --apply

It always reports an error and cannot proceed.
How should this be handled?

| username: 大飞哥online | Original post link

Followed the documentation for deployment, but it doesn’t work this time.

It was working a few months ago…

| username: zhanggame1 | Original post link

I don’t see any issues. Just deploy it without checking and see.

| username: 大飞哥online | Original post link

If labels information is not added, the same error will be reported.
When starting with tiup cluster deploy, it will prompt that labels differentiation has not been done.

If labels information is added in the topology.yaml configuration file, tiup cluster check will report a Fail message.
However, tiup cluster deploy can start successfully. :rofl:

| username: tidb菜鸟一只 | Original post link

The check does not mean that deployment is impossible due to lock errors; it just indicates that your configuration might not be optimal.
Refer to this:

Environment checks are not a mandatory process for deploying a cluster. For production environments, it is recommended to perform an environment check and pass all inspection items before deployment. If not all inspection items are passed, the cluster may still be deployed and run normally, but optimal performance may not be achieved.

| username: 大飞哥online | Original post link

Yes, but when I see something in red, I just want to get it all correct, haha, a bit obsessive :joy:

| username: Fly-bird | Original post link

Follow the documentation completely, set whatever needs to be set.

| username: ajin0514 | Original post link

Carefully compare the documentation.

| username: xingzhenxiang | Original post link

TiFlash and TiKV cannot be in the same location.

| username: 大飞哥online | Original post link

That’s not the case. It’s about configuring labels for multiple TiKV instances on a single machine, and then it can be deployed. The prompt can be ignored.

| username: xingzhenxiang | Original post link

Got it.

| username: ajin0514 | Original post link

Without labels information

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.