Replica di file gestita su un'interfaccia specifica
Summary: Solo i backup e i ripristini utilizzano ifgroup fino a DDOS 5.7. Questo documento è una soluzione alternativa.
Symptoms
L'interfaccia di gestione verrà inondata dal traffico di replica che limita l'accesso tramite l'interfaccia.
Cause
Resolution
SOLUZIONE ALTERNATIVA
Se il DNS punta all'interfaccia di gestione, seguire i passaggi successivi del documento.
Se il DNS punta all'interfaccia specifica (ad esempio, un'interfaccia 10G), aggiungere una route (passaggio 3).
Per verificare le impostazioni DNS, procedere come segue:
net show dns (verify that the DNS servers are correct)
net lookup <hostname>
1. Creare una voce host locale che punti il nome host all'interfaccia specificata sia sull'origine che sulla destinazione.
(Nota: Il gateway per l'istruzione di routing deve essere uno con cui il server può comunicare).
-FONTE-
net hosts add <Destination IP> <Destination FQDN> <Destination shortname>
Example:
net hosts add 192.168.1.150 dest.emc.com dest
-DESTINAZIONE-
net hosts add <Source IP> <Source FQDN> <Source shortname>
Example:
net hosts add 10.10.5.150 source.emc.com source
2. Eseguire un "net host show" per verificare che le modifiche siano state implementate correttamente.
3. Creare una route statica che punti il nome host all'interfaccia desiderata sia sull'origine che sulla destinazione.
Vedere Data Domain: Aggiunta di una route statica per informazioni specifiche sull'aggiunta di route a DD. L'esempio riportato di seguito è per un sistema non HA e DD OS 6.0 e versioni successive.
-FONTE-
route add -host <destination IP> gw <specified gateway> <desired source interface>
Example:
route add host 192.168.1.150 gw 10.10.5.1 dev eth0a
-DESTINAZIONE-
route add -host <source IP> gw <specified gateway> <desired destination interface>
Example:
route add host 10.10.5.150 gw 192.168.1.1 dev eth0b
4. Eseguire "route show table" e verificare che le voci siano corrette.
Example:
route show table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.150 10.10.5.1 255.255.255.0 U 0 0 0 eth0a
route show table
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.5.150 192.168.1.1 255.255.255.0 U 0 0 0 eth0b
5. Eseguire un lavoro di replica di prova dall'applicazione
di backup 6. Eseguire uno iostat 5 (o un numero specificato di secondi) e monitorare il traffico che passa attraverso l'interfaccia configurata:
iostat 2
11/10 15:48:35
INTERVAL: 2 secs
"-" indicates that system is busy and unable to get recent data.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CPU |State |NFS |CIFS |Net |Disk |NVRAM |Repl
aggr aggr| | | |eth4a eth4a eth4b eth4b eth4c eth4c eth4d eth4d eth5a eth5a eth5b eth5b eth5c eth5c eth5d eth5d ethMa ethMa ethMb ethMb ethMc ethMc ethMd ethMd| | aggr aggr|
busy max| | ops/s load data in data out|ops/s in out| in out in out in out in out in out in out in out in out in out in out in out in out| read write busy| read write| in out
% %|CDBVMSFIR| % MB/s MB/s| MB/s MB/s| MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s MB/s| KiB/s KiB/s %| KiB/s KiB/s| KB/s KB/s
---- ---- --------- ------- ----- ------- -------- ----- ------- ------- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ------- ------- ---- ------- ------- ------- -------
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
36 36 - 411 0 16.75 0.11 - - - 7.22 0 0 0 0 0 0 0 10.47 0.01 0 0 0 0 0 0 3.24 123 0 0 0 0 0 0 2993967 794450 - - - 1167 116670
36 39 C VM 401 0 16.14 0.11 2 0 0 6.97 0 0 0 0 0 0 0 10.37 0.01 0 0 0 0 0 0 3.20 123 0 0 0 0 0 0 2875004 762850 - - - 1149 117079
28 37 C VM 303 0 10.81 0.11 2 0 0 4.67 0 0 0 0 0 0 0 9.03 0 0 0 0 0 0 0 2.73 123 0 0 0 0 0 0 1490253 400502 - - - 904 121288
35 44 C VM 373 0 19.62 0.09 0 0 0 6.87 0 0 0 0 0 0 0 8.37 0 0 0 0 0 0 0 2.80 123 0 0 0 0 0 0 3099676 836494 - - - 945 115731
44 48 C VM 405 0 17.53 0.10 0 0 0 8.11 0 0 0 0 0 0 0 12.10 0 0 0 0 0 0 0 3.14 123 0 0 0 0 0 0 5252756 1235990 - - - 1219 124147
42 49 C VM 373 0 15.89 0.10 0 0 0 7.54 0 0 0 0 0 0 0 10.61 0 0 0 0 0 0 0 3.27 123 0 0 0 0 0 0 4624478 1036232 - - - 1194 115686
33 40 C VM 341 0 12.98 0.10 0 0 0 6.22 0 0 0 0 0 0 0 9.19 0 0 0 0 0 0 0 3.76 123 0 0 0 0 0 0 1257580 361429 - - - 1699 120311
28 41 C VM 385 0 21.53 0.11 0 0 0 6.47 0 0 0 0 0 0 0 10.39 0 0 0 0 0 0 0 3.50 123 0 0 0 0 0 0 2134021 640822 - - - 1508 116681
41 44 C VM 360 0 18.58 0.08 0 0 0 7.75 0 0 0 0 0 0 0 14.07 0 0 0 0 0 0 0 3.03 123 0 0 0 0 0 0 3884156 980316 - - - 1081 122749
43 49 C VM 345 0 15.06 0.08 0 0 0 7.88 0 0 0 0 0 0 0 11.23 0 0 0 0 0 0 0 2.99 123 0 0 0 0 0 0 3717975 903659 - - - 1157 120974
7. Se il traffico dell'interfaccia specificata aumenta, è stata implementata una soluzione alternativa.
8. Se il traffico continua a essere indirizzato sull'interfaccia di gestione, esaminare le impostazioni sul sistema o contattare uno specialista di Data Domain Networking.