查看slave1和slave2,发现hosts文件没有编辑
将master节点的/etc/hosts文件发到slave1和slave2上
scp -r /etc/hosts root@slave1:/etc/hosts
scp -r /etc/hosts root@slave2:/etc/hosts
重启集群
查看
成功
查看slave1和slave2,发现hosts文件没有编辑
将master节点的/etc/hosts文件发到slave1和slave2上
scp -r /etc/hosts root@slave1:/etc/hosts
scp -r /etc/hosts root@slave2:/etc/hosts
重启集群
查看
成功