HPE OneView
1819717 Members
2776 Online
109606 Solutions
New Discussion юеВ

Re: Where is the Automatic Discovery in HP OneView

 
SOLVED
Go to solution
Simpat
Frequent Advisor

Where is the Automatic Discovery in HP OneView

I have more than a thousand devices of servers & storages. It seems like I have to add one by one.

In HP SIM, I can create system discovery straight forward by input the subnet list.

Is there the posibility to add them into HP OneView by subnet discovery or import from any text files or from AD?

 

 

|------------- ( ^__^ )--------------|
I'm Happy when You're Happy
13 REPLIES 13
ChrisLynch
HPE Pro
Solution

Re: Where is the Automatic Discovery in HP OneView

Thank you for your question @Simpat.  That feature is currently not present within HP OneView.  Discovery of systems is performed via the Add Actions Menu within the Enclosures or Server Hardware UI context.  If you require to bulk add supported systems, I would check out either the PowerShell (https://hponeview.codeplex.com) or Python (https://github.com/HewlettPackard/python-hpOneView) HP OneView libraries.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Simpat
Frequent Advisor

Re: Where is the Automatic Discovery in HP OneView

Thank you Chris, I will try to apply to my server list.

|------------- ( ^__^ )--------------|
I'm Happy when You're Happy
jgeorge44
Occasional Visitor

Re: Where is the Automatic Discovery in HP OneView

I don't see a script in either repo that would give an example of registering a server. We have a LOT of rackmount systems (no blades) and adding them by hand is not really an option. The REST docs say you can register a rack server with a POST to /rest/server-hardware but there's no documentation in the server-hardware page that shows how to define the ilO hostname, iLO user name and password needed to register the service. I note the python git repo is updated pretty often, is this a script that you expect might be posted soon? Thanks!
ChrisLynch
HPE Pro

Re: Where is the Automatic Discovery in HP OneView

There isn't a "script" in the PowerShell library.  It's a CMDLET called "New-HPOVServer".  I don't maintain the Python library, but there is a similar operation one would need to perform.  I'll ask the maintainer to provide a sample script to the Github repo.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
jgeorge44
Occasional Visitor

Re: Where is the Automatic Discovery in HP OneView

Thanks for the pointer. I figured it out, I was able to dig through the page source for the oneview UI to get a guess at the parameters it wanted.

 

For anyone keeping score at home, this worked for me (posting it to /rest/server-hardware)

 

{"hostname":"server-ilo.example.com","username":"Administrator","password":"xxxxxxxx","licensingIntent":"OneView"}'

You have to feed OneView kind of slowly - if I submitted registration tasks more often than once every 45 seconds or so, I'd randomly drop a couple.

 

Cheers,

 

Joe

 

ChrisLynch
HPE Pro

Re: Where is the Automatic Discovery in HP OneView

So keep in mind that this operation results in an async task.  There will be initial validation that would occur before the task is accepted and then executed.  The API currently does not offer a method for bulk add, unlike creating Network Resources.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
jgeorge44
Occasional Visitor

Re: Where is the Automatic Discovery in HP OneView

Bummer. That seems to be a huge missing feature.
ChrisLynch
HPE Pro

Re: Where is the Automatic Discovery in HP OneView

@jgeorge44 Thank you for your feedback.  While I cannot comment on futures, do know we take every customers valueable feedback to help prioritize our features backlog.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
SeanOBanion-G1
Occasional Advisor

Re: Where is the Automatic Discovery in HP OneView

It looks like I need to loop through all possible IP addresses in a subnet and pass each to Oneview with Add-HPOVServer to see if it's an iLO or Onboard Administrator (OA)?

Would it be better to use Insight Remote Support (IRS), which does allow discovery of iLO and OA in an IP address range, to get a known address list?

Our management is telling us that they would like us to audit all connections to our network on a regular basis, and at least for our iLOs and OAs, a discovery in a subnet was the critical feature in HP Smart Update Manager (HP SUM) that did not scale beyond 20, where we have closer to 100. Oneview was suggested by our HP support team as the next level of scalability for management. That appears not to be true, and based on feedback at HP Discover, Oneview 3 will not address this level of system discovery, and any expectations in the furture for this in Oneview was discouraged.

ChrisLynch
HPE Pro

Re: Where is the Automatic Discovery in HP OneView

If you have supported C7000 BladeSystem enclosures, you only need to provide the IP Address of one of the OA's, and use the Add-HPOVEnclosure.  Discovery of all components within the Enclosure will happen automatically.  You will need a list of IP's or FQDN's for your supported DL servers.  You only have to do this once.

Oneview 3 will not address this level of system discovery, and any expectations in the furture for this in Oneview was discouraged.

While HPE OneView 3.00 will not add this feature, I do not agree with whomever told you that a UI element will not be added to the OneView product.  It currently is on out backlog, and we are looking to prioritize it with a future release.  As always, I cannot comment on unreleased versions or timelines in a public forum.

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Cottoc
Advisor

Re: Where is the Automatic Discovery in HP OneView

Might I add - The HP iLO PowerShell module offers a 'Find-HPiLO' cmdlet that you can point to a subnet. It will then ping each address in the range you supplied and return information. I have found this useful when needing to determine the addresses of all of my iLOs on a specific subnet. The results of this query can easily be dumped into a CSV that could be manipulated to and used to add machines into OneView.

EDITI would only leverage this for non blades to be added to OneView - For Blades I would do as Chris has said and add enclosure which will discover all components/blades within that enclosure.

http://www8.hp.com/us/en/products/server-software/product-detail.html?oid=5440657

An example from the User Guide - 

http://h20566.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=5440657&docLocale=en_US&docId=emr_na-c03958206

Find-HPiLO 192.168.1.1-11
Warning : It might take a while to search all the iLOs if the input
is a very large range. Use Verbose for more information.


IP : 192.168.1.2
SPN : ProLiant DL120 G7
FWRI : 1.28
PN : Integrated Lights-Out 3 (iLO 3)
HOSTNAME : ilohostv8.company.net
SerialNumber: 6CU4100JM1
UUID : 30313436-3631-4336-5534-3130304A4D31


IP : 192.168.1.4
SPN : ProLiant MicroServer Gen8
FWRI : 1.20
PN : Integrated Lights-Out 4 (iLO 4)
HOSTNAME : fbtilodns.company.net
SerialNumber: 6CU4100JM1
UUID: 30313436-3631-4336-5534-3130304A4D31

IP : 192.168.1.10
SPN : ProLiant DL360p Gen8
FWRI : 1.40
PN : Integrated Lights-Out 4 (iLO 4)
HOSTNAME : ilohostbc.company.net
SerialNumber: 6CU4100JM1
UUID : 30313436-3631-4336-5534-3130304A4D31

__________________________________________________________________

Thanks!

-Cottoc

ChrisLynch
HPE Pro

Re: Where is the Automatic Discovery in HP OneView

As @Cottoc stated, you could use the Find-HPiLO Cmdlet to then itterate through each IP Address as such:

 

$Tasks = Find-HPiLO | % { Add-HPOVServer $_.IP -Username Administrator -Password MyPassword -LicenseIntent HPOneView }

 

I work at HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
jpent
New Member

Re: Where is the Automatic Discovery in HP OneView

Hi I am new to scripting and I am currently deploying HP ONEVIEW in my company. it would be really beneficial to automate the discovery process directly into HP ONEVIew, based on your previous threads, and great input by the way to all who contributed.  I would like to confirm the following.

* Automate the inclusion of new servers (Proliant DLs) and/or Chassis/blades.

Firstly, I understand using an IP subnet in a script will capture the required ILO/OA details of the servers, etc., But from where do I need to run these CMDLETs ( I mean, directly on the Appliance, and if so, will it be visiable on HP Oneview.

Secondly, can this CMDLETs be transformed into a scheduled task ?

Your assistance is much appreciated.

Thanks.