IBM Cloud Private: Configurando o arquivo hosts

From Wiki

Procedimento

No boot node

1) Edite o seu arquivo /etc/hosts, como abaixo:

127.0.0.1       localhost
#### The following line is commented out to enable ICP installation.
#127.0.1.1      icpboot

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

10.0.0.1        icpboot.company.com icpboot
10.0.0.2        icpproxy.company.com icpproxy
10.0.0.3        icpwork1.company.com icpwork1
10.0.0.4        icpwork2.company.com icpwork2
10.0.0.5        icpwork3.company.com icpwork3
 

Salve e feche

2) Copie o arquivo para os demais hosts

root@icpboot:~# scp /etc/hosts [email protected]:/etc/hosts
root@icpboot:~# scp /etc/hosts [email protected]:/etc/hosts
root@icpboot:~# scp /etc/hosts [email protected]:/etc/hosts
root@icpboot:~# scp /etc/hosts [email protected]:/etc/hosts

Ver também