Community

Subscribe
Highlighted

When snapmirroring, do we need to update /etc/hosts file on both controllers?

I am not able to do snapmirror through oncommand, till i update the /etc/hosts file using command line.

Is that the process or prerequisite?

thanks in advance

Re: When snapmirroring, do we need to update /etc/hosts file on both controllers?

It is not a prerequisite for SnapMirror. What problem did you face when you tried to perform SnapMirror using System Manager before updating /etc/hosts file.

Also, what did you update in /etc/hosts file ?

Please provide us the support bundle and we will look into the problem.

Regards,

Karthik

Re: When snapmirroring, do we need to update /etc/hosts file on both controllers?

When i tried, I got an error saying "source filer not found"

In /etc/hosts file,

On the dest side: I added a line with Source filer and vice versa.

After that i am able to do all migrations

Re: When snapmirroring, do we need to update /etc/hosts file on both controllers?

If you properly configured the resolution of IP to Hostnames with interfaces in AD and all dns resolution is occuring thru it. you dont need to define in /etc/hosts files.

Make sure the proper interface is set for snapmirror.access option.

For best practices follow the link: https://communities.netapp.com/blogs/mandown/2010/06/09/setting-a-preferred-interface-for-snapmirror-traffic-in-protection-manageroperations-manager

thank you

AK G