[FAQ] Does every node in cluster have different hostname

[问题澄清]

TiDB集群安装过程中报错: TASK [check_system_dynamic : Preflight check - Does every node in cluster have different hostname] **************************** fatal: [xxx.xxx.0.201]: FAILED! => changed=false msg: |- hostnames of all nodes in cluster: [w, w, w]

[原因分析]

集群中存在重复的节点名称

[解决方案]

将集群中重复的名称修改为不同

[参考案例]

tidb 部署报错

[引申学习点]

3种方法更改Linux系统的主机名(hostname)
https://blog.csdn.net/u013991521/article/details/80522269