<?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 looking for the metrics of Ontap REST API to represent the delay of snapmirror sync in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443309#M490</link>
    <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;in snapmirror synchronous Sync mode, the volume I/O will be committed first to the remote volume and can be delayed up to 10ms before the I/O is committed to the source volume. (refer to the link about snapmirror sync mode I/O mechanism:&lt;A href="https://kb.netapp.com/onprem/ontap/dp/SnapMirror/What_is_the_latency_impact_for_IO_to_SnapMirror_Synchronous_Source_Volume%3F)" target="_blank"&gt;https://kb.netapp.com/onprem/ontap/dp/SnapMirror/What_is_the_latency_impact_for_IO_to_SnapMirror_Synchronous_Source_Volume%3F)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am looking for the metrics of Ontap REST API to represent the delay. I check the output of REST API about snapmirror sync mode, as following screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_66_0-1681138816910.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/25596iE53D2AC139DC6A7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Daniel_66_0-1681138816910.png" alt="Daniel_66_0-1681138816910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the value of lag_time parameter is "PT0S" in the screenshot, I wonder that what the value "PT0S" means in snapmirror sync mode?&amp;nbsp; Can this parameter represent the delay of snapmirror sync mode the same as&amp;nbsp;&amp;nbsp;the column of "SM Sync" in the following&amp;nbsp; command output?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_66_1-1681138962799.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/25597iA4E8D39A96275497/image-size/large?v=v2&amp;amp;px=999" role="button" title="Daniel_66_1-1681138962799.png" alt="Daniel_66_1-1681138962799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
    <dc:creator>Daniel_66</dc:creator>
    <dc:date>2025-06-04T09:50:44Z</dc:date>
    <item>
      <title>looking for the metrics of Ontap REST API to represent the delay of snapmirror sync</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443309#M490</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;in snapmirror synchronous Sync mode, the volume I/O will be committed first to the remote volume and can be delayed up to 10ms before the I/O is committed to the source volume. (refer to the link about snapmirror sync mode I/O mechanism:&lt;A href="https://kb.netapp.com/onprem/ontap/dp/SnapMirror/What_is_the_latency_impact_for_IO_to_SnapMirror_Synchronous_Source_Volume%3F)" target="_blank"&gt;https://kb.netapp.com/onprem/ontap/dp/SnapMirror/What_is_the_latency_impact_for_IO_to_SnapMirror_Synchronous_Source_Volume%3F)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am looking for the metrics of Ontap REST API to represent the delay. I check the output of REST API about snapmirror sync mode, as following screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_66_0-1681138816910.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/25596iE53D2AC139DC6A7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Daniel_66_0-1681138816910.png" alt="Daniel_66_0-1681138816910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the value of lag_time parameter is "PT0S" in the screenshot, I wonder that what the value "PT0S" means in snapmirror sync mode?&amp;nbsp; Can this parameter represent the delay of snapmirror sync mode the same as&amp;nbsp;&amp;nbsp;the column of "SM Sync" in the following&amp;nbsp; command output?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_66_1-1681138962799.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/25597iA4E8D39A96275497/image-size/large?v=v2&amp;amp;px=999" role="button" title="Daniel_66_1-1681138962799.png" alt="Daniel_66_1-1681138962799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443309#M490</guid>
      <dc:creator>Daniel_66</dc:creator>
      <dc:date>2025-06-04T09:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: looking for the metrics of Ontap REST API to represent the delay of snapmirror sync</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443310#M491</link>
      <description>&lt;P&gt;That KB article is incorrect. I just put in a request to remove it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SM-S operates in one of two modes - sync and strict sync.&amp;nbsp; The target customer for the "sync" option is customers who want RPO=0, but they do NOT want operations to screech to a halt if the replication link is lost. That applies to most customers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some customers, however, want 100% guaranteed RPO=0. That's why we also included the option for strict sync. If a write cannot be replicated, an IO error is returned to the host OS, which typically results in an application shutdown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In both cases, the timeout is around 15 seconds, but the precise number varies a little and I believe there are some options for tuning. In normal operations, you have RPO=0 synchronous mirroring. If you lose connectivity to the remote site for more than 15 seconds, then regular SM-S will carry on accepting writes in broken state and resync when it gets the opportunity, and StrictSync will throw an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that field you've asked about indicates the time since a SM-S Synchronous (not Strict) replica lost sync.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 15:26:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443310#M491</guid>
      <dc:creator>steiner</dc:creator>
      <dc:date>2023-04-10T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: looking for the metrics of Ontap REST API to represent the delay of snapmirror sync</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443323#M492</link>
      <description>&lt;P&gt;Thank you for your reply. It’s different about “lag_time” in REST API against “SM Sync” in the output of qos statistics command. As per your instruction, “lag_time:PT0S” should indicate RPO of snapmirror sync mode is zero. “SM Sync” should indicate source volume write I/O’s delay generated by snapmirror sync. Because the delay exists in between snapmirror source and destination(say network latency etc.) , there must be delay of source volume write I/O in order to guarantee RPO=0. If the delay is less than 10ms (indicated by “SM sync” field ), the snapmirror sync state is in good condition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I found “PS0T” definition at the link address: (&lt;A href="https://en.wikipedia.org/wiki/ISO_8601#Durations" target="_blank"&gt;https://en.wikipedia.org/wiki/ISO_8601#Durations&lt;/A&gt;). It indicates a duration of 0 seconds(that is RPO=0)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 03:58:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/looking-for-the-metrics-of-Ontap-REST-API-to-represent-the-delay-of-snapmirror/m-p/443323#M492</guid>
      <dc:creator>Daniel_66</dc:creator>
      <dc:date>2023-04-11T03:58:23Z</dc:date>
    </item>
  </channel>
</rss>

