- Community Home
- >
- Software
- >
- HPE OneView
- >
- Drive Report - Custom Report
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-16-2019 01:54 AM
05-16-2019 01:54 AM
Drive Report - Custom Report
Hi,
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.
Is it possible to create a custom report with the drive model/part number information?
If so, how?
Any specific powershell modules to install?
Any help would be greatly appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-16-2019 03:51 AM
05-16-2019 03:51 AM
Re: Drive Report - Custom Report
@ChrisLynch Sorry to tag you directly, any thoughts on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-16-2019 08:41 AM
05-16-2019 08:41 AM
Re: Drive Report - Custom Report
There are two requirements:
- You need to have HPE OneView 4.20 installed.
- Only Gen10 servers can report their drive inventory today.
- You can use any REST API client, including PowerShell to get server objects.
The Get-HPOVServer Cmdlet will return the server objects. However, the returned object will not contain the local storage details. So, if you have Gen10's, you can do something like:
(Get-HPOVServer | ? model -match 'Gen10' | select -fir 1 | % { sr -uri ($_.uri + '/localStorage' ) }).Data
Which then returns something similar to:
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=SGH102X2RN; Status=}} SerialNumber : 0PR0X0E9T0 Status : @{Health=Warning; State=Enabled}
The PhysicalDrives property will contain the drives for that server. The inventory view is only as current as the last time the server was powered on.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-16-2019 01:53 PM
05-16-2019 01:53 PM
Re: Drive Report - Custom Report
I cannot talk about product futures, but you might keep a lookout for features in Global Dashboard in the very near future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-17-2019 07:44 AM
05-17-2019 07:44 AM
Re: Drive Report - Custom Report
Hi Chris! Thanks for the reply! We do have a few G10's knocking around so this is helpful!
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-17-2019 07:44 AM
05-17-2019 07:44 AM
Re: Drive Report - Custom Report
Sounds intriguing Bruce! Will do. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-01-2020 02:06 AM
02-01-2020 02:06 AM
Re: Drive Report - Custom Report
These Powershell scripts produce a useful CSV of HDD/SSD s/n's from OV or just through ILO connectivity for Gen 10's.
https://github.com/HewlettPackard/oneview-powershell-samples/tree/master/OneView-Inventory-SAS-SSD
Am hoping this fuctionality will be added into OV reporting at some point.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP