Fault Diagnosis Interface

Prototype

ascend-fd diag -i ${Diagnosis_input_directory} -o ${Diagnosis_result_output_directory}

Function

Starts a fault diagnosis task and diagnoses fault events based on the log cleaning results after log cleaning is complete.

Parameters

Table 1 Parameters

ParameterAbbreviationRequiredValue TypeDescription
--input_path-iYesStringInput path for cleaned data.
--output_path-oYesStringOutput path for diagnostic results.
--performance-pNoBooleanWhen specified, all diagnostic modules will be executed. If not specified, only the fault diagnosis functions of the root cause node and fault event modules will be executed.
--help-hNo-Queries the meaning of level-2 commands and parameters, as well as usage instructions.
--scene-sNoStringDiagnosis scenario, defaulted to host. Options:
  • host: Scenario for diagnosing individual host logs.
  • super_pod: Scenario for diagnosing SuperPoD logs, including host, BMC, and LCNE logs.

Returns

Execution status of the fault diagnosis task:

The diag job starts. Please wait. Job id: [****], run log file is [****].
...
The diag job is complete.