<?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: Some OCI queries in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56648#M11750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1a.&amp;nbsp; Custom annotations in Chargeback data mart:&amp;nbsp; To the best of my knowledge, custom annotations do not propagate beyond the Inventory data mart.&amp;nbsp; To access them, you will need to use SQL to join tables from Capacity and Inventory.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1b.&amp;nbsp; Custom annotations on FC Path in the Inventory mart:&amp;nbsp; I don't think this is possible; Path does not seem to be an object to which annotations can be applied in the GUI.&amp;nbsp; You will probably want to work out a way to record the necessary data in an annotation on either the host/vm or the volume.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; What Matt said.&amp;nbsp; Depending on what you're trying to do, it may be as simple as&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;select host.name, count(logical.id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;from host, logical&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;where host.id = logical.hostid&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;group by name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This will get you a count of the number of paths associated with each host.&amp;nbsp; Where a volume is shared among hosts, it will be counted with each host.&amp;nbsp; You may want to make sure that iSCSI and NFS are included or excluded in the manner you expect.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; I do not know.&amp;nbsp; If you figure out a process, please share!&amp;nbsp; You may want to investigate Cognos triggers; a Google search for "cognos report trigger" turns up a few hopeful-looking results.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; I don't have an HDS array in my current OCI environment, but if I recall correctly the string you need to put in the Exclude box appears in the Data Sources view, Devices micro-view, either Device or Originator column.&amp;nbsp; Make sure you're getting it entered correctly.&amp;nbsp; Once you have configured the exclusion, force acquisition on the data source and let it run to completion.&amp;nbsp; Then return to the Data Sources, Devices micro-view, right-click on the line for the array you've excluded, and do "Inactivate Originator".&amp;nbsp; If you're inactivating a large array, this will run for a long time.&amp;nbsp; Let it finish.&amp;nbsp; Then, assuming you do not intend to re-discover the array with another data source, go to the Storage Arrays view, right-click the array, and "Delete Inactive Device".&amp;nbsp; Assuming all of that works (I'm reciting this from memory), please submit feedback on the KB article requesting that the more complete process be added.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 15:17:10 GMT</pubDate>
    <dc:creator>moechnig</dc:creator>
    <dc:date>2013-07-24T15:17:10Z</dc:date>
    <item>
      <title>Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56635#M11747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. How to add&amp;nbsp; custom annotations in chargeback datamart or in FC path under inventory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I know how to add them in Inventory or storage capacity but same method not working with above data marts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to get number of discs/luns connected to servers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I know how to get total capacity allocated to servers but I want count of discs/luns assigned to each server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How to apply the logic that if report doesn't have any data, no mail sent or vice-versa?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to send report by email to specific users only when it contains some data satisfy the filters used in it. Don't want to send empty emails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Remove partial hitachi systems from a datasource. HDS datasource contain 20 arrays, but I want to remove some from that, cannot configure separate data source for each system. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tried this method mentioned in this article, but not working.&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.netapp.com/support/index?page=content&amp;amp;id=1011093&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1374579504256" title="https://kb.netapp.com/support/index?page=content&amp;amp;id=1011093&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1374579504256" target="_blank"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=1011093&amp;amp;actp=search&amp;amp;viewlocale=en_US&amp;amp;searchid=1374579504256&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:57:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56635#M11747</guid>
      <dc:creator>sunilyadav</dc:creator>
      <dc:date>2025-06-05T05:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56640#M11748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#2. The inventory mart has all the path to host relationships. I would build the report out of inventory mart to answer this question - note that the results are subject to double counting, meaning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sqlnode A has a 10GB boot lun, and a 150GB shared lun&lt;/P&gt;&lt;P&gt;sqlnode B has a 10GB boot lun, and a 150GB shared lun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the back end, there are 3 luns - 10GB, 10GB, 150GB = 170GB allocated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This host centric report would have 160GB for each host, creating the impression that 320GB has been allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the inventory mart is great for visibility, but there is a risk for certain capacity reporting use cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 14:37:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56640#M11748</guid>
      <dc:creator>ostiguy</dc:creator>
      <dc:date>2013-07-24T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56644#M11749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#4. HDS exclusions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARRAY.HDS9570V.65010524&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is an example of one. You should have the data in the Storage Arrays view - the middle string is the Model value, and the last string is the serial number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We haven't been getting OCI ASUP from your site for a few weeks, so I cannot see your extended logs to see your HDS recording&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:09:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56644#M11749</guid>
      <dc:creator>ostiguy</dc:creator>
      <dc:date>2013-07-24T15:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56648#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1a.&amp;nbsp; Custom annotations in Chargeback data mart:&amp;nbsp; To the best of my knowledge, custom annotations do not propagate beyond the Inventory data mart.&amp;nbsp; To access them, you will need to use SQL to join tables from Capacity and Inventory.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1b.&amp;nbsp; Custom annotations on FC Path in the Inventory mart:&amp;nbsp; I don't think this is possible; Path does not seem to be an object to which annotations can be applied in the GUI.&amp;nbsp; You will probably want to work out a way to record the necessary data in an annotation on either the host/vm or the volume.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; What Matt said.&amp;nbsp; Depending on what you're trying to do, it may be as simple as&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;select host.name, count(logical.id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;from host, logical&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;where host.id = logical.hostid&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;group by name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This will get you a count of the number of paths associated with each host.&amp;nbsp; Where a volume is shared among hosts, it will be counted with each host.&amp;nbsp; You may want to make sure that iSCSI and NFS are included or excluded in the manner you expect.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; I do not know.&amp;nbsp; If you figure out a process, please share!&amp;nbsp; You may want to investigate Cognos triggers; a Google search for "cognos report trigger" turns up a few hopeful-looking results.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; I don't have an HDS array in my current OCI environment, but if I recall correctly the string you need to put in the Exclude box appears in the Data Sources view, Devices micro-view, either Device or Originator column.&amp;nbsp; Make sure you're getting it entered correctly.&amp;nbsp; Once you have configured the exclusion, force acquisition on the data source and let it run to completion.&amp;nbsp; Then return to the Data Sources, Devices micro-view, right-click on the line for the array you've excluded, and do "Inactivate Originator".&amp;nbsp; If you're inactivating a large array, this will run for a long time.&amp;nbsp; Let it finish.&amp;nbsp; Then, assuming you do not intend to re-discover the array with another data source, go to the Storage Arrays view, right-click the array, and "Delete Inactive Device".&amp;nbsp; Assuming all of that works (I'm reciting this from memory), please submit feedback on the KB article requesting that the more complete process be added.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:17:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56648#M11750</guid>
      <dc:creator>moechnig</dc:creator>
      <dc:date>2013-07-24T15:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56650#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James and Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Not doable so drop it.&lt;/P&gt;&lt;P&gt;2. I understand the double counting concept when doing capacity report using inventory, but I still finding a way to do it (if possible). I tried to use count of logical.id as well as logical.volumeId, none of them providing satisfactory results. &lt;/P&gt;&lt;P&gt;3. I am also finding a best possible solution. But as of now I am send report data in email body instead of attachment which saves time in opening them everyday. Will do further testing on it later&lt;/P&gt;&lt;P&gt;4. I tried the same method. Device is deleted from OCI, but even after multiple ETL processes I still find those arrays in DWH some reports even if the storage name is picked from "Simple datamart" under storage capacity datamart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 11:48:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56650#M11751</guid>
      <dc:creator>sunilyadav</dc:creator>
      <dc:date>2013-07-30T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56655#M11752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;Ok.&lt;/LI&gt;&lt;LI&gt;How do you want capacity that is shared among several hosts to be counted?&amp;nbsp; There are several options that I can think of; others may be possible:&lt;OL&gt;&lt;LI&gt;Show the capacity on each host that has access.&amp;nbsp; This is the default.&amp;nbsp; Good if you want to know what each host has; not good if you want to sum the numbers and end up with the amount of capacity allocated to hosts collectively.&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;Show the capacity on one arbitrary host that has access.&amp;nbsp; Avoids double counting, but doesn't accurately reflect what any given host has.&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;Divide the capacity shared among a group of hosts evenly among the sharing&amp;nbsp; hosts.&amp;nbsp; Also doesn't really tell you anything about individual hosts, but it results in the total reflecting the total amount of storage.&amp;nbsp; Difficult to implement, but the "host group" objects in the Capacity Mart will probably help.&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Ok.&lt;/LI&gt;&lt;LI&gt;References to arrays that are no longer present in OCI are historical, so the marts you're using must be including historical data.&amp;nbsp; Use tables with "current" in the name, or include the dateTk field and filter for the current dateTk.&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 18:54:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56655#M11752</guid>
      <dc:creator>moechnig</dc:creator>
      <dc:date>2013-07-30T18:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56660#M11753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the challenges in point 2. &lt;/P&gt;&lt;P&gt;Regarding point 4, not all datamarts have current facts. For example Storage and Storage pool capacity datamart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 05:55:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56660#M11753</guid>
      <dc:creator>sunilyadav</dc:creator>
      <dc:date>2013-08-21T05:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Some OCI queries</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56664#M11754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct.&amp;nbsp; For those marts, join your other data to the date_dimension table where date_dimension.latest = 1.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 15:24:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Some-OCI-queries/m-p/56664#M11754</guid>
      <dc:creator>moechnig</dc:creator>
      <dc:date>2013-08-21T15:24:55Z</dc:date>
    </item>
  </channel>
</rss>

