机器主机名 | IP | 备注 | 机器信息 |
---|---|---|---|
master | 192.168.74.128 | master服务 | CentOS Linux release 7.5.1804 (Core) |
node1 | 192.168.74.129 | node1 | CentOS Linux release 7.5.1804 (Core) |
node2 | 192.168.74.130 | node2 | CentOS Linux release 7.5.1804 (Core) |
[root@xxx ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.74.128 master
192.168.74.129 node1