The following workflows are high-level overviews of node management tasks. These workflows depict how services interact with each other during node management, and help to provide a deeper understanding of how the system functions.
The workflows and procedures in this section include:
Both of these workflows are based on the interaction of the System Layout Service (SLS) with other hardware management services (e.g. HSM, HBTD, HMNFD, MEDS).
Mentioned in these workflows:
Administrator permanently adds select compute nodes to expand the system.
See Components involved in adding or removing nodes.

The following sequence of steps occur during this workflow.
Administrator updates SLS.
Administrator creates a new hardware entry for the select component names (xnames) in SLS. Administrator enters the node component names (xnames) in the SLS input file.
Administrator adds compute nodes.
The administrator physically adds select compute nodes and powers them on. Because the nodes are unknown, the DHCP and TFTP servers give them the special initialization RAM disk. The compute nodes performs local configuration.
The remaining steps occur automatically as different APIs interact with each other.
Set BMC credentials.
The compute node requests per-node BMC credentials. This message must include the MAC address of the BMC. A new set of credentials is generated by the discovery service.
Once the compute node is powered on, initialized, and discovered, REDS gets details about the new node like IP address, MAC address, the username and password for a BMC, state etc.
REDS/MEDS query SLS database for information about the new node.
For example: “What xname is connected to port XX on switch Y?”
SLS to REDS/MEDS.
SLS updates the discovery service with the new compute node and its xname.
For example: “xname x0c0... is connected to port XX”.
REDS/MEDS to HSM.
Discovery services update HSM about the new Redfish endpoint for the node (e.g. the xname and IP address of the new node).
For example: “x0c0... at IP address AAA.BBB.CCC.DDD”
HSM to SLS.
HSM queries SLS for NID and role assignments for the new node.
SLS to HSM.
HSM updates the node map based on information received from SLS.
Node to HBTD.
The Heartbeat Tracker Service receives heartbeats from the new compute node after the node is powered on.
HBTD to HSM.
The Heartbeat Tracker Service report the heartbeat status to HSM.
HSM to HMNFD.
HSM sends the new compute node state information with State as ON to HMNFD.
HMNFD fans out these notifications to the subscribing compute nodes.
Administrator permanently removes select compute nodes to contract the system.
See Components involved in adding or removing nodes.

The following sequence of steps occur during this workflow.
Administrator updates SLS.
Administrator deletes the node entries with the specific component name (xname) from SLS. Note that if deleting a parent object, then the children are also deleted from SLS. If the child object happens to be a parent, then the deletion can cascade down levels. If deleting a child object, it does not affect the parent.
Administrator physically removes the compute nodes.
The administrator powers off and physically removes the compute nodes.
No heartbeats in HBTD.
The Heartbeat Tracker Service stops receiving heartbeats and updates the node status, first as
Standby and then Off, as per Redfish event.
Standby status implies that the node is no longer ready and presumed dead.
It typically means that the heartbeat is lost.
Off status implies that the location is not populated with a component.
HBTD to HSM.
The Heartbeat Tracker Service reports the heartbeat status to the HSM.
The discovery service detects that the BMC is not there.
REDS/MEDS to SLS.
REDS/MEDS query SLS database for information about the missing BMCs.
SLS to REDS/MEDS.
SLS updates the discovery service that the BMC was removed.
REDS/MEDS to HSM.
Discovery services update the HSM that the BMC Redfish endpoints for the nodes were
removed. HSM marks the state of BMCs and the nodes as Empty.
Empty state implies that the location is not populated with a component.
HSM to HMNFD.
HSM sends the compute node state information with State as Empty to HMNFD.
HMNFD fans out this notification to the subscribing compute nodes.