Network and Storage Protocols

snapmirror.conf : Multiple connection entries with same name

deepak1224
3,272 Views

Hello Experts,

What will happen if there are multiple connection entry in snapmirror.conf. Which connection will be use for replication. like

my_conn = (src1, dst1)

my_conn = (src2, dst2)

myconn:srcvol detination:dstvol restart=always 15 * * 1,2,3,4,5

now which connection will be used for replication. Please help me out.

Thanks

Deepak

3 REPLIES 3

thomas_glodde
3,272 Views

Afaik first entry found will be used.

But why define 2 same named connections in the first place?!

Usualy i only (unique) name connections if i want to multipath:

fas01tofas03 = multi (172.16.1.1,172.16.1.3) (172.16.2.1,172.16.2.3)

fas02tofas03 = multi (172.16.1.2,172.16.1.3) (172.16.2.2,172.16.2.3)

# Backup Schedule FAS01 to FAS03
fas01tofas03:vol_root fas03:vol_root_fas01 - 1 5-23 * *

# Backup Schedule FAS02 to FAS03
fas02tofas03:vol_root fas03:vol_root_fas02 - 6 5-23 * *

deepak1224
3,272 Views

Hi Thomas,

Our setup has multiple connection entries with same connection name. May be this got placed there accidentally but now i am some what curious about it.

As snapmirror don't give any error or warning for multiple entries with same name so is there any criteria by which connection name is taken for snapmirror replication.

Thanks,

Deepak

thomas_glodde
3,272 Views

Hi Deepak,

as far as i know, netapp usualy takes the first entry found, thats, at least, the case for nfs exports or additional settings in the rc or hosts file.

To be 100% sure tho id get in touch with netapp technical support.

Regards

Thomas

Public