<?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: Drive Report - Custom Report in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220263#M9389</link>
    <description>&lt;P&gt;FYI...looks like it is "data.drives" now and not "data.physicaldrives" for the gen11 at the "/localStorageV2" uri.&amp;nbsp; But, does appears to be working.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 14:20:29 GMT</pubDate>
    <dc:creator>NJK-Work1</dc:creator>
    <dc:date>2024-07-11T14:20:29Z</dc:date>
    <item>
      <title>Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046526#M4179</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found the inbuilt reports on OneView and the Global Dashboard to be sufficient enough so far, however, due to orders beyond my control, it's become necessary to create a report of what models of drives we have in all of our servers. Now obviously I don't want to click on each server in OneView and go to the hardware view, or even worse, go to every single iLO.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create a custom report with the drive model/part number information?&lt;/P&gt;&lt;P&gt;If so, how?&lt;/P&gt;&lt;P&gt;Any specific powershell modules to install?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 08:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046526#M4179</guid>
      <dc:creator>ServerParrott</dc:creator>
      <dc:date>2019-05-16T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046543#M4180</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1458"&gt;@ChrisLynch&lt;/a&gt;&amp;nbsp;Sorry to tag you directly, any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 10:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046543#M4180</guid>
      <dc:creator>ServerParrott</dc:creator>
      <dc:date>2019-05-16T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046570#M4183</link>
      <description>&lt;P&gt;There are two requirements:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You need to have HPE OneView 4.20 installed.&lt;/LI&gt;
&lt;LI&gt;Only Gen10 servers can report their drive inventory today.&lt;/LI&gt;
&lt;LI&gt;You can use any REST API client, including PowerShell to get server objects.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The Get-HPOVServer Cmdlet will return the server objects.&amp;nbsp; However, the returned object will not contain the local storage details.&amp;nbsp; So, if you have Gen10's, you can do something like:&lt;/P&gt;
&lt;PRE&gt;(Get-HPOVServer | ? model -match 'Gen10' | select -fir 1 | % { sr -uri ($_.uri + '/localStorage' )
 }).Data&lt;/PRE&gt;
&lt;P&gt;Which then returns something similar to:&lt;/P&gt;
&lt;PRE&gt;AdapterType                                   : SmartArray
BackupPowerSourceStatus                       : Present
CacheMemorySizeMiB                            : 1024
CurrentOperatingMode                          : Mixed
EncryptionCryptoOfficerPasswordSet            : False
EncryptionCspTestPassed                       : False
EncryptionEnabled                             : False
EncryptionFwLocked                            : False
EncryptionHasLockedVolumesMissingBootPassword : False
EncryptionMixedVolumesEnabled                 : False
EncryptionSelfTestPassed                      : False
EncryptionStandaloneModeEnabled               : False
ExternalPortCount                             : 0
FirmwareVersion                               : @{Current=}
InternalPortCount                             : 2
Location                                      : Slot 0
LocationFormat                                : PCISlot
Model                                         : EMBEDDED CONTROLLER
Name                                          : HpSmartStorageArrayController
PhysicalDrives                                : {@{BlockSizeBytes=512; CapacityLogicalBlocks=286677120;
                                                CapacityMiB=139264; EncryptedDrive=False; FirmwareVersion=;
                                                Location=1I:1:1; Model=EH0146FCBVL; SerialNumber=SGH101X2RN; Status=},
                                                @{BlockSizeBytes=512; CapacityLogicalBlocks=286677120;
                                                CapacityMiB=139264; EncryptedDrive=False; FirmwareVersion=;
                                                Location=1I:1:2; Model=EH0146FCBVL; SerialNumber=&lt;STRIKE&gt;c&lt;/STRIKE&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;STRIKE&gt;onfidential info erased&lt;/STRIKE&gt;&lt;/FONT&gt;; Status=}}
SerialNumber                                  : 0PR0X0E9T0
Status                                        : @{Health=Warning; State=Enabled}&lt;/PRE&gt;
&lt;P&gt;The PhysicalDrives property will contain the drives for that server.&amp;nbsp; The inventory view is only as current as the last time the server was powered on.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 06:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046570#M4183</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2024-07-16T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046597#M4184</link>
      <description>&lt;P&gt;I cannot talk about product futures, but you might keep a lookout for features in Global Dashboard in the very near future.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 20:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046597#M4184</guid>
      <dc:creator>Bruce_Lundeby</dc:creator>
      <dc:date>2019-05-16T20:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046725#M4185</link>
      <description>&lt;P&gt;Hi Chris! Thanks for the reply! We do have a few G10's knocking around so this is helpful!&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046725#M4185</guid>
      <dc:creator>ServerParrott</dc:creator>
      <dc:date>2019-05-17T14:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046726#M4186</link>
      <description>&lt;P&gt;Sounds intriguing Bruce! Will do. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7046726#M4186</guid>
      <dc:creator>ServerParrott</dc:creator>
      <dc:date>2019-05-17T14:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7077700#M4947</link>
      <description>&lt;P&gt;These Powershell scripts produce a useful CSV of HDD/SSD s/n's from OV or just through ILO connectivity for Gen 10's.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/HewlettPackard/oneview-powershell-samples/tree/master/OneView-Inventory-SAS-SSD" target="_blank"&gt;https://github.com/HewlettPackard/oneview-powershell-samples/tree/master/OneView-Inventory-SAS-SSD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Am hoping this fuctionality will be added into OV reporting at some point.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 10:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7077700#M4947</guid>
      <dc:creator>ric9887</dc:creator>
      <dc:date>2020-02-01T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7204458#M8875</link>
      <description>&lt;P&gt;For anyone out there looking for a way to acheive this using PowerShell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;$servers = (Get-OVServer | ? generation -like 'Gen1*' )

