Minicluster:Rede
De WikiLICC
Topologia da rede
X.X.X.X 192.168.0.100 /\/\/\/\/\/\/\/\/\ /------\ < rede.mat.ufrgs.br >----< one > \/\/\/\/\/\/\/\/\/ \------/ /----[ cell108 ] 192.168.0.108 | / +--------+/------[ cell109 ] 192.168.0.109 [ SWITCH ] [ ]-------[ cell110 ] 192.168.0.110 +--------+\ \-----[ cell111 ] 192.168.0.111
vi /etc/hosts
127.0.0.1 one.matrix one localhost.localdomain localhost ::1 one.matrix one localhost6.localdomain6 localhost6 ## retirada linha acima pois dois nodes achavam que eram one.matrix ## ::1 one.matrix one localhost6.localdomain6 localhost6 143.54.226.61 euler.mat.ufrgs.br euler 143.54.226.118 hunter.mat.ufrgs.br hunter 192.168.0.50 switch 192.168.0.100 automato-eth0 192.168.0.108 cell108 192.168.0.109 cell109 192.168.0.110 cell110 192.168.0.111 cell111 192.168.0.112 cell112 192.168.0.113 cell113 192.168.0.114 cell114 192.168.0.115 cell115 192.168.0.116 cell116 192.168.0.117 cell117 192.168.0.118 cell118 192.168.0.119 cell119 192.168.0.120 cell120 192.168.0.121 cell121 192.168.0.122 cell122 192.168.0.123 cell123
ifconfig
- one
NIC HWaddr Hostname inet addr: Bcast: Mask: Link encap: inet6 addr: Scope: enp0s25 18:A9:05:E8:AE:0B one 143.54.226.116 143.54.227.255 255.255.254.0 Ethernet fe80::f8b4:c258:f7e1:3939/64 Link enp7s4 00:0A:5E:5C:2C:04 192.168.0.100 192.168.0.255 255.255.255.0 Ethernet lo 127.0.0.1 255.0.0.0 Local Loopback ::1/128 Host virbr0 ??????
- one_fedora13 (velho)
HWaddr Hostname inet addr: Bcast: Mask: Link encap: inet6 addr: Scope: eth0 00:06:4F:61:C4:5A cellauto-eth0 192.168.0.100 192.168.0.255 255.255.255.0 Ethernet fe80::206:4fff:fe61:c45a/64 (PLACA ESTRAGOU) eth1 18:A9:05:E8:1E:16 one.matrix 143.54.226.166 143.54.227.255 255.255.254.0 Ethernet fe80::1aa9:5ff:fee8:1e16/64 Link eth2 00:0A:5E:5C:2C:04 192.168.0.100 192.168.0.255 255.255.255.0 Ethernet (NOVA PLACA) lo 127.0.0.1 255.0.0.0 Local Loopback ::1/128 Host
- cell101
eth0 18:A9:05:E8:0E:B8 cell101 192.168.0.101 192.168.0.255 255.255.255.0 Ethernet fe80::1aa9:5ff:fee8:eb8/64 Link lo 127.0.0.1 255.0.0.0 Local Loopback ::1/128 Host
Trocar ip do mestre
[root@one] $ cd /etc/sysconfig/network-scripts/ [root@one] $ ls ifcfg* ifcfg-enp0s25 ifcfg-enpPlaca ifcfg-lo
Patrimônio e MAC
Os números MAC serão usados no DRBL.
459708 18:A9:05:E8:ae:08 cell108 192.168.0.108 ....09 18:A9:05:E8:0e:b2 cell109 192.168.0.109 ....10 18:A9:05:E8:0e:ec cell110 .. ....11 18:A9:05:E8:9e:49 cell111 .. ....12 18:A9:05:E8:ae:64 cell112 ....13 18:A9:05:E8:9e:f7 cell113 ....14 18:A9:05:E8:ae:0c cell114 ....15 18:A9:05:E8:ae:7b cell115 ....16 18:A9:05:E8:ae:18 cell116 ....17 18:A9:05:E8:1e:1c cell117 ....18 18:A9:05:E8:0e:b8 cell118 (teste inicial) ....19 18:A9:05:E8:9e:f0 cell119 (sata -> one) ....20 18:A9:05:E8:9e:f4 cell120 ....21 18:A9:05:E8:9e:8e cell121 ....22 18:A9:05:E8:9e:ea cell122 ....23 18:A9:05:E8:9e:a9 cell123
459724 18:A9:05:E8:ae:0b tri 459725 18:A9:05:E8:1e:16 one.matrix 143.54.226.166 -- 00:06:4F:61:C4:5A theone 192.168.0.100 (PLACA REDE) -- 00:0a:5e:5c:2c:04 (NOVA PLACA REDE)
461466 00:24:73:d7:a5:41 switch 192.168.0.50
- Desativar a interfave virbr0
A interface virbr0, ou "Virtual Bridge 0" é usada pelo NAT (Network Address Translation). Fornecida pela biblioteca libvirt e ambientes virtuais é algumas vezes usada para se conectar com redes externas.
Foi necessário desativar a bridge virbr0 usando o Network Manager.
Nova placa
- A placa de rede MAC 00:06:4F:61:C4:5A aparenta problemas (físicos, porém pode ser apenas configuração)
- Nova placa externa foi instalada MAC 00:0A:5E:5C:2C:04
Entretanto ela está sendo nomeada como eth2 (talvez causando problema, pois não consigo ativá-la).
Comando úteis:
- atualiza nomes e dados de placas (não fez diferença)
[user] update-pciids