<?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: WFA issue with cache updates in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43293#M8897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Francois and Yann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You guys have actually uncovered a limitation in WFA.&lt;/P&gt;&lt;P&gt;I was able to reproduce the issue of the "clone volume workflow" where you remove a volume and clone it again.&lt;/P&gt;&lt;P&gt;I digged deeper and here is what i found:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. There are two commands that create reservations here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove volume( if exists)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create Clone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. An important point here is that the volume that gets deleted and the clone being created have the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. The workflow runs perfectly fine the first time and reservations are created. But at this point, the "cache update" is set to "NO" for both the reservations. Which is expected. Now if you go ahead and run data acquisition on DFM and cache acquisition in WFA, the reservation for "create clone" is cleared("cache updated" is set to YES). But, the reservation for "remove volume" is not cleared("cache updated" in still NO). This is what you guys observed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Why is that happening? &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;There are two conflicting reservations that are happening here. One reservation thinks "test_clone" volume does not exist(REMOVE VOLUME). The other reservation thinks "test_clone" volume exists and was newly created(CREATE CLONE).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;Now, When the cache acquisition happens in WFA, the congruence test for "create clone" checks if the newly reported data contains the "test_clone" volume. It does exist, so the reservation is CLEARED. No problems here.&lt;/P&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;The congruence test for "remove volume" is expecting that "test_clone" volume is NOT present in the cache because it deleted the volume itself. But, surprise!! It is present, so it thinks that the OCUM has not yet reported that the volume is deleted and it remains in "cache updated" being NO. It will stay NO until the default period of 4hours(because OCUM will never report that the volume does not exist), which is why francois was able to come again the next day and execute it successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.Coming to the results of the filter being weird.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;When you run a filter with "Use reservation" being checked, the filter takes the WFA cache, merges it with reservation data and provides the result.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Essentially, what is happening here is that the filter takes the "test_clone" volume from WFA and applies any reservations (Remember, the "remove volume" is not cleared yet). The resultant effect is that the volume is removed.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;If you remove the "use reservation" check in the filter, the "test_clone" volume is taken from WFA cache but the "remove volume" reservation is NOT run. Therefore you will see the volume in the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6. How can we fix this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;This can happen to any object(not just volume) if a workflow create conflicting reservations.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;To decide upon a fix and provide a workaround, i need to understand the use case here.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Why is this workflow being used exactly?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Are there similar workflows that are being used?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;If not, what other workflows are being run?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;How frequently will this workflow required to be run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be helpful if i can get answers to those questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 10:33:21 GMT</pubDate>
    <dc:creator>ag</dc:creator>
    <dc:date>2014-04-03T10:33:21Z</dc:date>
    <item>
      <title>WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43120#M8838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running the latest version of WFA &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;v2.1.0.70.32 in my environment and I've come across an issue I thought wouldn't exist because I'm using certified commands.&amp;nbsp; The issue is that WFA does not appear to be aware of changes it has made before the OnCommand cache updates occur.&amp;nbsp; Here is the scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Step 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;I'm creating a new CDOT export policy, export rule, and volume.&amp;nbsp; This flow works without issue and is called &lt;/SPAN&gt;&lt;STRONG&gt;ss_cdot_CreateNFSVolumeWithExport&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Step 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Before WFA and/or OnCommand has had a chance to learn about the change from the step 1 workflow via scheduled cache updates I attempt to run a workflow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;that creates a new rule in the policy created from step 1.&amp;nbsp; This fails and will continue to fail until WFA's cache is updated from OnCommand and it learns about this new policy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;This flow is called &lt;/SPAN&gt;&lt;STRONG&gt;ss_cdot_CreateExportRule&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the commands in both flows are certified so I had thought that would avoid this issue.&amp;nbsp; I had originally been using a modified No-Op command in the first create flow for the reasons behind this &lt;A _jive_internal="true" href="https://community.netapp.com/thread/27058" target="_blank"&gt;post &lt;/A&gt;but even after removing that single non-certified command the problem remains.&amp;nbsp; The only thing I can think of is that I created these flows in WFA v2.0 and recently upgraded to v2.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm either missing something or have encountered a bug in WFA regarding export policies and cache awareness of them, although I'm leaning towards an error I made somewhere but haven't found it yet.&amp;nbsp; I'm attaching both flows in the hopes that they will reveal where I've tripped up.&amp;nbsp; Hopefully it's something simple, thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 00:47:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43120#M8838</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2013-11-13T00:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43124#M8839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you give the input for export rule specification? I need a lot of time to figure that out from the workflow internals &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will be easier if you let me know. Please specify an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 14:09:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43124#M8839</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2013-11-13T14:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43129#M8840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The input is based on one of the example workflows that came with WFA, specifically "&lt;STRONG&gt;Create a Clustered Data ONTAP NFS Volume&lt;/STRONG&gt;".&amp;nbsp; It's a loop that will add each rule --- the number of loops will equal the number of rules requested leveraging a couple different functions.&lt;/P&gt;&lt;P&gt;Both workflows I attached do work successfully independent of each other.&amp;nbsp; The issue is that WFA for some reason is not aware of the export policy it created for the new volume before the next OnCommand cache update occurs, something I thought I was able to work around by using certified commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the description from the command I copied:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Export Specification Rule is an input that combines all the Export Rules for a Policy.&amp;nbsp; Each Export Specification Rule is of the form:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;client-specification IP&amp;gt;;read-only rule;read-write rule;superuser rule&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Individual rules are separated by an ampersand (&amp;amp;).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For example, the export rule spec '10.10.10.10;ntlm;krb5;sys&amp;amp;20.20.20.20;krb5;sys;ntlm' specifies two export rules:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Export Rule 1) client-specification = 10.10.10.10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;read-only rule = ntlm&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;read-write rule = krb5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;superuser rule = sys&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Export Rule 2) client-specification = 20.20.20.20&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;read-only rule = krb5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;read-write rule = sys&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;superuser rule = ntlm&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 18:07:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43129#M8840</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2013-11-13T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43134#M8841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the Reservations tab, you can see which commands get reservations created. And it appears the Create Export Policy/Create Export Rule certified commands do not add a reservations. Looks like a bug to me. I've tried creating a few other types of objects with in-built commands for cDOT and they don't have reservations too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got around this by defining the object if the search fails and I know its there, using other attributes from objects that did exist. However that means if its not actually there it fails at execution rather than evaluation time which isn't ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my initial list of cDOT commands missing reservations so you don't hit them. It would be really nice if we could create custom reservations for our commands easily in the field!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Missing Reservations&lt;/P&gt;&lt;P&gt;- Create Export Policy&lt;/P&gt;&lt;P&gt;- Create Export Rule&lt;/P&gt;&lt;P&gt;- Create CIFS Share&lt;/P&gt;&lt;P&gt;- Remove CIFS share ACL&lt;/P&gt;&lt;P&gt;- Add CIFS share ACL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I don't have a better answer, but I can definitely reproduce your problem (and have been working around it myself).&lt;/P&gt;&lt;P&gt;For now, I would suggest defining the object instead of searching for it, since you are passing in the rule name anyway, and the vserver search will work because its not a new item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;- Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 01:49:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43134#M8841</guid>
      <dc:creator>mgoddard</dc:creator>
      <dc:date>2013-11-14T01:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43137#M8842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reproduce the issue.&lt;/P&gt;&lt;P&gt;To get around this issue, You can reduce the DFM option "sharemoninterval" to a low value like 30 seconds or 1 minute. That will acquire the data on export-policies. Also reduce the acquire interval for data sources on WFA to a low value. But then again, it is a tedious job and you may end up waiting a few minutes between the two workflows.&lt;/P&gt;&lt;P&gt;As michael said, export policies do not have reservations. It is not a problem with the command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am curious as to why you are not using the certified workflow "Create a clustered Data ONTAP NFS volume" which does the same job as the two of your workflows combined?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 12:10:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43137#M8842</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2013-11-19T12:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43142#M8843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good news! I've created a custom Create Export Policy command that includes reservations missing from the certified command, you could use it to also avoid the problem in a more robust manor, attached below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested by replacing the certified command in the first workflow (CreateNFSVolWithExport), and the second workflow now finds the policy before a polling cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that's useful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;- Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 00:34:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43142#M8843</guid>
      <dc:creator>mgoddard</dc:creator>
      <dc:date>2013-11-20T00:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43149#M8844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info on the timeouts - I've got the updates down low already but don't want to make the OnCommand one so low that it add unnecessary load to the cluster.&lt;/P&gt;&lt;P&gt;I've split the 2 flows out because I have to solve for a use case where a customer first provisions a new volume/NFS share and then immediately turns around to add more export rules, perhaps because they forgot about them initially.&amp;nbsp; I don't make up these use cases nor do I establish what is a reasonable SLA for these use cases.&amp;nbsp; I just have to do my best to achieve the SLA for the use cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:07:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43149#M8844</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2013-11-20T18:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43154#M8845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, thank you very much!&amp;nbsp; I'll see if I have time to get this in play before we deploy CDOT this weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 18:08:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43154#M8845</guid>
      <dc:creator>dcornely1</dc:creator>
      <dc:date>2013-11-20T18:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43159#M8846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;I'm looking for a way to use reservation in my custom commands, for caching purpose.&lt;/P&gt;&lt;P&gt;I saw in xml file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO cm_storage.export_policy&lt;/P&gt;&lt;P&gt;SELECT NULL as id,&lt;/P&gt;&lt;P&gt;PolicyName as name,&lt;/P&gt;&lt;P&gt;vs.id as vserver_id&lt;/P&gt;&lt;P&gt;FROM cm_storage.vserver vs&lt;/P&gt;&lt;P&gt;JOIN&lt;/P&gt;&lt;P&gt;cm_storage.cluster cl&lt;/P&gt;&lt;P&gt;ON (cl.primary_address=Cluster OR cl.name=Cluster)&lt;/P&gt;&lt;P&gt;AND vs.cluster_id = cl.id&lt;/P&gt;&lt;P&gt;AND vs.name = VserverName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:19:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43159#M8846</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2014-02-27T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43163#M8847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reservation is not supported in custom commands.&lt;/P&gt;&lt;P&gt;This feature may be available in a future release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael, you have used a certified command in the workflow&lt;/P&gt;&lt;P&gt;which has a reservation script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 10:14:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43163#M8847</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2014-02-27T10:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43167#M8848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francois,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pls add your case to RFE 746319 so that it gets prioritized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW can you provide some more details on your custom command ?&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>Thu, 27 Feb 2014 10:27:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43167#M8848</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2014-02-27T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43172#M8849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; adai,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Custom command is Clone Volume like with clone on last snapshot with specific suffix name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I use this for cloning SQL environnement snapshoted with SMSQL and unic name convention -UN&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;François&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 10:40:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43172#M8849</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2014-02-27T10:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43177#M8851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhit,&lt;/P&gt;&lt;P&gt;I exported my custom command to dar and changed xml to integrate &amp;lt;reservationScript&amp;gt; section from certified command "Clone Volume" .&lt;/P&gt;&lt;P&gt;My problem is fixed.&lt;/P&gt;&lt;P&gt;Do you see something dangerous&amp;nbsp; to use in this way?&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:31:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43177#M8851</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2014-02-28T09:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43182#M8854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francois:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow. That is a great workaround.&lt;/P&gt;&lt;P&gt;You have to test extensively and qualify it for usage&lt;/P&gt;&lt;P&gt;since it is not a supported or recommended process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:56:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43182#M8854</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2014-02-28T11:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43188#M8857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great tip François.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I did the same thing, it &lt;STRONG&gt;seemed&lt;/STRONG&gt; to work, until you do an acquisition in WFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why yet, but what I got, looking at the reservations in WFA web UI, was a "Cache Updated" YES, for an export policy that was not refreshed in OCUM yet (It was "NO" before acquisition). The volume reservation had a good status of refreshed to "NO" (i.e. waiting for OCUM to report it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I might have done something wrong, I need to do some research&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 04:49:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43188#M8857</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2014-03-18T04:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43193#M8859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yann,&lt;/P&gt;&lt;P&gt;Where do you retrieve &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt; &amp;lt;reservationScript&amp;gt;&lt;/SPAN&gt; xml portion? As certified command are not exportable, it was necessary to take a look directly in MySQL DB.&lt;/P&gt;&lt;P&gt;For that,&amp;nbsp; I installed a separate MySQL server, where I have root access and I restored the full DB of WFA. wfa.command_definition was now accessible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the informations was in&lt;/P&gt;&lt;P&gt;SELECT reservation_script FROM &lt;STRONG&gt;wfa.command_definition&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;WHERE command LIKE '%clone%';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:23:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43193#M8859</guid>
      <dc:creator>francoisbnc</dc:creator>
      <dc:date>2014-03-18T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43199#M8860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used your actually, copy and pasted the reservation block, but keeping my own copy of the Export Policy Create command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looked consistent, even if I did not understand how variable substitution was done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:33:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43199#M8860</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2014-03-18T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43205#M8861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, actually it is even weirder... Qtree creation is not populated in the qtree table either, but that Command is supposed to use reservation... really odd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:53:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43205#M8861</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2014-03-18T19:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43210#M8862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer this specific question, reservations are not directly committed to the specific tables. In your case, qtrees that are newly created are not directly committed to the qtree table. Rather they are stored in the wfa.reservation table and will be committed once the acquisition from OCUM confirms the objects presence. However from the WFA UI, if you were to use a filter to find the newly created qtree, it will use this reservation data and make it appears as though it were taken from the qtree table itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 04:54:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43210#M8862</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-03-19T04:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: WFA issue with cache updates</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43215#M8863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I finally figured, thanks for the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have that workflow that creates a qtree and an export policy, empty at first&lt;/P&gt;&lt;P&gt;Then another workflow that adds rules to the export policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what happens when I run the first workflow in the reservations :&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25234_Banners_and_Alerts_et_WFA_by_NetApp.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Here, cache is not updated, good, I expect that. My understanding is that "NO" means "I didn't get that one from OCUM yet"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I run "Acquire now" on my OCUM data source in WFA, and here is how it changes reservations :&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25235_WFA_by_NetApp.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Export policy is then marked as cache updated... but not the Qtree. It does not make sense because OCUM did not discover that export policy yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now, my second workflow will fail, saying that "No results were found. The following filters have returned empty results:".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like there is a incoherence between the process that refreshes cache and the one that populates the database : i.e. reservations says I got the export policy from OCUM, but the export_policy table does not list it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I re-discover in OCUM, then run Acquisition from WFA, everything is back to normal and I can reference my export policy again, and both entries are marked as Cache updates&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25236_WFA_by_NetApp+2.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense ? Would that be a problem with the "hack" or the SQL query defined in the reservation section ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:03:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-issue-with-cache-updates/m-p/43215#M8863</guid>
      <dc:creator>yannb</dc:creator>
      <dc:date>2014-03-19T14:03:01Z</dc:date>
    </item>
  </channel>
</rss>