$list = foreach($server in $servers)
{
	Get-RSOVServerDiskInfo -Server $server
}

function Get-RSOVServerDiskInfo
{
	Param( $Server)

	foreach($disk in (Send-OVRequest -uri ($server.uri + '/localStorage' )).Data.PhysicalDrives)
	{
		$item = "" | select Name,Disk,Firmware,CapacityGB,Location,Health
		$item.Name = $server.name
		$item.Disk = $disk.model
		$item.Firmware = $disk.firmwareversion.current.VersionString
		$item.Location = $disk.location
		$item.CapacityGB = $disk.CapacityGB
		$item.Health = $disk.status.health
		$item
	}
}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7204458#M8875</guid>
      <dc:creator>Johannes_we</dc:creator>
      <dc:date>2024-01-12T16:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220169#M9385</link>
      <description>&lt;P&gt;Is there an updated version of this script that supports the Gen11 model?&amp;nbsp; The "Data" property for localstorage at that URI is blank for all Gen11 servers that I tested.&amp;nbsp; The Gen10 servers, it works great...but Ge11 I get nada.&amp;nbsp; All our Gen11 servers have SSD drives, whereas the Gen10 servers are all old-school mechanical drives - does that matter?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 18:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220169#M9385</guid>
      <dc:creator>NJK-Work1</dc:creator>
      <dc:date>2024-07-10T18:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220176#M9386</link>
      <description>&lt;P&gt;The data is likely within &lt;FONT face="courier new,courier"&gt;localStorageV2&lt;/FONT&gt; endpoint.&amp;nbsp; The different controllers across Gen10 and Gen11 provide different Redfish endpoints, which in turn is just pass-through data from the iLO. The following modified script should provide what you are looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;(Get-OVServer | ? generation -like 'Gen1*' ) | ForEach {

	foreach ($disk in (Send-OVRequest -uri ($_.uri + '/localStorageV2' )).Data.PhysicalDrives)
	{
		$item = "" | select Name,Disk,Firmware,CapacityGB,Location,Health
		$item.Name = $server.name
		$item.Disk = $disk.model
		$item.Firmware = $disk.firmwareversion.current.VersionString
		$item.Location = $disk.location
		$item.CapacityGB = $disk.CapacityGB
		$item.Health = $disk.status.health
		$item
	}

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 22:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220176#M9386</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2024-07-10T22:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220261#M9388</link>
      <description>&lt;P&gt;Excellent - I will try it out.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 13:59:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220261#M9388</guid>
      <dc:creator>NJK-Work1</dc:creator>
      <dc:date>2024-07-11T13:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220263#M9389</link>
      <description>&lt;P&gt;FYI...looks like it is "data.drives" now and not "data.physicaldrives" for the gen11 at the "/localStorageV2" uri.&amp;nbsp; But, does appears to be working.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 14:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220263#M9389</guid>
      <dc:creator>NJK-Work1</dc:creator>
      <dc:date>2024-07-11T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220273#M9390</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1458"&gt;@ChrisLynch&lt;/a&gt;&amp;nbsp;One more question...looks like firmware is not available for the Gen11 version of the data, but I do see something called "Revision".&amp;nbsp; Would "Revision" represent the same thing as "Firmware"?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 06:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220273#M9390</guid>
      <dc:creator>NJK-Work1</dc:creator>
      <dc:date>2024-07-16T06:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220642#M9401</link>
      <description>&lt;P&gt;Can you provide a sample output from what you get?&amp;nbsp; I don't have a Gen11 server at the moment to verify.&amp;nbsp; Keep in mind that the data here is passed-through from the iLO in its native Redfish format.&amp;nbsp; So any changes to the format and data is controlled by the iLO.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 21:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7220642#M9401</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2024-07-16T21:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Drive Report - Custom Report</title>
      <link>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7228299#M9565</link>
      <description>&lt;P&gt;I have a quick script to pull from OneView. It's a bit rough but works.&lt;/P&gt;&lt;P&gt;You'll need to have a connection open first to OV, then run it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dmorriselc/hponeview/tree/main" target="_blank"&gt;https://github.com/dmorriselc/hponeview/tree/main&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 17:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/drive-report-custom-report/m-p/7228299#M9565</guid>
      <dc:creator>DaveMorris</dc:creator>
      <dc:date>2024-10-29T17:07:09Z</dc:date>
    </item>
  </channel>
</rss>

