Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Using HP ILO virtual CD ROM

News HP Servers Recommended Links ILO command line interface ILO TCP ports Firmware upgrade
Security

Using virtual CDROM

Using virtual USB drive

     
HP c7000 enclosure ProLiant BL460c Gen9 Server Blade Administration of Remote Servers Sysadmin Horror Stories Humor Etc

Introduction

Like for most hardware companies HP documentation is dismal. But for ILO it is so bad that you need to use some other more strong word.  Trying to understand  HP docs related for ILO and  working with HP ILO sometimes reminds me Alice in Wonderland ;-). From HP documentation is impossible to understand (or at least very difficult) what exactly is the functionality provided. But in reality this is a pretty powerful feature. 

Virtual CD/DVD ROM functionality in ILO is close to functionality to a real CD/DVD ROM reader connected to the server of blade.  As long  as you can read the filesystem you can read the data. Among the features supported

You can also create image from your existing folder (image here means the "image of floppy drive"; there was such thing many 20 years ago ;-).   After that you can mount this image and read files in Linux.  Or you can create ISO from you files and read them too.

When Virtual CD/DVD-ROM is connected, virtual devices are available to the host server until you close the ILO session.  that means that after OS is installed you need to disconnect virtual DVD or it will boot again.

When you are finished using the Virtual CD/DVD-ROM, you can iether choose to disconnect the device from the host server or close the ILO console.

Those capabilities are useful in case for example you got the server and need to install OS on it but you for some reason do can't connect  Ethernet card on the server to the switch, but you can connect ILO (for example using WiFi adapter).  I encountered one such case when we got HP enclosure without QSFP cable that is need to connect the switch on the enclosure to our server room switch. And needed to wait a couple of week (HP is really slow with such orders).  This two weeks gave me unique opportunity to learn capability of ILO virtual CD ROM. 

NOTES:

Among the best ways for installation of Linux using ISO mounted as virtual CD/DVD ROM in HP ILO  are:

There is always alternative to this with PXE boot, but you need to know how to configure it and have TFTP and DHCP servers that are configured according to specs. HPC clusters predominantly use this type of booting with great success. 

NOTES:

  1. If your PC is connected to local network I strongly recommend using HTTP protocol for virtual CD ROM in all cases.   With ILO 4 working with HTTP or HTTP server requires advanced license which HP sells for $352 for three years.  You can get 60 day trial license from HP (good for 10 servers) though and that's enough for the initial install.
  2. Over regular VPN transfer of the amount of data in "full" DVD is not reliable and disconnects are common.  While HP ILO handle disconnects well it is rather annoying.

Use  HTTP protocol for installing OS using ISO on nearby server

ISO images are recognized only in virtual CD/DVD ROM menu item

In ILO 4, at the top of the window, click on Virtual Drives, and then select URL DVD ROM (the last item in the menu).

ILO interface allow copying URL from the browser, the feature you should use to help to  avoid mistakes.

The performance of iLO virtual media is really fast on one gigabit network. Linux installation (server with X11 GUI) takes less then ten minutes.

You can use HTTP and HTTP protocols with or without authentication.

IMPORTANT: Please note that if you want to use DNS name you need to configure DNS server on ILO. Otherwise use only IP.  As you do not use this feature often I once spend a couple of hours trying to understand why it is not booting from the URL (and learn couple of interesting things in the process ;-).

For example

http://10.201.54.53/SLES-11-SP1-DVD-x86_64-GM-DVD1.iso
If this does not work, the most common reasons are:
  1. Wrong URL. You need to verify the URL using wget or similar tool to make sure that the ISO is really present at this URL.
  2. Some of necessary ports are blocked between your PC and ILO. This is a typical problem when the server is behind proxy.

     There are certain ports needed in order to gain ILO and remote media access to an HP ProLiant system. The G7 systems with ILO3, so the general port cheat-sheet is:
    ====================
    List Forwarded iLO Ports
    ====================
    22 Secure Shell (SSH)
    23 Remote Console / telnet
    80 Web Server Non-SSL (HTTP)
    443 Web Server SSL (HTTPS)
    3389 Terminal Services
    17988 Virtual Media
    9300 Shared Remote Console
    17990 Console Replay
    3002 Raw Serial Data

    If you have Linux VM on your Windows desktop, on Linux workstation on you desk,  you can use nmap to see the ports which are open

