Closed stranger12345678 closed 3 years ago
Hi @stranger12345678
Yes assign DHS is supported on iDRAC 9. The disk must be either the same size or larger size compared to the disks used in the RAID volume.
In the IDRAC GUI, under Configuration/Storage Configuration / Virtual Disk / Virtual Disk Actions you should see an option to assign DHS in the drop down menu if a supported disk(s) is available to assign as DHS.
Example:
Example using Redfish to assign DHS.
C:\Python39>AssignHotSpareREDFISH.py -ip 192.168.0.120 -u root -p calvin -v RAID.Integrated.1-1
- Volume(s) detected for RAID.Integrated.1-1 controller -
Disk.Virtual.0:RAID.Integrated.1-1, Volume type: Mirrored
C:\Python39>AssignHotSpareREDFISH.py -ip 192.168.0.120 -u root -p calvin -d RAID.Integrated.1-1
- Drive(s) detected for RAID.Integrated.1-1 -
Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1
Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1
C:\Python39>AssignHotSpareREDFISH.py -ip 192.168.0.120 -u root -p calvin -H RAID.Integrated.1-1
- Drive FQDDs/Hot Spare Type for Controller RAID.Integrated.1-1 -
Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1: Hot Spare Type: None
Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1: Hot Spare Type: None
Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1: Hot Spare Type: None
Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1: Hot Spare Type: None
C:\Python39>AssignHotSpareREDFISH.py -ip 192.168.0.120 -u root -p calvin -a Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1 -t dedicated -V Disk.Virtual.0:RAID.Integrated.1-1
- PASS: POST command passed to set disk "Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1" as "dedicated" hot spare
- Job ID JID_335452671330 successfully created for storage method "AssignSpare"
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
- INFO, job status not completed, current status: "Job in progress."
--- PASS, Final Detailed Job Status Results ---
ActualRunningStartTime: 2021-10-06T13:34:28
ActualRunningStopTime: 2021-10-06T13:35:52
CompletionTime: 2021-10-06T13:35:52
Description: Job Instance
EndTime: TIME_NA
Id: JID_335452671330
JobState: Completed
JobType: RealTimeNoRebootConfiguration
Message: Job completed successfully.
MessageId: PR19
Name: Configure: RAID.Integrated.1-1
PercentComplete: 100
StartTime: 2021-10-06T13:34:27
- PASS, disk "Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1" successfully set to "Dedicated" hotspare
okay thanks, it works for RAID 1. I was trying for RAID 0.
Correct, assign DHS is only supported for a RAID volume which supports mirroring. Thanks for confirming it works.
Is dedicated hot spare unsupported in iDRAC 9 ? Global hot spare works fine. Don't see an option to set a disk as dedicated spare in iDRAC UI. So just gave a try to do the same using redfish API, and that too failed.