- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- How to enable PXE boot and grap MAC address from e...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
01-14-2015 08:25 PM
01-14-2015 08:25 PM
How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Dear ProLiant Scripting Experts
I received more than 300 hundreds of ProLiant DL160 Gen9 servers with additional NIC model HP Etherneet 10Gb 2-port 530T Adapter CNA. We working on PXE network boot environment. So, we need to enable PXE and collect MAC for setup DHCP.
I'm now using some python script and PowerShell such as Get-HPiLONICInfo. unfortunately, it return only embed NIC.
If I go to enable PXE boot in BIOS and collect MAC address manully, it would take me serveral months to complete this task.
I need help on how to scripting on:
- Enable PXE boot on external HP Etherneet 10Gb 2-port 530T Adapter - CNA (IPv4).
- Collecting MAC Addresses of External NIC.
Any help would be very appreciate.
I'm Happy when You're Happy
Solved! Go to Solution.
- Tags:
- NIC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2015 07:05 PM
01-17-2015 07:05 PM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Hello,
You could show NIC Interface: show /system1/network1/Integrated_NICs. Don't use ILO Mac Address as target.
Change the boot order: /system1/bootconfig1/bootsource3.
Don't forget to enable PXE on RBSU.
Sincerly,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2015 04:46 AM
01-19-2015 04:46 AM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Hi hpkasabbagh
Many on your advice., but I did not want to collect MAC address from Integrated_NICs, I want to collect from additional NICs instead.
I can change boot order to get PXE boot from external NIC by this HPiLO PowerShell :
Set-HPiLOPersistentBootOrder -BootOrder Boot000C, Boot0008, Boot0009, Boot000B
Unfortunately, Since iLO unable to show information from NIC on external PCI slot, the painful is I cannot get external NIC card with PXE enabled on RSBU by command line.
I tried both Python and PowerShell and got the same result from API.
I am still lost in space how to manage this external NIC, Do you have any other idea?
Best Regards,
Job
I'm Happy when You're Happy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2015 04:38 PM
01-19-2015 04:38 PM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Hi Simpat,
- Begin to show all boot devices available:
show -all /system1/bootconfig1
- If you see your additional NIC displayed, change the boot ranking remplacing "n" with your NIC ID and "num" by 1:
set /system1/bootconfig1/oemhp_uefibootsource<n> bootorder=<num>
Sincerly,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2015 04:07 AM
01-20-2015 04:07 AM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Hi hpkasabbagh
Thank you for the example command. This can be helpful for people who want to send command directly to iLO via SSH.
<hpiLO> show -all /system1/bootconfig1 /system1/bootconfig1/oemhp_uefibootsource1 Targets Properties bootorder=1 oemhp_description=Slot 1 Port 1 : HP Ethernet 10Gb 2-port 530T Adapter - CNA (IPv4)
Actually, set /system1/bootconfig1 it is the same as my PowerShell cmdlet I have already used.
set /system1/bootconfig1/oemhp_uefibootsource<n> bootorder=<num>
Same as :
Set-HPiLOPersistentBootOrder -BootOrder Boot000C, Boot0008, Boot0009, Boot000B
Once I did appled BootOrder changed, it already enabled PXE boot automatically.
Anyway, as you can see above command show -all /system1 it still cannot show MAC Address from external NIC card. Do you have more solution for this?
Yours Hopefully
I'm Happy when You're Happy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2015 01:45 PM
01-22-2015 01:45 PM
SolutionHello,
If you try with 'GET_EMBEDDED_HEALTH_DATA' you can show all server components informations. Use ('NIC'): filter to show MAC address.
I don't understant why you need to show MAC address while DHCP server does the trick?
Sincerly,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2015 01:08 AM
01-23-2015 01:08 AM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
Hi hpkasabbagh,
I found all data I need from GET_EMBEDDED_HEALTH_DATA but it show external NIC Mac address only when it have OS deployed. However, many thanks for this API, it pretty useful.
I can get MAC addresses from switches and DHCP, but it did not show MAC corresponding to Hostname, or Serial Number.
I need to do some manual switch port ID mapping MAC address with the excel sheet from installation guys for now.
Many Thanks, I apprecitaed your advice.
I'm Happy when You're Happy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2015 07:21 AM
01-23-2015 07:21 AM
Re: How to enable PXE boot and grap MAC address from external 10Gb NIC card HP DL160 G9
No problem. You are welcome.
Sincerly,