<?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: DFM.Snapshots table imports in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50506#M10384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;It can not be directly imported into 1.0.2, but it can be used as reference both table structure and queries .&lt;/P&gt;&lt;P&gt;Can you give some details on the use case ,why do you need to cache snapshots ?&lt;/P&gt;&lt;P&gt;Dekel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 06:48:34 GMT</pubDate>
    <dc:creator>dekel</dc:creator>
    <dc:date>2012-01-24T06:48:34Z</dc:date>
    <item>
      <title>DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50492#M10379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, anyone have a good implementation of importing DFM snapshots table from DFM with finders and filters to share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:36:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50492#M10379</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2025-06-05T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50496#M10380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Snapshot caching will be part of 1.1 release (ETA March 2012)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yaron Haimsohn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 22:17:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50496#M10380</guid>
      <dc:creator>yaronh</dc:creator>
      <dc:date>2012-01-23T22:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50501#M10382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can it be exported and reimported in 1.0.2? &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; It would be a nice addition to have without having to rewrite it.&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 23:40:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50501#M10382</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-23T23:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50506#M10384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesco,&lt;/P&gt;&lt;P&gt;It can not be directly imported into 1.0.2, but it can be used as reference both table structure and queries .&lt;/P&gt;&lt;P&gt;Can you give some details on the use case ,why do you need to cache snapshots ?&lt;/P&gt;&lt;P&gt;Dekel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 06:48:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50506#M10384</guid>
      <dc:creator>dekel</dc:creator>
      <dc:date>2012-01-24T06:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50511#M10386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need the snapshot list for 2 use cases:&lt;/P&gt;&lt;P&gt;1) to check the existence of a static snapshot (before deleting it)&amp;nbsp; used for a workflow that will clone a volume on a destination VSM volume&lt;/P&gt;&lt;P&gt;2) I need to find the most recent snapshot starting with a specified string to do workflow for disaster recovery&lt;/P&gt;&lt;P&gt;I was trying to create this one in a new cache table but got some proble with the object definition and linking to other table with foreign key (probably using wrong name somewhere). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 08:09:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50511#M10386</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-24T08:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50516#M10389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking on how other table are done I was trying to do this:&lt;/P&gt;&lt;P&gt;1) create a cache table (I've done this in a different schema because It seems that I cannot them change the standard DFM provider storage tables:&lt;/P&gt;&lt;P&gt;CREATE TABLE storage2.snapshot (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `id` int NOT NULL AUTO_INCREMENT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `name` varchar(255) DEFAULT NULL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `vol_id` int,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `aggr_id` int,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `array_id` int,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `snapid` bigint,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `accessTime` timestamp NOT NULL,&lt;/P&gt;&lt;P&gt;PRIMARY KEY (`id`)) ENGINE=InnoDB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set array_id, vol_id, name as natural key and put the foreign key for array_id on storage.array.id, vol_id on storage.volume.id and aggr_id on storage.aggregate.id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I've created a new DFM Data Source Table linking the storage2 schema and doing this selection from dfm snapshots table:&lt;/P&gt;&lt;P&gt;select &lt;/P&gt;&lt;P&gt;snapshotId as id, &lt;/P&gt;&lt;P&gt;snapshotName as name, &lt;/P&gt;&lt;P&gt;volId as vol_id,&lt;/P&gt;&lt;P&gt;aggrId as aggr_id, &lt;/P&gt;&lt;P&gt;hostId as array_id, &lt;/P&gt;&lt;P&gt;snapshotUniqueId as snapid, &lt;/P&gt;&lt;P&gt;accessTime as accessTime&lt;/P&gt;&lt;P&gt;from dfm.snapshots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dictionary I changed aggr_id, vol_id, array_id to aggregate, volume, array (with the correct type) and on the ref column I've put the aggr_id, array_id, vol_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when i create the datasource and try to do the import I get a "Foreign Key to a non existent table array" error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 10:01:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50516#M10389</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-24T10:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50521#M10391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;First let me say , Nice progress! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the Snapsot query you have created contains ID references taken from the DFM&amp;nbsp; (vol_id ,aggr_id ,array_id)&amp;nbsp; and reference to already created tables in the storage schema .&lt;/P&gt;&lt;P&gt;(We definitely need to change the UI so such mistakes will not be done .)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to solve you problem you should &lt;/P&gt;&lt;P&gt;1) Remove the FK to foreign keys to array table (you will need to recreate the table )&lt;/P&gt;&lt;P&gt;2) Add to the Select query&amp;nbsp; the volume Name and the Array IP (or host name)&amp;nbsp; -do JOIN with the relevant DFM tables.&lt;/P&gt;&lt;P&gt;3) Do the JOIN in the Filter level&amp;nbsp; between snapshot and Volumes . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another simpler option is to wait for 1.1 where WFA contains embedded support for snapshot caching as part of&amp;nbsp; the certified content &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another note :&lt;/P&gt;&lt;P&gt;If you choose to go on and implement the query on 1.0.2&amp;nbsp; ,note that the&amp;nbsp; query you created&amp;nbsp; caches deleted snapshots &lt;/P&gt;&lt;P&gt;you can use the below Create and Select queries as reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE storage.snapshot (&lt;/P&gt;&lt;P&gt;`id` INT NOT NULL AUTO_INCREMENT,&lt;/P&gt;&lt;P&gt;&amp;nbsp; `name` VARCHAR(255)&amp;nbsp; NOT NULL,&lt;/P&gt;&lt;P&gt;`timestamp` DATETIME DEFAULT NULL,&lt;/P&gt;&lt;P&gt;`volume_id` INT NOT NULL, &lt;/P&gt;&lt;P&gt;&amp;nbsp; PRIMARY KEY (`id`)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;) ENGINE=InnoDB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&amp;nbsp; &lt;BR /&gt; snapshot.snapshotId AS id, &lt;BR /&gt; snapshot.snapshotName AS name,&lt;BR /&gt; snapshot.accessTime AS timestamp,&lt;BR /&gt; snapshot.volId AS volume_id&lt;/P&gt;&lt;P&gt;FROM &lt;BR /&gt; dfm.snapshots snapshot&lt;BR /&gt; JOIN &lt;BR /&gt; dfm.volumes volume ON volume.volId = snapshot.volId AND volume.volState IS NOT NULL&lt;BR /&gt; JOIN &lt;BR /&gt; dfm.aggrs aggregate&amp;nbsp; ON volume.aggrId = aggregate.aggrId&lt;BR /&gt; JOIN &lt;BR /&gt; dfm.objects obj&amp;nbsp;&amp;nbsp; ON volume.volId = obj.objid AND obj.objDeleted IS NULL AND ((obj.objFlags &amp;amp; 0x20000000000000) = 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 09:27:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50521#M10391</guid>
      <dc:creator>dekel</dc:creator>
      <dc:date>2012-01-25T09:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50530#M10394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dekel, thanks for the good explanation &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;&amp;nbsp; Thanks for the information about deleted snapshots (I was not thinking about it... )&lt;/P&gt;&lt;P&gt;If i've understood the problem is mostly that the array/volume/aggregate table are already created so when I define a new table in another schema those old table in the storage schema will not be updated and the data are not imported. So only tables in the same schema can reference each other, is this correct?&lt;/P&gt;&lt;P&gt;I'll probably go with this until 1.1 is out just to start to do some testing and put on some test workflow we will need but I'll wait for 1.1. to starting working with them.&lt;/P&gt;&lt;P&gt;Just a curiosity: I saw that I cannot put the snapshot table in the default Data Source Type for DFM (because it will not let me put in the query on the snapshot table) but can I create a new Data Source Type copying all the old query to the new with the added one for snapshot? This should create a schema with all the tables with the right foreign keys. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:13:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50530#M10394</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-25T16:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50535#M10396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Your understanding is indeed correct .&lt;/P&gt;&lt;P&gt;Your suggested workaround will work as well ,but I advice against it .when you create your "own" storage schema you are detaching yourself from the mainline ,&lt;/P&gt;&lt;P&gt;You will not benefit from updates and bug fixes made for the certified "storage" schema .&lt;/P&gt;&lt;P&gt;Hope it answers your q &lt;/P&gt;&lt;P&gt;Dekel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:32:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50535#M10396</guid>
      <dc:creator>dekel</dc:creator>
      <dc:date>2012-01-25T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50540#M10398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I'll just go with a simple table and the join at filter level for know. I just need to check for snapshot existance or newer snapshot so it's not a problem to wait for 1.1 and the full implementation.&lt;/P&gt;&lt;P&gt;Thanks really much for the full explanation on how WFA is working, it helped really much.&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 17:23:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50540#M10398</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-25T17:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50545#M10400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done some tests and still have problems because it seems that in this case, with tables in different schemas it will not be possible to have the correct "volid" because the volid from the dfm snapshots table is a number based on DFM internal data while WFA volume.id is an autoincrement. When I join the 2 tables I don't get the match between volumes and snapshot. I'm trying to include the volname directly into the snapshot table so at least this will solve for now my problem (i should just check for snapshot existance).&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 12:14:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50545#M10400</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-27T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50549#M10402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Please see my response from above, the second bullet ,you cannot join By ID in this case&amp;nbsp;&amp;nbsp; -one reflects the DFM row IDs and the other is the WFA ID &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Add to the Select query&amp;nbsp; the volume &lt;STRONG&gt;Name &lt;/STRONG&gt;and th&lt;STRONG&gt;e Array IP (or host name)&lt;/STRONG&gt;&amp;nbsp; -do JOIN with the relevant DFM tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2012 16:18:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50549#M10402</guid>
      <dc:creator>dekel</dc:creator>
      <dc:date>2012-01-28T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: DFM.Snapshots table imports</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50554#M10405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right, I had misunderstood what was there &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; I've done it that way and it works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jan 2012 19:28:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/DFM-Snapshots-table-imports/m-p/50554#M10405</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2012-01-28T19:28:03Z</dc:date>
    </item>
  </channel>
</rss>

