本机配置集群主机名访问(Windows配置hosts) Windows配置hosts C:WindowsSystem32driversetchosts 主机IP 主机名 示例: 192.168.1.1 master 192.168.1.2 slave1 192.168.1.3 slave2