Skip to main content

bootmode command

This command sets and displays the boot mode settings for compute nodes installed in the Lenovo Flex System chassis that support this feature.

If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or bootmode command errors for a list of error messages that are specific to the bootmode command.

Table 1. bootmode command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Display compute node boot modeDisplays the boot mode settings of the specified compute node.
Note
This command will execute only on compute nodes that support the bootmode feature.
bootmode
Compute node:
  • blade[x]
  • where x is the node bay number.
Set compute node boot modeSets the copy of firmware that the specified compute node will use to boot:
  • Temporary: booting from the temporary copy is recommended since it typically contains the latest enhancements and fixes.
  • Permanent: booting from the permanent copy should be used only when booting from the temporary copy is no longer possible.

Changes to the boot mode setting take effect after the next restart of the compute node.

Note
This command will execute only on compute nodes that support the bootmode feature.
bootmode -p mode

where mode is:

  • temp for temporary firmware copy.
  • perm for permanent firmware copy.
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Blade configuration
See Commands and user authority for additional information.
Compute node:
  • blade[x]
  • where x is the node bay number.
Example: To view the boot mode of the compute node in bay 2, while this compute node is set as the persistent command environment, at the system:blade[2]> prompt, type
bootmode
To set the boot mode of the compute node in bay 2 to permanent, while this compute node is set as the persistent command environment, at the system:blade[2]> prompt, type
bootmode -p perm

The following example shows the information that is returned from these commands:

system:blade[2]> bootmode
active: temporary
pending: Invalid boot mode type
system:blade[2]> bootmode -p perm
Set the blade boot mode to permanent succeeded.
The setting will become active after the next reboot of the blade.
system:blade[2]> bootmode
active: temporary
pending: permanent
system:blade[2]>