HPE Synergy
cancel
Showing results for 
Search instead for 
Did you mean: 

HPOV Enclosure -description property

 
Highlighted
Occasional Collector

HPOV Enclosure -description property

Recently I’ve installed a few Synergy 12000 frames and notice that there is a property field description when I’ve list enclosures with get-hpovenclosure. The property is empty on each enclosure and I’m looking for method how to populate it.

I’ve checked set-hpov (enclosure,logicalenclosure,enclosuregroup) but not able to found how to update this field. It seems that Labels also do not work, as enclosure property, they are only some kind of tag.
So my question is it possible to update the description property or some way to specify some asset tags on enclosures, like the assettag property on C7000?      

6 REPLIES 6
Highlighted
Occasional Visitor

Re: HPOV Enclosure -description property

Hi CSKA,

Thank you for posting your query. As I see, you are looking for “HPOV Enclosure -description property”.

Our engineers are looking into this and we will reply to you shortly.

Kindly await with us.

 

Best Regards,

Manaswini S

I am an HPE Employee

Highlighted
HPE Pro

Re: HPOV Enclosure -description property

Hi CSKA, 

 

Good day!!

 

Thank you for posting your query.

May i know What is the  HPE OneView version which you are using in your environment  and whether or not you are using supported HPE OneView PowerShell libraries.

You need to use the HPE Oneview Powershell library for specific version which you using . I am pasting the links for your reference  where you will see all requirements.

 

https://github.com/HewlettPackard/POSH-HPOneView/wiki

https://hpe-docs.gitbook.io/posh-hpeoneview/about/about_hponeview.500


I work for HPE

Accept or Kudo

Highlighted
Occasional Collector

Re: HPOV Enclosure -description property

Hello,

I'm using the latest OneView   / PowerShell modules:
ApplianceVersion: 5.20.01.420365.00
5.20.2422.3962 C:\Program Files\WindowsPowerShell\Modules\HPOneView.520

Highlighted
HPE Pro

Re: HPOV Enclosure -description property

Even though the API exposes a property like Description, that does not mean you in turn could make use of it.  For instance, the Description property of an enclosure is not visible within the UI, nor is it searchable.  

What are you trying to do with the description property?  If you really want to use the description property, you would do this in PowerShell:

# Get your enclosure
$MyEnclosure = Get-HPOVEnclosure -Name Encl-1

# Update the description property
$MyEnclosure.description = "This is my description"

# Save it to the appliance
Set-HPOVResource -InputObject $MyEnclosure

In the future, for PowerShell or other OneView SDK related questions, I would suggest you go to the projects issue tracker and start a conversation there.  For instance, the HPE OneView PowerShell library issue tracker is here.


I am an HPE employee

Accept or Kudo

Highlighted
Occasional Collector

Re: HPOV Enclosure -description property

Hi Chris,

Thank you very much for your time and support!
To be honest I've didn't guess to try this simple PS operation. I've bookmarked the GitHub tracker and will use it in the future.
Regarding the property you are absolutelly right, it is not discoverable in UI, neither searchable, but in our environment we have more than 100 C7000 enclosures, which need to be replaced with Synergy upcomming years and we want to keep some asset information, which is currently populated in asset tag property of OAs.

Should I open a feature request in GitHub for asset property, or there is already an idea for that feature?

Thanks again.

Highlighted
HPE Pro

Re: HPOV Enclosure -description property

So what you are asking for can be accomlished with either Labels or Scopes.  Labels are a bit easier to create, as they do not have a huge security requirement to create one or more.  But they are more ephemeral than Scopes.  Meaning, once the last resource is removed from a Label, the Label is then deleted.  Scopes can be created, but require the Infrastructure Administrator or Scope Administrator role.

As for requesting a feature enhancement to the PowerShell library, yes, you can post one on the issues tracker.  However, for this specific case I wouldn't be able to supply you with an enhancement as that would require enhancements to OneView.  Do you plan on manually adding the Asset Tag data to the OA, as a way to record what you have moved to a new platform?


I am an HPE employee

Accept or Kudo