Cluster Resources
After ClusterD starts, the following ConfigMaps are created:
cluster-info-node-cm. For details, see Table 1.cluster-info-device-${m}. For details, see Table 2.mis an integer that increments from 0. For every additional 1,000 nodes in a cluster, a new ConfigMap file of this type is created.cluster-info-switch-${x}. For details, see Table 3.xis an integer that increments from 0. For every additional 2,000 nodes in a cluster, a new ConfigMap file of this type is added.
Table 1 cluster-info-node-cm
| Parameter | Description |
|---|---|
| mindx-dl-nodeinfo-kwok-node-0 | The prefix is fixed as mindx-dl-nodeinfo, and kwok-node-0 is the node name, which facilitates locating the specific node where a fault occurs. |
| NodeInfo | Node fault information. |
| FaultDevList | List of faulty devices on a node. |
| - DeviceType | Type of the faulty device. |
| - DeviceId | ID of the faulty device. |
| - FaultCode | Fault code, a hexadecimal string composed of English letters and numbers. |
| - FaultLevel | Fault handling level.
|
| NodeStatus | Node health status, determined by the device with the most severe fault handling level on this node.
|
Table 2 cluster-info-device-${m}
| Parameter | Description |
|---|---|
| mindx-dl-deviceinfo-kwok-node-0 | The prefix is fixed as mindx-dl-deviceinfo, and kwok-node-0 is the node name, used to locate the specific node where a fault occurs. |
| huawei.com/Ascend910 |
|
| huawei.com/Ascend910-NetworkUnhealthy |
|
| huawei.com/Ascend910-Unhealthy |
|
| huawei.com/Ascend910-Fault |
|
| - fault_type | Fault type.
|
| - npu_name | Name of the faulty chip; null when a node fault occurs. |
- large_model_fault_level - fault_level - fault_handling | Fault handling type. The value is empty when a node fault occurs.
NOTE
|
| - fault_code | Fault code, a string concatenated with commas. |
| - fault_time_and_level_map | Fault code, fault occurrence time, and fault handling level. |
| UpdateTime | Update time of the current node information, in timestamp format, used to identify the latest reporting time of the fault information or device status. |
| CmName | ConfigMap name of the configuration corresponding to this node in the cluster. |
| SuperPodID | SuperPoD ID. |
| RackID | Rack ID. |
| ServerIndex | The relative position of the current node in the SuperPoD.
|
Table 3 cluster-info-switch-${x}
| Parameter | Description |
|---|---|
| FaultCode | List of UnifiedBus device fault codes for the current node. The array object contains fields such as EventType, AssembledFaultCode, PeerPortDevice, PeerPortId, SwitchChipId, SwitchPortId, Severity, Assertion, and AlarmRaisedTime. |
| -EventType | Alarm ID. |
| -AssembledFaultCode | Fault code. |
| -PeerPortDevice | Peer device type.
|
| -PeerPortId | Peer device ID. |
| -SwitchChipId | UnifiedBus fault chip ID, starting from 0. |
| -SwitchPortId | UnifiedBus fault port ID, starting from 0. |
| -Severity | Fault level.
|
| -Assertion | Event type.
|
| -AlarmRaisedTime | Time when the fault/event occurred. |
| FaultLevel | Fault handling level of the current node. Takes the highest fault level among all faults in |
| UpdateTime | Time when the fault report was refreshed. |
| NodeStatus | Health status of the current node. Corresponds to the |
| FaultTimeAndLevelMap | List of fault occurrence times and fault handling levels. The array object contains fields for fault code, UnifiedBus fault chip ID, UnifiedBus fault port ID, fault_time, and fault_level. The key is composed of the fault code, UnifiedBus fault chip ID, and UnifiedBus fault port ID, connected by underscores. |
| -fault_time | Time when the fault occurred. |
| -fault_level | Fault handling level. |
This ConfigMap is located in the user-created cluster-system namespace, with the label mc-statistic-fault=true. It is used to display fault information in a cluster (currently only common fault information is displayed).
Table 4 Data information
| Parameter | Description |
|---|---|
| PublicFaults | Details of common faults. When the number of faults is too large, this field will no longer be updated. For details about the following fields, see Fault Information Description Table. |
| -node_name | Name of the faulty node |
| -resource | Fault sender The default configuration includes CCAE, fd-online, pingmesh, and Netmind. |
| -devIds | Physical ID of the faulty chip |
| -faultId | Fault instance ID |
| -type | Fault type
|
| -faultCode | Fault code |
| -level | Fault level
|
| -faultTime | Fault occurrence time |
| FaultNum | Number of faults |
| -publicFaultNum | Sum of common faults across all nodes. |
| Description | Prompt information when the number of common faults is too large. |
Common faults display 1 MB of data externally, approximately 4,500 entries. When the number exceeds 4,500, some data will no longer be displayed externally, and a Description will be added to the ConfigMap as a prompt, while the internal cache continues to operate normally.
This ConfigMap is located in the user-created cluster-system namespace, with the label app=pingmesh.
Table 5 super-pod-<super-pod-id>
| Parameter | Description |
|---|---|
| app | Label key required by NodeD to identify the ConfigMap. The value is pingmesh. |
| superPodDevice | Key for SuperPoD information. |
| SuperPodID | SuperPoD ID |
| NodeDeviceMap | Information about all nodes contained in the SuperPoD. |
| NodeName | Node name |
| DeviceMap | Information about all NPUs in the node, in the format of physicID:superDeviceID. |
This ConfigMap is located in the cluster-system namespace created by the user. It is used to display fault job information that requires forced release of communication resources in the cluster. It takes effect only when process-level rescheduling is performed on the Atlas 900 A3 SuperPoD.
Table 6 fault-job-info
| Parameter | Description | Value |
|---|---|---|
| SdIds | SDID of the faulty card. | String |
| NodeNames | Name of the node whose resources need to be forcibly released. | String |
| FaultTimes | Time when the fault occurred. | 64-bit integer |
| JobId | UID of the job. | String |
This ConfigMap is located in the cluster-system namespace created by the user. It is used to display the chips and fault information of manual isolation in the cluster.
The following is an example:
Name: clusterd-manual-info-cm
Namespace: cluster-system
Labels: <none>
Annotations: <none>
Data
====
localhost.localdomain:
----
{"Total":["Ascend910-0","Ascend910-2","Ascend910-3"],"Detail":{"Ascend910-0":[{"FaultCode":"8C084E00","FaultLevel":"ManuallySeparateNPU","LastSeparateTime":1770811685650}],"Ascend910-2":[{"FaultCode":"8C084E00","FaultLevel":"ManuallySeparateNPU","LastSeparateTime":1770811685650}],"Ascend910-3":[{"FaultCode":"8C084E00","FaultLevel":"ManuallySeparateNPU","LastSeparateTime":1770811685650}]}}
Events: <none>Table 7 clusterd-manual-info-cm
| Parameter | Description |
|---|---|
| localhost.localdomain | Node name, for example, localhost.localdomain. |
| Total | Name of the faulty chip. |
| Detail | Chip fault information. |
| -Ascend910-0 | Chip name, for example, Ascend910-0. |
| -FaultCode | Fault code. |
| -FaultLevel | Fault level. |
| -LastSeparateTime | Time of the last fault when the manual isolation frequency is reached. If a fault that has triggered manual chip isolation reaches the manual isolation frequency again, this time will be refreshed. |