<?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: need help with basic capacity reporting in HPE Primera Storage</title>
    <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211881#M700</link>
    <description>&lt;P&gt;Thank you, but it's not about graphics. We need it for customer accounting (with customer that actually want to know how much usable space is left), reporting to team leader and his boss among others.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 04:42:14 GMT</pubDate>
    <dc:creator>apol</dc:creator>
    <dc:date>2024-04-15T04:42:14Z</dc:date>
    <item>
      <title>need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211685#M698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;longtime 3par/primera/alletra user here. Starting with our first array (a v400), we struggled with very basic capacity reporting. We buy systems with a "usable capacity", meaning the capacity we can use, without the capacity for spare and raid-"losses". This value is displayed by the sizer (ninja stars), but we don't know a way to get it directly from an array.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We used to take the output from showspace -cpg &amp;lt;&amp;lt;cpgname&amp;gt; and added cpg total + ldfree. It didn't really match the value from the sizer, but it was a close miss, so we lived with it. For some time, I even put the value from the sizer in the owner filed of the system descriptor just to be able to dynamicall retrieve it. Don't ask.&lt;/P&gt;&lt;P&gt;Now, after a change in capacity reporting to another toolchain using wsapi, it seems the ldfree value is not available here. So our workaround does not work any more.&lt;/P&gt;&lt;P&gt;I had a look at the returned values for /system, /cpg (with single cpg given), /capacity and /&lt;SPAN&gt;spacereporter. Lots of numbers, but not the one we were expecting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Twelve years after our first 3par, there still is no way to ask an array about it's usable capacity???&amp;nbsp; This is weird. Does anybody know a trick?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Removed bogus sentence that was a remainder of an early draft of the message&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 04:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211685#M698</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2024-04-15T04:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211687#M699</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; As longtime 3par array user, I ended up using stor2rrd&amp;nbsp; ( &lt;A title="stor2rrd" href="https://stor2rrd.com/" target="_blank" rel="noopener"&gt;https://stor2rrd.com/&lt;/A&gt; ) to get consistent metrics across different array models (the ones with all NL FS and SSD tiers were a nightmare to perform capacity planning on them)&lt;/P&gt;&lt;P&gt;(&lt;EM&gt;before, I used the lune liste file export from the old Java IMC to complete a custom spreadsheet , and THAT was quite the hassle)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;over time,&amp;nbsp; Store2rrd will build up a baseline and the graphs will be quite easy to read , mabe you'll get the trend for the storage needed.&lt;/P&gt;&lt;P&gt;moreover it is quite useful for many diagnostics and analysis,&amp;nbsp; such as getting a specific LUN's I/O history...&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211687#M699</guid>
      <dc:creator>Arnaud Delaloy</dc:creator>
      <dc:date>2024-09-16T09:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211881#M700</link>
      <description>&lt;P&gt;Thank you, but it's not about graphics. We need it for customer accounting (with customer that actually want to know how much usable space is left), reporting to team leader and his boss among others.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 04:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211881#M700</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2024-04-15T04:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211884#M701</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1875476"&gt;@apol&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've written a Powershell script that uses 3PAR/Primera WSAPI PS module to pull out the total capacity of the array (Total, Allocated and Free capacity):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;# Credentials&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$Credentials = IMPORT-CLIXML ".\storcred.xml"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$username = $Credentials.UserName&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$password = $Credentials.GetNetworkCredential().Password&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;# Connect to 3PAR WSAPI&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$postParams = @{user=$username; password=$password} | ConvertTo-Json&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers = @{}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers["Accept"] = "application/json"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$credentialdata = Invoke-WebRequest -Uri "$APIurl/credentials" -Body $postParams -ContentType "application/json" -Headers $headers -Method POST -UseBasicParsing&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$key = ($credentialdata.Content | ConvertFrom-Json).key&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;# Poll 3PAR System Info&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers = @{}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers["Accept"] = "application/*"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers["Accept-Language"] = "en"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$headers["X-HP3PAR-WSAPI-SessionKey"] = $key&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$WSAPIdata = Invoke-WebRequest -Uri “$APIurl/capacity/” -ContentType “application/*” -Headers $headers -Method GET -UseBasicParsing&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Then I convert WSAPI content to readable data&lt;/P&gt;&lt;P&gt;# Convert $WSAPIdata variable with /capacity/ info to a Powershell Object&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$CapacityObject = ($WSAPIdata.Content | Convertfrom-Json)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;# Poll storage required data from /capacity/&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$TotalCapacity = $CapacityObject.allCapacity.totalMiB / 1024 / 1024&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$AllocatedCapacity = $CapacityObject.allCapacity.allocated.totalAllocatedMiB / 1024 / 1024&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;$FreeCapacity = $CapacityObject.allCapacity.freeMiB / 1024 / 1024&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, I can make an detailed article on this.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dardan&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 05:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211884#M701</guid>
      <dc:creator>Dardan</dc:creator>
      <dc:date>2024-04-15T05:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211942#M702</link>
      <description>&lt;P&gt;Sorry, but that does not nail the basic problem: We also have our fair share of scripts etc., the problem is: the value we want/need is, on the cli, just available as a weird approximation, and not available at all with wsapi.&lt;/P&gt;&lt;P&gt;An example: one of our arrays has a usable capacity of 14.4TiB, that's 15,099,494MiB. Total raw system space is&amp;nbsp;29,286,400 MiB which is nearly twice as much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic problem is: the sizer shows usable capacity, presales sells the arrays with a usable capacity, but the array has no means of telling you its' usable capacity.&lt;/P&gt;&lt;P&gt;We considered using raw capacity numbers, but they are 1) wrong (the array mentioned above can NOT hold more than 14,4TiB of user data), and 2) an empty array would start with about 20% (raid and spare) used (that some customer would have to pay for according to management..).&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 12:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7211942#M702</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2024-04-15T12:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212085#M703</link>
      <description>&lt;P dir="auto" style="margin: 0;"&gt;Hi Apol,&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;From the above information, I understand that you wanted to get the usable space in the array(after RAID overhead and the spares).&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;The LDFree shows the real usable space available in the array from "showspace -cpg &amp;lt;cpg name&amp;gt;" by CPG level.&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;Also, you may use showspace command to get overall UsableFree in the array.&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;You may please check and report, if you still need any help.&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P dir="auto" style="margin: 0;"&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:21:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212085#M703</guid>
      <dc:creator>Ramesh_Kumar_P</dc:creator>
      <dc:date>2024-09-16T09:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212135#M704</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;The LDFree shows the real usable space available in the array from "showspace -cpg &amp;lt;cpg name&amp;gt;" by CPG level.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;that is exactly what I wrote in my first post. But this value is not available in the wsapi. An getting overall usable capcity for an array can only be done (afaik) by adding this to the allocated cpg space, which delivers an "unstable" result that changes slightly between days.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212135#M704</guid>
      <dc:creator>apol</dc:creator>
      <dc:date>2024-04-17T07:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: need help with basic capacity reporting</title>
      <link>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212609#M706</link>
      <description>&lt;P dir="auto" style="margin: 0;"&gt;We request you to log a case on HPE Support Center portal for further resolution using the link: &lt;A href="https://support.hpe.com/hpesc/public/home/" target="_blank"&gt;https://support.hpe.com/hpesc/public/home/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 19:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-primera-storage/need-help-with-basic-capacity-reporting/m-p/7212609#M706</guid>
      <dc:creator>Ramesh_Kumar_P</dc:creator>
      <dc:date>2024-04-22T19:29:42Z</dc:date>
    </item>
  </channel>
</rss>

