This guide centers around constructing bootstrap-files and contains various pre-install operations.
The remainder of this page provides important nomenclature, notes, and environment help.
Pre-Spring 2020 CRAY System Upgrade Notice
Systems built before Sprint 2020 originally used onboard NICs for netbooting. The new topologies for Shasta cease using the onboard NICs. If your system is running Shasta v1.3, then it likely is using onboard NICs.
It is recommended to cease using these for Shasta v1.4, an admin would have one less MAC address to track and account for. The NCN networking becomes relatively simpler as a result from caring about one less NIC.
This guide may receive more installments for other files as time goes on.
These guides expect you to have access to either of the following things for working on a bare-metal system (assuming freshly racked, or fresh-installing an existing system).
If you do not have the LiveCD, or any other local Linux environment, this data collection may be quicker the alternative method through the 303-NCN-METADATA-USB-SERIAL page.
There are 2 parts to the NCN metadata file:
This is not the High-Speed Network interface
This is the interface, one or more, that comprise the NCNs’ LACP link-aggregation ports.
NCNs may have 1 or more bond interfaces, which may be comprised from one or more physical interfaces. The preferred default configuration is 2 physical network interfaces per bond. The number of bonds themselves depends on your systems network topology.
For example, systems with 4 network interfaces on a given node could configure either of these permutations (for redundancy minimums within Shasta cluster):
bond0
)bond0
and bond1
)For more information, see 103-NETWORKING page for NCNs.
In general this refers to the interface to be used when the node attempts to PXE boot. This varies between vintages of systems; systems before “Spring 2020” often booted NCNs with onboard NICs, newer systems boot over their PCIe cards.
If the system is booting over PCIe than the “bootstrap MAC” and the “bond0 MAC 0” will be identical. If the system is booting over onboards then the “bootstrap MAC” and the “bond0 MAC 0” will be different.
Other Nomenclature
Relationships …
Each paragraph here will denote which pre-reqs are needed and which pages to follow for data collection.
ncn_metadata.csv
Unless your system is sans-onboards, meaning it does not use or does not have onboard NICs on the non-compute nodes, then these guides will be necessary before (re)constructing the ncn_metadata.csv
file.
The following two guides will assist with (re)creating ncn_metadata.csv
(an example file is below).
The following are sample rows from a ncn_metadata.csv
file:
Notice how the MAC address for
Bond0 MAC0
andBond0 MAC1
are only off by 1, which indicates that they are on the same 2 port card.
Xname,Role,Subrole,BMC MAC,Bootstrap MAC,Bond0 MAC0,Bond0 MAC1
x3000c0s6b0n0,Management,Worker,94:40:c9:37:77:b8,14:02:ec:da:bb:00,14:02:ec:da:bb:00,14:02:ec:da:bb:01
Notice how the MAC address for
Bond0 MAC0
andBond0 MAC1
have a difference greater than 1, which indicates that they are on not on the same 2 port same card.
Xname,Role,Subrole,BMC MAC,Bootstrap MAC,Bond0 MAC0,Bond0 MAC1
x3000c0s9b0n0,Management,Storage,94:40:c9:37:77:26,14:02:ec:d9:76:88,14:02:ec:d9:76:88,94:40:c9:5f:b6:92
Example ncn_metadata.csv
file for a system that has been configured as follows:
Since the NCN have been configured to boot over their PCIe NICs the values for the columns
Bootstrap MAC
andBond0 MAC0
have the same value.
Xname,Role,Subrole,BMC MAC,Bootstrap MAC,Bond0 MAC0,Bond0 MAC1
x3000c0s9b0n0,Management,Storage,94:40:c9:37:77:26,14:02:ec:d9:76:88,14:02:ec:d9:76:88,94:40:c9:5f:b6:92
x3000c0s8b0n0,Management,Storage,94:40:c9:37:87:5a,14:02:ec:d9:7b:c8,14:02:ec:d9:7b:c8,94:40:c9:5f:b6:5c
x3000c0s7b0n0,Management,Storage,94:40:c9:37:0a:2a,14:02:ec:d9:7c:88,14:02:ec:d9:7c:88,94:40:c9:5f:9a:a8
x3000c0s6b0n0,Management,Worker,94:40:c9:37:77:b8,14:02:ec:da:bb:00,14:02:ec:da:bb:00,14:02:ec:da:bb:01
x3000c0s5b0n0,Management,Worker,94:40:c9:35:03:06,14:02:ec:d9:76:b8,14:02:ec:d9:76:b8,14:02:ec:d9:76:b9
x3000c0s4b0n0,Management,Worker,94:40:c9:37:67:60,14:02:ec:d9:7c:40,14:02:ec:d9:7c:40,14:02:ec:d9:7c:41
x3000c0s3b0n0,Management,Master,94:40:c9:37:04:84,14:02:ec:d9:79:e8,14:02:ec:d9:79:e8,94:40:c9:5f:b5:cc
x3000c0s2b0n0,Management,Master,94:40:c9:37:f9:b4,14:02:ec:da:b8:18,14:02:ec:da:b8:18,94:40:c9:5f:a3:a8
x3000c0s1b0n0,Management,Master,94:40:c9:37:87:32,14:02:ec:da:b9:98,14:02:ec:da:b9:98,14:02:ec:da:b9:99
switch_metadata.csv
This file denotes your network topology devices, see Switch Metadata for directions about creating this file.
use case: 2 leaf switches and 2 spine switches
pit# cat example_switch_metadata.csv
Switch Xname,Type,Brand
x3000c0w38,Leaf,Dell
x3000c0w36,Leaf,Dell
x3000c0h33s1,Spine,Mellanox
x3000c0h33s2,Spine,Mellanox
use case: 2 CDU switches, 2 leaf switches, and 2 spines switches
pit# cat example_switch_metadata.csv
Switch Xname,Type,Brand
d0w1,CDU,Dell
d0w2,CDU,Dell
x3000c0w38,Leaf,Dell
x3000c0w36,Leaf,Dell
x3000c0h33s1,Spine,Mellanox
x3000c0h34s1,Spine,Mellanox
use case: 2 CDU Switches, 2 leaf switches, 4 aggregation switches, and 2 spine switches
pit# cat example_switch_metadata.csv
Switch Xname,Type,Brand
d0w1,CDU,Aruba
d0w2,CDU,Aruba
x3000c0w31,Leaf,Aruba
x3000c0w32,Leaf,Aruba
x3000c0h33s1,Aggregation,Aruba
x3000c0h34s1,Aggregation,Aruba
x3000c0h35s1,Aggregation,Aruba
x3000c0h36s1,Aggregation,Aruba
x3000c0h37s1,Spine,Aruba
x3000c0h38s1,Spine,Aruba
hmn_connections.json
This file denotes your BMC interfaces and other hardware network topology devices, see HMN Connections for instructions creating this file.