<?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: Volume daysUntilFull missing from ocum_report schema in OCUM in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132064#M23964</link>
    <description>&lt;P&gt;you are correct. &amp;nbsp;I was able to find the ocum_view and netapp_model_view schemas when I connected to the mysql db using the wfa integration schema credentials (using MySQL workbench). &amp;nbsp;I then used BIRT to create a datasource for each schema. &amp;nbsp;I was able to create a custom report and import into OCUM. &amp;nbsp;Below is a sample of the query I used. &amp;nbsp;I had to create a joint dataset. &amp;nbsp;If there is an easier way please let me know. &amp;nbsp;I'm fairly new to sql queries and building custom reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pulled volume info from netapp_model_view first:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select volume.objid AS volumeID,
volume.name AS volName,
volume.state AS State,
(select cluster.name from cluster where (cluster.objid = volume.clusterId)) AS clusterName,
(select vserver.name from vserver where (vserver.objid = volume.vserverId)) AS vserverName,
(select aggregate.name from aggregate where (aggregate.objid = volume.aggregateId)) AS aggregateName,
round(volume.size/Power(1024,3),2) AS TotalSizeGB,
round(volume.sizeUsed/Power(1024,3),3) AS DataUsedGB,
round(volume.snapshotReserveSize/Power(1024,3),3) AS SnapReserveGB,
round(volume.sizeAvail/Power(1024,3),3) AS TotalAvailGB,
round((volume.snapshotReserveSize + volume.sizeUsed)/Power(1024,3),2) AS TotalUsedGB,
volume.sizeUsedPercent AS UsedPercentage
from volume&lt;/PRE&gt;&lt;P&gt;Then I pulled the daily growth and days until full from ocum_view:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select volume.id,
round(volume.bytesUsedPerDay/Power(1024,3),2) AS DailyGrowthRate,
cast(floor(volume.daysUntilFull) as unsigned) AS DaysUntilFull

from volume&lt;/PRE&gt;&lt;P&gt;I combined the two by creating a joint dataset in BIRT. &amp;nbsp;This gave me exactly what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7338i069A1F0499C4D634/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="6-20-2017 8-52-54 AM.png" title="6-20-2017 8-52-54 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output I set up for the customer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7339i923B3CCF018C57E4/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="6-20-2017 9-00-28 AM.png" title="6-20-2017 9-00-28 AM.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 13:01:46 GMT</pubDate>
    <dc:creator>James_Castro</dc:creator>
    <dc:date>2017-06-20T13:01:46Z</dc:date>
    <item>
      <title>Volume daysUntilFull missing from ocum_report schema in OCUM</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132014#M23958</link>
      <description>&lt;P&gt;Is there a reason why the ocum_report schema does not have a "daysUntilFull" or "bytesUsedperDay" listed under the volume table?&amp;nbsp; I'm using OCUM 7.x.&amp;nbsp; I see it in the integration schema and I know it is in the ocum schema.&amp;nbsp; How would I go about reporting those for volumes?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:56:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132014#M23958</guid>
      <dc:creator>James_Castro</dc:creator>
      <dc:date>2025-06-04T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Volume daysUntilFull missing from ocum_report schema in OCUM</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132035#M23961</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a "daysToFull" field within the "volumes" table in the "ocum_view" database.&lt;/P&gt;&lt;P&gt;This will enable you to calculate the days until full per volume by ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 01:18:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132035#M23961</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2017-06-20T01:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Volume daysUntilFull missing from ocum_report schema in OCUM</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132064#M23964</link>
      <description>&lt;P&gt;you are correct. &amp;nbsp;I was able to find the ocum_view and netapp_model_view schemas when I connected to the mysql db using the wfa integration schema credentials (using MySQL workbench). &amp;nbsp;I then used BIRT to create a datasource for each schema. &amp;nbsp;I was able to create a custom report and import into OCUM. &amp;nbsp;Below is a sample of the query I used. &amp;nbsp;I had to create a joint dataset. &amp;nbsp;If there is an easier way please let me know. &amp;nbsp;I'm fairly new to sql queries and building custom reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pulled volume info from netapp_model_view first:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select volume.objid AS volumeID,
volume.name AS volName,
volume.state AS State,
(select cluster.name from cluster where (cluster.objid = volume.clusterId)) AS clusterName,
(select vserver.name from vserver where (vserver.objid = volume.vserverId)) AS vserverName,
(select aggregate.name from aggregate where (aggregate.objid = volume.aggregateId)) AS aggregateName,
round(volume.size/Power(1024,3),2) AS TotalSizeGB,
round(volume.sizeUsed/Power(1024,3),3) AS DataUsedGB,
round(volume.snapshotReserveSize/Power(1024,3),3) AS SnapReserveGB,
round(volume.sizeAvail/Power(1024,3),3) AS TotalAvailGB,
round((volume.snapshotReserveSize + volume.sizeUsed)/Power(1024,3),2) AS TotalUsedGB,
volume.sizeUsedPercent AS UsedPercentage
from volume&lt;/PRE&gt;&lt;P&gt;Then I pulled the daily growth and days until full from ocum_view:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select volume.id,
round(volume.bytesUsedPerDay/Power(1024,3),2) AS DailyGrowthRate,
cast(floor(volume.daysUntilFull) as unsigned) AS DaysUntilFull

from volume&lt;/PRE&gt;&lt;P&gt;I combined the two by creating a joint dataset in BIRT. &amp;nbsp;This gave me exactly what I needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7338i069A1F0499C4D634/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="6-20-2017 8-52-54 AM.png" title="6-20-2017 8-52-54 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the output I set up for the customer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/7339i923B3CCF018C57E4/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="6-20-2017 9-00-28 AM.png" title="6-20-2017 9-00-28 AM.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:01:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Volume-daysUntilFull-missing-from-ocum-report-schema-in-OCUM/m-p/132064#M23964</guid>
      <dc:creator>James_Castro</dc:creator>
      <dc:date>2017-06-20T13:01:46Z</dc:date>
    </item>
  </channel>
</rss>

