RAID And Storage Configuration using RACADM Commands in iDRAC7 This Dell white paper describes the tasks to be performed in configuring RAID and storage devices using RACADM commands Dell Engineering December 2013 Authors Manjunath AM A Dell Technical White Paper
Revisions Date Description August 2013 Initial release THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND TECHNICAL INACCURACIES. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. © 2013 Dell Inc. All rights reserved. Reproduction of this material in any manner whatsoever without the express written permission of Dell Inc. is strictly forbidden. For more information, contact Dell.
countries. IBM® is a registered trademark of International Business Machines Corporation. Broadcom® and NetXtreme® are registered trademarks of Broadcom Corporation. Qlogic is a registered trademark of QLogic Corporation. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and/or names or their products and are the property of their respective owners. Dell disclaims proprietary interest in the marks and names of others.
Contents Revisions ..................................................................................................................................................................................................2 Executive Summary ...............................................................................................................................................................................5 1 Introduction ......................................................................................
Executive Summary This white paper describes the tasks and commands used to configure RAID and other storage devices by running RACADM commands at the command line interface (CLI).
1 Introduction Storage or RAID configuration is made easy on iDRAC7 1.50.50 and later versions by supporting through RACADM commands. With this support, you can easily and quickly configure RAID configurations and also monitor the status of each controller, physical disk drive, and virtual disk properties. The main advantage is that the user can easily write scripts, automate the configurations, and also run the scripts to perform a reliability test. 1.
OperationState = Not Applicable PowerStatus = Spun-Up Size = 136.13 GB FailurePredicted = NO RemainingRatedWriteEndurance = Not Applicable SecurityStatus = Not Capable BusProtocol = SAS MediaType = HDD UsedRaidDiskSpace = 136.13 GB AvailableRaidDiskSpace = 0.00 GB Hotspare = NO Manufacturer = FUJITSU ProductId = MBE2147RC Revision = D903 SerialNumber = D304PAC07NPW PartNumber = PH0W328K755710CE8C16A00 NegotiatedSpeed = 6.
$ racadm raid get pdisks –o -p The option “–o” along with “–p” and property names separated by comma lists the values of selected properties. For example, $ racadm raid get pdisks -o -p state,size Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1 State = Online Size = 136.13 GB Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1 State = Online Size = 136.13 GB Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1 State = Ready Size = 67.75 GB Disk.Bay.
1.2 Help Commands The following command displays RAID help and command syntax details: $racadm help raid The following command displays help information related to virtual disks. $ racadm raid help vdisks The following command displays help information related to physical disk drives.
1.3 Commands for Configuring Virtual Disk (Vdisk) There are set of RACADM commands to create or delete virtual disks, manage virtual disk properties, and performs operations such as background initialization, consistency check, locate, and reconfiguration. The createvd command will create virtual disk and the mandatory parameters are controller FQDD, RAID level, and FQDDs of physical disk drives.
1.4 RACADM Commands for Configuring RAID You can create, modify, and delete a security key by running the commands. The security key is used by the controller to lock and unlock access to encryption-capable physical disk drives. There is one security key per controller; user can manage the security key under Local Key Management (LKM). The RACDM command syntaxes are: $ racadm raid createsecuritykey:RAID.Integrated.1-1 -key -passwd $ racadm raid modifysecuritykey:RAID.Integrated.
1.5 RACADM Commands for Configuring Physical Disk Drives (Pdisk) There are a set of physical disk drive configaration commands to perform operations such as assign or unassign hot-spares, force online/offline, and rebuild after a physical disk drive failure. The physical disk drives must be set to RAID–capable mode before creating a virtual disk. Converting to RAID–capable and non-RAID―capable can be done using RACADM commands as discussed here.
[Key=RAID.Integrated.1-1#Controller] BackgroundInitializationRate=40 BatteryLearnMode=Not supported CheckConsistencyMode=Normal CheckConsistencyRate=30 CopybackMode=ON EnhancedAutoImportForeignConfig=Disabled PatrolReadMode=Disabled PatrolReadRate=30 PossibleloadBalancedMode=Auto RebuildRate=10 ReconstructRate=10 SupportControllerBootMode=Not Supported SupportEnhancedAutoForeignImport=Supported SupportRAID10UnevenSpans=Not Supported T10PICapability=Not Capable 3.
5. To see the help for particular controller object $ racadm help Storage.Controller.CheckConsistencyMode. CheckConsistencyMode -- Check Consistency feature is used to verify the accuracy of the redundant (parity) information. Usage -- Normal;Stop On Error Required License -- RACADM Dependency -- None 6. The command syntaxes will be same for physical disk dive and virtual disk. However, just need to replace controller with physical disk drive or virtual disk in the above commands.