omreport device data in a world without OMSA on Linux
OMSA provides some really easy to use tools that quite frankly I do not see how to do with iDRAC and the iDRAC Service Module on Linux. With OMSA I can run a report in the OS "omreport storage vdisk" and I will get a list of all of my virtual disks that map to the RAIDs that were setup. I can see/need to see the Name, Layout (RAID1) and the Device Name (/dev/sdk) to be able to operate effectively. So I can easily and quickly see the configuration of the system... the web service offers the exact same info in an easy to use GUI but I tend to use the command line because I can save off the configuration to a txt file each time a change is made for a history.
How can I get the same information from the Linux OS with iDRAC and the iDRAC service module? Or is there something else I should be using? I need to know the device name in the OS that maps to the virtual disk name so that I put the logical volume on the right device as I have requirements to put x data on x device. Bonus points if the same info was made available via iDRAC just like OMSA offers.
Looks like RACADM is available independently of OMSA and has some interesting commands, but so far none have the device name that Linux uses to tie back to the virtual disk/RAID name.
Yes, RADACM is the only one that I can think of, to generate an output. You can try # racadm raid get vdisks -o in Linux and add grep -E with the desired information that you need. I don't have a server to test the command output, but if it does able to display the desired output, please let us know.
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.
I cannot seem to locate an option to include the "device name" using racadm that omreport offers. This is the only way to determine what device to use when creating logical volumes for those servers where I have requirements to separate data onto different disks.
Sorry this is so ugly... I pick "Courier New" for the font but after I post it puts it back to System Font which is just quite disappointing.
[root@test bin]# ./idracadm7 storage get vdisks -o
Disk.Virtual.239:RAID.SL.3-1
Status = Ok
DeviceDescription = Virtual Disk 239 on RAID Controller in SL 3
@DELL-Joey C The racadm command does not return the "Device "Name field so the grep command cannot show it. If you look in the jumbled output that I posted you will notice that "Device Name" is not there.
I did replace "storage" with "raid" and the output is identical as I expected. The documentation for racadm (v1.25) does not share any other command line arguments that might retrieve the Device Name.
@DELL-Charles R I updated the firmware on the 16th Generation PowerEdge R760s last week on 6/30. I do not see newer versions in Repo Manager. I am using the same versions you shared after having downloaded them by serial number. The links you shared for the older generation are the same versions.
I just installed RHEL 8.8 from Red Hat media on the 2nd of the servers and duplicated the issue again just to eliminate steps I previously performed that might have interfered.
Install RHEL 8.8 OS with minimal setup and reboot.
Install dependencies for iDRAC Service Module
Install iDRAC Service Module - selected ALL features for testing purposes and to rule out that I may have missed something since I did a selective install before. Port 1266. Received message that ISM communication with iDRAC was successful.
Install RACADM tool.
Rebooted server (I don't believe I did that before...its Linux not icky Windows).
Verified within iDRAC that it was talking to ISM...
Run command you shared and it does not show the device name.
Ran lsblk command to show the device is there.
[root@test2 ~]# racadm raid get vdisks -o | grep -E "ID|Name|Size|RAID Level|Read Policy|Write Policy|Device Name" Name = OS Size = 447.069 GB StripeSize = 128K BlockSizeInBytes = 512 Disk.Virtual.239:RAID.SL.3-1 DeviceDescription = Virtual Disk 239 on RAID Controller in SL 3 Name = TEST-1 Size = 893.750 GB StripeSize = 256K BlockSizeInBytes = 512
If you like to submit the information requested on the Private Message I sent then I can get it submitted as a feature enhancement on a future release of DRAC tools.
DELL-Charles R
Social Media and Communities Professional Dell Technologies | Enterprise Support Services #IWork4Dell
Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!
@DELL-Charles R Thanks for your assistance! I am rather surprised this feature was not implemented when the decision was made to retire OMSA. The output from omreport is very handy for those cases where you might have some special requirements like I have on these servers or when you inherit a server where you can trying to figure out what on earth the prior person did. 8-)
eddierowe
1 Rookie
•
44 Posts
•
2 Points
0
0
Posted July 3rd, 2024 00:04
Looks like RACADM is available independently of OMSA and has some interesting commands, but so far none have the device name that Linux uses to tie back to the virtual disk/RAID name.