2014-11-30 06:12 PM - edited 2014-11-30 06:19 PM
We often use SnapMirror to move volumes on the same node and also the WFA LUN migrations workflow where we have encountered a problem whcih i belive comes from the way the \etc\Hosts is re-written by the PowerShell cmdlets.
Example using NetApp powershell cmdlets version 3.2:
After adding a route using Add-NaNetRoute, etc\rc & \etc\hosts files are re-written however when the \etc\hosts is re-written, it now associates the node name alias with the cluster interfaces which then causes the SnapMirrors to itself to fail until it is removed.
Please see below sanatised \etc\hosts file from one of our 7-mode systems. Note the Cluster interfaces now have a hostname of "node02" & and alias of "node02-c0a". Node02 is the name of the system. This was not there before running any PowerShell networing cmdlets and is the casue of a few SnapMirror issues for us.
PS C:\> Read-NaFile /vol/vol0/etc/hosts
#Auto-generated by zapi_net_config Fri Nov 28 17:32:18 EST 2014
127.0.0.1 localhost localhost-stack
127.0.10.1 localhost-10 localhost-bsd
127.0.20.1 localhost-20 localhost-sk
192.168.1.209 node02 node02-c0a
192.168.2.146 node02 node02-c0b
192.168.x.x node02 node02-e0M
192.168.x.x node02 node02-e0P
10.x.x.x node02 node02-prod_vif-1111
10.x.x.x node02 node02-prod_vif-2222
10.x.x.x node02 node02-vscan_vif-3333
192.168.x.x node02 node02-prod_vif-4444