HP ProLiant SL4545 HP Scripting Toolkit 9.30 for Windows User Guide - Page 18

Using SETBOOTORDER, SETBOOTORDER command-line syntax, SETBOOTORDER return codes, Using STATEMGR

Page 18 highlights

Using SETBOOTORDER SETBOOTORDER enables you to set the order in which devices are booted, including diskette drives, 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] [/?] SETBOOTORDER command-line arguments Options are disabled if not listed in the argument. Command line argument floppy cdrom pxe hd usb 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. SETBOOTORDER return codes Value 0 Meaning The boot order was set successfully. SETBOOTORDER command-line examples Command-line argument SETBOOTORDER cdrom hd pxe usb floppy SETBOOTORDER default Description This command sets the system devices to boot in this order: CD-ROM drive, hard drive, PXE, USB, diskette drive. This command sets the boot order to the factory default. Using STATEMGR The STATEMGR utility enables the user to keep track of the execution state during system reboots. This utility saves persistent state information across reboots of the system. NOTE: The STATEMGR utility is not supported on 100 series servers. STATEMGR command-line syntax STATEMGR [/R | -R] [EVNAME] [/?] - or STATEMGR [/W | -W] [EVNAME] [VALUE] [/?] 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

Using SETBOOTORDER
SETBOOTORDER enables you to set the order in which devices are booted, including diskette
drives, 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] [/?]
SETBOOTORDER command-line arguments
Options are disabled if not listed in the argument.
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.
/?
SETBOOTORDER return codes
Meaning
Value
The boot order was set successfully.
0
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, diskette drive.
SETBOOTORDER cdrom hd pxe usb floppy
This command sets the boot order to the factory default.
SETBOOTORDER default
Using STATEMGR
The STATEMGR utility enables the user to keep track of the execution state during system reboots.
This utility saves persistent state information across reboots of the system.
NOTE:
The STATEMGR utility is not supported on 100 series servers.
STATEMGR command-line syntax
STATEMGR [/R | -R] [EVNAME] [/?]
- or -
STATEMGR [/W | -W] [EVNAME] [VALUE] [/?]
18
Scripting Toolkit utilities