NVIDIA DGX B200 User Guide
curl -k -u <bmc-user>:<password> --request POST --location 'https:∕∕{{bmc-ip-
,→address}}∕redfish∕v1∕Managers∕Self∕VirtualMedia∕CD_1∕Actions∕VirtualMedia.
,→InsertMedia' --data-raw '{"Image" : "∕∕<serverip>∕home∕nvidia∕images∕ubuntu-20.
,→04.2-live-server-amd64.iso","TransferProtocolType" : "NFS"}'
9.3.9. Backing Up and Restoring BMC Congurations
In addition to using the Web UI to back up and restore the BMC conguration, you can use Redsh API
with the following approach:
1. Install a security AES key in the BMC.
2. Back up the BMC conguration.
3. Restore the BMC conguration using a backup le.
The BMC automatically reboots when you perform a conguration restore.
9.3.9.1 Backing Up the BMC Conguration
1. Generate an AES key and save it to a .bin le.
openssl rand -out aes_key.bin 32
2. Upload the AES key.
curl -s -k -u <username>:<password> --location --request POST 'https:∕∕<bmcip>∕
,→redfish∕v1∕Managers∕BMC∕Actions∕Oem∕NvidiaManager.UploadAESKey' --form
,→'AESKey=@aes_key.bin' | jq
A successful command returns a 204 HTTP status code.
3. Back up the BMC conguration by creating a backup le, for example, bmc-config.bak.
curl -s -k -u <username>:<password> POST 'https:∕∕<bmcip>∕redfish∕v1∕Managers∕BMC∕
,
→
Actions∕Oem∕NvidiaManager.BackupConfig' -H 'Content-Type: application∕json' --
,→data-raw '{ "BackupFeatures" : ["NTP","Network and Services","Syslog",
,→"Authentication","SNMP","IPMI","KVM"] }' > bmc-config.bak
9.3.9.2 Restoring the BMC Conguration
® Note
You must perform a factory reset to restore the default settings before restoring the BMC cong-
uration.
1. Upload the AES key generated previously.
curl -s -k -u <username>:<password> --location --request POST 'https:∕∕<bmcip>∕
,→redfish∕v1∕Managers∕BMC∕Actions∕Oem∕NvidiaManager.UploadAESKey' --form
,→'AESKey=@aes_key.bin' | jq
9.3. Redsh Examples 73