Conducting a Pre-installation Check
Scenario Description
The Ascend software requires complex dependencies. To improve the installation efficiency, MindCluster Ascend Deployer provides the pre-installation check function. Before running the installation command, you can run the following command to test whether the installation is supported based on the installation scenario or software package. After the test is successful, perform the installation.
In the following example, --stdout_callback=ansible_log is an optional parameter, which is used to enable the screen display plugin.
Pre-Installation Check in Specified Scenarios (Only Root User Supported)
bash install.sh --install-scene=<scene_name> --check --stdout_callback=ansible_log
Example command:
bash install.sh --install-scene=dl --check // Test whether cluster scheduling can be installed.
Pre-Installation Check for Specified Software
For details about the value range of <package_name>, see Table 1 or run the bash install.sh --help command.
bash install.sh --install=<package_name> --check --stdout_callback=ansible_log
Example command:
bash install.sh --install=toolkit --check --stdout_callback=ansible_log // Test whether Toolkit can be installed.
Result Output
After the check is complete, MindCluster Ascend Deployer generates the check result file check_res_output.json in the ~/.ascend_deployer/deploy_info directory.