HP XC System Software Installation Guide Version 2.1

nodes t o network boo t from the DHCP server and a utomatically starts a reinstallatio n operat ion
on the no de or nodes by temporarily modifying the EFI environment to allow the n ode or
nodes to netwo rk boot.
This procedure assumes nod es 1 through 5 (n1–5) are to be reinstalled.
1. Begin this procedure as the root user on the head node.
2. Use the scontrol command to ensure that all jobs are drained from nodes n1 through
n5:
# scontrol update NodeName=n[1-5] State=DRAIN Reason="system shutdown"
3. Before shutting down the s y stem, ensure that a common network boot label is defined for
all nodes in the EFI environment:
a. Enter the following command to display the network boot label for all nodes:
# cexec -a -f 1 "efibootmgr"
n1: BootCurrent: 0000
n1: BootOrder: 0000,0001
n1: Boot0000* Linux
n1: Boot0001* Netboot
1
.
.
.
n4: BootCurrent: 0000
n4: BootOrder: 0000,0001
n4: Boot0000* Linux
n4: Boot0001* eth1boot
2
n5: BootCurrent: 0000
n5: BootOrder: 0000,0001
n5: Boot0000* Linux
n5: Boot0001* eth1boot
2
.
.
.
1 The network boot op tion label for node n1 is set to Netboot.
2 The netwo rk boot option label for nodes n4 and n5 is set to eth1boot.These
values m ust be consistently named Netboot for the setnode command
to operate properly.
b. Do one of the following:
If all boot labels are consistently named Netboot, there is no need to change
anything, proceed to step 4.
If the boot label nam es for all nodes are not consistently name d Netboot,
proceed to step 3c to change the label fo r all nodes that do not have the label
Netboot.
c. En ter a com mand similar to the following to remove the incon si stent or inco rrect
boot labels. The following command removes the boot entries for Boot0001 on
nodes n4 and n5:
# cexec -w n[4,5] "efibootmgr -b 1 -B"
In the previous command line, -b 1 represents the Boot0001 output line. If y ou
are changing the Boot0002 output line, specify -b 2 instead.
d. Create new boot labels for nodes n4 and n5 with the value Netboot:
# cexec -w n[4,5] "efibootmgr -c -i eth1 -H 222f0 -U 100 -L Netboot"
e. Verify that the label for all nodes has been set to Netboot:
# cexec -a -f 1 "efibootmgr"
n1: BootCurrent: 0000
n1: BootOrder: 0000,0001
K-4 Reinstalli ng An XC System with Version 2.1