Deploying DM in a test environment TiDB cluster: Unable to view cluster status due to DM and cluster having the same name. Is there a solution?

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

Original topic: 测试环境tidb集群部署DM,由于dm命名和cluster名称一样,无法查看cluster状态,请问有解决方法吗

| username: linnana

[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?

image

| username: linnana | Original post link

TiDB can be used normally, but the cluster cannot be operated through the tiup command.

| username: 有猫万事足 | Original post link

It seems like the cluster component cannot be found. In other words, is the cluster command not found?

| username: linnana | Original post link

Yes, it seems to be overwritten.

| username: 有猫万事足 | Original post link

Check if it’s a path issue or if it’s simply not in this location.

| username: linnana | Original post link

The default value of tidb_dml_batch_size is 2000. You can adjust this parameter according to your actual situation.

| username: 有猫万事足 | Original post link

There are commands, which is a bit confusing. :sweat_smile:

| username: linnana | Original post link

| username: 我是咖啡哥 | Original post link

It seems that the environment variables are messed up. Try using the absolute path.

| username: zhanggame1 | Original post link

It’s a rather strange issue, check the environment variables.

| username: linnana | Original post link

Using absolute paths to check both DM and the cluster are normal, it should be caused by environment variables.

| username: linnana | Original post link

It’s best not to use the same names for DM and cluster, especially on mixed-use machines.

| username: system | Original post link

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