White Papers

19 Standards-based storage management for Dell EMC PowerEdge servers
4. Set the asset tag to a new value “ABC123”, which implies that the server does not require a reboot to
apply the configuration changes.
C:\Python27>SetEnclosureAssetTagRedfish.py -ip 192.168.0.130 -u root -p calvin -
x Enclosure.External.0-2:RAID.Slot.2-1 -a ABC123 -j r
- PASS: PATCH command passed to set asset tag pending value to "ABC123", status
code 200 returned
- PASS: PATCH command passed to create real time config job, status code 202
returned
- PASS, JID_270868118910 real time jid successfully created
- WARNING, JobStatus not completed, current status is: "New", precent completion
is: "0"
- WARNING, JobStatus not completed, current status is: "Job in progress.",
precent completion is: "50"
- WARNING, JobStatus not completed, current status is: "Job in progress.",
precent completion is: "50"
- WARNING, JobStatus not completed, current status is: "Job in progress.",
precent completion is: "50"
- WARNING, JobStatus not completed, current status is: "Job in progress.",
precent completion is: "99"
--- PASS, Final Detailed Job Status Results ---
JobState: Completed
Description: Job Instance
CompletionTime: 2018-05-23T16:11:41
PercentComplete: 100
StartTime: TIME_NOW
MessageId: PR19
Message: Job completed successfully.
EndTime: TIME_NA
Id: JID_270868118910
JobType: RealTimeNoRebootConfiguration
Name: Config:RAID:RAID.Slot.2-1
5. Finally, ensure that the asset tag has been updated to “ABC123”.
C:\Python27>SetEnclosureAssetTagRedfish.py -ip 192.168.0.130 -u root -p calvin -
-asset Enclosure.External.0-2:RAID.Slot.2-1
- WARNING, current asset tag for Enclosure.External.0-2:RAID.Slot.2-1 is: ABC123
3.7 Cryptographically erase drives by using Redfish 2016
The Redfish 2016 storage APIs support the cryptographic erase of ISE, SED, and PCIe SSD (NVMe) drives.
Supported devices can be cryptographically erased by using a POST command with the target drive URI
redfish/v1/Systems/System.Embedded.1/Storage/Drives/{secure drive instance
ID}/Actions/Drive.SecureErase.
Note: Non-ISE hard drives (HDDs) cannot be erased by using this feature. If you want to erase non-ISE
HDDs on the 14
th
generation of PowerEdge servers, you can use the System Erase function available in the