Installation Manual
Figure 5 Perl configuration example
7. Verify that Web Service Extensions allows Perl scripts to execute. If not, click Web Service
Extensions and set Perl CGI Extension to Allowed.
8. Verify that the prefix variable in the helper application is set correctly.
To view a sample helper application, see “Sample Virtual Media helper application” (page 240).
Inserting Virtual Media with a helper application
When you are using a helper application with the INSERT_VIRTUAL_MEDIA command, the
basic format of the URL is as follows:
protocol://user:password@servername:port/path,helper-script
where:
• protocol—Mandatory. Either HTTP or HTTPS.
• user:password—Optional. When present, HTTP basic authorization is used.
• servername—Mandatory. Either the host name or the IP address of the web server.
• port—Optional. A web server on a nonstandard port.
• path—Mandatory. The image file that is being accessed.
• helper-script—Optional. The location of the helper script on IIS web servers.
For detailed information about the INSERT_VIRTUAL_MEDIA command, see the iLO scripting
and CLI guide.
Sample Virtual Media helper application
The following Perl script is an example of a CGI helper application that allows diskette writes on
web servers that cannot perform partial writes. A helper application can be used in conjunction
with the INSERT_VIRTUAL_MEDIA command to mount a writable disk.
When you are using the helper application, the iLO firmware posts a request to this application
using the following parameters:
• The file parameter contains the name of the file provided in the original URL.
• The range parameter contains an inclusive range (in hexadecimal) that designates where
to write the data.
• The data parameter contains a hexadecimal string that represents the data to be written.
240 Using iLO Virtual Media