I just got started using Intel AMT, and have been playing around with the Java based WS-Management library.
I'm now trying to trigger a remote ISO boot. After browsing through the AMT SDK I found that IDE-R support is located in the Intel AMT Redirection Library
According to the docs : Provides an abstraction layer that implements “Serial over LAN” (SOL) and “IDE Redirection” (IDER), via a C language API.
I've found a couple of samples (mostly Microsoft C# / COM based) but I would like to trigger this from a non-microsoft environment
Are there alternative ways to remote boot an iso from another environment ?
Can this be done in pure java using the WS-Management ?
Or should I use <AMT_SDK_ROOT>/Linux/Intel_AMT/Samples/Redirection/RedirectionSample as inspiration for embedding the remote ISO boot in an application ?
The problem seems to be related to the Linux library initiating the IDE-R session, and not so much the ISO being used. (I also tried it with a 3.0.21 kernel and I'm getting the same behavior).
If I start the IDE-R session from a C# app (code based on http://communities.intel.com/community/vproexpert/blog/2010/12/02/remote-iso-launcher), where I just do the following to start an IDE-R session.
string floppyImage = "C:\\Users\\Davy\\Downloads\\Dos6.22.img";
string ISOImage = "C:\\Users\\Davy\\Downloads\\Memtest86_4.0a.iso";
The system is able to boot fine into the memtest ISO without human intervention.
When I do the same with an IDE-R session started from a linux box (again using the same memtest ISO), I need to enter the bios and select the virtual cd device before being able to boot into memtest.
If I don't override the boot in the BIOS I get this :
Some details on how the Linux stuff is setup. I have a couple of ISOs and disk images on the linux bos using the control loopback devices :
ubuntu@ubuntu-H55N-USB3:~/Downloads$ sudo losetup -a
/dev/loop0: :9457912 (/home/ubuntu/isos/memtest86+-4.20.iso)
/dev/loop1: :9457911 (/home/ubuntu/isos/floppy.img)
/dev/loop2: :8011044 (/home/ubuntu/Downloads/Windows98.img)
/dev/loop3: :8011060 (/home/ubuntu/Downloads/Dos6.22.img)
/dev/loop4: :9457702 (/home/ubuntu/Downloads/Acronis.iso)
And I use the imrcli sample from the Intel AMT SDK to start the IDE-R session :
a. Delete Client
b. Open SOL Session
c. Open IDER Session
Choose an option> c
Enter user name: admin
Configure proxy settings? [Yes|No] no
Enter floppy device: [/dev/fd0] /dev/loop3
Enter cdrom device: [/dev/cdrom] /dev/loop0
Handling Client 192.168.1.103
IDER Session Open (Registers Enabled)
In my scenario, I'm just using Linux to start the IDE-R session. (the IDE-R process run on the Linux box and the ISOs are also hosted on Linux but the IDE-R sessions point to Windows based AMT machines.
When you say : "LInux does not support booting to images" , do you mean Linux the AMT machine, or Linux the Management Console ?
If we mount the iso file in Linux and start the ide-r using Linux version of Redirection Library(mounted iso will be available as cd/dvd drive in Linux), will it boot to redirected image. (Similar to the approach followed by Davy D)
As per my understanding from AMT SDK, redirecting iso image through Linux version of Media library is not supported
The library implements the IDE-R protocol and provides the client with the ability to read and write from a floppy or CD/DVD drive on the Management Console (MC) platform (DVD transfer is supported only on consoles running a version of Windows). The Windows version of the Redirection Library allows the user to specify a CD or DVD image file (*.iso) or a floppy image file (*.img) instead of a physical disk. This functionality is performed automatically by the library, without user intervention. The transferred file can be as large as a DVD or dual-layer DVD image.