<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help Needed with SnapMirror Fields/Metrics Collection #3371 in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-Needed-with-SnapMirror-Fields-Metrics-Collection-3371/m-p/457261#M44366</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to collect SnapMirror fields using the endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;api/private/cli/snapmirror&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;. According to the documentation, I should receive the following fields ( and others...) :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;destination_path =&amp;gt; destination_location&lt;/LI&gt;&lt;LI&gt;relationship_id =&amp;gt; relationship_id&lt;/LI&gt;&lt;LI&gt;cg_item_mappings =&amp;gt; cg_item_mappings&lt;/LI&gt;&lt;LI&gt;destination_volume =&amp;gt; destination_volume&lt;/LI&gt;&lt;LI&gt;destination_volume_node =&amp;gt; destination_node&lt;/LI&gt;&lt;LI&gt;destination_vserver =&amp;gt; destination_vserver&lt;/LI&gt;&lt;LI&gt;healthy =&amp;gt; healthy&lt;/LI&gt;&lt;LI&gt;last_transfer_type =&amp;gt; last_transfer_type&lt;/LI&gt;&lt;LI&gt;policy_type =&amp;gt; policy_type&lt;/LI&gt;&lt;LI&gt;relationship_group_type =&amp;gt; group_type&lt;/LI&gt;&lt;LI&gt;relationship_type =&amp;gt; relationship_type&lt;/LI&gt;&lt;LI&gt;schedule =&amp;gt; schedule&lt;/LI&gt;&lt;LI&gt;source_path =&amp;gt; source_location&lt;/LI&gt;&lt;LI&gt;source_volume =&amp;gt; source_volume&lt;/LI&gt;&lt;LI&gt;source_vserver =&amp;gt; source_vserver&lt;/LI&gt;&lt;LI&gt;status =&amp;gt; relationship_status&lt;/LI&gt;&lt;LI&gt;unhealthy_reason =&amp;gt; unhealthy_reason&lt;/LI&gt;&lt;LI&gt;break_failed_count =&amp;gt; break_failed_count&lt;/LI&gt;&lt;LI&gt;break_successful_count =&amp;gt; break_successful_count&lt;/LI&gt;&lt;LI&gt;lag_time(duration) =&amp;gt; lag_time&lt;/LI&gt;&lt;LI&gt;last_transfer_duration(duration) =&amp;gt; last_transfer_duration&lt;/LI&gt;&lt;LI&gt;last_transfer_end_timestamp(timestamp) =&amp;gt; last_transfer_end_timestamp&lt;/LI&gt;&lt;LI&gt;last_transfer_size =&amp;gt; last_transfer_size&lt;/LI&gt;&lt;LI&gt;newest_snapshot_timestamp(timestamp) =&amp;gt; newest_snapshot_timestamp&lt;/LI&gt;&lt;LI&gt;resync_failed_count =&amp;gt; resync_failed_count&lt;/LI&gt;&lt;LI&gt;resync_successful_count =&amp;gt; resync_successful_count&lt;/LI&gt;&lt;LI&gt;total_transfer_bytes =&amp;gt; total_transfer_bytes&lt;/LI&gt;&lt;LI&gt;total_transfer_time_secs =&amp;gt; total_transfer_time_secs&lt;/LI&gt;&lt;LI&gt;update_failed_count =&amp;gt; update_failed_count&lt;/LI&gt;&lt;LI&gt;update_successful_count =&amp;gt; update_successful_count&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, the response I am receiving contains only the following fields:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;"records": [
    {
        "source_path": "#:#####",
        "source_vserver": "#",
        "source_volume": "#",
        "destination_path": "#:#",
        "destination_vserver": "#",
        "destination_volume": "#"
    }
]&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Does anyone have any insights on what might be going wrong? BTW I did not have any issues with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;aggregation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;nic_common&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint/fields before.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;PS :&amp;nbsp;&lt;SPAN&gt;The polar in question is the REST API, and the version of my harvest in the cluster is 9.12.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 09:23:23 GMT</pubDate>
    <dc:creator>RYAD_MED</dc:creator>
    <dc:date>2024-12-10T09:23:23Z</dc:date>
    <item>
      <title>Help Needed with SnapMirror Fields/Metrics Collection #3371</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-Needed-with-SnapMirror-Fields-Metrics-Collection-3371/m-p/457261#M44366</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to collect SnapMirror fields using the endpoint&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;api/private/cli/snapmirror&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;. According to the documentation, I should receive the following fields ( and others...) :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;destination_path =&amp;gt; destination_location&lt;/LI&gt;&lt;LI&gt;relationship_id =&amp;gt; relationship_id&lt;/LI&gt;&lt;LI&gt;cg_item_mappings =&amp;gt; cg_item_mappings&lt;/LI&gt;&lt;LI&gt;destination_volume =&amp;gt; destination_volume&lt;/LI&gt;&lt;LI&gt;destination_volume_node =&amp;gt; destination_node&lt;/LI&gt;&lt;LI&gt;destination_vserver =&amp;gt; destination_vserver&lt;/LI&gt;&lt;LI&gt;healthy =&amp;gt; healthy&lt;/LI&gt;&lt;LI&gt;last_transfer_type =&amp;gt; last_transfer_type&lt;/LI&gt;&lt;LI&gt;policy_type =&amp;gt; policy_type&lt;/LI&gt;&lt;LI&gt;relationship_group_type =&amp;gt; group_type&lt;/LI&gt;&lt;LI&gt;relationship_type =&amp;gt; relationship_type&lt;/LI&gt;&lt;LI&gt;schedule =&amp;gt; schedule&lt;/LI&gt;&lt;LI&gt;source_path =&amp;gt; source_location&lt;/LI&gt;&lt;LI&gt;source_volume =&amp;gt; source_volume&lt;/LI&gt;&lt;LI&gt;source_vserver =&amp;gt; source_vserver&lt;/LI&gt;&lt;LI&gt;status =&amp;gt; relationship_status&lt;/LI&gt;&lt;LI&gt;unhealthy_reason =&amp;gt; unhealthy_reason&lt;/LI&gt;&lt;LI&gt;break_failed_count =&amp;gt; break_failed_count&lt;/LI&gt;&lt;LI&gt;break_successful_count =&amp;gt; break_successful_count&lt;/LI&gt;&lt;LI&gt;lag_time(duration) =&amp;gt; lag_time&lt;/LI&gt;&lt;LI&gt;last_transfer_duration(duration) =&amp;gt; last_transfer_duration&lt;/LI&gt;&lt;LI&gt;last_transfer_end_timestamp(timestamp) =&amp;gt; last_transfer_end_timestamp&lt;/LI&gt;&lt;LI&gt;last_transfer_size =&amp;gt; last_transfer_size&lt;/LI&gt;&lt;LI&gt;newest_snapshot_timestamp(timestamp) =&amp;gt; newest_snapshot_timestamp&lt;/LI&gt;&lt;LI&gt;resync_failed_count =&amp;gt; resync_failed_count&lt;/LI&gt;&lt;LI&gt;resync_successful_count =&amp;gt; resync_successful_count&lt;/LI&gt;&lt;LI&gt;total_transfer_bytes =&amp;gt; total_transfer_bytes&lt;/LI&gt;&lt;LI&gt;total_transfer_time_secs =&amp;gt; total_transfer_time_secs&lt;/LI&gt;&lt;LI&gt;update_failed_count =&amp;gt; update_failed_count&lt;/LI&gt;&lt;LI&gt;update_successful_count =&amp;gt; update_successful_count&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, the response I am receiving contains only the following fields:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;"records": [
    {
        "source_path": "#:#####",
        "source_vserver": "#",
        "source_volume": "#",
        "destination_path": "#:#",
        "destination_vserver": "#",
        "destination_volume": "#"
    }
]&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Does anyone have any insights on what might be going wrong? BTW I did not have any issues with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;aggregation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;nic_common&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint/fields before.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;BR /&gt;&lt;BR /&gt;PS :&amp;nbsp;&lt;SPAN&gt;The polar in question is the REST API, and the version of my harvest in the cluster is 9.12.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 09:23:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-Needed-with-SnapMirror-Fields-Metrics-Collection-3371/m-p/457261#M44366</guid>
      <dc:creator>RYAD_MED</dc:creator>
      <dc:date>2024-12-10T09:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help Needed with SnapMirror Fields/Metrics Collection #3371</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Help-Needed-with-SnapMirror-Fields-Metrics-Collection-3371/m-p/457572#M44468</link>
      <description>&lt;P&gt;Check out this link, it might help&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.netapp.com/us-en/ontap-restapi-9121/ontap/get-snapmirror-relationships.html#parameters" target="_blank"&gt;Retrieve information for SnapMirror relationships&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I have a simulated environment (for my own research), but the version is 9.7.&lt;/P&gt;&lt;P&gt;Similar to 9.12, with minor differences in some fields, this is the output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/snapmirror/relationships

