ONTAP Discussions

Snapmirror.access host=xxx

nsitps1976
9,169 Views

Both src and dest can resolve each other via hosts file – If I use the hostname in the snapmirror.access option I receive access denied, however of I use the IP address then the dest filer can access the src.

I would like to use names rather than IPs. Am I missing something here? Is this something to do with reverse lookup etc??

1 ACCEPTED SOLUTION

adamgross
9,169 Views

From the CLI do "rdfile /etc/hosts" and make sure there aren't any weird characters in there causing problems for you.

View solution in original post

13 REPLIES 13

scottgelb
9,115 Views

It sounds like "options snapmirror.checkip.enable"... if set to on then snapmirror resolves the host name to the ip.  Is it set to off and does switching to on resolve the issue?

adamgross
9,170 Views

From the CLI do "rdfile /etc/hosts" and make sure there aren't any weird characters in there causing problems for you.

nsitps1976
9,115 Views

Ok, I have tried changing “options snapmirror.checkip.enable”  without success. I have also double checked the /etc/hosts file entry.

The source filer is a vfiler and I have configured snapmirror from within the vfiler (not the host system, vfiler0), I am wondering if it is an issue with vfilers, Scott???

Do you think vfiler0 needs the same /etc/hosts entry as vfilerxx?

scottgelb
9,115 Views

Did you check the options in the vfiler? Snapmirror.checkip.enable is also a vfiler option.. Also snapmirror.access.

Typos Sent on Blackberry Wireless

scottgelb
9,115 Views

Also can you ping from the vfiler and to the vfiler?

Typos Sent on Blackberry Wireless

nsitps1976
9,115 Views

Yes I have set all options from within the vfiler and I can also ping to and from the vfiler (I can snapmirror from the vfiler if I use the destination IP address).

scottgelb
9,115 Views

Really odd...the name resolves but doesn't work for snapmirror.  If you "telnet ip 10566" you will get a response since it works by ip, but what happens if you "telnet hostname 10566" ?  I am sure you checked, but nslookup responds the same way from a host for ip and host?

nsitps1976
9,115 Views

Sorry, my mistake! Although I did check the hosts via cifs/wordpad, when I checked with rdfile the name was appended with the local filer name!

adamgross
9,115 Views

Glad to help.  I always start simple because you never know. 

SAROJSAHUMSC
7,750 Views

Hi All,

I m saroj sahu i made an entry in the production like below but i want to remove this entry like host10>options snapmirror.access should be in previous state,

host10>options snapmirror.access host=host1

host10>options snapmirror.access

snapmirror.access  host=host1

Bcz in snapmirror.allow file having the entry already.

is there any impact of same entry in both like snapmirro.access and snapmirror.allow file while snapmirror occuring.

Plz could you help me in this regard

Thanks

Saroj

aborzenkov
7,750 Views

This is either/or. /etc/snapmirror.allow is used only if snapmirror.access is set to “legacy”. Otherwise it is ignored.

SAROJSAHUMSC
7,750 Views

Thanks to everybody all of my friends but how can i set snapmirror.access to "legacy"

Previous state

>options snapmirror.access ----->enter

legacy

but i change by entering >options snapmirror.access host=host1

Now it is >options snapmirror.access

snapmirror.access  host=host1

so how can i go to my previous state like

>options snapmirror.access ----->enter

legacy

Plz help me bcz i made it in production as i m a new to this technology but already the snapmirror.allow file is exists with the same host name what i entered in the snapmirror.access file.

Thanks

saroj

aborzenkov
7,750 Views

options snapmirror.access legacy

Public