Use local drive on your PC for storing ISO image

NOTE: ISO interface allow copying path to avoid mistakes.

Here documentation is especially bad. It looks like translation from some other language to English. Here is pretty telling part:

To use a physical CD/DVD-ROM drive in your client PC:
1. Select IRC within the Remote Console section.  --[There is no IRC section in Remote control section, there is "Integrated Remote control" section which might be abbreviated to IRC ;-) ]
2. Select the Virtual Drive tab   --[ Here they man the "virtual Drive tab at the top menu of virtual consol which will be opened after clicking on the link in point 1]

and then select the drive letter of the desired physical CD/DVD-ROM drive on your client PC from the drop-down menu. --[This not the only option and probably not the best option -- it is better to work with ISO files.  ]

The trick to understand this paragraph is that they are talking about a tab named "Virtual drive" on the remote console screen, not about Remote console/Remote console section of ILO main menu :-).

Image files is another ILO mystery that is difficult to solve

Image file is legacy of floppy existence. So this an image of a floppy disk (which were quite popular medium 20 years ago; they stored up to 2.88 MB but  format used -- 16 bit  FAT (File Allocation Table - Wikipedia) is good for much larger size ). But it does not matter what this format means  as along as you have the tool which create an image from a directory with files. And such tool is provided directly by HP remote console. That's the key idea which helps to understand the value of this feature provide. You instantly create this image from you directory and export it from you PC to remote server using ILO. So it is very similar to burning your own DVD from a folder (or writing ISO image on the harddrive) with necessary files and exporting this actual DVD or ISO image via ILO. Essentially the same thing, just different underlying formats.

To create an image file using Remote consol applet

Floppy images have an extension .img.

To use an image file [from local drive]:

  1. Select IRC within Remote Console section (should be  "Intergrated Remote control" section  -- NNB).
  2. Select the Virtual Drive tab and then select Image.
  3. Enter the path and file name of the image in the textbox or click Browse to locate the image file using the Choose Disk Image File dialog.

To use an image file through URL[IIS\Apache]:

  1. Select IRC within Remote Console section.
  2. Select the Virtual Drive tab and then select URL.
  3. Enter the path or file name of the image in the textbox.

When Virtual CD/DVD-ROM is connected, virtual devices are available to the host server until you close the session. When you are finished using the Virtual CD/DVD-ROM, you can choose to disconnect the device from the host server or close the ILO console.

The Virtual Media applet must remain open when using a Virtual Media Device. iLO 3 Virtual Media CD/DVD-ROM will be available to the host server at run time if the operating system on the host server supports USB floppy drives.

Refer to "Operating system USB support" for information on which operating systems support USB mass storage at the time of the publication of this manual.

iLO 3 Virtual Media CD/DVD-ROM appears to your operating system just like any other CD/DVD-ROM.

When using iLO 3 for the first time, the host operating system might prompt you to complete a New Hardware Found wizard.

When you are finished using iLO 3 virtual media and disconnect it, you might receive a warning message from the host operating system regarding unsafe removal of a device. This warning can be avoided by using the operating system-provided feature to stop the device before disconnecting it from the Virtual Media. 86 Using iLO 3 Virtual Media CD/DVD-ROM operating system notes.

Windows Server 2008 and Windows Server 2003 The virtual CD/DVD-ROM displays automatically after Windows has recognized the mounting of the USB device.

Use it as you would a locally attached CD/DVD-ROM device.

