NodeD

Node Resources

mindx-dl-nodeinfo-<nodename>

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.
  • NotHandleFault: No Action Required.
  • PreSeparateFault: If a job exists on this node, ignore; no jobs will be scheduled to this node during subsequent scheduling.
  • SeparateFault: Job rescheduling.
  • NodeStatus Node health status, determined by the device with the most severe fault handling level on this node.
  • Healthy: The fault handling level on this node exists and does not exceed NotHandleFault. The node is healthy and can perform training normally.
  • PreSeparate: The fault handling level on this node exists and does not exceed PreSeparateFault. The node is in a pre-isolated state, which may temporarily have no impact on jobs. After the job is affected and exits, no further jobs will be scheduled to this node.
  • UnHealthy: The fault handling level on this node includes SeparateFault. The node is a Faulty Node, which will affect training jobs. Jobs will be immediately migrated away from 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, and UnHealthy are node statuses defined by MindCluster, primarily used for subsequent job scheduling and handling.
    • If a job on a PreSeparate node exits abnormally and requires resumable training, the unconditional retry function must be enabled.