iLO 2 Scripting and Command Line Guide
• Eject a CD-ROM image from the Virtual CD-ROM:
cd /map1/oemhp_vm1/cddr1
set oemhp_boot=disconnect
This example executes the following commands:
— Changes the current context to the CD-ROM drive.
— Issues the disconnect command that disconnects the media and clears the oemhp_image.
• Insert a CD-ROM image and set for single boot:
cd /map1/oemhp_vm1/cddr1
set oemhp_image=http://my.imageserver.com/ISO/install_disk1.iso
set oemhp_boot=connect
set oemhp_boot=once
show
This example executes the following commands:
— Changes the current context to the CD-ROM drive.
— Shows the current status to verify that the media is not in use.
— Inserts the desired image into the drive.
— Connects the media. The boot setting always connects automatically.
— Overrides the boot setting to Once.
• Eject a CD-ROM image from the virtual CD-ROM in a single command:
set /map1/oemhp_vm1/cddr1 oemhp_boot=disconnect
If you attempt to disconnect when the drive is not connected, you receive an error.
Start and reset commands
Start and reset commands enable you to power on and reboot the server containing iLO 2 or the
iLO 2 itself.
DescriptionCommand
Turns server power on
start
Turns server power off
stop
Power cycles the server
reset hard
Warm boots the server
reset soft
Examples
If the current target is /system1, the following commands are supported:
• start
• stop
• reset hard
• reset soft
If the current target is /map1, the following commands are supported:
• reset
• reset
Specific commands 29