Linux Red Hat Linux On servers with a locally attached IDE CD/DVD-ROM, the virtual CD/DVD-ROM device is accessible at /dev/cdrom1.

However, on servers without a locally attached CD/DVD-ROM, such as the BL c-Class blade systems, the virtual CD/DVD-ROM is the first CD/DVD-ROM accessible at /dev/cdrom.

The virtual CD/DVD-ROM can be mounted as a normal CD/DVD-ROM device using: mount /mnt/cdrom1 .

SLES 9 , SLES10 and SLES 11 The SLES 9 operating system places USB-connected CD/DVD-ROMs in a different location and the virtual CD/DVD-ROM can be found at /dev/scd0, unless a USB-connected local CD/DVD-ROM is present, if so, it would be /dev/scd1.

The virtual CD/DVD-ROM can be mounted as a normal CD/DVD-ROM device using: mount /dev/scd0 /media/cdrom11 For step-by-step instructions, see

Mounting USB Virtual Media CD/DVD-ROM in Linuxh (page 87).

Mounting USB Virtual Media CD/DVD-ROM in Linux

1. Access iLO 3 through a browser.

2. Select IRC within Remote Console section.

3. Select the Virtual Drive tab.

4. Select the CD/DVD-ROM to be used.

5. Mount the drive using the following command: mount /dev/cdrom1 /mnt/cdrom1 For SLES 9: mount /dev/scd0 /media/cdrom1 Creating iLO 3 disk image files The iLO 3 virtual media feature enables you to create diskette and CD-ROM image files within the same applet.

Creation of DVD image files using the Virtual Media applet is not supported.

The image files created from the applet are ISO-9660 file system images.

The performance of iLO 3 virtual media is faster when image files are used.

The utility to create iLO 3 Virtual Floppy and CD-ROM disk image files is integrated into the Virtual Media applet; however, images can also be created using industry-standard tools, such as DD.

To create an image file: 1.

Select Java Integrated Remote Console within the Remote Console section.

2. Select the Create Disk Image option from the Virtual Drive tab.

Virtual media 87 3. Enter the path or file name in the textbox, or click Browse to select an existing image file or to change the directory in which the image file is to be created.

4. Click Create. The virtual media applet begins the process of creating the image file. The process is complete when the progress bar reaches 100%. To cancel the creation of an image file, click Cancel. The Disk>>Image option is used to create image files from physical diskettes or CD-ROMs. The Image>>Disk option is not valid for a Virtual CD-ROM image. The Disk>>Image button changes to Image>>Disk when clicked. Use this button to switch from creating image files from physical diskettes to creating physical floppy diskettes from image files. Virtual folder The iLO 3 Virtual Folder emulates a USB device, dynamically creating a media image of a selected folder or directory. After creating a virtual image of a folder or directory, the server connects to the created image as a USB storage device, enabling you to browse to the server and transfer the files from the iLO 3 generated image to any location on the server. The Virtual Folder feature is only available within the IRC. The virtual folder is non-bootable, read-only, and the mounted folder is static. Changes to the client file are not replicated in the mounted folder.

Virtual folder feature

Virtual folder looks like NSF for FAT 16 filesystems.

Virtual Folder is a licensed feature available with the purchase of iLO 3 Advanced or iLO 3 Select.

The virtual folder feature enables you to access, browse, and transfer files from a client to a managed server.

The virtual folder feature supports the ability to mount and dismount a directory on a local or networked directory that is accessible through the client, mounted and dismounted as a Virtual Media device.

Virtual folder operating system notes .

You cannot use a physical local floppy drive and the Virtual Folder simultaneously.

Windows Virtual Folder appears automatically after Microsoft Windows recognizes the mounting of the virtual USB device.

You can use the folder as you would a locally attached device.

Virtual Folder is non-bootable.

Red Hat and SLES Linux Linux supports the use of Virtual Folder.

