The HMN
tab of the SHCD describes the air-cooled hardware present in the system and how these devices are connected to the Hardware Management Network (HMN).
This information is required by CSM to perform hardware discovery and geolocation of air-cooled hardware in the system. The HMN
tab may contain other hardware
that is not managed by CSM, but is connected to the HMN.
The hmn_connections.json
file is derived from the HMN
tab of a system SHCD, and is one of the seed files required by the Cray Site Init
(CSI) tool to generate
configuration files required to install CSM. The hmn_connections.json
file is almost a one-to-one copy of the right-hand table in the HMN
tab of the SHCD. It is an
array of JSON objects, and each object represents a row from the HMN
tab. Any row that is not understood by CSI will be ignored; this includes any additional
devices connected to the HMN that are not managed by CSM.
The System Layout Service (SLS) contains data about what hardware is in the system and how it is connected to the HMN network. This data is generated when the CSI tool generates configurations files for system. For air-cooled hardware, SLS will contain the SLS representation of the device and a Management Switch Connector object that describes what device is plugged into a particular management switch port.
Column mapping from SHCD to hmn_connections.json
:
SHCD Column | SHCD Column Name | hmn_connections Field |
Description |
---|---|---|---|
J20 |
Source |
Source |
Name of the device connected to the HMN network |
K20 |
Rack |
SourceRack |
Source rack; matches regular expression x\d+ |
L20 |
Location |
SourceLocation |
For nodes (management, compute, application), this is bottom rack slot that the node occupies, and can be extracted by [a-zA-Z]*(\d+)([a-zA-Z]*) . For other device types, this is ignored. |
M20 |
SourceSubLocation |
For compute nodes, this can be L , l , R , r , or blank. For other device types, this is ignored. |
|
N20 |
Parent |
SourceParent |
|
O20 |
not used |
||
P20 |
Port |
not used |
|
Q20 |
Destination |
not used |
|
R20 |
Rack |
DestinationRack |
Rack of the management switch |
S20 |
Location |
DestinationLocation |
Rack slot of the management switch |
T20 |
not used |
||
U20 |
Port |
DestinationPort |
Switch port on the management switch |
NOTE
OnlyJ20
needs to have the column name ofSource
. There are no requirements on what the other columns should be named.
Some conventions for this document:
Source
names from the SHCD are converted to lowercase before being processed by the CSI tool.hmn_connections.json
file will be used to referenced values from the SHCD.HMN
tab of the SHCD, the hmn_connections.json
file, and in SLS.Typically air-cooled hardware is located within a standard EIA 42U rack, and chassis c0
is used for all air-cooled hardware present within a standard rack. If air-cooled hardware is located within an EX2500 cabinet that contains a single liquid-cooled
chassis and one air-cooled chassis, then the chassis c4
will be used.
All of the following examples assume air-cooled hardware is located within a standard rack and use chassis c0
.
The Source
field needs to match these conditions in order to be considered a compute node:
Has one of the following prefixes:
nid
cn
Ends with an integer that matches this regular expression: (\d+$)
For example, the following are valid Source
field values for compute nodes:
nid000001
cn1
cn-01
Depending on the type of compute node, additional rules may apply. Compute nodes in the follow sections will use the nid
prefix.
NOTE
Apollo 2000 compute nodes are not currently supported by CSM.
Air-cooled compute nodes are typically in a 2U
chassis that contains four compute nodes. Each of the compute nodes in the chassis gets its own row in the HMN
tab,
plus a parent row.
SourceParent
field is used to group together the four nodes that are contained within the same chassis, and it is used to reference another row in
the SHCD HMN
tab. The referenced SourceParent
row is used to determine the rack slot that the compute nodes occupy.SourceParent
row can be a Chassis Management Controller, which can be used to control devices underneath it. This device typically will have a connection to
the HMN. A Gigabyte CMC is an example of a CMC. If a CMC is not connected to the HMN network, this will prevent CSM services from managing that device.SourceParent
row can be a virtual parent that is used to group the compute nodes together symbolically into a chassis. It does not need to not have a
connection to the HMN.The rack slot that a compute node occupies is determined by the rack slot of the SourceParent
. The SourceLocation
of the parent is the bottom unit number of the
chassis. All four nodes in the same chassis receive a component name (xname) with the bottom unit number of the chassis.
The BMC ordinal for a node’s BMC is derived from the NID of the node by applying a modulo of four and then adding one.
For example, a node with NID 17 will have a BMC ordinal of (17 modulo 4) + 1 == 1 + 1 == 2
. Therefore a node with NID 17 in slot 10 in cabinet 3000 will have the
component name (xname) of x3000s10b2n0
.
Example: Four compute nodes in the same chassis with a CMC connected to the network. The compute node chassis is located in slot 17 of cabinet 3000, and the compute
node BMCs are connected to ports 33-36 in the management leaf-bmc-bmc
switch in slot 14 of cabinet 3000. Port 32 on the leaf-bmc-bmc
switch is for the CMC in
the chassis. Refer to Chassis Management Controller section for additional details.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
nid000001 |
x3000 |
u17 |
R |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j36 |
nid000002 |
x3000 |
u18 |
R |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j35 |
nid000003 |
x3000 |
u18 |
L |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j34 |
nid000004 |
x3000 |
u17 |
L |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j33 |
SubRack-001-CMC |
x3000 |
u17 |
- |
cmc |
sw-smn01 |
x3000 |
u14 |
- |
j32 |
NOTE
Source
names likecn1
andcn-01
are equivalent to the valuenid000001
.
Example: Four compute nodes in the same chassis without a CMC connected to the HMN network.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
nid000001 |
x3000 |
u17 |
R |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j36 |
nid000002 |
x3000 |
u18 |
R |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j35 |
nid000003 |
x3000 |
u18 |
L |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j34 |
nid000004 |
x3000 |
u17 |
L |
SubRack-001-CMC |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j33 |
SubRack-001-CMC |
x3000 |
u17 |
- |
NOTE
Source
names likecn1
andcn-01
are equivalent to the valuenid000001
.
Example Four compute nodes in the same chassis with the a CMC connected to the network. The compute node chassis is located in slot 17 of cabinet 3000, and the
compute node BMCs are connected to ports 33-36 in the management leaf-bmc-bmc
switch in slot 14 of cabinet 3000. The SourceParent
for the compute nodes
SubRack-001-CMC
is connected to the port 32 on the leaf-bmc-bmc
switch.
{"Source":"nid000001","SourceRack":"x3000","SourceLocation":"u17","SourceSubLocation":"R","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j36"}
{"Source":"nid000002","SourceRack":"x3000","SourceLocation":"u18","SourceSubLocation":"R","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j35"}
{"Source":"nid000003","SourceRack":"x3000","SourceLocation":"u18","SourceSubLocation":"L","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j34"}
{"Source":"nid000004","SourceRack":"x3000","SourceLocation":"u17","SourceSubLocation":"L","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j33"}
{"Source":"SubRack-001-CMC","SourceRack":"x3000","SourceLocation":"u17","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j32"}
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
Example: Four compute nodes in the same chassis without a CMC connected to the HMN network.
NOTE
TheSourceParent
for the compute nodesSubRack-001-CMC
is not connected the HMN network.
{"Source":"nid000001","SourceRack":"x3000","SourceLocation":"u17","SourceSubLocation":"R","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j36"}
{"Source":"nid000002","SourceRack":"x3000","SourceLocation":"u18","SourceSubLocation":"R","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j35"}
{"Source":"nid000003","SourceRack":"x3000","SourceLocation":"u18","SourceSubLocation":"L","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j34"}
{"Source":"nid000004","SourceRack":"x3000","SourceLocation":"u17","SourceSubLocation":"L","SourceParent":"SubRack-001-CMC","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j33"}
{"Source":"SubRack-001-CMC","SourceRack":"x3000","SourceLocation":"u17","DestinationLocation":" ","DestinationPort":" "}
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
The CSI tool will generate the following SLS representations for compute nodes and their BMC connections to the HMN network.
Node:
{
"Parent": "x3000c0s17b1",
"Xname": "x3000c0s17b1n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 1,
"Role": "Compute",
"Aliases": [
"nid000001"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j36",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s17b1"
],
"VendorName": "1/1/36"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/36
. Dellleaf-bmc
switches will have valueethernet1/1/36
.
Node:
{
"Parent": "x3000c0s17b2",
"Xname": "x3000c0s17b2n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 2,
"Role": "Compute",
"Aliases": [
"nid000002"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j35",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s17b2"
],
"VendorName": "1/1/35"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/35
. Dellleaf-bmc
switches will have valueethernet1/1/35
.
Node
{
"Parent": "x3000c0s17b3",
"Xname": "x3000c0s17b3n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 3,
"Role": "Compute",
"Aliases": [
"nid000003"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j34",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s17b3"
],
"VendorName": "1/1/34"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/34
. Dellleaf-bmc
switches will have valueethernet1/1/34
.
Node
{
"Parent": "x3000c0s17b4",
"Xname": "x3000c0s17b4n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 4,
"Role": "Compute",
"Aliases": [
"nid000004"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j33",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s17b4"
],
"VendorName": "1/1/33"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/33
. Dellleaf-bmc
switches will have valueethernet1/1/33
.
A single compute node chassis needs to match these additional conditions:
SourceParent
definedSourceSubLocation
definedThis convention applies to all compute nodes that have a single node in a chassis, such as the Apollo XL675D.
Example: A single chassis node with NID 1 located in slot 2 of cabinet 3000. The node’s BMC is connected to port 36 of the management leaf-bmc
switch in
slot 40 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
nid000001 |
x3000 |
u02 |
- |
j03 |
sw-smn01 |
x3000 |
u40 |
- |
j36 |
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
The HMN connections representation for the two SHCD table rows above:
{"Source":"nid000001","SourceRack":"x3000","SourceLocation":"u02","DestinationRack":"x3000","DestinationLocation":"u40","DestinationPort":"j36"}
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
Compute node:
{
"Parent": "x3000c0s2b0",
"Xname": "x3000c0s2b0n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 1,
"Role": "Compute",
"Aliases": [
"nid000001"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w40",
"Xname": "x3000c0w40j36",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s2b0"
],
"VendorName": "1/1/36"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/36
. Dellleaf-bmc
switches will have valueethernet1/1/36
.
Additional matching conditions:
SourceSubLocation
field contains one of: L
, l
, R
, r
.In addition to the top-level compute node naming requirements, when there are two nodes in a single chassis, the SourceSubLocation
is required. The
SourceSubLocation
can contain one of the following values: L
, l
, R
, r
. These values are used to determine the BMC ordinal for the node.
L
or l
translates into the component name (xname) having b1
.
x3000c0s10b1b0
R
or r
translates into the component name (xname) having b2
.
x3000c0s10b1b0
This convention applies to all compute nodes that have two nodes in a chassis, such as the Apollo XL645D.
Example: A compute node chassis with two nodes located in slot 8 of cabinet 3000. NID 1 is on the left side of the chassis, and NID 2 is on the right side.
The two node BMCs are connected to ports 37 and 38 of the management leaf-bmc
switch in slot 40 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
nid000001 |
x3000 |
u08 |
L |
- |
j03 |
sw-smn01 |
x3000 |
u40 |
- |
j38 |
|
nid000002 |
x3000 |
u08 |
R |
- |
j03 |
sw-smn01 |
x3000 |
u40 |
- |
j37 |
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
The HMN connections representation for the two SHCD table rows above:
{"Source":"nid000001","SourceRack":"x3000","SourceLocation":"u08","SourceSubLocation":"L","DestinationRack":"x3000","DestinationLocation":"u40","DestinationPort":"j37"}
{"Source":"nid000002","SourceRack":"x3000","SourceLocation":"u08","SourceSubLocation":"R","DestinationRack":"x3000","DestinationLocation":"u40","DestinationPort":"j38"}
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
Node:
{
"Parent": "x3000c0s8b1",
"Xname": "x3000c0s8b1n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 3,
"Role": "Compute",
"Aliases": [
"nid000003"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w40",
"Xname": "x3000c0w40j38",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s8b1"
],
"VendorName": "1/1/38"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/38
. Dellleaf-bmc
switches will have valueethernet1/1/38
.
Node:
{
"Parent": "x3000c0s8b2",
"Xname": "x3000c0s8b2n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 2,
"Role": "Compute",
"Aliases": [
"nid000002"
]
}
}
Management Switch Connectors:
{
"Parent": "x3000c0w40",
"Xname": "x3000c0w40j37",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s8b2"
],
"VendorName": "1/1/37"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/37
. Dellleaf-bmc
switches will have valueethernet1/1/37
.
NOTE
This is not the same as an RCM (Rack Consolidation Module) that is present in Apollo 2000 chassis.
Matching conditions:
SourceParent
of another rowSource
field contains cmc
or CMC
A Chassis Management Controller (CMC) is a device which can be used to control the BMCs underneath it. This device typically has a connection to the HMN. A Gigabyte CMC is an example of a CMC. If a CMC is not connected to the HMN network, this will prevent CSM services from managing that device.
These devices will have the BMC ordinal of 999 for their component names (xnames). For example, x3000c0s10b999
.
Example: The CMC for the chassis in slot 28 of cabinet 3000 is connected to port 32 of the management leaf-bmc
switch in slot 22 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
SubRack-002-cmc |
x3000 |
u28 |
- |
cmc |
sw-smn01 |
x3000 |
u22 |
- |
j42 |
The HMN connections representation for the SHCD table row above:
{"Source":"SubRack-002-cmc","SourceRack":"x3000","SourceLocation":"u28","DestinationRack":"x3000","DestinationLocation":"u22","DestinationPort":"j42"}
Chassis Management Controller:
{
"Parent": "x3000",
"Xname": "x3000c0s17b999",
"Type": "comptype_chassis_bmc",
"Class": "River",
"TypeString": "ChassisBMC"
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j32",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s17b999"
],
"VendorName": "1/1/32"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/32
. Dellleaf-bmc
switches will have valueethernet1/1/32
.
The Source
field needs to match both of the following conditions:
mn
prefix0
charactersThe integer after the prefix is used to determine the hostname of the master node. For example, mn02
corresponds to hostname ncn-m002
.
Typically, the BMC of the first master node is not connected to the HMN, as its BMC is connected to the site network.
Example: master node where its BMC is connected to the HMN. The master node is in slot 2 in cabinet 3000, and its BMC is connected to port 25 in the management
leaf-bmc
switch in slot 14 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
mn02 |
x3000 |
u02 |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j25 |
Example: master node where its BMC is connected to the site network.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
mn01 |
x3000 |
u01 |
- |
j3 |
Example: master node where its BMC is connected to the HMN
{"Source":"mn02","SourceRack":"x3000","SourceLocation":"u02","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j25"}
Example: master node where its BMC is connected to the site network, and no connection to the HMN
{"Source":"mn01","SourceRack":"x3000","SourceLocation":"u01"}
NOTE
The following is also equivalent to a master node with not connection to the HMN. The valuesDestinationRack
,DestinationLocation
, andNOTE
DestinationPort
can all contain whitespace and it is still considered to have no connection the HMN.{"Source":"mn01","SourceRack":"x3000","SourceLocation":"u01","DestinationRack":" ","DestinationLocation":" ","DestinationPort":" "}
Management Master Node:
{
"Parent": "x3000c0s2b0",
"Xname": "x3000c0s2b0n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 100008,
"Role": "Management",
"SubRole": "Master",
"Aliases": [
"ncn-m002"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j25",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s2b0"
],
"VendorName": "1/1/25"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/25
. Dellleaf-bmc
switches will have valueethernet1/1/25
.
The Source
field needs to match both of the following conditions:
wn
prefix0
charactersThe integer after the prefix is used to determine the hostname of the worker node. For example, wn01
corresponds to hostname ncn-w001
.
Example: The worker node is in slot 4 of cabinet 3000, and its BMC is connected to port 48 of management leaf-bmc
switch in slot 14 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
wn01 |
x3000 |
u04 |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j48 |
The HMN connections representation for the SHCD table row above:
{"Source":"wn01","SourceRack":"x3000","SourceLocation":"u04","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j48"}
Management Worker Node:
{
"Parent": "x3000c0s4b0",
"Xname": "x3000c0s4b0n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 100006,
"Role": "Management",
"SubRole": "Worker",
"Aliases": [
"ncn-w001"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j48",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s4b0"
],
"VendorName": "1/1/48"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/48
. Dellleaf-bmc
switches will have valueethernet1/1/48
.
The Source
field needs to match both of the following conditions:
sn
prefix0
charactersThe integer after the prefix is used to determine the hostname of the storage node. For example, sn01
corresponds to hostname ncn-s001
.
Example: The storage node is in slot 4 of cabinet 3000, and its BMC is connected to port 29 of management leaf-bmc
switch in slot 14 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
sn01 |
x3000 |
u07 |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j29 |
The HMN connections representation for the SHCD table row above:
{"Source":"sn01","SourceRack":"x3000","SourceLocation":"u07","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j29"}
Management Storage Node:
{
"Parent": "x3000c0s7b0",
"Xname": "x3000c0s7b0n0",
"Type": "comptype_node",
"Class": "River",
"TypeString": "Node",
"ExtraProperties": {
"NID": 100003,
"Role": "Management",
"SubRole": "Storage",
"Aliases": [
"ncn-s001"
]
}
}
Management Switch Connector:
{
"Parent": "x3000c0w14",
"Xname": "x3000c0w14j29",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0s7b0"
],
"VendorName": "1/1/29"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/29
. Dellleaf-bmc
switches will have valueethernet1/1/29
.
The Source
field needs to match these conditions to be considered an application node:
uan
gn
ln
NOTE
The naming conventions for application nodes can be unique to a system. Refer to the Create Application Node Configuration YAML procedure for the process to add additionalSource
name prefixes for application nodes.
A single application node chassis needs to match these additional conditions:
SourceParent
definedSourceSubLocation
definedThis convention applies to all application nodes that have a single node in a chassis.
Example: application node is in slot 4 of cabinet 3000, and its BMC is connected to port 25 of management leaf-bmc
switch in slot 14 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
uan01 |
x3000 |
u04 |
- |
j3 |
sw-smn01 |
x3000 |
u14 |
- |
j25 |
The HMN connections representation for the SHCD table row above:
{"Source":"uan01","SourceRack":"x3000","SourceLocation":"u04","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j25"}
The component name (xname) format for nodes takes the form of xXcCsSbBnN
:
xX
: where X
is the cabinet or rack identification number.cC
: where C
is the chassis identification number.
0
.4
.sS
: where S
is the lowest slot the node chassis occupies.bB
: where B
is the ordinal of the node BMC. This should be 0
.nN
: where N
is the ordinal of the node This should be 0
.For example, if an application node is in slot 4 of air-cooled cabinet 3000, then it would have x3000c0s4b0n0
as its component name (xname).
Additional matching conditions:
SourceSubLocation
field contains one of: L
, l
, R
, r
.In addition to the top-level compute node naming requirements, when there are two nodes in a single chassis, the SourceSubLocation
is required. The
SourceSubLocation
can contain one of the following values: L
, l
, R
, r
. These values are used to determine the BMC ordinal for the node.
L
or l
translates into the component name (xname) having b1
x3000c0s10b1b0
R
or r
translates into the component name (xname) having b2
x3000c0s10b1b0
This convention applies to all application nodes that have two nodes in a single chassis.
Example: An application node chassis with 2 nodes located in slot 8 of cabinet 3000. uan01
is on the left side of the chassis, and uan02
is on the right side. The two
node BMCs are connected to ports 37 and 38 of the management leaf-bmc
switch in slot 40 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
uan01 |
x3000 |
u08 |
L |
- |
j03 |
sw-smn01 |
x3000 |
u40 |
- |
j38 |
|
uan02 |
x3000 |
u08 |
R |
- |
j03 |
sw-smn01 |
x3000 |
u40 |
- |
j37 |
NOTE
Source
values likecn1
andcn-01
are equivalent to the valuenid000001
.
The HMN connections representation for the two SHCD table rows above:
{"Source":"uan01","SourceRack":"x3000","SourceLocation":"u08","SourceSubLocation":"L","DestinationRack":"x3000","DestinationLocation":"u40","DestinationPort":"j37"}
{"Source":"uan02","SourceRack":"x3000","SourceLocation":"u08","SourceSubLocation":"R","DestinationRack":"x3000","DestinationLocation":"u40","DestinationPort":"j38"}
The component name (xname) format for nodes takes the form of xXcCsSbBnN
:
xX
: where X
is the Cabinet or Rack identification number.cC
: where C
is the chassis identification number.
0
.4
.sS
: where S
is the lowest slot the node chassis occupies.bB
: where B
is the ordinal of the node BMC.
SourceSubLocation
is L
or l
, then this should be 1
.SourceSubLocation
is R
or r
, then this should be 2
.nN
: where N
is the ordinal of the node This should be 0
.For example:
SourceSubLocation
of L
, then it would have x3000c0s8b1n0
as its component name (xname).SourceSubLocation
of R
, then it would have x3000c0s8b2n0
as its component name (xname).The Source
field needs to matching one of the following conditions:
sw-hsn
columbia
or Columbia
The following are examples of valid matches:
sw-hsn01
Columbia
columbia
Example: A Columbia Slingshot switch in slot 42 of cabinet 3000. Its BMC is connected to port 45 of the leaf-bmc
switch in slot 38 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
sw-hsn01 |
x3000 |
u42 |
- |
j3 |
sw-smn01 |
x3000 |
u38 |
- |
j45 |
NOTE
Source
values likeColumbia
orcolumbia
are also valid.
The HMN connections representation for the SHCD table row above:
{"Source":"sw-hsn01","SourceRack":"x3000","SourceLocation":"u42","DestinationRack":"x3000","DestinationLocation":"u38","DestinationPort":"j45"}
Router BMC:
{
"Parent": "x3000",
"Xname": "x3000c0r42b0",
"Type": "comptype_rtr_bmc",
"Class": "River",
"TypeString": "RouterBMC",
"ExtraProperties": {
"Username": "vault://hms-creds/x3000c0r42b0",
"Password": "vault://hms-creds/x3000c0r42b0"
}
}
Management Switch Connector:
{
"Parent": "x3000c0w38",
"Xname": "x3000c0w38j45",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000c0r42b0"
],
"VendorName": "1/1/45"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/45
. Dellleaf-bmc
switches will have valueethernet1/1/45
.
A PDU cabinet controller is the device that is connected to the HMN network and manages PDU underneath it.
The Source
field for a PDU Cabinet Controller needs to match the following regular expression: (x\d+p|pdu)(\d+)
. This regular expression matches the following 2 patterns:
xXpP
where X
is the cabinet number and P
is the ordinal of the PDU controller in the cabinetpduP
where P
is the ordinal of the PDU controller in the cabinetThe following are examples of valid matches:
x3000p0
pdu0
Example: PDU controller for cabinet 3000 is connected port 41 of the leaf-bmc
switch in slot 38 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
x3000p0 |
x3000 |
- |
i0 |
sw-smn01 |
x3000 |
u38 |
- |
j41 |
Alternative naming convention for the same HMN connection.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
pdu0 |
x3000 |
pdu0 |
- |
i0 |
sw-smn01 |
x3000 |
u38 |
- |
j41 |
The HMN connections representation for the first SHCD table above.
{"Source":"x3000p0","SourceRack":"x3000","SourceLocation":" ","DestinationRack":"x3000","DestinationLocation":"u38","DestinationPort":"j41"}
The HMN connections representation for alternative naming convention.
{"Source":"pdu0","SourceRack":"x3000","SourceLocation":"pdu0","DestinationRack":"x3000","DestinationLocation":"u38","DestinationPort":"j41"}
Cabinet PDU Controller:
{
"Parent": "x3000",
"Xname": "x3000m0",
"Type": "comptype_cab_pdu_controller",
"Class": "River",
"TypeString": "CabinetPDUController"
}
Management Switch Connector:
{
"Parent": "x3000c0w38",
"Xname": "x3000c0w38j41",
"Type": "comptype_mgmt_switch_connector",
"Class": "River",
"TypeString": "MgmtSwitchConnector",
"ExtraProperties": {
"NodeNics": [
"x3000m0"
],
"VendorName": "1/1/41"
}
}
NOTE
For Arubaleaf-bmc
switches, theVendorName
value will be1/1/41
. Dellleaf-bmc
switches will have valueethernet1/1/41
.
The Source
field for a cooling door contains door
.
Cooling doors in an air-cooled cabinet are not currently supported by CSM software and are ignored.
Example: Cooling door for cabinet 3000 is connected to port 27 of the leaf-bmc
switch in slot 36 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
x3000door-Motiv |
x3000 |
- |
j1 |
sw-smn04 |
x3000 |
u36 |
- |
j27 |
The HMN connections representation for the SHCD table row above:
{"Source":"x3000door-Motiv","SourceRack":"x3000","SourceLocation":" ","DestinationRack":"x3000","DestinationLocation":"u36","DestinationPort":"j27"}
Cooling doors are not currently supported by HMS services, and are not present in SLS.
The Source
field has one of the following prefixes:
sw-agg
sw-25g
sw-40g
sw-100g
sw-smn
Any management switch that is found in the HMN
tab of the SHCD will be ignored by CSI.
Example: Management switch in slot 12 of cabinet 3000, its management port is connected to port 41 of the leaf-bmc
management switch in slot 14 of cabinet 3000.
Source |
Rack |
Location |
Parent |
Port |
Destination |
Rack |
Location |
Port |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
sw-25g01 |
x3000 |
u12 |
- |
j1 |
sw-smn01 |
x3000 |
u14 |
- |
j41 |
The HMN connections representation for the SHCD table row above:
{"Source":"sw-25g01","SourceRack":"x3000","SourceLocation":"u12","DestinationRack":"x3000","DestinationLocation":"u14","DestinationPort":"j41"}
The management switches in SLS are not populated by hmn_connections.json
, but instead from switch_metadata.csv
.