- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: ILO 4 Scripted Media URL
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
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
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
07-15-2015 12:23 PM
07-15-2015 12:23 PM
Re: ILO 4 Scripted Media URL
Groovy, which version of iLO?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 12:27 PM
07-15-2015 12:27 PM
Re: ILO 4 Scripted Media URL
I have been doing this on ilo3 & 4 for years. I am thinking ilo2 but not 100% sure.. Old Age :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 12:32 PM
07-15-2015 12:32 PM
Re: ILO 4 Scripted Media URL
Interesting, as of late 2013 I couldn't get them working even with valid resolvers configured. Entered a ticket and HP told me "yeah that doesn't work".
Props on getting ilo2 to work if you did, it thoroughly underwhelmed me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 01:11 PM
07-15-2015 01:11 PM
Re: ILO 4 Scripted Media URL
Are you using ilo Advance licensing. I vaugly recall this may have been one of the benifits, but could be wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2015 01:22 PM
07-15-2015 01:22 PM
Re: ILO 4 Scripted Media URL
Torxb, are you scripting the virtual media URL, or are you setting it via the web interface / remote console session?
If I recall this issue only occured when trying to script in the URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2015 06:32 AM
07-16-2015 06:32 AM
Re: ILO 4 Scripted Media URL
I am scripting the the URL.
I have a example on my blog http://www.apathis.com/2012/05/mounting-iso-to-hp-ilo-over-http-part-2.html
However I changed it to be a IP address in my example for security reasons. And it looks like this was a sample from the iLO2.
Let me go back through all my scripts to verify a few things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2015 04:02 PM - last edited on 04-05-2021 01:51 AM by Parvez_Admin
07-29-2015 04:02 PM - last edited on 04-05-2021 01:51 AM by Parvez_Admin
Re: ILO 4 Scripted Media URL
I tried the scripted media command from the iLO CLI and I also tried from the iLO GUI -> Virtual Media->Virtual CD/DVD-ROM Status->Image URL and had no luck...
This is what worked for me (See Below).
I have a new HP server that was installed for our company at our co-lo. I needed to install ESXi server on it remotely.
1. First I had to make an ISO copy of the ESXi install disk ( ESXI-5.5-1331820-ROLLUPISO-STAND.iso) and upload it to a web server (Apache).
2. To verify connectivity from the web server hosting the iSO image and the new HP server I executed "tcpdump -n src host 192.168.1.244" on the web server, then from the iLO CLI I pinged the remote web server (192.168.6.207).
*** This is what you should see from the iLO CLI ***
</>hpiLO-> oemhp_ping 192.168.6.207
32 bytes from 192.168.6.207: icmp_seq=1 errs=0 time=60 ms
status=0
status_tag=COMMAND COMPLETED
Wed Jul 29 14:39:15 2015
The ping was successful.
*** This is what you should see on the web server running tcpdump ***
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
15:51:24.623012 IP 192.168.1.244 > 192.168.6.207: ICMP echo request, id 48, seq 256, length 40
Now that I have verified that the two hosts can communicate with each other we need to mount the ISO image on the HP server running iLO.
3. Log into the iLO GUI and go to "Remote Console" and launch the "JAVA IRC" console. This will launch a console session.
4. Now on the top of the screen you should see "Virtual Drives", click on it and then click on "URL CD/DVD-ROM" and enter "http://192.168.6.207/ESXI-5.5-1331820-ROLLUPISO-STAND.iso (See Attachment)
5. Once you have completed the step above click on "Virtual Drives" again and now you should see "URL CD/DVD-ROM" with a check-mark next to it (See Attachment)
6. Now log back into the iLO GUI and go to "Virtual Media" and you should see the "Virtual CD/DVD-ROM Image URL" with the URL you entered " http://192.168.6.207/ESXI-5.5-1331820-ROLLUPISO-STAND.iso" and the "Connected" box checked (See Attachment)
7. Now you just have to reboot and the server will read the "Image URL" and start your software installation.
Once the server reboots you will see traffic comming across and reading the ISO image on the remote server, you will need to keep the tcpdump command running to see this. You should see something like this.
12:05:52.127948 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [S], seq 2815205146, win 13032, options [mss 1380,nop,wscale 0,nop,nop,sackOK,nop,nop,TS val 1210023830 ecr 0], length 0
12:05:52.185450 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [.], ack 681587146, win 13680, options [nop,nop,TS val 1210023890 ecr 4102441771], length 0
12:05:52.187338 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [P.], seq 0:131, ack 1, win 13680, options [nop,nop,TS val 1210023890 ecr 4102441771], length 131
12:05:52.334379 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [.], ack 13681, win 12625, options [nop,nop,TS val 1210024030 ecr 4102441831], length 0
12:05:52.395064 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [.], ack 25993, win 4409, options [nop,nop,TS val 1210024100 ecr 4102441978], length 0
12:05:52.396878 IP 192.168.1.244.53142 > 192.168.6.207.http: Flags [.], ack 25993, win 8505, options [nop,nop,TS val 1210024100 ecr 4102441978], lengt
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2015 02:38 AM
08-27-2015 02:38 AM
Re: ILO 4 Scripted Media URL
Thank you.. I started reading the posts above and they're talking web servers etc... You my friend made it easy :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2018 04:52 AM - last edited on 04-05-2021 01:50 AM by Parvez_Admin
08-04-2018 04:52 AM - last edited on 04-05-2021 01:50 AM by Parvez_Admin
Re: ILO 4 Scripted Media URL
[Admin: The above link is no longer valid]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2018 02:34 PM
08-31-2018 02:34 PM
Re: ILO 4 Scripted Media URL
I came here because I had similar problems.
In the end, the solution came when I verified the network configuration of the ILO port. We had missed to put in DNS servers, which meant that the URL (or domain) for "URL CD/DVD-ROM" could not be resolved. I used a fqdn instead of an IP to connect the media.
Then the feature worked as advertised. Much faster than for example mounting my 3 GB iso from localhost.
It wouldn't hurt if the setup in the ILO would "enforce" complete network settings or ship with sensible defaults. Or produce output in the event log that it failed to look up the host or mount the media from the URL, etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2019 12:49 AM
11-03-2019 12:49 AM
Re: ILO 4 Scripted Media URL
I have a question.
Mount a iso image via web is easy
cd /map1/oemhp_vm1/cddr1
set oemhp_image=http://mywebserver/images/isoimage.iso
set oemhp_boot=connect
My question is: is possible to insert a "local" url?
for example(in this example return error)
cd /map1/oemhp_vm1/cddr1
set oemhp_image=file://var/images/isoimage.iso
set oemhp_boot=connect
I know is possible via web interface of ilo4, but with ssh console?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 04:36 PM
08-20-2024 04:36 PM
Re: ILO 4 Scripted Media URL
Thanks! This worked!
- « Previous
-
- 1
- 2
- Next »