Collecting diagnostic data with hw-bundle-util
The hw-bundle-util utility is used to collect diagnostic data from a Bare Metal server.
-
Install the missing packages with the auxiliary utilities that
hw-bundle-utiluses:Red Hat Enterprise LinuxUbuntu/Debiansudo dnf install -y dmidecode ethtool bind-utils smartmontools rasdaemon edac-utils -
Download and unpack the archive with the utility, and then make the file executable. Select the command for your server architecture:
amd64arm64curl -fLO https://bm-hw-testing-util-art.hb.ru-msk.vkcloud-storage.ru/hw-bundle-util/latest/hw-bundle-util_linux_amd64.tar.gz && \tar -xvf ./hw-bundle-util_linux_amd64.tar.gz && \chmod +x ./hw-bundle-util -
Run
hw-bundle-utilwith the required parameters. If it is run without additional parameters, thebmaas-bundle.tar.gzarchive is created next to thehw-bundle-utilexecutable file. If such a file already exists, it is overwritten.To get the most complete diagnostic data, it is recommended to run
hw-bundle-utilwith superuser privileges using thesudocommand:sudo ./hw-bundle-util -
Wait for
hw-bundle-utilto finish. -
Check the return code:
echo $?If all data is collected successfully, the output contains the code
0. -
Check the resulting report. To do this, unpack the report archive:
tar -xvf bmaas-bundle.tar.gz -
Check the required files. For detailed information about the report contents, see Report contents.