<?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 Re: snapmirror relationship group type, missing in rest in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440433#M393</link>
    <description>&lt;P&gt;I looked at the REST documentation for the relationships endpoint:&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/snapmirror/snapmirror_relationship_get" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/snapmirror/snapmirror_relationship_get&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the group_type field was added in ONTAP 9.11.1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBlackhart_0-1670600270878.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/24886i987B0A87912B7665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertBlackhart_0-1670600270878.png" alt="RobertBlackhart_0-1670600270878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The mapping document doesn't seem like it was updated to say that this is the equivalent to the relationship-group-type attribute though. You can submit a request to have the mapping document updated by going to the "let us know" link from this page:&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-98/overview.html" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-98/overview.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 15:40:40 GMT</pubDate>
    <dc:creator>RobertBlackhart</dc:creator>
    <dc:date>2022-12-09T15:40:40Z</dc:date>
    <item>
      <title>snapmirror relationship group type, missing in rest</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440424#M392</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In REST apis, the snapmirror relationship group type is no longer existing. (&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-98/snapmirror.html#snapmirror-get" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-98/snapmirror.html#snapmirror-get&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of our code relies on checking if the snapmirror relations group type is&amp;nbsp; 'vserver'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some prototyping and testing and confirmed the rest apis, when getting the entire snapmirror relationship collection for given source volume do NOT return the `vserver` relationships - which is good for our use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our current/old code using ontapis/zapis do return all group types relationships and code does&amp;nbsp; skip the 'vserver' ones...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to check with this group if my testing and assumption is safe to use in production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I safely assume rest apis will not return any relationships with 'vserver' group type? Can the ontap-restmap document be updated to reflect this fact?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robert Simac&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:54:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440424#M392</guid>
      <dc:creator>RobertSimac</dc:creator>
      <dc:date>2025-06-04T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: snapmirror relationship group type, missing in rest</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440433#M393</link>
      <description>&lt;P&gt;I looked at the REST documentation for the relationships endpoint:&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/snapmirror/snapmirror_relationship_get" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/snapmirror/snapmirror_relationship_get&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the group_type field was added in ONTAP 9.11.1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertBlackhart_0-1670600270878.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/24886i987B0A87912B7665/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertBlackhart_0-1670600270878.png" alt="RobertBlackhart_0-1670600270878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The mapping document doesn't seem like it was updated to say that this is the equivalent to the relationship-group-type attribute though. You can submit a request to have the mapping document updated by going to the "let us know" link from this page:&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-98/overview.html" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-98/overview.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 15:40:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440433#M393</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2022-12-09T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: snapmirror relationship group type, missing in rest</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440462#M394</link>
      <description>&lt;P&gt;Thanks Robert that is useful info. Unfortunately our production is currently at ontap 9.7 and will take a while to get it up to date with 9.11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did additional testing on 9.7 and confirmed the new REST apis do NOT return any `svm_dr` or `vserver` relationships when queried by `destination_path` like this . Note below query returns only two relationships, to vservers devzzy and devzzz&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;curl &lt;SPAN class=""&gt;--insecure&lt;/SPAN&gt; &lt;SPAN class=""&gt;--user&lt;/SPAN&gt; user:pass &lt;SPAN class=""&gt;"https://devcd1/api/snapmirror/relationships/?list_destinations_only=true&amp;amp;destination.path=RSSIMPLE&amp;amp;fields=destination,source"&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"records": [&lt;BR /&gt;{&lt;BR /&gt;"uuid": "d03f4484-540e-11ec-be53-00a098d065b0",&lt;BR /&gt;"source": {&lt;BR /&gt;"path": "devcd1:RSSIMPLE",&lt;BR /&gt;"svm": {&lt;BR /&gt;"uuid": "dadfc8e4-478c-11e8-a818-00a098d480e5",&lt;BR /&gt;"name": "devcd1",&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/svm/svms/dadfc8e4-478c-11e8-a818-00a098d480e5"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"destination": {&lt;BR /&gt;"path": "devzzy:RSSIMPLE",&lt;BR /&gt;"svm": {&lt;BR /&gt;"uuid": "781b0694-52db-11e8-81cb-00a098d480f3",&lt;BR /&gt;"name": "devzzy",&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/svm/peers/f110ec2b-52dc-11e8-81cb-00a098d480f3"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"cluster": {&lt;BR /&gt;"name": "rt1mgb-stor",&lt;BR /&gt;"uuid": "eaa185de-c94d-11eb-a271-00a098997e7f",&lt;BR /&gt;"_link": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/cluster/peers/eaa185de-c94d-11eb-a271-00a098997e7f"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/snapmirror/relationships/d03f4484-540e-11ec-be53-00a098d065b0/?list_destinations_only=true"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"uuid": "d2ebc59d-4ec1-11eb-8c5c-00a098d065b0",&lt;BR /&gt;"source": {&lt;BR /&gt;"path": "devcd1:RSSIMPLE",&lt;BR /&gt;"svm": {&lt;BR /&gt;"uuid": "dadfc8e4-478c-11e8-a818-00a098d480e5",&lt;BR /&gt;"name": "devcd1",&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/svm/svms/dadfc8e4-478c-11e8-a818-00a098d480e5"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"destination": {&lt;BR /&gt;"path": "devzzz:RSSIMPLE",&lt;BR /&gt;"svm": {&lt;BR /&gt;"uuid": "bc0a9645-4d6f-11e8-a818-00a098d480e5",&lt;BR /&gt;"name": "devzzz",&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/svm/peers/a6acfcf6-4eeb-11e8-81cb-00a098d480f3"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"cluster": {&lt;BR /&gt;"name": "rt1mgb-stor",&lt;BR /&gt;"uuid": "eaa185de-c94d-11eb-a271-00a098997e7f",&lt;BR /&gt;"_link": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/cluster/peers/eaa185de-c94d-11eb-a271-00a098997e7f"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/snapmirror/relationships/d2ebc59d-4ec1-11eb-8c5c-00a098d065b0/?list_destinations_only=true"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"num_records": 2,&lt;BR /&gt;"_links": {&lt;BR /&gt;"self": {&lt;BR /&gt;"href": "/api/snapmirror/relationships/?list_destinations_only=true&amp;amp;destination.path=RSSIMPLE&amp;amp;fields=destination,source"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note above volume RSSIMPLE volume does have svm dr (vserver) relationship when queried by ontap CLI like this. Note the destination path vserver is devcd1_SVMDR, not returned in above rest api output...&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;devcd1::&amp;gt; snapmirror list-destinations &lt;SPAN class=""&gt;-destination-path&lt;/SPAN&gt; RSSIMPLE&lt;/SPAN&gt;
&lt;SPAN class=""&gt;              Source Path: devcd1:RSSIMPLE&lt;/SPAN&gt;
&lt;SPAN class=""&gt;         Destination Path: devcd1_SVMDR:RSSIMPLE&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        Relationship Type: XDP&lt;/SPAN&gt;
&lt;SPAN class=""&gt;  Relationship Group Type: vserver&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   SnapMirror Policy Type: async-mirror&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      Relationship Status: Idle&lt;/SPAN&gt;
&lt;SPAN class=""&gt;        Transfer Progress: -&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    Progress Last Updated: -&lt;/SPAN&gt;
&lt;SPAN class=""&gt;       Source Volume Node: dev-stor-01&lt;/SPAN&gt;
&lt;SPAN class=""&gt;          Relationship ID: c6e59f45-2799-11ec-b628-00a098997ee7&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While above 'works for me'... I would still like to hear some words of confirmation / encouragement or reference to the document stating the REST querying by destination path will return only normal snapmirror relationships, not the SVM DR ones, at least on ontap 9.7..&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 09:41:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440462#M394</guid>
      <dc:creator>RobertSimac</dc:creator>
      <dc:date>2022-12-12T09:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: snapmirror relationship group type, missing in rest</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440512#M400</link>
      <description>&lt;P&gt;I understand what you're looking for and that's a reasonable ask. I don't see it explicitly stated in the documentation though and I don't have enough expertise on the feature to know. You may want to reach out to support to try and get a more detailed answer from an expert on snapmirror.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 12:28:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/snapmirror-relationship-group-type-missing-in-rest/m-p/440512#M400</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2022-12-13T12:28:23Z</dc:date>
    </item>
  </channel>
</rss>

