Checking Before the Configuration

KMSAgent is contained in the Ascend AI Processor driver package. Obtain the driver and firmware versions that match your MindX version based on the hardware, and verify the integrity of the downloaded package. For details, see Version Mapping. Check the Driver and Firmware Installation and Upgrade Guide delivered with the hardware product, obtain the installation and upgrade guides corresponding to your product, and install or upgrade the driver and firmware package. The default settings of installation are recommended.

Run the following command to check whether the device contains KMSAgent:
npu-smi set -t key-manage
If the following information is displayed, KMSAgent is contained in the device. Otherwise, upgrade the NPU driver and firmware.
root@ubuntu18:~# npu-smi set -t key-manage 
Usage: npu-smi set -t key-manage [Options...]
 
Options:
       -s             Manage service statuses. Enter start or stop.
                      start: starts the service and enables auto startup.
                      stop: stops the service and disables auto startup.