The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

\etc\hosts file being updated by 7-mode Network PowerShell cmdlets causing Local SnapMirrors to fail

PADMANTECH

Hi All,

 

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

0 REPLIES 0
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public