NodeD
Node Resources
When a fault occurs on a node, NodeD will create node-info-cm to report the fault.
Table 1 mindx-dl-nodeinfo-<nodename>
| Parameter Name | Description |
|---|---|
| NodeInfo | Fault information at the node level. |
| FaultDevList | List of faulty devices on the node. |
| - DeviceType | Type of the faulty device. |
| - DeviceId | ID of the faulty device. |
| - FaultCode | Fault code, a string composed of English letters and numbers, representing the fault code in hexadecimal. |
| - FaultLevel | Fault handling level. |
| NodeStatus | Node health status, determined by the device with the most severe fault handling level on this node. |
| CheckCode | Check code. |
Customizing Node Faults
The configuration file NodeDConfiguration.json of the NodeD component is a system configuration file. Do not modify it arbitrarily unless you have special requirements. If you need to modify the fault level of a fault code, you can do so through the mindx-dl-node-fault-config file created from NodeDConfiguration.json. For details, see (Optional) Configuring Node Hardware Fault Levels.
Table 1 Fault description
| Fault Level | Fault Handling Policy | Description |
|---|---|---|
| NotHandleFault | No action required. | Have no impact on jobs. |
| PreSeparateFault | If a job exists on this node, the fault is ignored; no jobs will be scheduled to this node during subsequent scheduling. | May cause jobs to be affected. |
| SeparateFault | Job rescheduling | Jobs will definitely be affected. |
Note
The fault levels, from lowest to highest, are NotHandleFault < PreSeparateFault < SeparateFault.
Table 2 Node status description
| Node Status | Highest Fault Level | Fault Handling Policy | Description |
|---|---|---|---|
| Healthy | NotHandleFault | No action required. | The node is healthy and can perform training normally. |
| PreSeparate | PreSeparateFault | If a job exists on this node, the fault is ignored; no jobs will be scheduled to this node during subsequent scheduling. | The node is in a pre-isolated state. It may not affect jobs temporarily. After a job is affected and exits, no further jobs will be scheduled to this node. |
| UnHealthy | SeparateFault | Job rescheduling | The node is a faulty node that will affect training jobs. Jobs are immediately migrated away from this node. |
Note
- The current health status of a node is primarily determined by the highest fault level of its hardware faults.
Healthy,PreSeparate, andUnHealthyare node statuses defined by MindCluster, primarily used for subsequent job scheduling and handling.- If a job on a
PreSeparatenode exits abnormally and requires resumable training, the unconditional retry function must be enabled.