#Snapmirror issue
1 messages · Page 1 of 1 (latest)
@obsidian cradle You are in the right place.
Based on the logs, I see relationship-id is empty. Could you share the output of below command for the poller which is failing. You can also mail us the output at ng-harvest-files@netapp.com
bin/zapi -p POLLERNAME show data --api snapmirror-get-iter
sure, let me get it into an attachement
hope this helps
maybe the question should be, what does it do if there AREN'T ANY snapmirror relationships? I would think it would still collect data or error differently than that
something like "Volume, error: no snapmirror relationships"
instead of 'duplicate instance key'
when I reviewed that cluster, there isn't any 'external' snapmirror relationships on that node, but it does have 'snapmirrors' that are local for like root_vol. I'm taking it, it doesn't handle those cases....
which seems counter to what I would expect. I guess the relationshipId is relative to external snapmirrors only
using 'snapmirror show' on that cluster yields:
Source Destination Mirror Relationship Total Last
Path Type Path State Status Progress Healthy Updated
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol LS XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m7_4a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m8_4b Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m9_5a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m10_5b Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m11_6a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m12_6b Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m13_7a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m14_7b Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m15_8a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m16_8b Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m17_9a Snapmirrored Idle - true -
XXXYYY02://XXXYYYv02a/XXXYYYv02a_rootvol_m18_9b Snapmirrored Idle - true -
using 'snapmirror list-destinations' on that cluster, yields:
Source Destination Transfer Last Relationship
Path Type Path Status Progress Updated Id
XXXYYYv02a:barstage01 XDP DESTINATIONv07a:XXXYYY02_barstage01_mirror_vault Idle - - 21d97e10-1b42-11e9-99d8-00a098b89998
XXXYYYv02a:tool_eval XDP DESTINATIONv07a:XXXYYY02_tool_eval_mirror_vault Idle - - 05e955b4-c1fe-11ea-ac15-00a098b899a8
I'd guess that the API doesn't show destinations, only where the snapmirror is sourced
You are right, relationship_id is an optional parameter and This needs to be handled. I'll open a bug to track it
Here is the github issue https://github.com/NetApp/harvest/issues/1239