Subscribe

using zeplore from netapp can not get a list from snapmirror-list-connection

i try to get a list of my snapmirror connection, i have 50 pairs being replicated yet the results status = passed but i get no connections.

anyway to be able to troubleshoot this ? thank you.

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

Are you querying the API on the destination filer ? Are there any snapmirror connection entries in /etc/snapmirror.conf file  in destination Filer ?

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

i have 8 filers with over 250 snapmirror connections

and all of them have /etc/snapmirror.conf entries in them and none return a connection.

running 7.3.2 - can we see if it's a bug in the Ontap OS.. that what it seems

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

Are you giving the IP address of the destination filer as the input for API ?

You need to give the IP address of the filer to which the connection is made.

There will be other entries in the snapmirror.conf apart from connection entries.

A connection entry is of the type

=(src,dest)

Can you paste the contents of a snapmirror.conf

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

will this make it easier.

snapmirror-get-status returns 50 pairs on the box

however, connections doesn't return anything.

so obviously, there are connections .. yes, ip , hostname tried it all..

here is a snippet 2 of 50

netapp1:reuter1_test_vmsnap_netapp1_iscsi_vol0 netapp1dr:reuter1_test_vmsnap_netapp1_iscsi_vol0 - * * * *
netapp1:bltermin_prod_vmsnap_netapp1_iscsi_vol0 netapp1dr:bltermin_prod_vmsnap_netapp1_iscsi_vol0 - * * * *

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

These are not connection entries.

Connection entries are of type

<connection-name>=(src,dest)

You need to give the ip of the other pair. Not the one, on which you have initiated the snapmirror.

When you do a snapmirror-get-status. Use the value of the

<destination-location> tag as the input for IP.

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

what are you saying ? i checked all my filers source and destination and NONE of them have connection entries as you metion.

checked all my prod and dr netapp's

something doesn't add up over here and not sure what ...

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

these are the typical connection entries from my filer.

bash-3.00# rsh host -l root:passwd rdfile /etc/snapmirror.conf | grep ")"

amitconn=(f3050-184-85,f6070-184-101)
f3050-184-85_rg_con=multi(f3050-184-85,f6070-184-101)

bash-3.00#

These are the connections which are being listed by the API as well.

C:\Documents and Settings\kvishal\Desktop\netapp-manageability-sdk-4.0\bin\nt>ap
itest.exe host root passwd snapmirror-list-connections


<results status="passed">
        <snapmirror-connections>
                <snapmirror-connection-info>
                        <name>amitconn</name>
                        <mode>multi</mode>
                        <address-pair1>
                                <destination-addr>f6070-184-101</destination-addr>
                                <source-addr>f3050-184-85</source-addr>
                        </address-pair1>
                </snapmirror-connection-info>
                <snapmirror-connection-info>
                        <name>f3050-184-85_rg_con</name>
                        <mode>multi</mode>
                        <address-pair1>
                                <destination-addr>f6070-184-101</destination-addr>
                                <source-addr>f3050-184-85</source-addr>
                        </address-pair1>
                </snapmirror-connection-info>
        </snapmirror-connections>
</results>

Try adding a dummy entry into a snampmirror.conf and check if its listing.
Add a dummy entry line
Conn=(src,dest)
Into your snapmirror.conf

And run the snapmirror-list-connections. This should display the dummy connection

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

no such a syntax , i setup these snapmirror pairs via the gui.

i am running on a Netapp filer Ontap 7.3.2 ..

can you please ask someone at netapp for me.. this is getting to be a huge pain.

all i want to do is delete a snapmirror relationship .. that's it !!

Re: using zeplore from netapp can not get a list from snapmirror-list-connection

oh.. well here is what i understand now

The /etc/snapmirror.conf file exists on the filer containing the mirror used for SnapMirror.

There are two types of lines in the configuration file: lines that define mirror relationships and lines that define connections to source filers to be used in the relationship definitions. Relationship definition lines are used to define the mirror relationships for destination volumes on this filer. Connection definition lines are optional and are used to specify specific network connections to the source volume and allow the specification of dual paths to the source volume.

so i just have snapmirror relationships and no connections.. ok,

so now i am back to my original question.

how do i delete a snapmirror relationship not a snapmirror connections .. because i don't use that.