<?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 Disaster Recovery Test Fail-over Script in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15634#M3566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Modi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- I am not sure of the enviroment this test failover script is to run under (^DP_ or ^DFDRM) ?&lt;/PRE&gt;&lt;P&gt;Its under DP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- The failover commands are "dfpm dataset" based but resync are at the volume level "dfdrm" based ?&lt;/PRE&gt;&lt;P&gt;Yes, failback is using dfdrm.&amp;nbsp; In the below link the procedure is explained in detailed(failback).&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://now.netapp.com/NOW/knowledge/docs/oncommand/relcore50/pdfs/pdp_work.pdf" target="_blank"&gt;http://now.netapp.com/NOW/knowledge/docs/oncommand/relcore50/pdfs/pdp_work.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Under "Disaster recovery example workflow"-&amp;gt;"Manual failback using the command line interface"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- Can we use a script to clone the most recent snapshot on the destination volumes followed by creating shares to the cloned path such that DR can be tested without affect RPO ?&lt;P&gt;- It seems like the use case for "Failover Test" scripts within Protection Manager was to inject pre and post functionality but not cloning ?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Your cloing can be done as part of pre or post functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Oct 2011 17:45:58 GMT</pubDate>
    <dc:creator>adaikkap</dc:creator>
    <dc:date>2011-10-30T17:45:58Z</dc:date>
    <item>
      <title>Disaster Recovery Test Fail-over Script</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15630#M3562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;========= Context : &lt;/P&gt;&lt;P&gt;# dfpm dataset failover test data-set-name-or-id&lt;/P&gt;&lt;P&gt;Start a job to test disaster recovery failover scripts. &lt;/P&gt;&lt;P&gt;The job will run the failover script, if configured in the data protection policy, as if about to break disaster recovery mirrors, then re-run the failover script as if the the mirror relationships had been broken. &lt;/P&gt;&lt;P&gt;The script will get a special input parameter indicating that this is only a test and not a real failover.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DP_FAILOVER_STATUS &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DP_BEFORE_FAILOVER_MIRROR_BREAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DFDRM_FAILOVER_STATUS &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DFDRM_PRE_BREAK&lt;/P&gt;&lt;P&gt;DFDRM_POST_BREAK&lt;/P&gt;&lt;P&gt;DFDRM_PRE_RESYNC&lt;/P&gt;&lt;P&gt;DFDRM_POST_RESYNC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;========= Assistance required with the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I am not sure of the enviroment this test failover script is to run under (^DP_ or ^DFDRM) ?&lt;/P&gt;&lt;P&gt;- The failover commands are "dfpm dataset" based but resync are at the volume level "dfdrm" based ?&lt;/P&gt;&lt;P&gt;- Can we use a script to clone the most recent snapshot on the destination volumes followed by creating shares to the cloned path such that DR can be tested without affect RPO ?&lt;/P&gt;&lt;P&gt;- It seems like the use case for "Failover Test" scripts within Protection Manager was to inject pre and post functionality but not cloning ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or sample script to clone destination volumes in a DRMirror dataset would be great. &lt;/P&gt;&lt;P&gt;CIFS shares or exports can then be aimed at the cloned paths to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:42:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15630#M3562</guid>
      <dc:creator>mmodi</dc:creator>
      <dc:date>2025-06-05T06:42:20Z</dc:date>
    </item>
    <item>
      <title>Disaster Recovery Test Fail-over Script</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15634#M3566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Modi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- I am not sure of the enviroment this test failover script is to run under (^DP_ or ^DFDRM) ?&lt;/PRE&gt;&lt;P&gt;Its under DP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- The failover commands are "dfpm dataset" based but resync are at the volume level "dfdrm" based ?&lt;/PRE&gt;&lt;P&gt;Yes, failback is using dfdrm.&amp;nbsp; In the below link the procedure is explained in detailed(failback).&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://now.netapp.com/NOW/knowledge/docs/oncommand/relcore50/pdfs/pdp_work.pdf" target="_blank"&gt;http://now.netapp.com/NOW/knowledge/docs/oncommand/relcore50/pdfs/pdp_work.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Under "Disaster recovery example workflow"-&amp;gt;"Manual failback using the command line interface"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;- Can we use a script to clone the most recent snapshot on the destination volumes followed by creating shares to the cloned path such that DR can be tested without affect RPO ?&lt;P&gt;- It seems like the use case for "Failover Test" scripts within Protection Manager was to inject pre and post functionality but not cloning ?&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Your cloing can be done as part of pre or post functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Oct 2011 17:45:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15634#M3566</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2011-10-30T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Disaster Recovery Test Fail-over Script</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15639#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of starting a test failover by clicking test failover on the Disaster Recovery tab i.e. DP_FAILOVER_SCRIPT_TEST=1 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the following stages are run at the same time one after the other ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DP_FAILOVER_STATUS=DP_BEFORE_FAILOVER_MIRROR_BREAK&lt;/P&gt;&lt;P&gt;DP_FAILOVER_STATUS=DP_AFTER_FAILOVER_MIRROR_BREAK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During a test failover, we would never have "DP_AFTER_FAILOVER_MIRROR_BREAK" as is never quiesced / broken ?&lt;/P&gt;&lt;P&gt;In which case, the cloning commands would need to be included under stage "DP_BEFORE_FAILOVER_MIRROR_BREAK" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, since there is only one button for "test failover", suppose the clone was created ... we would have to manually destroy the clone from ontap CLI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 06:04:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15639#M3570</guid>
      <dc:creator>mmodi</dc:creator>
      <dc:date>2011-10-31T06:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disaster Recovery Test Fail-over Script</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15643#M3574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this process work the same for the "DR mirror and Mirror" policy in OC 5.1, when I've tested it with a customer what we are left with is the Mirror pointing in the right direction (Prod - &amp;gt; Mirror) and the DR mirror is still reversed, yet PM thinks it's going the right way (Prod -&amp;gt; DR).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 19:45:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Disaster-Recovery-Test-Fail-over-Script/m-p/15643#M3574</guid>
      <dc:creator>yangus</dc:creator>
      <dc:date>2012-11-22T19:45:08Z</dc:date>
    </item>
  </channel>
</rss>