Virtual Folder uses a FAT 16 file system format.

For more information, see Mounting USB Virtual Media/USB Key in Linux (page 84).


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News ;-)

[Jul 24, 2017] ILO 4 user guide

iLO 4 will accept URLs in HTTP, HTTP or HTTPS format. FTP is not supported.

Linux-The requirements for Red Hat Linux and SLES follow:

Red Hat Linux

On servers that have a locally attached IDE CD/DVD-ROM, the Virtual CD/DVD-ROM device is accessible at /dev/cdrom1. However, on servers that do not have a locally attached CD/DVD-ROM, such as BL c-Class blade systems, the Virtual CD/DVD-ROM is the first CD/DVD-ROM accessible at /dev/cdrom.

You can mount the Virtual CD/DVD-ROM as a normal CD/DVD-ROM device by using the following command:

mount /mnt/cdrom

... ... ..

Using iLO Virtual Media from the iLO web interface

The Virtual Media page allows you to perform the following tasks:

  1. View or change the Virtual Media port. You can also change this value on the AdministrationAccess Settings page.

  2. View or eject local media, including locally stored image files, floppy disks, USB keys, CDs/DVD-ROMs, and virtual folders.

  3. View, connect, eject, or boot from scripted media. Scripted media refers to connecting images hosted on a web server by using a URL. iLO 4 will accept URLs in HTTP or HTTPS format. FTP is not supported.

iLO4 Virtual Drive ISO URL - Hewlett Packard Enterprise Community

[Jul 23, 2017] HP - BL460c G7 blade OS install

Server Fault

Q: I have an HP c7000 enclosure with a BL460c G7 blade. I need to install Windows server OS on it. I have a problem with iLO, so it will not mount the ISO in the remote console. Tried using both Active-X and the Java console. In the Active-X console i get a timeout mounting the ISO and in Java i get "network error (java.net.socketexception socket closed)".

Anyway the real question now, while waiting for the network guys: Is there any other way to install an OS on a BL460c G7 than mounting an ISO in iLO remote console? Can i connect a DVD ROM to a USB port or anything. Is there any way i can possibly get to read the install DVD so i can get the OS installed on the blade?

====

A: There are certain ports needed in order to gain ILO and remote media access to an HP ProLiant system. The G7 systems use ILO3, so the general port cheat-sheet is:
====================
List Forwarded iLO Ports
====================
22 Secure Shell (SSH)
23 Remote Console / telnet
80 Web Server Non-SSL (HTTP)
443 Web Server SSL (HTTPS)
3389 Terminal Services
17988 Virtual Media
9300 Shared Remote Console
17990 Console Replay
3002 Raw Serial Data
====================
In short, 23, 80, 443 and 17988 are the main ports you'll need access to in order to perform an installation through the GUI. Are you being blocked by a firewall? Do you have any way to get directly onto the ILO's network (assuming it's on a different network segment). I often end up using a convoluted SSH forwarding string to accomplish this at distant sites...

ssh -L 22:<iLO ip address>:22 -L 23:<iLO ip address>:23 -L 80:<iLO ip address>:80 -L 443:<iLO ip address>:443 -L 3389:<iLO ip address>:3389
-L 17988:<iLO ip address>:17988 -L 9300:<iLO ip address>:9300 -L 17990:<iLO ip address>:17990 -L 3002:<iLO ip address>:3002 user@gateway

There are other options, though. You can SSH to the ILO and force it to mount a .ISO file residing at a URL. From the ILO ssh interface:
vm cdrom insert http://192.168.1.100/path/to/Windows.iso
followed by
vm cdrom set boot_once will tell the ILO to source the .ISO from a specific location.

There's also a USB/KVM dongle that can be attached directly to the blade server. On is included with each enclosure. That would allow the use of a USB DVD drive, assuming someone has physical access to the server.


Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Sites



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haters Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: December 01, 2020