You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MTL-2126 Switch out manual boot trim instructions for script (#5803)
* MTL-2126 Use boot order script
This replaces the long-standing manual directions with a script invocation. The manual directions for boot trimming were from the early days when we wanted to reproduce what automation was doing. This section has lost some of its value as a manual process, it should invoke the automation script for easier use.
(cherry picked from commit 7ffe74b)
* Update `efibootmgr` output examples
(cherry picked from commit b9107d8)
---------
Co-authored-by: Russell Bunch <[email protected]>
Copy file name to clipboardExpand all lines: background/ncn_boot_workflow.md
+101-75
Original file line number
Diff line number
Diff line change
@@ -122,8 +122,8 @@ done
122
122
*`ipmitool` can set and edit boot order; it works better for some vendors based on their BMC implementation
123
123
*`efibootmgr` speaks directly to the node's UEFI; it can only be ignored by new BIOS activity
124
124
125
-
> **NOTE:** `cloud-init` will set boot order when it runs, but this does not always work with certain hardware vendors. An administrator can invoke the `cloud-init` script at
126
-
> `/srv/cray/scripts/metal/set-efi-bbs.sh` on any NCN.
125
+
> **NOTE:** `cloud-init` will set boot order and trim boot devices during its `runcmd` module, but this does not always work with certain hardware vendors. An administrator may invoke the `cloud-init` script on
126
+
> any NCN or PIT by loading `/srv/cray/scripts/metal/metal-lib.sh` (this should be loaded in a sub-shell as the library has a `set -e` flag.)
127
127
128
128
## Setting boot order
129
129
@@ -185,47 +185,24 @@ This is the end of the `Setting boot order` procedure.
185
185
186
186
## Trimming boot order
187
187
188
-
This section gives the procedure for removing unwanted entries from the boot order on NCNs and the PIT node.
188
+
This procedure prunes the list of boot devices, optimizing the boot order to align with CSM's requirements.
189
189
190
-
This section will only advise on removing other PXE entries. There are too many
191
-
vendor-specific entries beyond disks and NICs to cover in this section (e.g. BIOS entries, iLO entries, etc.).
190
+
(`ncn#` or `pit#`) Load the metal tools library and invoke the boot trim function.
192
191
193
-
In this case, the instructions are the same regardless of node type (management, storage, or worker):
194
-
195
-
1. (`ncn#` or `pit#`) Make lists of the unwanted boot entries.
> **NOTE:** This does not trim HSN Mellanox cards; these should disable their OpROMs using [the high speed network snippets](../operations/node_management/Switch_PXE_Boot_From_Onboard_NICs_to_PCIe.md#high-speed-network).
0 commit comments