2010-08-11 06:24 AM
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.
2010-08-11 06:54 AM
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 * *
2010-08-12 12:13 AM
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.
2010-08-12 04:16 AM
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.