Dit zijn de stappen voor het maken van de replicatiesessies op een manier die ervoor zorgt dat meerdere replicatie-interfaces worden gebruikt.
- Maak twee LUN's met identieke instellingen op de bron en bestemming (configureer replicatie nog niet).
- Maak de replicatie-interfaces die bedoeld zijn voor gebruik.
Stappen 1 en 2 worden uitgevoerd met behulp van de Unisphere UI.
- Stel de vlag replDest in op Yes aan de doelzijde.
Hier is de opdrachtsyntaxis:
uemcli -u Local/admin -p Password123456789 /stor/prov/luns/lun -id sv_2 set -replDest yes
- Maak de replicatiesessie met behulp van uemcli.
Hier is een voorbeeld van een werkende syntaxis. Dit gebeurt op een VSA. Specificeer ook replicatie-interfaces voor SPB op een hardwaresysteem:
uemcli -u Local/admin -p Password123456789 /prot/rep/session create -name REP1 -srcRes sv_2 -srcSPAInterface if_6 -dstType remote -dstSys RS_1 -dstSPAInterface if_5 -dstRes sv_2 -syncType auto -rpo 60m
De id's die nodig zijn voor de opdrachtinvoer worden gevonden in Unisphere door de kolom
CLI ID in te schakelen voor het relevante itemtype.
Zodra alle gewenste replicatie-interfaces zijn gemaakt, gebruikt u een uemcli-opdracht zoals de volgende om te valideren dat de sessies de juiste laag drie interfaces gebruiken:
$ uemcli /prot/rep/session show -filter "Name,ID,Source resource,Source SP-A interface,Source SP-B interface,Destination resource,Destination SP-A interface,Destination SP-B interface"
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: Name = REP1
ID = 42949672969_VIRT2213XBSFIV_0000_42949672967_VIRT1615KVBVLJ_0000
Source resource = sv_1
Source SP-A interface = 5.6.7.90
Source SP-B interface = N/A
Destination resource = sv_2
Destination SP-A interface = 5.6.7.94
Destination SP-B interface = N/A
2: Name = REP2
ID = 42949672970_VIRT2213XBSFIV_0000_42949672974_VIRT1615KVBVLJ_0000
Source resource = sv_2
Source SP-A interface = 5.6.7.91
Source SP-B interface = N/A
Destination resource = sv_3
Destination SP-A interface = 5.6.7.95
Destination SP-B interface = N/A
3: Name = REP3
ID = 42949672971_VIRT2213XBSFIV_0000_42949672975_VIRT1615KVBVLJ_0000
Source resource = sv_3
Source SP-A interface = 5.6.7.92
Source SP-B interface = N/A
Destination resource = sv_4
Destination SP-A interface = 5.6.7.96
Destination SP-B interface = N/A
4: Name = REP4
ID = 42949672972_VIRT2213XBSFIV_0000_42949672976_VIRT1615KVBVLJ_0000
Source resource = sv_4
Source SP-A interface = 5.6.7.93
Source SP-B interface = N/A
Destination resource = sv_5
Destination SP-A interface = 5.6.7.97
Destination SP-B interface = N/A
Als u LACP gebruikt voor asynchrone replicatie, past u de
xmit_hash_policy ook aan op laag 3+4 (policy #1) zodat het systeem verkeer kan verzenden voor verschillende IP's op verschillende interfaces.