{
    "records": [
        {
            "uuid": "788ff3aa-9c3a-11ef-b2b6-000c299c82f1",
            "_links": {
                "self": {
                    "href": "/api/snapmirror/relationships/788ff3aa-9c3a-11ef-b2b6-000c299c82f1/"
                }
            }
        }
    ],
    "num_records": 1,
    "_links": {
        "self": {
            "href": "/api/snapmirror/relationships"
        }
    }
}


api/snapmirror/relationships/788ff3aa-9c3a-11ef-b2b6-000c299c82f1
{
    "uuid": "788ff3aa-9c3a-11ef-b2b6-000c299c82f1",
    "source": {
        "path": "svm_cifs:testvol",
        "svm": {
            "uuid": "b0ea4d41-9823-11ef-aad3-d039ea06e608",
            "name": "svm_cifs",
            "_links": {
                "self": {
                    "href": "/api/svm/peers/f2a8656c-9c33-11ef-b2b6-000c299c82f1"
                }
            }
        },
        "cluster": {
            "name": "FAS2720",
            "uuid": "5f0a5aa5-8d16-11ef-bb58-d039ea06e608",
            "_link": {
                "self": {
                    "href": "/api/cluster/peers/5f0a5aa5-8d16-11ef-bb58-d039ea06e608"
                }
            }
        }
    },
    "destination": {
        "path": "svmnas:vol_DP",
        "svm": {
            "uuid": "4534aef5-9c2f-11ef-b2b6-000c299c82f1",
            "name": "svmnas",
            "_links": {
                "self": {
                    "href": "/api/svm/svms/4534aef5-9c2f-11ef-b2b6-000c299c82f1"
                }
            }
        }
    },
    "policy": {
        "uuid": "cc20290b-9c2a-11ef-b2b6-000c299c82f1",
        "name": "MirrorAndVault",
        "type": "async",
        "_links": {
            "self": {
                "href": "/api/snapmirror/policies/cc20290b-9c2a-11ef-b2b6-000c299c82f1"
            }
        }
    },
    "restore": false,
    "state": "snapmirrored",
    "healthy": true,
    "exported_snapshot": "snapmirror.4534aef5-9c2f-11ef-b2b6-000c299c82f1_2147536221.2024-11-06_122739",
    "lag_time": "PT9H52M12S",
    "_links": {
        "self": {
            "href": "/api/snapmirror/relationships/788ff3aa-9c3a-11ef-b2b6-000c299c82f1/"
        }
    }
}

api/snapmirror/relationships/788ff3aa-9c3a-11ef-b2b6-000c299c82f1/transfers
{
    "records": [],
    "num_records": 0,
    "_links": {
        "self": {
            "href": "/api/snapmirror/relationships/788ff3aa-9c3a-11ef-b2b6-000c299c82f1/transfers"
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 06:45:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Help-Needed-with-SnapMirror-Fields-Metrics-Collection-3371/m-p/457572#M44468</guid>
      <dc:creator>Ashun</dc:creator>
      <dc:date>2024-12-23T06:45:07Z</dc:date>
    </item>
  </channel>
</rss>

