AMD Deployment Assistant
Build a deployable image with Packer
ln -s /nfsshare/rocm-<version> /opt/rocm
Script generates and pulls the AllLogs from the target system. As part of operations the power supplies are checked. If the UBB assebly cannot be reached then the script will attempt to power cycle the system.
- Ensure Python is installed on the system by running python3.exe
- If it is not installed, then please follow on screen directions to install it.
python3.exe
- Ensure the requests module is installed
python3.exe -m pip install --upgrade pip
python3.exe -m pip install requests
- Run the script to collect the logs
- User will be prompted to provide the BMC username, password, and IP address
python3.exe smci_instinct_platform_amdgpu_alllogs_collection.py
- Ensure Python with packages is installed on the system
sudo apt update && sudo apt install -y python3-full
- Run the script to collect the logs
- User will be prompted to provide the BMC username, password, and IP address
python3 smci_instinct_platform_amdgpu_alllogs_collection.py
- Ensure Python with packages is installed on the system
sudo yum update && sudo yum install -y python3-requests
- Run the script to collect the logs
- User will be prompted to provide the BMC username, password, and IP address
python3 smci_instinct_platform_amdgpu_alllogs_collection.py
Parameter | Description |
---|---|
--debug | Adding the --debug option will provide debug information and show the BMC password. |
--no-power-off | Do not power off the system even if power cycle required |
To support batch use, user input can be replaced with environment variables set in the environment.
Parameter | Description |
---|---|
BMC_IP | IPv4 address of the BMC. |
BMC_USERNAME | Username for logging into the BMC. |
BMC_PASSWORD | Password used to log into the BMC. |
The script deletes logs from the Instict DCGPU assembly followed by a power cycle. This does not delete the BMC logs. Running this script is strongly suggested after updating the BKC (Instict firmware) or replace an OAM module on the assembly. Script can run from Windows or Linux.
- Ensure Python is installed on the system by running python3.exe
- If it is not installed, then please follow on screen directions to install it.
- If it is installed, then please type quit to exit python3.exe.
python3.exe
- Ensure the requests module is installed
python3.exe -m pip install --upgrade pip
python3.exe -m pip install requests
- Run the script to clear the logs
- User will be prompted to provide the BMC username, password, and IP address.
python3.exe smci_instinct_platform_amdgpu_clear_all_logs.py
- Ensure Python with packages is installed on the system
sudo apt update && sudo apt install -y python3-full
- Run the script to clear the logs
- User will be prompted to provide the BMC username, password, and IP address.
python3 smci_instinct_platform_amdgpu_clear_all_logs.py
- Ensure Python with packages is installed on the system
sudo yum update && sudo yum install -y python3-requests
- Run the script to clear the logs
- User will be prompted to provide the BMC username, password, and IP address.
python3 smci_instinct_platform_amdgpu_clear_all_logs.py
Parameter | Description |
---|---|
--debug | Adding the --debug option will provide debug information and show the BMC password. |
--no-power-off | Do not power off the system even if power cycle required |
To support batch use, user input can be replaced with environment variables set in the environment.
Parameter | Description |
---|---|
BMC_IP | IPv4 address of the BMC. |
BMC_USERNAME | Username for logging into the BMC. |
BMC_PASSWORD | Password used to log into the BMC. |
Script updates the BKC on the DCGPU on the target system. As part of operations the power supplies are checked. If the UBB assebly cannot be reached then the script will attempt to power cycle the system.
- Ensure Python is installed on the system by running python3.exe
- If it is not installed, then please follow on screen directions to install it.
python3.exe
- Ensure the requests module is installed
python3.exe -m pip install --upgrade pip
python3.exe -m pip install requests
- Run the script to update the BKC on the assebly
- User will be prompted to provide the BMC username, password, IP address, BKC file name, and target BKC version.
python3.exe smci_instinct_platform_amdgpu_update_bkc.py
- Ensure Python with packages is installed on the system
sudo apt update && sudo apt install -y python3-full
- Run the script to update the BKC on the assebly
- User will be prompted to provide the BMC username, password, IP address, BKC file name, and target BKC version.
python3 smci_instinct_platform_amdgpu_update_bkc.py
- Ensure Python with packages is installed on the system
sudo yum update && sudo yum install -y python3-requests
- Run the script to update the BKC on the assebly
- User will be prompted to provide the BMC username, password, IP address, BKC file name, and target BKC version.
python3 smci_instinct_platform_amdgpu_update_bkc.py
Parameter | Description |
---|---|
--debug | Adding the --debug option will provide debug information and show the BMC password. |
--no-power-off | Do not power off the system even if power cycle required |
To support batch use, user input can be replaced with environment variables set in the environment.
Parameter | Description |
---|---|
BMC_IP | IPv4 address of the BMC. |
BMC_USERNAME | Username for logging into the BMC. |
BMC_PASSWORD | Password used to log into the BMC. |
BKC_PLDM | Name of the PLDM file for the BKC. |
BKC_TARGET_VERSION | BKC version the system will update to, example 01.25.03.04. |