Using a Codec-accelerated Node
CCE allows you to create codec-accelerated nodes. To ensure these nodes function properly, you must install the necessary drivers and software packages using either a pre- or post-installation command.
Preparations
Submit a service ticket and consult the ECS service to obtain the driver and software packages of the codec-accelerated node.
Software Package |
Installation Package Name Format |
Example |
---|---|---|
PCIe driver package |
vastai-pci-xxx.rpm |
vastai-pci-d3-2-v2-6-a1-6-sp5-xhs-hwtype-video_00.24.06.04_x86_64.rpm |
Driver installation dependency package |
dkms-xxx.rpm |
dkms-2.6.1-6.hce2.noarch.rpm |
GCC installation package |
gcc_make.tar.gz |
gcc_make.tar.gz |
container-runtime package |
vastai-docker-xxx.rpm |
vastai-docker-0.3.8.0-1.el7.x86_64.rpm |
VastStream SDK installation package |
vaststream-xxx.tar.gz |
vaststream-2.1.1_sp3-20230717-d00e24d-x86-av.tar.gz |
Tools package |
tools-xxx.tar.gz |
tools-2.2.1-davp1-202307251819-08bf515-x86-tools.tar.gz |
You are advised to pack these installation packages, upload them to an OBS bucket, and make sure that the bucket address is accessible during node creation. The install_pkg.tar.gz package is used as an example.
Installing Drivers and Software Packages Using the Pre- or Post-installation Commands
- If the version of a cluster is earlier than v1.23.17-r0, v1.25.12-r0, v1.27.9-r0, v1.28.7-r0, or v1.29.3-r0, you can use post-installation command to deliver the driver and software installation commands.
After clusters are upgraded to v1.23.17-r0, v1.25.12-r0, v1.27.9-r0, v1.28.7-r0, v1.29.3-r0, or later, if a node pool contains a codec-accelerated node, you need to install drivers and software packages using pre-installation command.
- If the version of a cluster is 1.23.17-r0, 1.25.12-r0, 1.27.9-r0, 1.28.7-r0, 1.29.3-r0, or later, CCE detects the vc1-200t model and automatically modifies the containerd configurations. You can use pre-installation command to deliver the driver and software package installation commands.
Verifying the Installation
- After the node is installed, log in to it.
- Check whether the driver is installed:
lsmod |grep vastai_pci
If information similar to the following is displayed, the installation is successful.
- Check the driver version:
cat /dev/vastai0_version |grep Driver
Information similar to the following is displayed.
- Run the following command to check whether tools are installed:
vasmi list
If information similar to the following is displayed, the installation is successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot