<?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: Capacity information in Ask The Experts</title>
    <link>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153521#M1254</link>
    <description>&lt;P&gt;Cool. There's a PS script here to extract data from OCUM DB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" target="_blank"&gt;https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a user with read only access to the reporting table. You can use this command line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root -p
CREATE USER 'Read_OCUMdb_For_Scripts'@'%' IDENTIFIED BY 'my_password';
GRANT SELECT ON *.* TO 'Read_OCUMdb_For_Scripts'@'%';&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also adding below some queries i have in one of my reporting scripts&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$OntapClusters = Invoke-MySQLQuery -Query "select * from cluster" -ConnectionString $connectionString
$OntapClustersAggregates = Invoke-MySQLQuery -Query "select * from aggregate" -ConnectionString $connectionString
$OntapClustersvolumes = Invoke-MySQLQuery -Query "select * from volume" -ConnectionString $connectionString
$OntapClustersluns = Invoke-MySQLQuery -Query "select * from lun" -ConnectionString $connectionString
$OntapClustersQtrees = Invoke-MySQLQuery -Query "select * from qtree" -ConnectionString $connectionString
$OntapClustersqtreequota = Invoke-MySQLQuery -Query "select * from qtreequota" -ConnectionString $connectionString&lt;/PRE&gt;
&lt;P&gt;Good luck...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 16:44:53 GMT</pubDate>
    <dc:creator>GidonMarcus</dc:creator>
    <dc:date>2020-01-13T16:44:53Z</dc:date>
    <item>
      <title>Capacity information</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153508#M1251</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;We have 50 remote sites and two DCs all are having NetApp clusters with 2 nodes, now i want to generate a report which gives me the details of capacity of aggr, volume, lun, iscsi connections on daily basis for all netapp clusters. Help me how i can generate it or any script you can help me with.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 13:43:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153508#M1251</guid>
      <dc:creator>bhuvan</dc:creator>
      <dc:date>2020-01-13T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Capacity information</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153509#M1252</link>
      <description>&lt;P&gt;Do you have DFM/OCUM/AIUM (all names of the same NetApp product)? it's free - and have reports you can customize heavily....&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 13:54:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153509#M1252</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2020-01-13T13:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capacity information</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153513#M1253</link>
      <description>&lt;P&gt;Yes i have OUM but its not that much friendly report, i want to customize it my way and do we have any scripts that we can build up?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 14:20:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153513#M1253</guid>
      <dc:creator>bhuvan</dc:creator>
      <dc:date>2020-01-13T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capacity information</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153521#M1254</link>
      <description>&lt;P&gt;Cool. There's a PS script here to extract data from OCUM DB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" target="_blank"&gt;https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a user with read only access to the reporting table. You can use this command line:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" -u root -p
CREATE USER 'Read_OCUMdb_For_Scripts'@'%' IDENTIFIED BY 'my_password';
GRANT SELECT ON *.* TO 'Read_OCUMdb_For_Scripts'@'%';&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also adding below some queries i have in one of my reporting scripts&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;$OntapClusters = Invoke-MySQLQuery -Query "select * from cluster" -ConnectionString $connectionString
$OntapClustersAggregates = Invoke-MySQLQuery -Query "select * from aggregate" -ConnectionString $connectionString
$OntapClustersvolumes = Invoke-MySQLQuery -Query "select * from volume" -ConnectionString $connectionString
$OntapClustersluns = Invoke-MySQLQuery -Query "select * from lun" -ConnectionString $connectionString
$OntapClustersQtrees = Invoke-MySQLQuery -Query "select * from qtree" -ConnectionString $connectionString
$OntapClustersqtreequota = Invoke-MySQLQuery -Query "select * from qtreequota" -ConnectionString $connectionString&lt;/PRE&gt;
&lt;P&gt;Good luck...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 16:44:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Capacity-information/m-p/153521#M1254</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2020-01-13T16:44:53Z</dc:date>
    </item>
  </channel>
</rss>

