HP ProLiant SL2500 HP Scripting Toolkit 9.60 for Windows User Guide - Page 18

REBOOT command-line examples, Using SETBOOTORDER, SETBOOTORDER command-line syntax

Page 18 highlights

REBOOT command-line examples Command-line argument REBOOT A: REBOOT PXE Description This command reboots the system to the A: drive. This command reboots the system by itself to the PXE NIC. Using SETBOOTORDER SETBOOTORDER enables you to set the order in which devices are booted, including CD-ROM or DVD drives, hard drives, PXE, and USB devices. This utility sets the boot order only for devices that exist for a server. The devices can be set to boot in any order. SETBOOTORDER cannot be used to set the storage controller order. You must use the CONREP utility. For more information about setting the controller order, see "Using CONREP" (page 24) NOTE: Any changes made to the SETBOOTORDER take affect at the next reboot. For HP ProLiant servers with Oxx ROM Family (most 100 series servers), only one device can be set as the boot device and others cannot be re-ordered. These Oxx servers do not support the default or usb parameters. SETBOOTORDER command-line syntax setbootorder [floppy cdrom pxe hd usb | default] [-h] SETBOOTORDER command-line arguments Options are disabled if not listed in the argument. NOTE: UEFI-based servers no longer support floppy as a boot option in any mode, including Legacy. Command line argument floppy cdrom pxe hd usb default -h SETBOOTORDER return codes Value 0 1 SETBOOTORDER command-line examples Command-line argument SETBOOTORDER cdrom hd pxe usb SETBOOTORDER default Description The order of these arguments sets the boot order for the system devices. Each term can be used only once in any order. It is not necessary to use all terms. HP ProLiant 100 series servers can only pass in one option. This argument resets the boot order to the factory default. This argument displays help information. Meaning The boot order was set successfully. Incorrect command line.. Description This command sets the system devices to boot in this order: CD-ROM drive, hard drive, PXE, USB. This command sets the boot order to the factory default. 18 Scripting Toolkit utilities

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

REBOOT command-line examples
Description
Command-line argument
This command reboots the system to the A: drive.
REBOOT A:
This command reboots the system by itself to the PXE NIC.
REBOOT PXE
Using SETBOOTORDER
SETBOOTORDER enables you to set the order in which devices are booted, including CD-ROM
or DVD drives, hard drives, PXE, and USB devices. This utility sets the boot order only for devices
that exist for a server. The devices can be set to boot in any order.
SETBOOTORDER cannot be used to set the storage controller order. You must use the CONREP
utility. For more information about setting the controller order, see
“Using CONREP” (page 24)
NOTE:
Any changes made to the SETBOOTORDER take affect at the next reboot. For HP ProLiant
servers with Oxx ROM Family (most 100 series servers), only one device can be set as the boot
device and others cannot be re-ordered. These Oxx servers do not support the
default
or
usb
parameters.
SETBOOTORDER command-line syntax
setbootorder [floppy cdrom pxe hd usb | default] [-h]
SETBOOTORDER command-line arguments
Options are disabled if not listed in the argument.
NOTE:
UEFI-based servers no longer support
floppy
as a boot option in any mode, including
Legacy.
Description
Command line argument
The order of these arguments sets the boot order for the
system devices. Each term can be used only once in any
floppy cdrom pxe hd usb
order. It is not necessary to use all terms. HP ProLiant 100
series servers can only pass in one option.
This argument resets the boot order to the factory default.
default
This argument displays help information.
h
SETBOOTORDER return codes
Meaning
Value
The boot order was set successfully.
0
Incorrect command line..
1
SETBOOTORDER command-line examples
Description
Command-line argument
This command sets the system devices to boot in this order:
CD-ROM drive, hard drive, PXE, USB.
SETBOOTORDER cdrom hd pxe usb
This command sets the boot order to the factory default.
SETBOOTORDER default
18
Scripting Toolkit utilities