1 Rookie

 • 

7 Posts

4501

March 3rd, 2020 09:00

Getting physical disk info using iDrac/Powershell

Hello All,

I'm trying to find a good way to cycle through a DRAC and for each controller and obtain the disk type (HDD/SSD), manufacturer, make, model and firmware level. The RACADM command below will work, but to capture the output in a PS script would be somewhat unwieldy.

racadm -r iDrac -u user -p pwd storage get pdisks -o -p Name,Manufacturer,ProductID,MediaType,Revision --nocertwarn

Is there a way to do the equivalent using the available DCIM schema? The one listed below does not provide what I need and I could not find any reference in the Dell materials. 

$Drives=Get-CimInstance -CimSession $connection -ResourceUri "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_EnclosureView"


Thanks.

Moderator

 • 

4K Posts

March 4th, 2020 09:00

Hello,

i don't have in mind something equivalent using DCIM schema sorry.

Marco

Moderator

 • 

4.7K Posts

January 15th, 2025 21:45

Hello,

 

If you have the DRAC tools installed then you can directly run RACADM commands in PowerShell.

1 Rookie

 • 

7 Posts

March 4th, 2020 09:00

Thank you for responding Marco.

1 Rookie

 • 

8 Posts

January 8th, 2025 14:42

Question: is there a way to do a SSD Low Endurance pull using RACADMIN. Need to determine when a drive reaches 10%, so that I can get it replaced in our vSAN clusters. 

Moderator

 • 

9.6K Posts

January 8th, 2025 15:46

Groundzero313,

 

To perform a Low Endurance pull (LEP) on a Solid-State Drive (SSD) using RACADM, you can follow these steps:

 

Prerequisites:

Ensure you have RACADM installed and configured on your system.
Make sure you have the necessary permissions and access to the vSAN cluster and the SSD in question.


Step 1: Identify the SSD ID

Use the racadm getconfig -t storage -i command to retrieve a list of all storage devices, including the SSD you want to monitor. Note down the SSD's ID, which is usually a combination of letters and numbers (e.g., SSD-12345678).

 

Step 2: Monitor the SSD's health and endurance

Use the racadm get -t storage -i <SSD_ID> -a health command to retrieve the SSD's health status. This will display information about the SSD's overall health, including its endurance level. You can repeat this command periodically to monitor the SSD's health and endurance level.

 

Step 3: Check for LEP when the SSD reaches 10% endurance

Once the SSD's endurance level reaches 10%, you can perform a Low Endurance Pull (LEP) to replace it. You can use the racadm set -t storage -i <SSD_ID> -a LEP true command to initiate the LEP process. This will remove the SSD from the vSAN cluster and prepare it for replacement.


For example
racadm set -t storage -i SSD-12345678 -a LEP true

 

Also, before performing the LEP, ensure you have a replacement SSD ready and configured in the vSAN cluster.

Let me know if this helps.

1 Rookie

 • 

8 Posts

January 15th, 2025 19:00

@DELL-Chris H ​ Thanks Chris, any chance there is an equivalent to doing it in powershell? There is 30 OME instances and about 600 idracs. If that is an option, it might be a better situation.

No Events found!

Top