EasyManua.ls Logo

Nvidia DGX B200 - Backing up and Restoring BMC Configurations; Backing up the BMC Configuration; Restoring the BMC Configuration

Nvidia DGX B200
116 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 Congurations
In addition to using the Web UI to back up and restore the BMC conguration, you can use Redsh API
with the following approach:
1. Install a security AES key in the BMC.
2. Back up the BMC conguration.
3. Restore the BMC conguration using a backup le.
The BMC automatically reboots when you perform a conguration restore.
9.3.9.1 Backing Up the BMC Conguration
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 conguration 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 Conguration
® Note
You must perform a factory reset to restore the default settings before restoring the BMC cong-
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. Redsh Examples 73

Table of Contents

Related product manuals