The BMC and BlueField-2 logs can be collected using openbmctool as BMC and system dump.
Two types of dump are supported:
- BMC dump, which is a collection of logs from BMC
- System dump, which is a collection of logs from BlueField-2. To create a system dump, users must provide the BlueField-2 credentials and IP address of the tmfifo_net0 network interface.
BMC Dump Operations
The following table lists BMC dump operations:
Operation | Command | Description |
---|---|---|
Create BMC dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump create Where:
| Creates a BMC dump and stores the tar on BMC |
List BMC dumps | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump list Where:
| Lists all BMC dumps existing on BMC |
Download BMC dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump retrieve -n 1 Where:
| Downloads the user-specified BMC dump |
Delete BMC dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump delete -n 2 Where:
| Deletes the user-specified dump on BMC |
System Dump Operations
The following table lists system dump operations:
Operation | Command | Description |
---|---|---|
Create system dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump -t SystemDump create -a '{"bf_ip":"<bf2_tmfifo_ip_address>","bf_username":"<bf2_username>","bf_password":"<bf2_password>"}' Where:
| Creates a system dump and stores the tar on the BMC |
List system dumps | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump -t SystemDump list Where:
| Lists all system dumps existing on BMC |
Download system dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump -t SystemDump retrieve -n 1 Where:
| Downloads the user-specified system dump |
Delete system dump | python3 openbmctool.py -H <ip_address> -U <username> -P <password> dump -t SystemDump delete -n 2 Where:
| Deletes the user-specified system dump on BMC |
The downloaded dump tar must be extracted to get the logs for BMC or BlueField-2.
Upon creating a dump, please allow the system ~5 mins to prepare the dump. The created dump will appear on the dump list when the system finishes dump creation. The created dump can be downloaded from the BMC using the retrieve
command.