Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 测试环境tidb集群部署DM,由于dm命名和cluster名称一样,无法查看cluster状态,请问有解决方法吗
[TiDB Usage Environment] Testing/PoC
[TiDB Version]
[Reproduction Path] What operations were performed to encounter the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
The cluster name is overwritten by DM. How can I view the cluster in this situation?

TiDB can be used normally, but the cluster cannot be operated through the tiup command.
It seems like the cluster component cannot be found. In other words, is the cluster command not found?
Yes, it seems to be overwritten.
Check if it’s a path issue or if it’s simply not in this location.
The default value of tidb_dml_batch_size
is 2000. You can adjust this parameter according to your actual situation.
There are commands, which is a bit confusing. 
It seems that the environment variables are messed up. Try using the absolute path.
It’s a rather strange issue, check the environment variables.
Using absolute paths to check both DM and the cluster are normal, it should be caused by environment variables.
It’s best not to use the same names for DM and cluster, especially on mixed-use machines.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.