IBM Cloud Private: Configurando o arquivo hosts

=Procedimento=

No boot node

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

127.0.0.1      localhost
 * 1) The following line is commented out to enable ICP installation.
 * 2) 127.0.1.1     icpboot


 * 1) 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 root@10.0.0.2:/etc/hosts root@icpboot:~# scp /etc/hosts root@10.0.0.3:/etc/hosts root@icpboot:~# scp /etc/hosts root@10.0.0.4:/etc/hosts root@icpboot:~# scp /etc/hosts root@10.0.0.5:/etc/hosts

= Ver também =


 * Artigos sobre Cloud
 * Mais Artigos sobre Cloud / WebDev / Tecnologias