ONTAP Discussions

Setup snapmirror for dedicated replication connection

netappmagic
2,298 Views

I have two filers with HA configuration, primary connections and host names are S1 and S2 respectively,  with two dedicated 10G connections for replicating data to DR, with names of S1REP and S2REP. The same at DR, two filers with names of D1 and D2. and two dedicated 10G connections, D1REP and D2REP. The following is what I am going to setup. Please kindly advice on if anything is MISSING or INCORRECT

/etc/snapmirror.allow on S1 and S2:

D1REP or IP

D2REP or IP

/etc/snapmirror.allow on D1 and D2:

S1REP or IP

S2REP or IP

/etc/snapmirror.conf on D1:
S1REP:vol1 D1REP:vol1 - 0,15,30,45 * * *

...

/etc/snapmirror.conf on D2:

S2REP:vol2 D2REP:vol2 - 0,15,30,45 * * *

no S1,S2, D1 or D2 should be involved in snapmirror configurations.

Thank you very much in advance!

2 REPLIES 2

aborzenkov
2,298 Views

In snspmirror.conf only filer names (i.e. hostnames) can be used. To route via different interfaces you need to define multipath connection. It can have just one pair of addresses, it need not be actual "multi". Please check documentation for exact syntax.

netappmagic
2,298 Views

thanks for your idea. I would correct settings as following now:

/etc/snapmirror.conf on D1:
s1rep:vol1 d1:vol1 - 0,15,30,45 * * *

/etc/snapmirror.conf on D2:

s2rep:vol2 d2:vol2 - 0,15,30,45 * * *

in /etc/snapmirror.allow

d1rep

options snapmirror.access legacy

I also need to make sure there is a route from s1rep to d1 via d1rep. traceroute -s s1rep d1rep can show you the route. right?

Public