Broadcom MegaRAID SAS Software User Guide
Broadcom MegaRAID SAS Software is a powerful and versatile storage management solution that provides a wide range of features and capabilities for managing and protecting your data. With its advanced RAID technology, Broadcom MegaRAID SAS Software can help you to create and manage RAID arrays of all types, including RAID 0, 1, 5, 6, and 10. It also supports a variety of other features, such as hot-swappable drives, online capacity expansion, and data migration. Whether you're looking to improve the performance of your storage system or protect your data from loss, Broadcom MegaRAID SAS Software is the perfect solution.
Advertisement
Advertisement
MegaRAID® SAS Software User Guide
51530-00 Rev G June 2012
MegaRAID SAS Software User Guide June 2012
Revision History
Version and Date
Rev G, June 2012 Rev F, March 2012 Rev E, December 2011 Rev C, September 2011 Rev B, July 2011
Description of Changes
Updated Appendix A.
Updated Chapter 6, MegaRAID Storage Manager Overview and Installation.
Updated Chapter 5, MegaRAID Command Tool.
Updated content for Battery Learn cycle.
Removed references to EKM and LKM in WebBIOS.
Updated Appendix A.
Updated content in the chapter, Monitoring Controllers and their Attached Devices.
Added content for punctured blocks in MSM, WebBIOS, and CLI.
Added content for stopping and starting Popup process.
Removed references to EKM in MSM.
Updated the guide with content for LDAP Support.
Updated the product names.
Updated the WebBIOS chapter by enhancing the content.
Updated the CLI chapter with some commands and a note.
Updated the document with the new template.
Made enhancements to Chapter 5, MegaRAID Command Tool.
Made enhancements to Chapter 6, MegaRAID Storage Manager Overview and Installation.
Updated battery related terms in the Glossary.
Updated the controller list in Chapter 11, Using MegaRAID Advanced Software.
Updated the guide with VMware 5.0 information.
Updated the guide with CacheCade Pro 2.0 SSD Read/Write Caching software content.
NOTE
For a history of all technical changes made to this guide for the previous releases, refer to Appendix C.
LSI and the LSI & Design logo are registered trademarks of LSI Corporation or its subsidiaries. All other brand and product names may be trademarks of their respective companies.
This final document describes a preproduction product and contains information that may change substantially for any final commercial release of the product. LSI Corporation makes no express or implied representation or warranty as to the accuracy, quality, or completeness of information contained in this document, and neither the release of this document nor any information included in it obligates LSI Corporation to make a commercial release of the product. LSI Corporation reserves the right to make changes to the product(s) or information disclosed herein at any time without notice. LSI Corporation does not assume any responsibility or liability arising out of the application or use of any product or service described herein, except as expressly agreed to in writing by LSI Corporation; nor does the purchase, lease, or use of a product or service from LSI Corporation convey a license under any patent rights, copyrights, trademark rights, or any other of the intellectual property rights of LSI Corporation or of third parties. LSI products are not intended for use in life-support appliances, devices, or systems. Use of any LSI product in such applications without written consent of the appropriate LSI officer is prohibited.
This document contains proprietary information of LSI Corporation. The information contained herein is not to be used by or disclosed to third parties without the express written permission of LSI Corporation.
Corporate Headquarters
Milpitas, CA 800-372-2447
Website
www.lsi.com
Document Number: 51530-00 Copyright © 2012 LSI Corporation All Rights Reserved
MegaRAID SAS Software User Guide June 2012 Table of Contents
Table of Contents
LSI Corporation - 3 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 4 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 5 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 6 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 7 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 8 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 9 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 10 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 11 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 12 -
MegaRAID SAS Software User Guide June 2012 Table of Contents
LSI Corporation - 13 -
MegaRAID SAS Software User Guide June 2012 Chapter 1: Overview SAS Technology
Chapter 1: Overview
This chapter provides an overview of this guide, which documents the utilities used to configure, monitor, and maintain MegaRAID® Serial-attached SCSI (SAS) RAID controllers with RAID control capabilities and the storage-related devices connected to them.
This guide describes how to use the MegaRAID Storage Manager™ software, the WebBIOS™ configuration utility, and the MegaRAID command line interface (CLI). This chapter documents the SAS technology, Serial ATA (SATA) technology, MegaRAID CacheCade™ software, SSD Guard™, Dimmer Switch™, UEFI 2.0, configuration scenarios, and drive types. Other features such as Fast Path and SafeStore™ are described in other chapters of this guide.
NOTE
This guide does not include the latest CacheCade and Enterprise Key Management System (EKMS) features.
1.1
SAS Technology
The MegaRAID 6Gb/s SAS RAID controllers are high-performance intelligent PCI Express-to-SAS/Serial ATA II controllers with RAID control capabilities. The MegaRAID 6Gb/s SAS RAID controllers provide reliability, high performance, and fault-tolerant disk subsystem management. They are an ideal RAID solution for the internal storage of workgroup, departmental, and enterprise systems. The MegaRAID 6Gb/s SAS RAID controllers offer a cost-effective way to implement RAID in a server. SAS technology brings a wealth of options and flexibility with the use of SAS devices, Serial ATA (SATA) II devices, and CacheCade SSD Read Caching software devices within the same storage infrastructure. These devices bring individual characteristics that make each of these more suitable choice depending on your storage needs. MegaRAID gives you the flexibility to combine these two similar technologies on the same controller, within the same enclosure, and in the same virtual drive.
NOTE
Carefully assess any decision to combine SAS drives and SATA drives within the same virtual drives. Avoid mixing drives; this applies to both HDDs and CacheCade SSD Read Caching software.
The MegaRAID 6Gb/s SAS RAID controllers are based on the LSI® first-to-market SAS IC technology and proven MegaRAID technology. As second-generation PCI Express RAID controllers, the MegaRAID SAS RAID controllers address the growing demand for increased data throughput and scalability requirements across midrange and enterprise-class server platforms. LSI offers a family of MegaRAID SAS RAID controllers addressing the needs for both internal and external solutions.
The SAS controllers support the ANSI
Serial Attached SCSI standard, version 2.1
. In addition, the controller supports the SATA II protocol defined by the
Serial ATA specification, version 3.0
. Supporting both the SAS and SATA II interfaces, the SAS controller is a versatile controller that provides the backbone of both server environments and high-end workstation environments.
Each port on the SAS RAID controller supports SAS devices or SATA III devices using the following protocols: SAS Serial SCSI Protocol (SSP), which enables communication with other SAS devices SATA III, which enables communication with other SATA III devices Serial Management Protocol (SMP), which communicates topology management information directly with an attached SAS expander device Serial Tunneling Protocol (STP), which enables communication with a SATA III device through an attached expander LSI Corporation - 14 -
MegaRAID SAS Software User Guide June 2012
1.2
Serial-Attached SCSI Device Interface
Chapter 1: Overview Serial-Attached SCSI Device Interface SAS is a serial, point-to-point, enterprise-level device interface that leverages the proven SCSI protocol set. SAS is a convergence of the advantages of SATA II, SCSI, and Fibre Channel, and is the future mainstay of the enterprise and high-end workstation storage markets. SAS offers a higher bandwidth per pin than parallel SCSI, and it improves the signal and data integrity. The SAS interface uses the proven SCSI command set to ensure reliable data transfers, while providing the connectivity and flexibility of point-to-point serial data transfers. The serial transmission of SCSI commands eliminates clock-skew challenges. The SAS interface provides improved performance, simplified cabling, smaller connectors, lower pin count, and lower power requirements when compared to parallel SCSI. SAS controllers leverage a common electrical and physical connection interface that is compatible with Serial ATA technology. The SAS and SATA II protocols use a thin, 7-wire connector instead of the 68-wire SCSI cable or 26-wire ATA cable. The SAS/SATA II connector and cable are easier to manipulate, allow connections to smaller devices, and do not inhibit airflow. The point-to-point SATA II architecture eliminates inherent difficulties created by the legacy ATA master-slave architecture, while maintaining compatibility with existing ATA firmware.
1.3
1.4
Serial ATA III Features
The SATA bus is a high-speed, internal bus that provides a low pin count (LPC), low voltage level bus for device connections between a host controller and a SATA device.
The following list describes the SATA III features of the RAID controllers: Supports SATA III data transfers of 6Gb/s Supports STP data transfers of 6Gb/s Provides a serial, point-to-point storage interface Simplifies cabling between devices Eliminates the master-slave construction used in parallel ATA Allows addressing of multiple SATA II targets through an expander Allows multiple initiators to address a single target (in a fail-over configuration) through an expander
Solid State Drive Features
The MegaRAID firmware supports the use of SSDs as standard drives and/or additional controller cache, referred to as CacheCade software. SSD drives are expected to behave like SATA or SAS HDDs except for the following: High random read speed (because there is no read-write head to move) High performance-to-power ratio, as these drives have very low power consumption compared to HDDs Low latency High mechanical reliability Lower weight and size
NOTE
Support for SATA SSD drives applies only to those drives that support ATA-8 ACS compliance.
LSI Corporation - 15 -
MegaRAID SAS Software User Guide June 2012
1.4.1
Chapter 1: Overview Dimmer Switch Features You can choose whether to allow a virtual drive to consist of both CacheCade software devices and HDDs. For a virtual drive that consists of CacheCade software only, you can choose whether to allow SAS CacheCade software drives and SATA CacheCade software drives in that virtual drive. For virtual drives that have both CacheCade software and HDDs, you can choose whether to mix SAS and SATA HDD drives with SAS and SATA CacheCade software devices in various combinations.l
NOTE
Support for SATA SDD drives applies only to those drives that support ATA-8 ACS compliance.
SSD Guard
SSD Guard, a feature that is unique to MegaRAID, increases the reliability of SSDs by automatically copying data from a drive with potential to fail to a designated hot spare or newly inserted drive. Because SSDs are more reliable than hard disk drives (HDDs), non-redundant RAID 0 configurations are much more common than in the past. SSD Guard offers added data protection for RAID 0 configurations. SSD Guard works by looking for a predictive failure while monitoring the SDD Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.) error log. If errors indicate that a SSD failure is imminent, the MegaRAID software starts a rebuild to preserve the data on the SSD and sends appropriate warning event notifications.
1.5
1.6
Dimmer Switch Features
Powering drives and cooling drives represent a major cost for data centers. The MegaRAID Dimmer Switch feature set reduces the power consumption of the devices connected to a MegaRAID controller. This helps to share resources more efficiently and lowers the cost.
Dimmer Switch I – Spin down unconfigured disks. This feature is configurable and can be disabled.
Dimmer Switch II – Spin down Hot Spares. This feature is configurable and can be disabled.
Dimmer Switch III – This new feature spins down any Logical Disk after 30 minutes of inactivity, by default, if the array can be spun up within 60 seconds. This feature is configurable and can be disabled.
UEFI 2.0 Support
UEFI 2.0 provides MegaRAID customers with expanded platform support. The MegaRAID UEFI 2.0 driver, a boot service device driver, handles block IO requests and SCSI pass-through (SPT) commands, and offers the ability to launch pre-boot MegaRAID management applications through a driver configuration protocol (DCP). The UEFI driver also supports driver diagnostic protocol, which allows administrators to access pre-boot diagnostics.
1.7
Configuration Scenarios
You can use the SAS RAID controllers in three scenarios:
Low-end, Internal SATA II Configurations
In these configurations, use the RAID controller as a high-end SATA II-compatible controller that connects up to 8 disks either directly or through a port expander. These configurations are mostly for low-end or entry servers. Enclosure management is provided through out-of-band Inter-IC (I 2 C) bus. Side bands of both types of internal SAS connectors support the SFF-8485 (SGPIO) interface.
LSI Corporation - 16 -
MegaRAID SAS Software User Guide June 2012 Chapter 1: Overview Configuration Scenarios
Midrange Internal SAS Configurations
These configurations are like the internal SATA II configurations, but with high-end disks. These configurations are more suitable for low-range to midrange servers.
High-end External SAS/SATA II Configurations
These configurations are for both internal connectivity and external connectivity, using SATA II drives, SAS drives, or both. External enclosure management is supported through in-band, SCSI-enclosed storage. The configuration must support STP and SMP.
The following figure shows a direct-connect configuration. The Inter-IC (I 2 C) interface communicates with peripherals. The external memory bus provides a 32-bit memory bus, parity checking, and chip select signals for pipelined synchronous burst static random access memory (PSBRAM), nonvolatile static random access memory (NVSRAM), and Flash ROM.
NOTE
The external memory bus is 32-bit for the SAS 8704ELP and the SAS 8708ELP, and 64-bit for the SAS 8708EM2, the SAS 8880EM2, and the SAS 8888ELP.
3!33!4!))$EVICE 3!33!4!))$EVICE 3!33!4!))$EVICE 3!3
0#)%XPRESS 2!)$#ONTROLLER "IT-EMORY !DDRESS$ATA "US &LASH2/ 03"2! .632! ) # )NTERFACE ) # 3!33!4!))$EVICE 0#)%XPRESS)NTERFACE ?
Figure 1 Example of an LSI SAS Direct-Connect Application
The following figure shows an example of a SAS RAID controller configured with an LSISASx12 expander that is connected to SAS disks, SATA II disks, or both.
LSI Corporation - 17 -
MegaRAID SAS Software User Guide June 2012 ,3)3!3X
%XPANDER 0#)%XPRESS)NTERFACE 3!32!)$#ONTROLLER ,3)3!3
0#)%XPRESSTO3!32/# 0ERIPHERAL "US &LASH2/ .632! ) #5!24
BIT$$2$$2 WITH%## )NTERFACE 3$2! Chapter 1: Overview Configuration Scenarios 3!33!4!
$RIVES ,3)3!3X
%XPANDER
1.7.1
3!33!4!)) $RIVES 3!33!4!)) $RIVES 3!33!4!)) $RIVES 3!33!4!)) $RIVES ?
Figure 2 Example of an LSI SAS RAID Controller Configured with an LSISASx12 Expander
Valid Drive Mix Configurations with HDDs and SSDs
You can allow a virtual drive to consist of both SSDs and HDDs. For virtual drives that have both SSDs and HDDs, you can choose whether to mix SAS drives and SATA drives on the CacheCade software devices. You can choose whether to allow a virtual drive to consist of both CacheCade software devices and HDDs. For a virtual drive that consists of CacheCade software only, you can choose whether to allow SAS CacheCade software drives and SATA CacheCade software drives in that virtual drive. For virtual drives that have both CacheCade software and HDDs, you can choose whether to mix SAS and SATA HDD drives with SAS and SATA CacheCade software devices in various combinations.
The following table lists the valid drive mix configurations you can use when you create virtual drives and allow HDD and CacheCade software mixing. The valid drive mix configurations are based on manufacturer settings.
Table 1 Valid Drive Mix Configurations
1.
2.
3.
4.
5.
# Valid Drive Mix Configurations
SAS HDD with SAS SDD (SAS-only configuration) SATA HDD with SATA CacheCade software (SATA-only configuration) SAS HDD with a mix of SAS and SATA CacheCade software (a SATA HDD cannot be added) SATA HDD with a mix of SAS and SATA CacheCade software (a SAS HDD cannot be added) SAS CacheCade software with a mix of SAS and SATA HDD (a SATA CacheCade software cannot be added) LSI Corporation - 18 -
MegaRAID SAS Software User Guide June 2012 Chapter 1: Overview Technical Support 6.
7.
8.
# Valid Drive Mix Configurations
SATA CacheCade software with a mix of SAS and SATA HDD (a SAS CacheCade software cannot be added) A mix of SAS and SATA HDD with a mix of SAS and SATA CacheCade software A CacheCade software cannot be added to a HDD, but a SAS/SATA mix is allowed.
NOTE
Only one of the valid configurations listed in the above table is allowed based on your controller card manufacturing settings.
NOTE
The valid drive mix also applies to hot spares. For hot spare information, see Section
.
1.8
Technical Support
For assistance with installing, configuring, or running your MegaRAID 6Gb/s SAS RAID controllers, contact an LSI Technical Support representative.
Click the following link to access the LSI Technical Support page for storage and board support: http://www.lsi.com/support/storage/tech_support/index.html
From this page, you can send an e-mail or call a Technical Support representative, or submit a new service request and view its status.
E-mail:
http://www.lsi.com/support/support_form.html
Phone Support:
http://www.lsi.com/support/storage/phone_tech_support/index.html
1-800-633-4545 (North America) 00-800-5745-6442 (International) LSI Corporation - 19 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Description
Chapter 2: Introduction to RAID
This chapter describes Redundant Array of Independent Disks (RAID), RAID functions and benefits, RAID components, RAID levels, and configuration strategies. In addition, it defines the RAID availability concept, and offers tips for configuration planning.
2.1
2.2
2.3
2.4
RAID Description
RAID is an array, or group, of multiple independent physical drives that provide high performance and fault tolerance. A RAID drive group improves I/O (input/output) performance and reliability. The RAID drive group appears to the host computer as a single storage unit or as multiple virtual units. I/O is expedited because several drives can be accessed simultaneously.
RAID Benefits
RAID drive groups improve data storage reliability and fault tolerance compared to single-drive storage systems. Data loss resulting from a drive failure can be prevented by reconstructing missing data from the remaining drives. RAID has gained popularity because it improves I/O performance and increases storage subsystem reliability.
RAID Functions
Virtual drives are drive groups or spanned drive groups that are available to the operating system. The storage space in a virtual drive is spread across all of the drives in the drive group.
Your drives must be organized into virtual drives in a drive group, and they must be able to support the RAID level that you select. Some common RAID functions follow: Creating hot spare drives Configuring drive groups and virtual drives Initializing one or more virtual drives Accessing controllers, virtual drives, and drives individually Rebuilding failed drives Verifying that the redundancy data in virtual drives using RAID level 1, 5, 6, 10, 50, or 60 is correct Reconstructing virtual drives after changing RAID levels or adding a drive to a drive group Selecting a host controller on which to work
Components and Features
RAID levels describe a system for ensuring the availability and redundancy of data stored on large disk subsystems. See Section
for detailed information about RAID levels. The following subsections describes the components of RAID drive groups and RAID levels.
LSI Corporation - 20 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features
2.4.1
2.4.2
2.4.3
2.4.3.1
Drive Group
A drive group is a group of physical drives. These drives are managed in partitions known as virtual drives.
Virtual Drive
A virtual drive is a partition in a drive group that is made up of contiguous data segments on the drives. A virtual drive can consist of an entire drive group, more than one entire drive group, a part of a drive group, parts of more than one drive group, or a combination of any two of these conditions.
Fault Tolerance
Fault tolerance is the capability of the subsystem to undergo a drive failure or failures without compromising data integrity, and processing capability. The RAID controller provides this support through redundant drive groups in RAID levels 1, 5, 6, 10, 50, and 60. The system can still work properly even with drive failure in a drive group, though performance can be degraded to some extent. In a span of RAID 1 drive groups, each RAID 1 drive group has two drives and can tolerate one drive failure. The span of RAID 1 drive groups can contain up to 32 drives, and tolerate up to 16 drive failures—one in each drive group. A RAID 5 drive group can tolerate one drive failure in each RAID 5 drive group. A RAID 6 drive group can tolerate up to two drive failures.
Each spanned RAID 10 virtual drive can tolerate multiple drive failures, as long as each failure is in a separate drive group. A RAID 50 virtual drive can tolerate two drive failures, as long as each failure is in a separate drive group. RAID 60 drive groups can tolerate up to two drive failures in each drive group.
NOTE
RAID level 0 is not fault tolerant. If a drive in a RAID 0 drive group fails, the entire virtual drive (all drives associated with the virtual drive) fails.
Fault tolerance is often associated with system availability because it allows the system to be available during the failures. However, fault tolerance means that it is also important for the system to be available during the repair of the problem. A hot spare is an unused drive that, in case of a disk failure in a redundant RAID drive group, can be used to rebuild the data and re-establish redundancy. After the hot spare is automatically moved into the RAID drive group, the data is automatically rebuilt on the hot spare drive. The RAID drive group continues to handle requests while the rebuild occurs. Auto-rebuild allows a failed drive to be replaced and the data automatically rebuilt by “hot-swapping” the drive in the same drive bay. The RAID drive group continues to handle requests while the rebuild occurs.
Multipathing
The firmware provides support for detecting and using multiple paths from the RAID controllers to the SAS devices that are in enclosures. Devices connected to enclosures have multiple paths to them. With redundant paths to the same port of a device, if one path fails, another path can be used to communicate between the controller and the device. Using multiple paths with load balancing, instead of a single path, can increase reliability through redundancy. Applications show the enclosures and the drives connected to the enclosures. The firmware dynamically recognizes new enclosures added to a configuration along with their contents (new drives). In addition, the firmware dynamically adds the enclosure and its contents to the management entity currently in use.
Multipathing provides the following features: Support for failover, in the event of path failure Auto-discovery of new or restored paths while the system is online, and reversion to system load-balancing policy LSI Corporation - 21 -
MegaRAID SAS Software User Guide June 2012
2.4.4
2.4.5
Measurable bandwidth improvement to the multi-path device Support for changing the load-balancing path while the system is online The firmware determines whether enclosure modules (ESMs) are part of the same enclosure. When a new enclosure module is added (allowing multi-path) or removed (going single path), an Asynchronous Event Notification (AEN) is generated. AENs about drives contain correct information about the enclosure, when the drives are connected by multiple paths. The enclosure module detects partner ESMs and issues events appropriately.
In a system with two ESMs, you can replace one of the ESMs without affecting the virtual drive availability. For example, the controller can run heavy I/Os, and when you replace one of the ESMs, I/Os should not stop. The controller uses different paths to balance the load on the entire system.
In the MegaRAID Storage Manager utility, when multiple paths are available to a drive, the drive information shows only one enclosure. The utility shows that a redundant path is available to a drive. All drives with a redundant path display this information. The firmware supports online replacement of enclosure modules.
Consistency Check
The consistency check operation verifies correctness of the data in virtual drives that use RAID levels 1, 5, 6, 10, 50, and 60. RAID 0 does not provide data redundancy. For example, in a system with parity, checking consistency means computing the data on one drive and comparing the results to the contents of the parity drive.
NOTE
It is recommended that you perform a consistency check at least once a month.
Copyback
The copyback feature allows you to copy data from a source drive of a virtual drive to a destination drive that is not a part of the virtual drive. Copyback is often used to create or restore a specific physical configuration for a drive group (for example, a specific arrangement of drive group members on the device I/O buses). Copyback can be run automatically or manually.
Typically, when a drive fails or is expected to fail, the data is rebuilt on a hot spare. The failed drive is replaced with a new disk. Then the data is copied from the hot spare to the new drive, and the hot spare reverts from a rebuild drive to its original hot spare status. The copyback operation runs as a background activity, and the virtual drive is still available online to the host. Copyback is also initiated when the first Self-Monitoring Analysis and Reporting Technology (SMART) error occurs on a drive that is part of a virtual drive. The destination drive is a hot spare that qualifies as a rebuild drive. The drive with the SMART error is marked as “failed” only after the successful completion of the copyback. This situation avoids putting the drive group in Degraded status.
NOTE
During a copyback operation, if the drive group involved in the copyback is deleted because of a virtual drive deletion, the destination drive reverts to an Unconfigured Good state or hot spare state.
Order of Precedence
In the following scenarios, rebuild takes precedence over the copyback operation: If a copyback operation is already taking place to a hot spare drive, and any virtual drive on the controller degrades, the copyback operation aborts, and a rebuild starts. The rebuild changes the virtual drive to the Optimal state.
The rebuild operation takes precedence over the copyback operation when the conditions exist to start both operations. For example:
—
The hot spare is not configured (or unavailable) in the system. LSI Corporation - 22 Chapter 2: Introduction to RAID Components and Features
MegaRAID SAS Software User Guide June 2012
2.4.6
2.4.7
2.4.8
Chapter 2: Introduction to RAID Components and Features
— —
Two drives (both members of virtual drives) exist, with one drive exceeding the SMART error threshold, and the other failed.
If you add a hot spare (assume a global hot spare) during a copyback operation, the copyback is aborted, and the rebuild operation starts on the hot spare.
Background Initialization
Background initialization is a check for media errors on the drives when you create a virtual drive. It is an automatic operation that starts five minutes after you create the virtual drive. This check ensures that striped data segments are the same on all of the drives in the drive group. Background initialization is similar to a consistency check. The difference between the two is that a background initialization is forced on new virtual drives and a consistency check is not. New RAID 5 virtual drives and new RAID 6 virtual drives require a minimum number of drives for a background initialization to start. If there are fewer drives, the background initialization does not start. The background initialization needs to be started manually. The following number of drives are required: New RAID 5 virtual drives must have at least five drives for background initialization to start.
New RAID 6 virtual drives must have at least seven drives for background initialization to start.
The default and recommended background initialization rate is 30 percent. Before you change the rebuild rate, you must stop the background initialization or the rate change will not affect the background initialization rate. After you stop background initialization and change the rebuild rate, the rate change takes effect when you restart background initialization.
Patrol Read
Patrol read involves the review of your system for possible drive errors that could lead to drive failure and then action to correct errors. The goal is to protect data integrity by detecting drive failure before the failure can damage data. The corrective actions depend on the drive group configuration and the type of errors. Patrol read starts only when the controller is idle for a defined period of time and no other background tasks are active, though it can continue to run during heavy I/O processes.
You can use the MegaRAID Command Tool or the MegaRAID Storage Manager software to select the patrol read options, which you can use to set automatic or manual operation, or disable patrol read. See Section Controller Property-Related Options , Controller Property-Related Options , and Section Running a Patrol Read , Running a Patrol Read .
Disk Striping
Disk striping allows you to write data across multiple drives instead of just one drive. Disk striping involves partitioning each drive storage space into stripes that can vary in size from 8 KB to 1024 KB. These stripes are interleaved in a repeated sequential manner. The combined storage space is composed of stripes from each drive. It is recommended that you keep stripe sizes the same across RAID drive groups.
For example, in a four-disk system using only disk striping (used in RAID level 0), segment 1 is written to disk 1, segment 2 is written to disk 2, and so on. Disk striping enhances performance because multiple drives are accessed simultaneously, but disk striping does not provide data redundancy.
LSI Corporation - 23 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features
2.4.9
Figure 3 Example of Disk Striping (RAID 0)
Stripe Width Stripe width is the number of drives involved in a drive group where striping is implemented. For example, a four-disk drive group with disk striping has a stripe width of four.
Stripe Size The stripe size is the length of the interleaved data segments that the RAID controller writes across multiple drives, not including parity drives. For example, consider a stripe that contains 64 KB of disk space and has 16 KB of data residing on each disk in the stripe. In this case, the stripe size is 64 KB, and the strip size is 16 KB.
Strip Size The strip size is the portion of a stripe that resides on a single drive.
Disk Mirroring
With mirroring (used in RAID 1 and RAID 10), data written to one drive is simultaneously written to another drive. The primary advantage of disk mirroring is that it provides 100 percent data redundancy. Because the contents of the disk are completely written to a second disk, data is not lost if one disk fails. In addition, both drives contain the same data at all times, so either disk can act as the operational disk. If one disk fails, the contents of the other disk can be used to run the system and reconstruct the failed disk. Disk mirroring provides 100 percent redundancy, but it is expensive because each drive in the system must be duplicated. The following figure shows an example of disk mirroring.
2.4.10
3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT$UPLICATED 3EGMENT$UPLICATED 3EGMENT$UPLICATED 3EGMENT$UPLICATED ?
Figure 4 Example of Disk Mirroring (RAID 1)
Parity
Parity generates a set of redundancy data from two or more parent data sets. The redundancy data can be used to reconstruct one of the parent data sets in the event of a drive failure. Parity data does not fully duplicate the parent data sets, but parity generation can slow the write process. In RAID, this method is applied to entire drives or stripes across all of the drives in a drive group. The types of parity are described in the following table.
LSI Corporation - 24 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features
Table 2 Types of Parity Parity Type
Dedicated Distributed
Description
The parity data on two or more drives is stored on an additional disk.
The parity data is distributed across more than one drive in the system.
RAID 5 combines distributed parity with disk striping. If a single drive fails, it can be rebuilt from the parity and the data on the remaining drives. An example of a RAID 5 drive group is shown in the following figure. RAID 5 uses parity to provide redundancy for one drive failure without duplicating the contents of entire drives. RAID 6 uses distributed parity and disk striping, also, but adds a second set of parity data so that it can survive up to two drive failures.
3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT .OTE0ARITYISDISTRIBUTEDACROSSALLDRIVESINTHEDRIVEGROUP
3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT ?
2.4.11
Figure 5 Example of Distributed Parity (RAID 5)
Disk Spanning
Disk spanning allows multiple drives to function like one big drive. Spanning overcomes lack of disk space and simplifies storage management by combining existing resources or adding relatively inexpensive resources. For example, four 20-GB drives can be combined to appear to the operating system as a single 80-GB drive.
Spanning alone does not provide reliability or performance enhancements. Spanned virtual drives must have the same stripe size and must be contiguous. In the following figure, RAID 1 drive groups are turned into a RAID 10 drive group.
NOTE
Make sure that the spans are in different backplanes, so that if one span fails, you do not lose the whole drive group.
'" '" #AN"E!CCESSED!S
/NE'"$RIVE '" '" #AN"E!CCESSED!S
/NE'"$RIVE ?
Figure 6 Example of Disk Spanning
Spanning two contiguous RAID 0 virtual drives does not produce a new RAID level or add fault tolerance. It does increase the capacity of the virtual drive and improves performance by doubling the number of spindles.
LSI Corporation - 25 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features Spanning for RAID 00, RAID 10, RAID 50, and RAID 60 The following table describes how to configure RAID 00, RAID 10, RAID 50, and RAID 60 by spanning. The virtual drives must have the same stripe size and the maximum number of spans is 8. The full drive capacity is used when you span virtual drives; you cannot specify a smaller drive capacity. See
, for detailed procedures for configuring drive groups and virtual drives, and spanning the drives.
Table 3 Spanning for RAID 10, RAID 50, and RAID 60
00 10 50 60
Level Description
Configure RAID 00 by spanning two contiguous RAID 0 virtual drives, up to the maximum number of supported devices for the controller. Configure RAID 10 by spanning two contiguous RAID 1 virtual drives, up to the maximum number of supported devices for the controller. RAID 10 supports a maximum of 8 spans. You must use an even number of drives in each RAID virtual drive in the span. The RAID 1 virtual drives must have the same stripe size.
Configure RAID 50 by spanning two contiguous RAID 5 virtual drives. The RAID 5 virtual drives must have the same stripe size.
Configure RAID 60 by spanning two contiguous RAID 6 virtual drives. The RAID 6 virtual drives must have the same stripe size.
NOTE
In a spanned virtual drive (R10, R50, R60) the span numbering starts from Span 0, Span 1, Span 2, and so on.
2.4.12
2.4.12.1
Hot Spares
A hot spare is an extra, unused drive that is part of the disk subsystem. It is usually in Standby mode, ready for service if a drive fails. Hot spares permit you to replace failed drives without system shutdown or user intervention. MegaRAID SAS RAID controllers can implement automatic and transparent rebuilds of failed drives using hot spare drives, providing a high degree of fault tolerance and zero downtime. The RAID management software allows you to specify drives as hot spares. When a hot spare is needed, the RAID controller assigns the hot spare that has a capacity closest to and at least as great as that of the failed drive to take the place of the failed drive. The failed drive is removed from the virtual drive and marked ready awaiting removal after the rebuild to a hot spare begins. You can make hot spares of the drives that are not in a RAID virtual drive.
You can use the RAID management software to designate the hot spare to have enclosure affinity, meaning that if drive failures are present on a split backplane configuration, the hot spare will be used first on the backplane side in which it resides.
If the hot spare is designated as having enclosure affinity, it attempts to rebuild any failed drives on the backplane in which it resides before rebuilding any other drives on other backplanes.
NOTE
If a rebuild to a hot spare fails for any reason, the hot spare drive is marked as failed. If the source drive fails, both the source drive and the hot spare drive are marked as failed.
The hot spare can be of two types: Global hot spare Dedicated hot spare
Global Hot Spare
Use a global hot spare drive to replace any failed drive in a redundant drive group as long as its capacity is equal to or larger than the coerced capacity of the failed drive. A global hot spare defined on any channel should be available to replace a failed drive on both channels.
LSI Corporation - 26 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features
2.4.12.2
2.4.13
2.4.14
Dedicated Hot Spare
Use a dedicated hot spare to replace a failed drive only in a selected drive group. One or more drives can be designated as a member of a spare drive pool. The most suitable drive from the pool is selected for failover. A dedicated hot spare is used before one from the global hot spare pool. Hot spare drives can be located on any RAID channel. Standby hot spares (not being used in RAID drive group) are polled every 60 seconds at a minimum, and their status made available in the drive group management software. RAID controllers offer the ability to rebuild with a disk that is in a system but not initially set to be a hot spare.
Observe the following parameters when using hot spares: Hot spares are used only in drive groups with redundancy: RAID levels 1, 5, 6, 10, 50, and 60.
A hot spare connected to a specific RAID controller can be used to rebuild a drive that is connected only to the same controller.
You must assign the hot spare to one or more drives through the controller BIOS or use drive group management software to place it in the hot spare pool.
A hot spare must have free space equal to or greater than the drive it replaces. For example, to replace an 500-GB drive, the hot spare must be 500-GB or larger.
Disk Rebuilds
When a drive in a RAID drive group fails, you can rebuild the drive by re-creating the data that was stored on the drive before it failed. The RAID controller re-creates the data using the data stored on the other drives in the drive group. Rebuilding can be done only in drive groups with data redundancy, which includes RAID 1, 5, 6, 10, 50, and 60 drive groups. The RAID controller uses hot spares to rebuild failed drives automatically and transparently, at user-defined rebuild rates. If a hot spare is available, the rebuild can start automatically when a drive fails. If a hot spare is not available, the failed drive must be replaced with a new drive so that the data on the failed drive can be rebuilt. The failed drive is removed from the virtual drive and marked ready awaiting removal when the rebuild to a hot spare begins. If the system goes down during a rebuild, the RAID controller automatically resumes the rebuild after the system reboots.
NOTE
When the rebuild to a hot spare begins, the failed drive is often removed from the virtual drive before management applications detect the failed drive. When this occurs, the events logs show the drive rebuilding to the hot spare without showing the failed drive. The formerly failed drive will be marked as “ready” after a rebuild begins to a hot spare. If a source drive fails during a rebuild to a hot spare, the rebuild fails, and the failed source drive is marked as offline. In addition, the rebuilding hot spare drive is changed back to a hot spare. After a rebuild fails because of a source drive failure, the dedicated hot spare is still dedicated and assigned to the correct drive group, and the global hot spare is still global.
An automatic drive rebuild will not start if you replace a drive during a RAID-level migration. The rebuild must be started manually after the expansion or migration procedure is complete. (RAID-level migration changes a virtual drive from one RAID level to another.)
Rebuild Rate
The rebuild rate is the percentage of the compute cycles dedicated to rebuilding failed drives. A rebuild rate of 100 percent means that the system gives priority to rebuilding the failed drives.
The rebuild rate can be configured between 0 percent and 100 percent. At 0 percent, the rebuild is done only if the system is not doing anything else. At 100 percent, the rebuild has a higher priority than any other system activity. Using 0 percent or 100 percent is not recommended. The default rebuild rate is 30 percent.
LSI Corporation - 27 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID Components and Features
2.4.15
2.4.16
2.4.17
2.4.18
Hot Swap
A hot swap is the manual replacement of a defective drive unit while the computer is still running. When a new drive has been installed, a rebuild occurs automatically if these situation occurs: The newly inserted drive is the same capacity as or larger than the failed drive.
The newly inserted drive is placed in the same drive bay as the failed drive it is replacing.
The RAID controller can be configured to detect the new drives and rebuild the contents of the drive automatically.
Drive States
A drive state is a property indicating the status of the drive. The drive states are described in the following table.
Table 4 Drive States State Description
Online Unconfigured Good A drive that is functioning normally but is not configured as a part of a virtual drive or as a hot spare.
Hot Spare A drive that is powered up and ready for use as a spare in case an online drive fails. Failed Rebuild Unconfigured Bad Missing Offline A drive that can be accessed by the RAID controller and is part of the virtual drive.
A drive that was originally configured as Online or Hot Spare, but on which the firmware detects an unrecoverable error.
A drive to which data is being written to restore full redundancy for a virtual drive.
A drive on which the firmware detects an unrecoverable error; the drive was Unconfigured Good or the drive could not be initialized.
A drive that was Online but which has been removed from its location.
A drive that is part of a virtual drive but which has invalid data as far as the RAID configuration is concerned.
Virtual Drive States
The virtual drive states are described in the following table.
Table 5 Virtual Drive States State
Optimal Degraded Partial Degraded Failed Offline
Description
The virtual drive operating condition is good. All configured drives are online.
The virtual drive operating condition is not optimal. One of the configured drives has failed or is offline.
The operating condition in a RAID 6 virtual drive is not optimal. One of the configured drives has failed or is offline. RAID 6 can tolerate up to two drive failures.
The virtual drive has failed. The virtual drive is not available to the RAID controller.
Beep Codes
An alarm sounds on the MegaRAID controller when a virtual drive changes from an optimal state to another state, when a hot spare rebuilds, and for test purposes.
LSI Corporation - 28 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels
2.4.19
Table 6 Beep Codes, Events, and Virtual Drive States Event Virtual Drive State
RAID 0 virtual drive loses a virtual drives RAID 1 loses a mirror drive RAID 1 loses both drives RAID 5 loses one drive Offline Degraded Offline Degraded RAID 5 loses two or more drives RAID 6 loses one drive RAID 6 loses two drives RAID 6 loses more than two drives Offline Partially Degraded Degraded Offline A hot spare completes the rebuild process and is brought into a drive group N/A
Beep Code
3 seconds on and 1 second off 1 second on and 1 second off 3 seconds on and 1 second off 1 second on and 1 second off 3 seconds on and 1 second off 1 second on and 1 second off 1 second on and 1 second off 3 seconds on and 1 second off 1 second on and 3 seconds off
Enclosure Management
Enclosure management is the intelligent monitoring of the disk subsystem by software, hardware or both. The disk subsystem can be part of the host computer or can reside in an external disk enclosure. Enclosure management helps you stay informed of events in the disk subsystem, such as a drive or power supply failure. Enclosure management increases the fault tolerance of the disk subsystem.
2.5
2.5.1
RAID Levels
The RAID controller supports RAID levels 0, 00, 1, 5, 6, 10, 50, and 60. The supported RAID levels are summarized in the following section. In addition, the RAID controller supports independent drives (configured as RAID 0 and RAID 00.) The following sections describe the RAID levels in detail.
Summary of RAID Levels
RAID 0 uses striping to provide high data throughput, especially for large files in an environment that does not require fault tolerance.
RAID 1 uses mirroring so that data written to one drive is simultaneously written to another drive. RAID 1 is good for small databases or other applications that require small capacity but complete data redundancy. RAID 5 uses disk striping and parity data across all drives (distributed parity) to provide high data throughput, especially for small random access. RAID 6 uses distributed parity, with two independent parity blocks per stripe, and disk striping. A RAID 6 virtual drive can survive the loss of any two drives without losing data. A RAID 6 drive group, which requires a minimum of three drives, is similar to a RAID 5 drive group. Blocks of data and parity information are written across all drives. The parity information is used to recover the data if one or two drives fail in the drive group.
A RAID 00 drive group is a spanned drive group that creates a striped set from a series of RAID 0 drive groups.
LSI Corporation - 29 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels RAID 10, a combination of RAID 0 and RAID 1, consists of striped data across mirrored spans. A RAID 10 drive group is a spanned drive group that creates a striped set from a series of mirrored drives. RAID 10 allows a maximum of 8 spans. You must use an even number of drives in each RAID virtual drive in the span. The RAID 1 virtual drives must have the same stripe size. RAID 10 provides high data throughput and complete data redundancy but uses a larger number of spans. RAID 50, a combination of RAID 0 and RAID 5, uses distributed parity and disk striping. A RAID 50 drive group is a spanned drive group in which data is striped across multiple RAID 5 drive groups. RAID 50 works best with data that requires high reliability, high request rates, high data transfers, and medium-to-large capacity.
NOTE
Having virtual drives of different RAID levels, such as RAID 0 and RAID 5, in the same drive group is not allowed. For example, if an existing RAID 5 virtual drive is created out of partial space in an array, the next virtual drive in the array has to be RAID 5 only.
RAID 60, a combination of RAID 0 and RAID 6, uses distributed parity, with two independent parity blocks per stripe in each RAID set, and disk striping. A RAID 60 virtual drive can survive the loss of two drives in each of the RAID 6 sets without losing data. RAID 60 works best with data that requires high reliability, high request rates, high data transfers, and medium-to-large capacity.
NOTE
The MegaSR controller supports the standard RAID levels – RAID 0, RAID 1,RAID 5, and RAID 10. The MegaSR controller comes in two variants, SCU and AHCI, both supporting a maximum of eight physical drives. A maximum of eight virtual drives can be created (using RAID 0, RAID 1, RAID 5, and RAID 10 only) and controlled by the MegaSR controller. One virtual drive can be created on an array (a maximum of eight if no other virtual drives are already created on the MegaSR controller), or you can create eight arrays with one virtual drive each. However, on RAID10, you can create only one virtual drive on a particular array.
2.5.2
2.5.3
Selecting a RAID Level
To ensure the best performance, you should select the optimal RAID level when you create a system drive. The optimal RAID level for your drive group depends on a number of factors: The number of drives in the drive group The capacity of the drives in the drive group The need for data redundancy The disk performance requirements
RAID 0
RAID 0 provides disk striping across all drives in the RAID drive group. RAID 0 does not provide any data redundancy, but RAID 0offers the best performance of any RAID level. RAID 0 breaks up data into smaller segments, and then stripes the data segments across each drive in the drive group. The size of each data segment is determined by the stripe size. RAID 0 offers high bandwidth.
NOTE
RAID level 0 is not fault tolerant. If a drive in a RAID 0 drive group fails, the entire virtual drive (all drives associated with the virtual drive) fails.
By breaking up a large file into smaller segments, the RAID controller can use both SAS drives and SATA drives to read or write the file faster. RAID 0 involves no parity calculations to complicate the write operation. This situation makes RAID 0 ideal for applications that require high bandwidth but do not require fault tolerance. The following table provides an overview of RAID 0. The following figure provides a graphic example of a RAID 0 drive group.
LSI Corporation - 30 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels
Table 7 RAID 0 Overview
Uses Strong points Weak points Drives Provides high data throughput, especially for large files. Any environment that does not require fault tolerance.
Provides increased data throughput for large files. No capacity loss penalty for parity.
Does not provide fault tolerance or high bandwidth. All data is lost if any drive fails.
1 to 32
2.5.4
3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT ?
Figure 7 RAID 0 Drive Group Example with Two Drives
RAID 1
In RAID 1, the RAID controller duplicates all data from one drive to a second drive in the drive group. RAID 1 supports an even number of drives from 2 through 32 in a single span. RAID 1 provides complete data redundancy, but at the cost of doubling the required data storage capacity. The following table provides an overview of RAID 1. The following figure provides a graphic example of a RAID 1 drive group.
Table 8 RAID 1 Overview
Uses Strong points Weak points Drives Use RAID 1 for small databases or any other environment that requires fault tolerance but small capacity.
Provides complete data redundancy. RAID 1 is ideal for any application that requires fault tolerance and minimal capacity.
Requires twice as many drives. Performance is impaired during drive rebuilds.
2 through 32 (must be an even number of drives) 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 2!)$ 2!)$ 2!)$ 2!)$ ?
LSI Corporation - 31 -
MegaRAID SAS Software User Guide June 2012
2.5.5
Chapter 2: Introduction to RAID RAID Levels
Figure 8 RAID 1 Drive Group
RAID 5
RAID 5 includes disk striping at the block level and parity. Parity is the data’s property of being odd or even, and parity checking is used to detect errors in the data. In RAID 5, the parity information is written to all drives. RAID 5 is best suited for networks that perform a lot of small input/output (I/O) transactions simultaneously.
RAID 5 addresses the bottleneck issue for random I/O operations. Because each drive contains both data and parity, numerous writes can take place concurrently. The following table provides an overview of RAID 5. The following figure provides a graphic example of a RAID 5 drive group.
Table 9 RAID 5 Overview
Uses Strong points Weak points Provides high data throughput, especially for large files. Use RAID 5 for transaction processing applications because each drive can read and write independently. If a drive fails, the RAID controller uses the parity drive to re-create all missing information. Use also for office automation and online customer service that requires fault tolerance. Use for any application that has high read request rates but low write request rates.
Provides data redundancy, high read rates, and good performance in most environments. Provides redundancy with lowest loss of capacity.
Not well-suited to tasks requiring lot of writes. Suffers more impact if no cache is used (clustering). Drive performance is reduced if a drive is being rebuilt. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes.
Number of Drives in this RAID level 3 through 32
2.5.6
3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT .OTE0ARITYISDISTRIBUTEDACROSSALLDRIVESINTHEDRIVEGROUP
3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITYn 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT ?
Figure 9 RAID 5 Drive Group with Six Drives
RAID 6
RAID 6 is similar to RAID 5 (disk striping and parity), except that instead of one parity block per stripe, there are two. With two independent parity blocks, RAID 6 can survive the loss of any two drives in a virtual drive without losing data. RAID 6 provides a high level of data protection through the use of a second parity block in each stripe. Use RAID 6 for data that requires a very high level of protection from loss. In the case of a failure of one drive or two drives in a virtual drive, the RAID controller uses the parity blocks to re create all of the missing information. If two drives in a RAID 6 virtual drive fail, two drive rebuilds are required, one for each drive. These rebuilds do not occur at the same time. The controller rebuilds one failed drive, and then the other failed drive. LSI Corporation - 32 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels The following table provides an overview of a RAID 6 drive group.
Table 10 RAID 6 Overview
Uses Strong points Weak points Drives Use for office automation and online customer service that requires fault tolerance. Use for any application that has high read request rates but low write request rates.
Provides data redundancy, high read rates, and good performance in most environments. Can survive the loss of two drives or the loss of a drive while another drive is being rebuilt. Provides the highest level of protection against drive failures of all of the RAID levels. Read performance is similar to that of RAID 5. Not well-suited to tasks requiring a lot of writes. A RAID 6 virtual drive has to generate two sets of parity data for each write operation, which results in a significant decrease in performance during writes. Drive performance is reduced during a drive rebuild. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes. RAID 6 costs more because of the extra capacity required by using two parity blocks per stripe.
3 through 32 The following figure shows a RAID 6 data layout. The second set of parity drives is denoted by
Q
. The
P
drives follow the RAID 5 parity scheme.
2.5.7
3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITY 0n0 3EGMENT 3EGMENT 3EGMENT 0ARITY0n0 0ARITY 1n1 3EGMENT 3EGMENT 0ARITY0n0 0ARITY1n1 3EGMENT .OTE0ARITYISDISTRIBUTEDACROSSALLDRIVESINTHEDRIVEGROUP
3EGMENT 0ARITY0n0 0ARITY1n1 3EGMENT 3EGMENT 0ARITY0n0 0ARITY1n1 3EGMENT 3EGMENT 3EGMENT 0ARITY1n1 3EGMENT 3EGMENT 3EGMENT 3EGMENT ?
Figure 10 Example of Distributed Parity across Two Blocks in a Stripe (RAID 6)
RAID 00
A RAID 00 drive group is a spanned drive group that creates a striped set from a series of RAID 0 drive groups. RAID 00 does not provide any data redundancy, but, along with RAID 0, does offer the best performance of any RAID level. RAID 00 breaks up data into smaller segments and then stripes the data segments across each drive in the drive groups. The size of each data segment is determined by the stripe size. RAID 00 offers high bandwidth.
NOTE
RAID level 00 is not fault tolerant. If a drive in a RAID 0 drive group fails, the entire virtual drive (all drives associated with the virtual drive) fails.
By breaking up a large file into smaller segments, the RAID controller can use both SAS drives and SATA drives to read or write the file faster. RAID 00 involves no parity calculations to complicate the write operation. This situation makes RAID 00 ideal for applications that require high bandwidth but do not require fault tolerance. The following table provides an overview of RAID 00. The following figure provides a graphic example of a RAID 00 drive group.
LSI Corporation - 33 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels
Table 11 RAID 00 Overview
Uses Strong points Weak points Drives Provides high data throughput, especially for large files. Any environment that does not require fault tolerance.
Provides increased data throughput for large files. No capacity loss penalty for parity.
Does not provide fault tolerance or high bandwidth.
All data lost if any drive fails.
2 through 256 2!)$ 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 3EGMENT 2!)$ 2!)$ 2!)$ 2!)$ 2!)$ ?
2.5.8
Figure 11 RAID 00 Drive Group Example with Two Drives
RAID 10
RAID 10 is a combination of RAID 0 and RAID 1, and it consists of stripes across mirrored drives. RAID 10 breaks up data into smaller blocks and then mirrors the blocks of data to each RAID 1 drive group. The first RAID 1 drive in each drive group then duplicates its data to the second drive. The size of each block is determined by the stripe size parameter, which is set during the creation of the RAID set. The RAID 1 virtual drives must have the same stripe size. Spanning is used because one virtual drive is defined across more than one drive group. Virtual drives defined across multiple RAID 1 level drive groups are referred to as RAID level 10, (1+0). Data is striped across drive groups to increase performance by enabling access to multiple drive groups simultaneously.
Each spanned RAID 10 virtual drive can tolerate multiple drive failures, as long as each failure is in a separate drive group. If drive failures occur, less than total drive capacity is available.
Configure RAID 10 by spanning two contiguous RAID 1 virtual drives, up to the maximum number of supported devices for the controller. RAID 10 supports a maximum of 8 spans, with a maximum of 32 drives per span. You must use an even number of drives in each RAID 10 virtual drive in the span.
NOTE
Other factors, such as the type of controller, can restrict the number of drives supported by RAID 10 virtual drives.
The following table provides an overview of RAID 10. LSI Corporation - 34 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels
Table 12 RAID 10 Overview
Uses Strong Points Weak Points Drives Appropriate when used with data storage that needs 100 percent redundancy of mirrored drive groups and that also needs the enhanced I/O performance of RAID 0 (striped drive groups.) RAID 10 works well for medium-sized databases or any environment that requires a higher degree of fault tolerance and moderate to-medium capacity.
Provides both high data transfer rates and complete data redundancy. Requires twice as many drives as all other RAID levels except RAID 1.
4 to 32 in multiples of 4 — The maximum number of drives supported by the controller (using an even number of drives in each RAID 10 virtual drive in the span).
In the following figure, virtual drive 0 is created by distributing data across four drive groups (drive groups 0 through 3).
2!)$ 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 3EGMENT 3EGMENT 3EGMENT $UPLICATE 3EGMENT $UPLICATE 2!)$ 2!)$ 2!)$ 2!)$ 2!)$ ?
2.5.9
Figure 12 RAID 10 Level Virtual Drive
RAID 50
RAID 50 provides the features of both RAID 0 and RAID 5. RAID 50 includes both parity and disk striping across multiple drive groups. RAID 50 is best implemented on two RAID 5 drive groups with data striped across both drive groups. RAID 50 breaks up data into smaller blocks and then stripes the blocks of data to each RAID 5 disk set. RAID 5 breaks up data into smaller blocks, calculates parity by performing an exclusive-or on the blocks and then writes the blocks of data and parity to each drive in the drive group. The size of each block is determined by the stripe size parameter, which is set during the creation of the RAID set.
RAID level 50 can support up to 8 spans and tolerate up to 8 drive failures, though less than total drive capacity is available. Though multiple drive failures can be tolerated, only one drive failure can be tolerated in each RAID 5 level drive group.
The following table provides an overview of RAID 50.
Table 13 RAID 50 Overview
Uses Appropriate when used with data that requires high reliability, high request rates, high data transfer, and medium-to-large capacity.
LSI Corporation - 35 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Levels Strong points Weak points Drives Provides high data throughput, data redundancy, and very good performance.
Requires 2 times to 8 times as many parity drives as RAID 5.
8 spans of RAID 5 drive groups containing 3 to 32 drives each (limited by the maximum number of devices supported by the controller) 2!)$ 3EGMENT 3EGMENT 0ARITY 3EGMENT 0ARITY 3EGMENT 0ARITY 3EGMENT 3EGMENT 3EGMENT 3EGMENT 0ARITY 3EGMENT 0ARITY 0ARITY 3EGMENT 3EGMENT 3EGMENT 2!)$ 2!)$ 2!)$ ?
2.5.10
Figure 13 RAID 50 Level Virtual Drive
RAID 60
RAID 60 provides the features of both RAID 0 and RAID 6, and includes both parity and disk striping across multiple drive groups. RAID 6 supports two independent parity blocks per stripe. A RAID 60 virtual drive can survive the loss of two drives in each of the RAID 6 sets without losing data. RAID 60 is best implemented on two RAID 6 drive groups with data striped across both drive groups.
RAID 60 breaks up data into smaller blocks and then stripes the blocks of data to each RAID 6 disk set. RAID 6 breaks up data into smaller blocks, calculates parity by performing an exclusive-or on the blocks, and then writes the blocks of data and parity to each drive in the drive group. The size of each block is determined by the stripe size parameter, which is set during the creation of the RAID set.
RAID 60 can support up to 8 spans and tolerate up to 16 drive failures, though less than total drive capacity is available. Two drive failures can be tolerated in each RAID 6 level drive group.
Table 14 RAID 60 Overview
Uses Provides a high level of data protection through the use of a second parity block in each stripe. Use RAID 60 for data that requires a very high level of protection from loss. In the case of a failure of one drive or two drives in a RAID set in a virtual drive, the RAID controller uses the parity blocks to re-create all of the missing information. If two drives in a RAID 6 set in a RAID 60 virtual drive fail, two drive rebuilds are required, one for each drive. These rebuilds can occur at the same time.
Use for office automation and online customer service that requires fault tolerance. Use for any application that has high read request rates but low write request rates.
LSI Corporation - 36 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Configuration Strategies Strong points Weak points Provides data redundancy, high read rates, and good performance in most environments. Each RAID 6 set can survive the loss of two drives or the loss of a drive while another drive is being rebuilt. Provides the highest level of protection against drive failures of all of the RAID levels. Read performance is similar to that of RAID 50, though random reads in RAID 60 might be slightly faster because data is spread across at least one more disk in each RAID 6 set.
Not well suited to tasks requiring lot of writes. A RAID 60 virtual drive has to generate two sets of parity data for each write operation, which results in a significant decrease in performance during writes. Drive performance is reduced during a drive rebuild. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes. RAID 6 costs more because of the extra capacity required by using two parity blocks per stripe.
A minimum of 8.
Drives The following figure shows a RAID 60 data layout. The second set of parity drives is denoted by
Q
. The
P
drives follow the RAID 5 parity scheme.
2.6
2!)$ 3EGMENT 3EGMENT 3EGMENT 0ARITY1 n 1 0ARITY1 n 1 0ARITY0 n 0 0ARITY1n1 0ARITY0 n 0 3EGMENT 0ARITY0 n 0 3EGMENT 3EGMENT 0ARITY0 n 0 3EGMENT 3EGMENT 0ARITY1 n 1 3EGMENT 3EGMENT 3EGMENT 0ARITY1n1 0ARITY0 n 0 0ARITY1 n 1 0ARITY0 n 0 3EGMENT 0ARITY1 n 1 0ARITY0 n 0 3EGMENT 3EGMENT 0ARITY0 n 0 3EGMENT 3EGMENT 0ARITY1 n 1 2!)$ .OTE0ARITYISDISTRIBUTEDACROSSALLDRIVESINTHEDRIVEGROUP
2!)$ 2!)$ ?
Figure 14 RAID 60 Level Virtual Drive
RAID Configuration Strategies
The following factors in RAID drive group configuration are most important: Virtual drive availability (fault tolerance) Virtual drive performance Virtual drive capacity You cannot configure a virtual drive that optimizes all three factors, but it is easy to choose a virtual drive configuration that maximizes one factor at the expense of another factor. For example, RAID 1 (mirroring) provides excellent fault tolerance, but requires a redundant drive. The following subsections describe how to use the RAID levels to maximize virtual drive availability (fault tolerance), virtual drive performance, and virtual drive capacity.
LSI Corporation - 37 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Configuration Strategies
2.6.1
Maximizing Fault Tolerance
Fault tolerance is achieved through the ability to perform automatic and transparent rebuilds using hot spare drives and hot swaps. A hot spare drive is an unused online available drive that the RAID controller instantly plugs into the system when an active drive fails. After the hot spare is automatically moved into the RAID drive group, the failed drive is automatically rebuilt on the spare drive. The RAID drive group continues to handle requests while the rebuild occurs. A hot swap is the manual substitution of a replacement unit in a disk subsystem for a defective one, where the substitution can be performed while the subsystem is running hot swap drives. Auto-Rebuild in the WebBIOS Configuration Utility allows a failed drive to be replaced and automatically rebuilt by “hot-swapping” the drive in the same drive bay. The RAID drive group continues to handle requests while the rebuild occurs, providing a high degree of fault tolerance and zero downtime.
Table 15 RAID Levels and Fault Tolerance
0
RAID Level
1 5 6 00 10 50 60
Fault Tolerance
Does not provide fault tolerance. All data is lost if any drive fails. Disk striping writes data across multiple drives instead of just one drive. It involves partitioning each drive storage space into stripes that can vary in size. RAID 0 is ideal for applications that require high performance but do not require fault tolerance.
Provides complete data redundancy. If one drive fails, the contents of the other drive in the drive group can be used to run the system and reconstruct the failed drive. The primary advantage of disk mirroring is that it provides 100 percent data redundancy. Because the contents of the drive are completely written to a second drive, no data is lost if one of the drives fails. Both drives contain the same data at all times. RAID 1 is ideal for any application that requires fault tolerance and minimal capacity. Combines distributed parity with disk striping. Parity provides redundancy for one drive failure without duplicating the contents of entire drives. If a drive fails, the RAID controller uses the parity data to reconstruct all missing information. In RAID 5, this method is applied to entire drives or stripes across all drives in a drive group. Using distributed parity, RAID 5 offers fault tolerance with limited overhead.
Combines distributed parity with disk striping. RAID 6 can sustain two drive failures and still maintain data integrity. Parity provides redundancy for two drive failures without duplicating the contents of entire drives. If a drive fails, the RAID controller uses the parity data to reconstruct all missing information. In RAID 6, this method is applied to entire drives or stripes across all of the drives in a drive group. Using distributed parity, RAID 6 offers fault tolerance with limited overhead.
Does not provide fault tolerance. All data in a virtual drive is lost if any drive in that virtual drive fails. Disk striping writes data across multiple drives instead of just one drive. It involves partitioning each drive storage space into stripes that can vary in size. RAID 00 is ideal for applications that require high bandwidth but do not require fault tolerance.
Provides complete data redundancy using striping across spanned RAID 1 drive groups. RAID 10 works well for any environment that requires the 100 percent redundancy offered by mirrored drive groups. RAID 10 can sustain a drive failure in each mirrored drive group and maintain data integrity. Provides data redundancy using distributed parity across spanned RAID 5 drive groups. RAID 50 includes both parity and disk striping across multiple drives. If a drive fails, the RAID controller uses the parity data to re-create all missing information. RAID 50 can sustain one drive failure per RAID 5 drive group and still maintain data integrity.
Provides data redundancy using distributed parity across spanned RAID 6 drive groups. RAID 60 can sustain two drive failures per RAID 6 drive group and still maintain data integrity. It provides the highest level of protection against drive failures of all of the RAID levels. RAID 60 includes both parity and disk striping across multiple drives. If a drive fails, the RAID controller uses the parity data to re-create all missing information.
2.6.2
Maximizing Performance
A RAID disk subsystem improves I/O performance. The RAID drive group appears to the host computer as a single storage unit or as multiple virtual units. I/O is faster because drives can be accessed simultaneously. The following table describes the performance for each RAID level.
LSI Corporation - 38 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Configuration Strategies
Table 16 RAID Levels and Performance
0
RAID Level
1 5 6 00 10 50 60
Performance
RAID 0 (striping) offers excellent performance. RAID 0 breaks up data into smaller blocks and then writes a block to each drive in the drive group. Disk striping writes data across multiple drives instead of just one drive. It involves partitioning each drive storage space into stripes that can vary in size from 8 KB to 1024 KB. These stripes are interleaved in a repeated sequential manner. Disk striping enhances performance because multiple drives are accessed simultaneously.
With RAID 1 (mirroring), each drive in the system must be duplicated, which requires more time and resources than striping. Performance is impaired during drive rebuilds.
RAID 5 provides high data throughput, especially for large files. Use this RAID level for any application that requires high read request rates, but low write request rates, such as transaction processing applications, because each drive can read and write independently. Because each drive contains both data and parity, numerous writes can take place concurrently. In addition, robust caching algorithms and hardware-based exclusive-or assist make RAID 5 performance exceptional in many different environments. Parity generation can slow the write process, making write performance significantly lower for RAID 5 than for RAID 0 or RAID 1. Drive performance is reduced when a drive is being rebuilt. Clustering can also reduce drive performance. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes. RAID 6 works best when used with data that requires high reliability, high request rates, and high data transfer. It provides high data throughput, data redundancy, and very good performance. However, RAID 6 is not well suited to tasks requiring a lot of writes. A RAID 6 virtual drive has to generate two sets of parity data for each write operation, which results in a significant decrease in performance during writes. Drive performance is reduced during a drive rebuild. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes. RAID 00 (striping in a spanned drive group) offers excellent performance. RAID 00 breaks up data into smaller blocks and then writes a block to each drive in the drive groups. Disk striping writes data across multiple drives instead of just one drive. Striping involves partitioning each drive storage space into stripes that can vary in size from 8 KB to 1024 KB. These stripes are interleaved in a repeated sequential manner. Disk striping enhances performance because multiple drives are accessed simultaneously.
RAID 10 works best for data storage that need the enhanced I/O performance of RAID 0 (striped drive groups), which provides high data transfer rates. Spanning increases the capacity of the virtual drive and improves performance by doubling the number of spindles. The system performance improves as the number of spans increases. (The maximum number of spans is 8.) As the storage space in the spans is filled, the system stripes data over fewer and fewer spans, and RAID performance degrades to that of a RAID 1 or RAID 5 drive group.
RAID 50 works best when used with data that requires high reliability, high request rates, and high data transfer. It provides high data throughput, data redundancy, and very good performance. Spanning increases the capacity of the virtual drive and improves performance by doubling the number of spindles. The system performance improves as the number of spans increases. (The maximum number of spans is 8.) As the storage space in the spans is filled, the system stripes data over fewer and fewer spans and RAID performance degrades to that of a RAID 1 or RAID 5 drive group.
RAID 60 works best when used with data that requires high reliability, high request rates, and high data transfer. It provides high data throughput, data redundancy, and very good performance. Spanning increases the capacity of the virtual drive and improves performance by doubling the number of spindles. The system performance improves as the number of spans increases. (The maximum number of spans is 8.) As the storage space in the spans is filled, the system stripes data over fewer and fewer spans, and RAID performance degrades to that of a RAID 1 or RAID 6 drive group.
RAID 60 is not well suited to tasks requiring a lot of writes. A RAID 60 virtual drive has to generate two sets of parity data for each write operation, which results in a significant decrease in performance during writes. Drive performance is reduced during a drive rebuild. Environments with few processes do not perform as well because the RAID overhead is not offset by the performance gains in handling simultaneous processes.
2.6.3
Maximizing Storage Capacity
Storage capacity is an important factor when selecting a RAID level. There are several variables to consider. Striping alone (RAID 0) requires less storage space than mirrored data (RAID 1) or distributed parity (RAID 5 or RAID 6). RAID 5, which provides redundancy for one drive failure without duplicating the contents of entire drives, requires less space than RAID 1. The following table explains the effects of the RAID levels on storage capacity.
LSI Corporation - 39 -
MegaRAID SAS Software User Guide June 2012 Chapter 2: Introduction to RAID RAID Availability
Table 17 RAID Levels and Capacity
0
RAID Level
1 5 6 00 10 50 60
Capacity
RAID 0 (striping) involves partitioning each drive storage space into stripes that can vary in size. The combined storage space is composed of stripes from each drive. RAID 0 provides maximum storage capacity for a given set of drives. The usable capacity of a RAID 0 array is equal to the number of drives in the array into the capacity of the smallest drive in the array.
With RAID 1 (mirroring), data written to one drive is simultaneously written to another drive, which doubles the required data storage capacity. This situation is expensive because each drive in the system must be duplicated. The usable capacity of a RAID 1 array is equal to the capacity of the smaller of the two drives in the array.
RAID 5 provides redundancy for one drive failure without duplicating the contents of entire drives. RAID 5 breaks up data into smaller blocks, calculates parity by performing an exclusive-or on the blocks and then writes the blocks of data and parity to each drive in the drive group. The size of each block is determined by the stripe size parameter, which is set during the creation of the RAID set. The usable capacity of a RAID 5 array is equal to the number of drives in the array, minus one, into the capacity of the smallest drive in the array.
RAID 6 provides redundancy for two drive failures without duplicating the contents of entire drives. However, it requires extra capacity because it uses two parity blocks per stripe. This makes RAID 60 more expensive to implement. The usable capacity of a RAID 6 array is equal to the number of drives in the array, minus two, into the capacity of the smallest drive in the array.
RAID 00 (striping in a spanned drive group) involves partitioning each drive storage space into stripes that can vary in size. The combined storage space is composed of stripes from each drive. RAID 00 provides maximum storage capacity for a given set of drives. RAID 10 requires twice as many drives as all other RAID levels except RAID 1. RAID 10 works well for medium-sized databases or any environment that requires a higher degree of fault tolerance and moderate-to medium capacity. Disk spanning allows multiple drives to function like one large drive. Spanning overcomes lack of disk space and simplifies storage management by combining existing resources or adding relatively inexpensive resources.
RAID 50 requires two to four times as many parity drives as RAID 5. This RAID level works best when used with data that requires medium to large capacity.
RAID 60 provides redundancy for two drive failures in each RAID set without duplicating the contents of entire drives. However, it requires extra capacity because a RAID 60 virtual drive has to generate two sets of parity data for each write operation. This situation makes RAID 60 more expensive to implement.
2.7
2.7.1
RAID Availability
RAID Availability Concept
Data availability without downtime is essential for many types of data processing and storage systems. Businesses want to avoid the financial costs and customer frustration associated with failed servers. RAID helps you maintain data availability and avoid downtime for the servers that provide that data. RAID offers several features, such as spare drives and rebuilds, that you can use to fix any drive problems, while keeping the servers running and data available. The following subsections describe these features.
Spare Drives You can use spare drives to replace failed or defective drives in a drive group. A replacement drive must be at least as large as the drive it replaces. Spare drives include hot swaps, hot spares, and cold swaps.
A hot swap is the manual substitution of a replacement unit in a disk subsystem for a defective one, where the substitution can be performed while the subsystem is running (performing its normal functions). The backplane and enclosure must support hot swap in order for the functionality to work.
Hot spare drives are drives that power up along with the RAID drives and operate in a Standby state. If a drive used in a RAID virtual drive fails, a hot spare automatically takes its place, and the data on the failed drive is rebuilt on the hot spare. Hot spares can be used for RAID levels 1, 5, 6, 10, 50, and 60. LSI Corporation - 40 -
MegaRAID SAS Software User Guide June 2012
2.8
2.9
Chapter 2: Introduction to RAID Configuration Planning
NOTE
If a rebuild to a hot spare fails for any reason, the hot spare drive will be marked as “failed.” If the source drive fails, both the source drive and the hot spare drive will be marked as “failed.” A cold swap requires that you power down the system before replacing a defective drive in a disk subsystem.
Rebuilding If a drive fails in a drive group that is configured as a RAID 1, 5, 6, 10, 50, or 60 virtual drive, you can recover the lost data by rebuilding the drive. If you have configured hot spares, the RAID controller automatically tries to use them to rebuild failed drives. Manual rebuild is necessary if hot spares with enough capacity to rebuild the failed drives are not available. You must insert a drive with enough storage into the subsystem before rebuilding the failed drive.
Configuration Planning
Factors to consider when planning a configuration are the number of drives the RAID controller can support, the purpose of the drive group, and the availability of spare drives.
Each type of data stored in the disk subsystem has a different frequency of read and write activity. If you know the data access requirements, you can more successfully determine a strategy for optimizing the disk subsystem capacity, availability, and performance.
Servers that support video-on-demand typically read the data often, but write data infrequently. Both the read and write operations tend to be long. Data stored on a general-purpose file server involves relatively short read and write operations with relatively small files.
Number of Drives
Your configuration planning for the SAS RAID controller depends in part on the number of drives that you want to use in a RAID drive group. The number of drives in a drive group determines the RAID levels that can be supported. Only one RAID level can be assigned to each virtual drive. Drive Group Purpose Important factors to consider when creating RAID drive groups include availability, performance, and capacity. Define the major purpose of the drive group by answering questions related to these factors, such as the following, which are followed by suggested RAID levels for each situation: Will this drive group increase the system storage capacity for general-purpose file and print servers? Use RAID 5, 6, 10, 50, or 60.
Does this drive group support any software system that must be available 24 hours per day? Use RAID 1, 5, 6, 10, 50, or 60.
Will the information stored in this drive group contain large audio or video files that must be available on demand? Use RAID 0 or 00.
Will this drive group contain data from an imaging system? Use RAID 0, 00, or 10.
Fill out the following table to help you plan the drive group configuration. Rank the requirements for your drive group, such as storage space and data redundancy, in order of importance, and then review the suggested RAID levels.
LSI Corporation - 41 -
MegaRAID SAS Software User Guide June 2012
Table 18 Factors to Consider for Drive Group Configuration Requirement
Storage space Data redundancy Drive performance and throughput Hot spares (extra drives required)
Rank Suggested RAID Levels
RAID 0, RAID 5, RAID 00 RAID 5, RAID 6, RAID 10, RAID 50, RAID 60 RAID 0, RAID 00, RAID 10 RAID 1, RAID 5, RAID 6, RAID 10, RAID 50, RAID 60 Chapter 2: Introduction to RAID Number of Drives LSI Corporation - 42 -
MegaRAID SAS Software User Guide June 2012 Chapter 3: SafeStore Disk Encryption Overview
Chapter 3: SafeStore Disk Encryption
This chapter describes the LSI SafeStore Disk Encryption service. The SafeStore Disk Encryption service is a collection of features within LSI storage products that supports self-encrypting disks. SafeStore encryption services supports local key management.
3.1
3.2
Overview
The SafeStore Disk Encryption service offers the ability to encrypt data on drives and use disk-based key management to provide data security. This solution provides data protection in the event of theft or loss of physical drives. With self encrypting drives, if you remove a drive from its storage system or the server in which it is housed, the data on that drive is encrypted and useless to anyone who attempts to access without the appropriate security authorization.
With the SafeStore encryption service, data is encrypted by the drives. You can designate which data to encrypt at the individual virtual disk (VD) level. Any encryption solution requires management of the encryption keys. The security service provides a way to manage these keys. Both the WebBIOS Configuration Utility and the MegaRAID Storage Manager software offer procedures that you can use to manage the security settings for the drives.
Purpose and Benefits
Security is a growing market concern and requirement. MegaRAID customers are looking for a comprehensive storage encryption solution to protect data. You can use the SafeStore encryption service to help protect your data. In addition, SafeStore local key management removes the administrator from most of the daily tasks of securing data, thereby reducing user error and decreasing the risk of data loss. Also, SafeStore local key management supports instant secure erase of drives that permanently removes data when repurposing or decommissioning drives. These services provide a much more secure level of data erasure than other common erasure methods, such as overwriting or degaussing.
3.3
Terminology
The following table describes the terminology related to the SafeStore encryption feature.
Table 19 Terminology used in FDE Option
Authenticated Mode Blob Key backup Password
Description
The RAID configuration is keyed to a user password. The password must be provided on system boot to authenticate the user and facilitate unlocking the configuration for user access to the encrypted data.
A blob is created by encrypting a keys using another key. There are two types of blob in the system – encryption key blob and security key blob.
You need to provide the controller with a lock key if the controller is replaced or if you choose to migrate secure virtual disks. To do this task, you must back up the security key.
An optional authenticated mode is supported in which you must provide a password on each boot to make sure the system boots only if the user is authenticated. Firmware uses the user password to encrypt the security key in the security key blob stored on the controller.
LSI Corporation - 43 -
MegaRAID SAS Software User Guide June 2012
Option
Re-provisioning Security Key Un-Authenticated Mode Volume Encryption Keys (VEK) Chapter 3: SafeStore Disk Encryption Workflow
Description
Re-provisioning disables the security system of a device. For a controller, it involves destroying the security key. For SafeStore encrypted drives, when the drive lock key is deleted, the drive is unlocked and any user data on the drive is securely deleted. This situation does not apply to controller-encrypted drives,
, for information about the instant secure erase feature.
A key based on a user-provided string. The controller uses the security key to lock and unlock access to the secure user data. This key is encrypted into the security key blob and stored on the controller. If the security key is unavailable, user data is irretrievably lost. You must take all precautions to never lose the security key.
This mode allows controller to boot and unlock access to user configuration without user intervention. In this mode, the security key is encrypted into a security key blob, stored on the controller, but instead of a user password, an internal key specific to the controller is used to create the security key blob.
The controller uses the volume encryption keys to encrypt data when a controller-encrypted virtual disk is created. These keys are not available to the user. The firmware uses a unique 512-bit key for each virtual disk. The VEKs for the virtual disks are stored on the physical disks in a VEK blob.
3.4
3.4.1
3.4.1.1
3.4.1.2
Workflow
Enable Security
You can enable security on the controller. After you enable security, you have the option to create secure virtual drives using a security key.
There are three procedures you can perform to create secure virtual drives using a security key: Create the security key identifier Create the security key Create a password (optional) Create the Security Key Identifier The security key identifier appears whenever you enter the security key. If you have multiple security keys, the identifier helps you determine which security key to enter. The controller provides a default identifier for you. You can use the default setting or enter your own identifier.
Create the Security Key
You need to enter the security key to perform certain operations. You can choose a strong security key that the controller suggests.
CAUTION
If you forget the security key, you will lose access to your data.
Create a Password
The password provides additional security. The password should be different from the security key. You can select a setting in the utilities so that you must enter the password whenever you boot your server.
CAUTION
If you forget the password, you will lose access to your data.
When you use the specified security key identifier, security key, and password, security is enabled on the controller.
LSI Corporation - 44 -
MegaRAID SAS Software User Guide June 2012 Chapter 3: SafeStore Disk Encryption Workflow
3.4.2
3.4.2.1
3.4.2.2
3.4.2.3
3.4.3
3.4.3.1
3.4.3.2
Change Security
You can change the security settings on the controller, and you have the option to change the security key identifier, security key, and password. If you have previously removed any secured drives, you still need to supply the old security key to import them.
You can perform three procedures to change the security settings on the controller: Change the security key identifier Change the security key Change a password See Section
security options in the MegaRAID Storage Manager software.
Change the Security Key Identifier
You have the option to edit the security key identifier. If you plan to change the security key, it is highly recommended that you change the security key identifier. Otherwise, you will not be able to differentiate between the security keys.
You can select whether you want to keep the current security key identifier or enter a new one. To change the security key identifier, enter a new security key identifier.
Change the Security Key
You can choose to keep the current security key or enter a new one. To change the security key, you can either enter the new security key or accept the security key that the controller suggests.
Add or Change the Password
You have the option to add a password or change the existing one. To change the password, enter the new password. To keep the existing password, enter the current password. If you choose this option, you must enter the password whenever you boot your server.
This procedure updates the existing configuration on the controller to use the new security settings.
Create Secure Virtual Drives
You can create a secure virtual drive and set its parameters as desired. To create a secure virtual drive, select a configuration method. You can select either simple configuration or advanced configuration.
Simple Configuration
If you select simple configuration, select the redundancy type and drive security method to use for the drive group.
See Section
type and drive security method for a configuration.
Advanced Configuration
If you select advanced configuration, select the drive security method, and add the drives to the drive group.
See Section
Creating a Virtual Drive Using Advanced Configuration
, for the procedures used to import a foreign configuration.
After the drive group is secured, you cannot remove the security without deleting the virtual drives.
LSI Corporation - 45 -
MegaRAID SAS Software User Guide June 2012
3.4.4
Import a Foreign Configuration
Chapter 3: SafeStore Disk Encryption Instant Secure Erase After you create a security key, you can run a scan for a foreign configuration and import a locked configuration. (You can import unsecured or unlocked configurations when security is disabled.) A foreign configuration is a RAID configuration that already exists on a replacement set of drives that you install in a computer system. WebBIOS Configuration Utility and the MegaRAID Storage Manager software allows you to import the existing configuration to the RAID controller or clear the configuration so you can create a new one.
See Section Viewing and Changing Device Properties , for the procedure used to import a foreign configuration in WebBIOS or Section Importing or Clearing a Foreign Configuration , for the procedure in the MegaRAID Storage Manager software.
To import a foreign configuration, you must first enable security to allow importation of locked foreign drives. If the drives are locked and the controller security is disabled, you cannot import the foreign drives. Only unlocked drives can be imported when security is disabled. After you enable the security, you can import the locked drives. To import the locked drives, you must provide the security key used to secure them. Verify whether any drives are left to import as the locked drives can use different security keys. If there are any drives left, repeat the import process for the remaining drives. After all of the drives are imported, there is no configuration to import.
3.5
Instant Secure Erase
Instant Secure Erase is a feature used to erase data from encrypted drives. After the initial investment for an encrypted disk, there is no additional cost in dollars or time to erase data using the Instant Secure Erase feature.
You can change the encryption key for all MegaRAID RAID controllers that are connected to encrypted drives. All encrypted drives, whether locked or unlocked, always have an encryption key. This key is set by the drive and is always active. When the drive is unlocked, the data to host from the drive (on reads) and from the host to the drive cache (on writes) is always provided. However, when resting on the drive platters, the data is always encrypted by the drive.
You might not want to lock your drives because you have to manage a password if they are locked. Even if you do not lock the drives, there is still a benefit to using encrypted disks.
If you are concerned about data theft or other security issues, you might already invest in drive disposal costs, and there are benefits to using SafeStore encryption over other technologies that exist today, both in terms of the security provided and time saved.
If the encryption key on the drive changes, the drive cannot decrypt the data on the platters, effectively erasing the data on the disks. The National Institute of Standards and Technology (http://www.nist.gov) values this type of data erasure above secure erase and below physical destruction of the device.
Consider the following reasons for using instant secure erase.
If you need to repurpose the hard drive for a different application
You might need to move the drive to another server to expand storage elsewhere, but the drive is in use. The data on the drive might contain sensitive data including customer information that, if lost or divulged, could cause an embarrassing disclosure of a security hole. You can use the instant secure erase feature to effectively erase the data so that the drive can be moved to another server or area without concern that old data could be found.
If you need to replace drives
If the amount of data has outgrown the storage system, and there is no room to expand capacity by adding drives, you might choose to purchase upgrade drives. If the older drives support encryption, you can erase the data instantly so the new drives can be used.
If you need to return a disk for warranty activity
LSI Corporation - 46 -
MegaRAID SAS Software User Guide June 2012 Chapter 3: SafeStore Disk Encryption Instant Secure Erase If the drive is beginning to show SMART predictive failure alerts, you might want to return the drive for replacement. If so, the drive must be effectively erased if there is sensitive data. Occasionally a drive is in such bad condition that standard erasure applications do not work. If the drive still allows any access, it might be possible to destroy the encryption key.
LSI Corporation - 47 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Overview
Chapter 4: WebBIOS Configuration Utility
This chapter describes the WebBIOS configuration utility (CU), which enables you to create and manage RAID configurations on LSI SAS controllers.
4.1
4.2
Overview
The WebBIOS configuration utility, unlike the MegaRAID Storage Manager software, resides in the SAS controller BIOS and operates independently of the operating system.
You can use the WebBIOS configuration utility to perform the following tasks: Create drive groups and virtual drives for storage configurations.
Display controller, drive, virtual drive, and battery backup unit (BBU) properties, and change parameters.
Delete virtual drives.
Migrate a storage configuration to a different RAID level.
Detect configuration mismatches.
Import a foreign configuration.
Scan devices connected to the controller.
Initialize virtual drives.
Check configurations for data consistency.
Create a CacheCade configuration.
The WebBIOS configuration utility provides a configuration wizard to guide you through the configuration of virtual drives and drive groups.
Starting the WebBIOS Configuration Utility
To start the WebBIOS configuration utility, perform the following steps: 1.
2.
3.
When the host computer is booting, press and hold down the Ctrl key and press the H key when the following text appears on the dialog: Copyright© LSI Corporation Press
Controller Selection
dialog appears.
If the system has multiple SAS controllers, select a controller.
Click
Start
to continue. The main
WebBIOS Configuration Utility
dialog appears.
NOTE
On systems that do not have the PS2 port, you must enable 'port 60/64 emulation' in the System BIOS to emulate USB as PS2. When this option is disabled on this system, WebBIOS does not work.
LSI Corporation - 48 -
MegaRAID SAS Software User Guide June 2012
4.3
WebBIOS Configuration Utility Main Dialog Options
Chapter 4: WebBIOS Configuration Utility WebBIOS Configuration Utility Main Dialog Options
Figure 15 WebBIOS Configuration Utility Main Dialog
In the right frame, the dialog shows the virtual drives configured on the controller, and the drives that are connected to the controller. In addition, the dialog identifies drives that are foreign or missing.
NOTE
In the list of virtual drives, the drive nodes are sorted based on the order in which you added the drives to the drive group, rather than the physical slot order that displays in the physical trees. The minimum dialog resolution for WebBIOS is 640 x 480.
To toggle between the Physical view and the Logical view of the storage devices connected to the controller, click
Physical View
or
Logical View
in the menu in the left frame. When the Logical View dialog appears, it shows the drive groups that are configured on this controller.
NOTE
Unconfigured Bad drives are only displayed in the Physical View. For drives in an enclosure, the dialog shows the following drive information: Enclosure Slot Interface type (such as SAS or SATA) Drive type (HDD or SSD) Drive size LSI Corporation - 49 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Configuration Utility Main Dialog Options Drive status (such as Online or Unconfigured Good) The toolbar at the top of the WebBIOS configuration utility has the following buttons, as listed in the following table.
Table 20 WebBIOS Configuration Utililty Toolbar Icons Icon Description
Click this icon to return to the main dialog from any other WebBIOS configuration utility dialog.
Click this icon to return to the previous dialog that you were viewing.
Click this icon to exit the WebBIOS configuration utility wizard.
Click this icon to turn off the sound on the onboard controller alarm.
Click this icon to display information about the WebBIOS configuration utility version, bus number, and device number.
The following is a description of the options listed on the left frame of the WebBIOS configuration utility main dialog (the hotkey shortcut for each option is shown in parentheses next to the option name):
Advanced Software Options
(Alt+a): Select this option to enable the advanced features in the controller. For
more information, see section Section 4.4.1
,
Managing MegaRAID Advanced Software Options
.
Controller Selection
(Alt+c): Select this option to view the
Controller Selection
dialog, where you can select a different SAS controller. You can also view information about the controller and the devices connected to it, or create a new configuration on the controller.
Controller Properties
(Alt+p): Select this option to view the properties of the currently selected SAS controller. For more information, see Section
, Viewing Controller Properties
.
Scan Devices
(Alt+s): Select this option to have the WebBIOS configuration utility re-scan the physical and virtual drives for any changes in the drive status or the physical configuration. The WebBIOS configuration utility displays the results of the scan in the physical and virtual drive descriptions.
Virtual Drives
(Alt+v): Select this option to view the
Virtual Drives
dialog, where you can change and view virtual drive properties, delete virtual drives, initialize drives, and perform other tasks. For more information, see
,
Viewing Virtual Drive Properties, Policies, and Operations .
Drives
(Alt+d): Select this option to view the
Drives
dialog, where you can view drive properties, create hot spares, and perform other tasks. For more information, see Section
Configuration Wizard
(Alt+o): Select this option to start the
Configuration Wizard
and create a new storage
configuration, clear a configuration, or add a configuration. For more information, see Section 4.5
, Creating a Storage Configuration
.
Logical View/Physical View
(Alt+l for the Logical view; Alt+h for the Physical view): Select this option to toggle between the
Physical View
dialog and the
Logical View
dialog.
Events
(Alt+e): Select this option to view system events in the
Event Information
dialog. For more information,
,
Viewing System Event Information .
Exit
(Alt+x): Select this option to exit the WebBIOS configuration utility and continue with system boot.
LSI Corporation - 50 -
MegaRAID SAS Software User Guide June 2012
4.4
4.4.1
Managing Software Licensing
Chapter 4: WebBIOS Configuration Utility Managing Software Licensing The MegaRAID advanced software offers the software license key feature to enable the advanced options in WebBIOS. The license key, also known as the
Activation key
is used to transfer the advanced features from one controller to another by configuring the Key Vault.
You need to configure the Advanced Software Options menu present in the WebBIOS main dialog to use the advanced features present in the controller.
Managing MegaRAID Advanced Software Options
Perform the following steps to configure the
Advanced Software Options
wizard to enable the advanced options using the activation key.
1.
Click
Advanced Software Options
menu on the WebBIOS main dialog. The
Advanced Software Options
wizard appears, as shown in the following figure.
Figure 16 Manage MegaRAID Advanced Software Options Wizard NOTE
When you click the
Advanced Software Options
menu in the main WebBIOS dialog, if re-hosting is not required, the
Manage MegaRAID Advanced Software Options
dialog appears; otherwise, if the user decides to opt for the re-hosting process, the
Confirm Re-hosting Process
dialog appears.
The
Activated Advanced Software Options
field consists of
Advanced Software Options
,
License
, and
Mode
columns.
LSI Corporation - 51 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing 2.
3.
4.
— — —
The
Advanced Software Options
column displays the list of advanced software features available in the controller.
The
License
column displays the license details for the list of advanced software options present in the
Advanced Software Options
column. The license details validates if the software is under trial period, or if it can be used without any trial period (Unlimited).
The
Mode
column displays the current status of the advanced software. The current status can be Secured, Not secured, or Factory installed.
Both the
Safe ID
and the
Serial Number
fields consist of a pre-defined value internally generated by the controller.
Click
Activate
.
The Advanced Software Options Summary Wizard appears.
Click
Configure Key Vault
.
The Confirm Re-hosting Process Dialog
appears.
The
Configure Key Vault
button is conditional, and appears in two scenarios.
—
Scenario 1 When features have been transferred from NVRAM to key vault, and no re-hosting is required, the
Configure Key Vault
button is not displayed.
—
Scenario 2 When the re-hosting process needs to be completed, the
Configure Key Vault
button appears.
Click
Deactivate All Trial Software
.
The
Deactivate All Trial Advanced Software Options
dialog appears.
To
deactivate
the software that is being used with a trial key, click
Yes
; otherwise, click
No
.
When the activation key is improper in the
Activation
field in the
Advanced Software Options
wizard, the following messages appear based on the scenarios.
—
Scenario 1 If you enter an
invalid
activation key, the following message appears.
Figure 17 Invalid Activation Key Message —
Scenario 2 If you leave the activation key field
blank
or enter
space
characters, the following message appears.
LSI Corporation - 52 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
Figure 18 Cannot Activate Advanced Software Options Message —
Scenario 3 If you enter an
incorrect
activation key, and if there is a mismatch between the activation key and the controller, the following message appears.
4.4.2
Figure 19 Activation Key Mismatch Message
Reusing the Activation Key
If you are using an existing activated key, the features are transferred to the key vault, and the message appears as shown in the following figure.
4.4.3
Figure 20 Reusing the Activation Key
Managing Advanced Software Summary
When you click
Activate
in
Manage MegaRAID Advanced Software Options
dialog, the
Advanced Software Options Summary
wizard appears, as shown in the following figure.
LSI Corporation - 53 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
4.4.4
Figure 21 Advanced Software Options Summary Wizard
The
Summary
field displays the list of the advanced software options along with their
former status
and
new status
in the controller.
The
Advanced Software Options
column displays the currently available software in the controller.
The
Former Status
column displays the status of the available advanced software prior to entering the activation key.
The
New Status
column displays the status of the available advanced software, after entering the activation key.
Activating an Unlimited Key Over a Trial Key
When you activate an unlimited key over a trial key, the Review the summary and go back if you need to make corrections message appears, as shown in the following figure.
LSI Corporation - 54 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
4.4.5
Figure 22 Activating an Unlimited Key over a Trial Key
Activating a Trial Software
When you activate a trial software, the This trial software expires in 30 days message appears, as shown in the following figure.
4.4.6
Figure 23 Activating a Trial Software Application
Activating an Unlimited Key
When you activate an unlimited key, the Review the summary and go back if you need to make corrections message appears, as shown in the following figure.
LSI Corporation - 55 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
4.4.7
Figure 24 Activating an Unlimited Key
Securing MR Advanced SW
If the advanced software is not secured, when you click the
Configure Key Vault
button in the
Advanced Software Options
wizard, the
WebBIOS Secure MegaRAID Advanced Software Options
dialog box appears, as shown in the following figure.
LSI Corporation - 56 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
4.4.8
Figure 25 Secure Advanced Software Options
Confirm Re-hosting Process
The confirming re-hosting process involves the process of transferring or re-hosting the advanced software features from one controller to another.
When you need to transfer the features from one controller (example, controller 1) to another controller (example, controller 2) and in the controller 2 NVRAM, if there are some features that need to be transferred to key vault, the Confirm Re-hosting Process dialog appears as shown in the following figure.
Perform the following steps to confirm the re-hosting process.
1.
Click the
Configure Key Vault
button in the
Advanced Software Options
wizard.
The
Confirm Re-hosting Process
wizard appears as shown in the following figure.
LSI Corporation - 57 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Software Licensing
4.4.9
Figure 26 Confirm Re-hosting Process Dialog
2.
3.
Select the
I acknowledge that I have completed the re-hosting process in the LSI Advanced Software License Management Portal
check box.
Click
Next
.
The
Manage Advanced Software Options Summary
dialog appears as shown in Figure 21
on page
.
Re-hosting Process Complete
In a scenario where only key vault feature needs to be transferred from controller 1 to controller 2, the
Re-hosting Process Complete
dialog appears as shown in the following figure.
LSI Corporation - 58 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 27 Re-hosting Process Complete Dialog
1.
2.
Select the
I acknowledge that I have completed the re-hosting process in the LSI Advanced Software License Management Portal
check box
.
Click
Next
.
The
Manage MegaRAID Advanced Software Options
wizard appears.
The rehosting process is completed.
NOTE
If you click
Next
in the
Re-hosting Process Complete
dialog, if re-hosting is not complete, the features are not copied into the key vault, and the features remain in the key vault itself, but you can still use the advanced features.
4.5
Creating a Storage Configuration
This section explains how to use the WebBIOS configuration utility
Configuration
wizard to configure RAID drive groups and virtual drives to create storage configurations.
Follow these steps to start the
Configuration
wizard, and select a configuration option and mode: 1.
Click Configuration Wizard on the WebBIOS main dialog. LSI Corporation - 59 -
MegaRAID SAS Software User Guide June 2012 The first
Configuration Wizard
dialog appears, as shown in the following figure.
Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 28 WebBIOS Configuration Wizard Dialog
2.
Select a configuration option.
ATTENTION
f you choose the first or second option, all existing data in the configuration will be deleted. Make a backup of any data that you want to keep before you choose an option.
3.
— — — Clear Configuration
: Clears the existing configuration.
New Configuration
: Clears the existing configuration and lets you create a new configuration.
Add Configuration
: Retains the existing storage configuration and adds new drives to it (this option does not cause any data loss).
Click
Next
.
A dialog box warns that you will lose data if you select
Clear Configuration
or
New Configuration
.
The
Convert JBOD Drives to Unconfigured Drives
dialog appears, as shown in the following figure.
NOTE
The
JBOD Drives to Unconfigured Drives
dialog appears only if the system detects JBOD drives.
LSI Corporation - 60 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 29 JBOD Drives to Unconfigured Good Dialog
4.
Click
Next
.
The
WebBIOS Configuration Method
dialog appears, as shown in the following figure.
LSI Corporation - 61 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 30 WebBIOS Configuration Method Wizard
5.
6.
Select a configuration mode:
— — Manual Configuration
: Allows you to control all attributes of the new storage configuration as you create drive groups and virtual drives, and set their parameters.
Automatic Configuration
: Automatically creates an optimal RAID configuration. If you select
Automatic Configuration
, you can choose whether to create a redundant RAID drive group or a non-redundant RAID 0 drive group. Select one of the following options in the
Redundancy
drop-down list:
— — Redundancy when possible No redundancy
If you select
Automatic Configuration
, you can choose whether to use a drive security method. Select one of the following options in the
Drive Security Method
drop-down list:
— — No Encryption Full Disk Encryption
Click
Next
to continue.
If you select the
Automatic Configuration
radio button, continue with Section, Using Automatic Configuration
. If you select
Manual Configuration
, continue with Section, Using Manual Configuration .
LSI Corporation - 62 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.1
4.5.2
4.5.2.1
Using Automatic Configuration
Follow these instructions to create a configuration with automatic configuration, either with or without redundancy: 1.
2.
3.
When WebBIOS displays the proposed new configuration, review the information on the dialog, and click to accept it. (Or click
Back
to go back and change the configuration.)
— — — — Accept RAID 0
: If you select
Automatic Configuration
and
No Redundancy
, WebBIOS creates a RAID 0 configuration.
RAID 1
: If you select
Automatic Configuration
and
Redundancy when possible
, and only two drives are available, WebBIOS creates a RAID 1 configuration.
RAID 5
: If you select
Automatic Configuration
and
Redundancy when possible
, and three or more drives are available, WebBIOS creates a RAID 5 configuration.
RAID 6
: If you select
Automatic Configuration
and
Redundancy when possible
, and the RAID 6 option is enabled, and three or more drives are available, WebBIOS creates a RAID 6 configuration. Click
Yes
when you are prompted to save the configuration.
Click
Yes
when you are prompted to initialize the new virtual drives.
WebBIOS configuration utility begins a background initialization of the virtual drives.
New RAID 5 virtual drives and new RAID 6 virtual drives require a minimum number of drives for a background initialization to start. If there are fewer drives, the background initialization will not start. The following number of drives is required:
— —
New RAID 5 virtual drives must have at least five drives for a background initialization to start.
New RAID 6 virtual drives must have at least seven drives for a background initialization to start.
Using Manual Configuration
This section contains the procedures for creating RAID drive groups for RAID levels 0, 1, 5, 6, 00, 10, 50, and 60.
Virtual Drive Options
This section explains the virtual drive options that are set using the manual procedures for creating RAID drive groups for RAID levels 0, 1, 5, 6, 00, 10, 50, and 60.
RAID Level
: The drop-down list shows the possible RAID levels for the virtual drive.
— RAID 0
: Select this option for RAID 0.
— — RAID 1
: Select this option for RAID 1.
RAID 5
: Select this option for RAID 5.
— — — — RAID 6
: Select this option for RAID 6.
RAID 00
: Select this option for RAID 00.
RAID 10
: Select this option for RAID 10.
RAID 50
: Select this option for RAID 50.
— RAID 60
: Select this option for RAID 60.
Strip Size
: The strip size is the portion of a stripe that resides on a single drive in the drive group. The stripe consists of the data segments that the RAID controller writes across multiple drives, not including parity drives. For example, consider a stripe that contains 64 KB of drive space and has 16 KB of data residing on each drive in the stripe. In this case, the stripe size is 64 KB, and the strip size is 16 KB. You can set the strip size to
8 KB
,
16 KB
,
32 KB
,
64 KB
,
128 KB
,
256 KB
,
512 KB
, and
1024 KB
. A larger strip size produces higher read performance. If your computer regularly performs random read requests, choose a smaller strip size. The default is
64 KB
.
LSI Corporation - 63 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
NOTE
WebBIOS does not allow you to select
8 KB
as the strip size when you create a RAID 6 drive group with three drives or a RAID 60 drive group with six drives.
Access Policy
: Select the type of data access that is allowed for this virtual drive.
— RW
: Allow read/write access. This is the default.
— — Read Only
: Allow read-only access.
Blocked
: Do not allow access.
Read Policy
: Specify the read policy for this virtual drive.
— No Read Ahead
: This option disables the read ahead capability. This option is the default.
— Always Read Ahead
: This option enables read ahead capability, which allows the controller to read sequentially ahead of requested data and to store the additional data in cache memory, anticipating that the data will be needed soon. This option speeds up reads for sequential data, but there is little improvement when accessing random data.
Write Policy
: Specify the write policy for this virtual drive.
— — — Always Write Back
: In Write back mode, the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a transaction. This setting is recommended in Standard mode.
Write Through
: In Write through mode, the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data in a transaction. This option is the default setting.
Write Back with BBU
: Select this mode if you want the controller to use Write back mode but the controller has no BBU or the BBU is bad. If you do not choose this option, the controller firmware automatically switches to Write through mode if it detects a bad or missing BBU.
NOTE
Write back mode can be used with or without a BBU. Use
either
a battery to protect the controller cache, or an uninterruptible power supply (UPS) to protect the entire system. If you do not use a battery or a UPS, and a power failure occurs, you risk losing the data in the controller cache.
IO Policy
: The IO policy applies to reads on a specific virtual drive. It does not affect the read ahead cache.
— Direct
: In Direct I/O mode, reads are not buffered in cache memory. Data is transferred to the cache and the host concurrently. If the same data block is read again, it comes from cache memory. This option is the default setting.
— Cached
: In Cached I/O mode, all reads are buffered in cache memory.
Drive Cache
: Specify the drive cache policy.
— — Enable
: Enable the drive cache.
Disable
: Disable the drive cache. This option is the default setting.
— Unchanged
: Leave the current drive cache policy as is.
Disable BGI
: Specify the Background Initialization (BGI) status.
— — No
: Leave background initialization enabled, which means that a new configuration can be initialized in the background while you use WebBIOS to perform other configuration tasks. This option is the default setting.
Yes
: Select
Yes
if you do not want to allow background initializations for configurations on this controller.
NOTE
New RAID 5 virtual drives require at least five drives for a background initialization to start. New RAID 6 virtual drives require at least seven drives for a background initialization to start.
Select Size
: Specify the size of the virtual drive in MB, GB, or TB. Usually, this is the full size for RAID 0, RAID1, RAID 5, RAID 6, RAID 00, RAID 10, RAID 50, or RAID 60 shown in the
Configuration
panel on the right. You can specify a smaller size if you want to create other virtual drives on the same drive group.
Update Size
: Click
Update Size
to update the Select size value for the selected RAID levels.
LSI Corporation - 64 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.2
Using Manual Configuration: RAID 0
RAID 0 provides drive striping across all drives in the RAID drive group. RAID 0 does not provide any data redundancy but does offer excellent performance. RAID 0 is ideal for applications that require high bandwidth but do not require fault tolerance. RAID 0 also denotes an independent or single drive.
NOTE
RAID level 0 is not fault-tolerant. If a drive in a RAID 0 drive group fails, the whole virtual drive (all drives associated with the virtual drive) fails.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears. Use this dialog to select drives to create drive groups.
1.
2.
3.
4.
Press and hold the Ctrl key while selecting two or more unconfigured good drives in the until you have selected all desired drives for the drive group.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use power save mode.
Choose whether to use drive encryption.
Drives
panel on the left
Figure 31 Drive Group Definition Dialog
5.
After you finish selecting drives for the drive group, click
Accept DG
.
6.
7.
8.
Click
Next
The
Span Definition
dialog appears. This dialog shows the drive group holes that you can select to add to a span. Under the Array With Free Space frame, select a drive group, and click
Add to SPAN
.
The drive group you select appears in the right frame under Span.
Click
Next
.
.
LSI Corporation - 65 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 9.
The
Virtual Drive Definition
dialog appears, as shown in the following figure. This dialog lists the possible RAID levels for the drive group. Use this dialog to select the RAID level, strip size, read policy, and other attributes for the new virtual drives.
Figure 32 Virtual Drive Definition
10. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
11. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
12. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
13. Click
Next
after you finish defining the virtual drives.
The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 66 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.3
Figure 33 RAID 0 Configuration Preview Dialog
14. Check the information in the
Configuration Preview
dialog.
15. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
16. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
17. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 1
In RAID 1, the RAID controller duplicates all data from one drive to a second drive. RAID 1 provides complete data redundancy, but at the cost of doubling the required data storage capacity. It is appropriate for small databases or any other environment that requires fault tolerance but small capacity.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears. Use this dialog to select drives to create drive groups.
1.
2.
3.
4.
Press and hold the Ctrl key while you select at least two unconfigured good drives in the You must select an even number of drives.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use power save mode.
Choose whether to use drive encryption.
Drives
panel on the left. LSI Corporation - 67 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 34 Drive Group Definition Dialog NOTE
A RAID 1 virtual drive can contain up to 16 drive groups and 32 drives in a single span. (Other factors, such as the type of controller, can limit the number of drives.) You must use two drives in each RAID 1 drive group in the span.
5.
6.
7.
8.
9.
After you finish selecting drives for the drive group, click
Accept DG
.
Click
Next
.
The
Span Definition
dialog appears. This dialog shows the drive group holes that you can select to add to a span. You use this dialog to select the RAID level, strip size, read policy, and other attributes for the new virtual drives.
Under the Array With Free Space frame, select a drive group, and click
Add to SPAN
The drive group you select appears in the right frame under Span.
Click
Next
. The Virtual Drive Definitiondialog appears.
Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
10. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
11. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
12. Click
Next
after you finish defining the virtual drives. The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 68 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.4
Figure 35 RAID 1 Configuration Preview Dialog
13. Check the information in the
Configuration Preview
dialog.
14. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
15. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
16. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 5
RAID 5 uses drive striping at the block level and parity. In RAID 5, the parity information is written to all drives. It is best suited for networks that perform a lot of small input/output (I/O) transactions simultaneously. RAID 5 provides data redundancy, high read rates, and good performance in most environments. It also provides redundancy with lowest loss of capacity.
RAID 5 provides high data throughput. RAID 5 is useful for transaction processing applications because each drive can read and write independently. If a drive fails, the RAID controller uses the parity drive to re-create all missing information. You can use RAID 5 for office automation and online customer service that require fault tolerance. In addition, RAID 5 is good for any application that has high read request rates but low write request rates.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears. You use this dialog to select drives to create drive groups.
1.
Press and hold the Ctrl key while you select at least three unconfigured good drives in the left.
Drives
panel on the LSI Corporation - 69 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 2.
3.
4.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use power save mode.
Choose whether to use drive encryption.
Figure 36 Drive Group Definition Dialog
5.
After you finish selecting drives for the drive group, click
Accept DG
.
6.
7.
Click
Next
The
Span Definition
dialog appears. This dialog shows the drive group holes that you can select to add to a span.
Under the Array With Free Space frame, select a drive group, and click
Add to SPAN
.
The drive group you select appears in the right frame under Span.
8.
Click
Next
.
The Virtual Drive Definitiondialog appears. 9.
Use this dialog to select the RAID level, strip size, read policy, and other attributes for the new virtual drives.
10. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
11. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
12. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
13. Click
Next
after you finish defining the virtual drives. LSI Corporation - 70 -
MegaRAID SAS Software User Guide June 2012 The
Configuration Preview
dialog appears, as shown in the following figure.
Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.5
Figure 37 RAID 5 Configuration Preview Dialog
14. Check the information in the
Configuration Preview
dialog.
15. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Cancel
to end the operation dialogs and return to the WebBIOS main menu, or click
Back
to return to the previous dialogs and change the configuration.
16. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
17. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 6
RAID 6 is similar to RAID 5 (drive striping and distributed parity), except that instead of one parity block per stripe, there are two. With two independent parity blocks, RAID 6 can survive the loss of any two drives in a virtual drive without losing data. Use RAID 6 for data that requires a very high level of protection from loss. RAID 6 is best suited for networks that perform a lot of small input/output (I/O) transactions simultaneously. It provides data redundancy, high read rates, and good performance in most environments.
In the case of a failure of one drive or two drives in a virtual drive, the RAID controller uses the parity blocks to recreate all of the missing information. If two drives in a RAID 6 virtual drive fail, two drive rebuilds are required, one for each drive. These rebuilds do not occur at the same time. The controller rebuilds one failed drive, and then the other failed drive. LSI Corporation - 71 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
NOTE
Integrated MegaRAID displays new drives as Just a Bunch of Disks (JBOD). For MegaRAID, unless the inserted drive contains valid DDF metadata, new drives display as JBOD. Rebuilds start only on Unconfigured Good drives, so you have to change the new drive state from JBOD to Unconfigured Good to start a rebuild.
When you select
Manual Configuration
, and click
Next
, the
WebBIOS Drive Group Definition
dialog appears. You use this dialog to select drives to create drive groups.
1.
2.
3.
4.
Press and hold the Ctrl key while you select at least three unconfigured good drives in the left.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose weather to use power save mode.
Choose whether to use drive encryption.
The drop-down list in the
Encryption
field lists the options.
Drives
panel on the
Figure 38 Drive Group Definition Dialog
5.
After you finish selecting drives for the drive group, click
Accept DG
for each drive.
6.
7.
8.
Click
Next
The
Span Definition
dialog appears. This dialog shows the drive group holes that you can select to add to a span.
Under the Array With Free Space frame, select a drive group, and click
Add to SPAN
.
The drive group you select appears in the right frame under Span.
Click
Next
.
LSI Corporation - 72 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 9.
The Virtual Drive Definitiondialog appears. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
10. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
11. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
12. Click
Next
after you finish defining the virtual drives. The
Configuration Preview
dialog appears, as shown in the following figure.
4.5.2.6
Figure 39 RAID 6 Configuration Preview Dialog
13. Check the information in the
Configuration Preview
dialog.
14. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
15. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
16. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 00
A RAID 00 drive group is a spanned drive group that creates a striped set from a series of RAID 0 drive groups. It breaks up data into smaller blocks and then stripes the blocks of data to RAID 00 drive groups. The size of each block is determined by the stripe size parameter, which is 64 KB.
LSI Corporation - 73 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration RAID 00 does not provide any data redundancy but does offer excellent performance. RAID 00 is ideal for applications that require high bandwidth but do not require fault tolerance. When you select
Manual Configuration
and click
Next
, the
WebBIOS Drive Group Definition
dialog appears.
You use the
Drive Group Definition
dialog to select drives to create drive groups.
1.
2.
3.
4.
5.
Press and hold the Ctrl key while you select unconfigured good drives in the
Drives
panel on the left.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right.
If you need to undo the changes, select the drive and click
Reclaim
.
Click
Accept DG
to create a first drive group.
An icon for the next drive group appears in the right panel.
Press and hold the Ctrl key while you select the same number of unconfigured good drives in the
Drives
panel (that were selected for the first drive group) to create a second drive group.
Click
Add To Array
to move the drives to a second drive group configuration in the
Drive Groups
panel, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
NOTE
RAID 00 supports a maximum of eight spans, with a maximum of 32 drives per span. (Other factors, such as the type of controller, can limit the number of drives.) 6.
7.
8.
Choose whether to use drive encryption.
Choose whether to use power save mode.
Click
Accept DG
to create a second drive group.
LSI Corporation - 74 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 40 Drive Group Definition Dialog
9.
Repeat step
1 through step 5 until you have created all the required drive groups.
10. Click
Next
.
The
Span Definition
dialog appears, as shown in the following figure. This dialog shows the drive group holes that you can select to add to a span.
Figure 41 Span Definition Dialog
11. Under the
Array With Free Space
frame, select a drive group, and then click
Add to SPAN
.
The drive group you select appears in the right frame under
Span
.
12. Repeat the previous steps until you have selected all of the drive groups that you want.
13. Click
Next
.
The Virtual Drive Definitiondialog appears.
14. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section,
15. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
16. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
17. After you finish defining the virtual drives, click
Next
. The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 75 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.7
Figure 42 RAID 00 Configuration Preview Dialog
18. Check the information in the
Configuration Preview
dialog.
19. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Cancel
to end the operation and return to the WebBIOS main menu, or click
Back
to return to the previous dialogs and change the configuration.
20. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
21. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 10
RAID 10, a combination of RAID 1 and RAID 0, has mirrored drives. It breaks up data into smaller blocks, then stripes the blocks of data to each RAID 1 drive group. Each RAID 1 drive group then duplicates its data to its other drive. The size of each block is determined by the stripe size parameter, which is 64 KB. RAID 10 can sustain one drive failure in each drive group while maintaining data integrity. RAID 10 provides both high data transfer rates and complete data redundancy. It works best for data storage that must have 100 percent redundancy of RAID 1 (mirrored drive groups) and that also needs the enhanced I/O performance of RAID 0 (striped drive groups); it works well for medium-sized databases or any environment that requires a higher degree of fault tolerance and moderate to medium capacity.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears.
You use the
Drive Group Definition
dialog to select drives to create drive groups.
1.
Press and hold the Ctrl key while selecting two unconfigured good drives in the
Drives
panel on the left. LSI Corporation - 76 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 2.
3.
4.
5.
6.
7.
8.
Click
Add To Array
to move the drives to a proposed two-drive group configuration in the
Drive Groups
panel on the right.
If you need to undo the changes, select the drive and click
Reclaim
.
Click
Accept DG
to create a first drive group.
An icon for the next drive group appears in the right panel.
Click the icon for the next drive group to select it.
Press and hold the Ctrl key while selecting same number of unconfigured good drives in the
Drives
panel to create a second RAID 1 drive group with two drives.
Click
Add To Array
to move the drives to a second drive group configuration in the
Drive Groups
panel, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use power saving.
Choose whether to use drive encryption.
NOTE
RAID 10 supports a maximum of eight spans, with a maximum of 32 drives per span. (Other factors, such as the type of controller, can limit the number of drives.) You must use an even number of drives in each RAID 10 drive group in the span.
Figure 43 Drive Group Definition Dialog
9.
Repeat step
through step 6 until you have created all the required drive groups.
10. Click
Next
.
The
Span Definition
dialog appears, as shown in the following figure. This dialog displays the drive group holes you can select to add to a span.
LSI Corporation - 77 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 44 Span Definition Dialog
11. Under the
Array With Free Space
column, select a drive and click
Add to SPAN
.
The drive group you select displays in the right frame under the heading
Span
.
12. Select another drive group and click
Add to SPAN
. If there are additional drive groups with two drives each, you can add them to the Span.
13. Click
Next
.
The Virtual Drive Definitiondialog appears.
NOTE
The WebBIOS Configuration Utility shows the maximum available capacity while creating the RAID 10 drive group. In version 1.03 of the utility, the maximum size of the RAID 10 drive group is the sum total of the two RAID 1 drive groups. In version 1.1, the maximum size is the size of the smaller drive group multiplied by 2.
14. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section,
15. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
16. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
17. After you finish defining the virtual drives, click
Next
. The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 78 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.8
Figure 45 RAID 10 Configuration Preview Dialog
18. Check the information in the
Configuration Preview
dialog.
19. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Cancel
to end the operation and return to the WebBIOS main menu, or click
Back
to return to the previous dialogs and change the configuration.
20. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
21. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 50
RAID 50 provides the features of both RAID 0 and RAID 5. RAID 50 uses both distributed parity and drive striping across multiple drive groups. It provides high data throughput, data redundancy, and very good performance. It is best implemented on two RAID 5 drive groups with data striped across both drive groups. Though multiple drive failures can be tolerated, only one drive failure can be tolerated in each RAID 5 level drive group. RAID 50 is appropriate when used with data that requires high reliability, high request rates, high data transfer, and medium-to-large capacity.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears. You use this dialog to select drives to create drive group.
1.
2.
Press and hold the Ctrl key while selecting at least three unconfigured good drives in the
Drives
panel on the left.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right.
LSI Corporation - 79 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 3.
4.
5.
6.
7.
If you need to undo the changes, select the drive and click
Reclaim
.
Click
Accept DG
to create a first drive group.
An icon for a second drive group appears in the right panel.
Press and hold the Ctrl key while selecting the same number of unconfigured good drives in the
Drives
panel (that were selected for the first drive group) to create a second drive group.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use drive encryption.
Choose whether to use power save mode.
Figure 46 Drive Group Definition Dialog
8.
Repeat step 1 though step 5 until you have created all the required drive groups.
9.
After you finish selecting drives for the drive groups, select each drive group and click
Accept DG
for each drive group.
10. Click
Next
.
The
Span Definition
dialog appears, as shown in the following figure. This dialog displays the drive group holes you can select to add to a span.
LSI Corporation - 80 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 47 Span Definition Dialog
11. Under the
Array With Free Space
column, select a drive group of three or more drives and click
Add to SPAN
.
The drive group you select displays in the right frame under the heading
Span
.
12. Select another drive group and click
Add to SPAN
. If there are additional drive groups with three drives each, you can add them to the span. 13. Click
Next
.
The Virtual Drive Definition dialog appears.
14. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
15. Click
Accept
to accept the changes to the virtual drive definition. A confirmation dialog appears.
16. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
17. Click
Next
after you finish defining the virtual drives. The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 81 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
4.5.2.9
Figure 48 RAID 50 Configuration Preview Dialog
18. Check the information in the
Configuration Preview
dialog.
19. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
20. If you accept the configuration, click
Yes
at the prompt to save the configuration.
Another confirmation for initialization appears.
21. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
Using Manual Configuration: RAID 60
RAID 60 provides the features of both RAID 0 and RAID 6, and includes both parity and drive striping across multiple drive groups. RAID 6 supports two independent parity blocks per stripe. A RAID 60 virtual drive can survive the loss of two drives in each of the RAID 6 sets without losing data. RAID 60 is best implemented on two RAID 6 drive groups with data striped across both drive groups. Use RAID 60 for data that requires a very high level of protection from loss. RAID 60 can support up to eight spans and tolerate up to 16 drive failures, though less than total drive capacity is available. Two drive failures can be tolerated in each RAID 6 level drive group.
RAID 60 is appropriate when used with data that requires high reliability, high request rates, high data transfer, and medium-to-large capacity.
When you select
Manual Configuration
and click
Next
, the
Drive Group Definition
dialog appears. You use this dialog to select drives to create drive groups.
1.
Press and hold the Ctrl key while selecting at least three unconfigured good drives in the
Drives
panel on the left.
LSI Corporation - 82 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration 2.
3.
4.
5.
6.
7.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right.
If you need to undo the changes, select the drive and click
Reclaim
.
Click
Accept DG
to create a first drive group.
An icon for a second drive group appears in the right panel.
Press and hold the Ctrl key while selecting the same number of unconfigured good drives in the
Drives
panel (that were selected for the first drive group) to create a second drive group.
Click
Add To Array
to move the drives to a proposed drive group configuration in the
Drive Groups
panel on the right, as shown in the following figure.
If you need to undo the changes, select the drive and click
Reclaim
.
Choose whether to use power saving.
Choose whether to use drive encryption.
Figure 49 Drive Group Definition Dialog
8.
9.
Repeat step 1 through step 5 until you have created all the required drive groups.
After you finish selecting drives for the drive groups, select each drive group and click
Accept DG
for each drive group.
10. Click
Next
.
The
Span Definition
dialog appears, as shown in the following figure. This dialog displays the drive group holes you can select to add to a span.
LSI Corporation - 83 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Creating a Storage Configuration
Figure 50 WebBIOS Span Definition Dialog
11. Under the heading
Array With Free Space
, select a drive group and click
Add to SPAN
.
The drive group you select displays in the right frame under the heading
Span
.
12. Select another drive group and click
Add to SPAN
. if there are additional drive groups with three drives each, you can add them to the span. 13. Click
Next
.
The Virtual Drive Definition dialog appears.
14. Change the virtual drive options from the defaults listed on the dialog as needed.
NOTE
For specific information about virtual drive options, see Section Virtual Drive Options .
15. Click
Accept
to accept the changes to the virtual drive definition.
A confirmation dialog appears.
16. To confirm your changes, click
Yes
. Otherwise, to undo the changes, select the virtual drive and click
Reclaim
.
17. Click
Next
after you finish defining virtual drives. The
Configuration Preview
dialog appears, as shown in the following figure.
LSI Corporation - 84 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 51 RAID 60 Configuration Preview Dialog
18. Check the information in the
Configuration Preview
dialog.
19. If the virtual drive configuration is acceptable, click
Accept
to save the configuration. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
20. If you accept the configuration, click
Yes
at the prompt to save the configuration. Another confirmation for initialization appears.
21. Click
No
to view the WebBIOS main menu. Otherwise, click
Yes
and the initialization process takes place, and the WebBIOS Config Utility Virtual Drive dialog appears.
4.6
4.6.1
CacheCade Configuration
This section contains the procedures for creating CacheCadeRAID virtual drives for the CacheCade advanced software feature.
NOTE
This procedure does not create a RAID configuration. It creates a CacheCade software virtual drive that functions as a secondary tier of cache.
Creating a MegaRAID CacheCade Configuration
The MegaRAID CacheCade software provides you with read caching capability.
LSI Corporation - 85 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration Perform the following steps to create a CacheCade Read drive group: 1.
2.
Click
Configuration Wizard
on the WebBIOS main dialog.
The first Configuration Wizard screen appears, as shown in the WebBIOS Configuration Wizard dialog.
Add Configuration
is selected by default.
Click
Next
.
The
Select Configuration Wizard
dialog appears, as shown in the following figure.
Figure 52 WebBIOS Select Configuration Wizard Dialog
3.
Select the
CacheCade(TM)–SSD Caching Configuration
and click
Next
.
The
Drive Group Definition
dialog appears.
LSI Corporation - 86 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 53 Drive Group Definition
4.
5.
6.
Select a drive from the left frame, and click Click
Next
.
The
Span Definition
dialog appears.
Add To Array
Click
Accept DG
. A drive group is created and appears in
Drive Groups
.
.
The selected drive now appears in
Drive Groups
, and the
Accept DG
button appears.
LSI Corporation - 87 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 54 Span Definition Dialog
7.
8.
Select an array with free space from the drop-down list, and click
Select Array
.
The selected array moves to the right frame under the heading
Selected Array
.
Click
Next
.
The
Create CacheCade - SSD Caching Disk
dialog appears, as shown in the following figure.
LSI Corporation - 88 -
MegaRAID SAS Software User Guide June 2012
Figure 55 SSD Caching Disk Dialog
9.
Click
Accept
to accept the drive group.
If you need to undo the changes, click
Reclaim
.
The
Config Wizard-Preview
dialog appears, as shown in the following figure.
Chapter 4: WebBIOS Configuration Utility CacheCade Configuration LSI Corporation - 89 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2
Figure 56 CacheCade Configuration Preview Dialog
10. Click
Accept
if the configuration is correct. Otherwise, click
Back
to return to the previous dialogs and change the configuration.
11. If you accept the configuration, click
Yes
at the prompt to save the configuration.
The CacheCade virtual drive appears in the right pane of the main WebBIOS dialog.
Creating a MegaRAID CacheCade Pro 2.0 Software Configuration
The MegaRAID CacheCade Pro 2.0 software provides you with read and write caching capability.
Perform the following steps to create a CacheCade Pro 2.0 drive group: 1.
Click
Configuration Wizard
on the WebBIOS CU main screen.
The
WebBIOS Configuration
Wizard appears.
Add Configuration
is selected by default. LSI Corporation - 90 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 57 WebBIOS Configuration Wizard
2.
Click
Next
.
The
Select Configuration
screen appears.
LSI Corporation - 91 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 58 Select Configuration
3.
Select
CacheCade(TM) - SSD Caching Configuration
and click
Next
.
LSI Corporation - 92 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 59 Drive Group Definition
4.
5.
6.
Select a drive from the left frame, and click Click
Next
.
The
Span Definition
screen appears.
Add To Array
Click
Accept DG
.
A drive group is created and appears in
Drive Groups
.
.
The selected drive now appears in
Drive Groups
, and the
Accept DG
button appears.
LSI Corporation - 93 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
Figure 60 Span Definition
7.
8.
Select an array from
Array With Free Space
and click
Select Array
. Click
Next
.
9.
Select a RAID level from the
RAID Level
drop-down list.
10. Select a write policy from the
Write Policy
drop-down list.
— — — Write Back
: In Write Back mode, the CacheCade virtual drive is used for both read as well as write cache. However, if the CacheCade virtual drive becomes degraded, the CacheCade virtual drive will be used only as read cache. This is the default write policy.
Write Through
: In Write Through mode, the CacheCade virtual drive is used as read only cache.
Always Write Back
: In Always Write Back mode, the CacheCade virtual drive is used for both read and write cache.
11. Click
Accept
.
A confirmation screen appears asking you to confirm your selections.
12. Click
Yes
to confirm and click
Next
.
The
Configuration Preview
screen appears.
13. Click
Accept
.
A confirmation screen appears asking if you want to save your configuration.
14. Click
Yes
.
Your configuration is saved, and you are taken back to the WebBIOS CU main screen. The new CacheCade drive group appears in the frame under
Logical View
.
LSI Corporation - 94 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2.1
Modifying CacheCade Pro 2.0 Virtual Drive Properties
You can modify the default write policy of a CacheCade virtual drive. You can also delete a CacheCade virtual drive.
Perform the following steps to modify the CacheCade virtual drive properties: 1.
In the WebBIOS CU main screen, click the CacheCade virtual drive whose properties you want to modify.
The
CacheCade Virtual Drive Properties
screen appears.
4.6.2.2
Figure 61 CacheCade Virtual Drive Properties
2.
To modify the default write policy of a Cachecade virtual drive, select a write policy from the drop-down list.
Default write policy
3.
4.
To delete a CacheCade virtual drive, click
Delete
, and click
Go
.
Click
Home
to return to the WebBIOS CU main screen.
Enabling or Disabling SSD Caching on a Virtual Drive
You can associate a virtual drive to a cache pool or not by enabling or disabling SSD caching on that virtual drive.
When you enable SSD caching on a virtual drive, that virtual drive becomes associated with an existing or with a future CacheCade virtual drive. When you disable SSD caching on a virtual drive, any associations that the selected virtual drive has with a CacheCade SSD Caching virtual drive is removed. This option is only available when the virtual drive’s caching is currently enabled.
Perform the following steps to enable/disable SSD caching on a virtual drive: 1.
In the WebBIOS CU main screen, click a virtual drive.
The
Virtual Drive Properties
dialog appears.
LSI Corporation - 95 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2.3
Figure 62 Virtual Drive Properties
2.
Select
Adv Opers
and click
Go
.
3.
4.
5.
Select the Click
Go
.
Enable SSD Caching
or
Disable SSD Caching
radio button.
A confirmation page appears asking you to confirm your selection.
Click
Yes
.
Enabling or Disabling SSD Caching on Multiple Virtual Drives
You can enable and disable SSD caching on multiple virtual drives at one time.
When you enable SSD caching on a virtual drive, that virtual drive becomes associated with an existing or with a future CacheCade virtual drive. This option is only available when there is at least one virtual drive in the configuration.
When you disable SSD caching on a virtual drive, any associations that the selected virtual drive has with a CacheCade virtual drive is removed. This option is only available when there is at least one virtual drive in the configuration.
Perform the following steps to enable or disable SSD Caching on multiple virtual drives: 1.
2.
3.
In the WebBIOS CU main screen, click
Controller Properties
Click
Manage
(next to
SSD Caching
).
The
Manage SSD Caching
screen appears.
in the left frame.
The
Controller Properties
screen appears.
Click
Next
until you reach the last controller properties screen.
LSI Corporation - 96 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2.4
Figure 63 WebBIOS CU Manage SSD Caching
4.
5.
All virtual drives that have SSD caching enabled or disabled are listed.
Select the
All
check box and click
Enable
or
Disable
.
— —
Click
Enable
to enable SSD caching on all the virtual drives that are currently disabled.
Click
Disable
to disable SSD caching on all virtual drives that are currently enabled.
A confirmation screen appears asking for your confirmation.
Click
Yes
to continue with disabling SSD caching on all virtual drives.
Enabling SSD Caching on New Virtual Drives
You can enable SSD caching on a virtual drive when the virtual drive is being created in the Create Virtual Drive wizard.
Once the virtual drive has been created using the wizard, the
Manage SSD Caching
screen appears: LSI Corporation - 97 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2.5
Figure 64 WebBIOS CU Manage SSD Caching
By default, all virtual drives are disabled.
Either click
Enable
to enable SSD caching on a virtual drive, or select the
All
check box and click
Enable
to enable SSD caching on all virtual drive.
Clearing Configurations on CacheCade Pro 2.0 Virtual Drives
You can clear all the configurations on a CacheCade virtual drive. 1.
2.
In the WebBIOS CU main screen, click
Configuration Wizard
.
The first screen of the configuration wizard appears.
Select
Clear Configuration
.
A confirmation screen appears.
LSI Corporation - 98 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility CacheCade Configuration
4.6.2.6
Figure 65 Confirmation Page
3.
Click
Yes
to clear the configuration.
If the cache becomes inconsistent before the clear configuration operation is performed, the firmware returns an error code. The Confirm Loss of Cache dialog appears as a follow up dialog to the
Confirm Clear Configuration
dialog. Click
Yes
to clear the configuration.
Removing Blocked Access
At times, an error may occur in the CacheCade virtual drive and this causes a blocked access to the associated virtual drive. It is advisable to wait for sometime for the error in the CacheCade virtual drive to get sorted. You can also try to solve the error in the CacheCade virtual drive and bring it back to an optimal status. Once the Cachecade virtual drive is in an optimal status, the blocked virtual drive returns to its former access policy automatically.
The text Access Blocked gets appended next to the
Optimal
status of the affected virtual drive in the WebBIOS CU main screen. 1.
Click the affected virtual drive to view the
Virtual Drive Properties
screen.
The
Access
field displays Blocked as the access policy, as shown in the following figure.
LSI Corporation - 99 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 66 Virtual Drive Properties - Blocked Access
2.
Select
AdvOpers
and click
Go
.
The Advanced Operations dialog appears.
4.7
Figure 67 Advanced Operations
3.
Select
Remove Blocked Access
and click
Go
. 4.
A confirmation message dialog appears. Click
Yes
to remove blocked access on the virtual drive.
Selecting SafeStore Encryption Services Security Options
The SafeStore Encryption Services feature provides the ability to encrypt data and use disk-based key management for the data security solution. This solution protects your data in case of theft or loss of physical drives. This section describes how to enable, change, or disable the drive security settings, and how to import a foreign configuration.
LSI Corporation - 100 -
MegaRAID SAS Software User Guide June 2012
4.7.1
Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Enabling the Security Key Identifier, Security Key, and Password
Perform the following steps to enable the encryption settings for the security key identifier, security key, and password.
1.
2.
3.
4.
Click
Controller Properties
on the main WebBIOS dialog. The first
Controller Information
dialog appears. Click
Next
till you reach the fourth
Controller Information
dialog.
Click the
Enable
link in
Drive Security
.
An information dialog appears describing drive security.
Click
Next
.
The
Enable Drive Security- Enter Security Key ID
dialog appears as shown in the following figure.
Figure 68 Enable Drive Security-Enter Security KeyID
5.
6.
Either accept the default security key ID, or enter a new security key ID.
Click
Next
.
The
Enable Drive Security - Enter Security Key
dialog appears, as shown in the following figure.
LSI Corporation - 101 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 69 Enable Drive Security – Enter Security Key
7.
8.
Either enter a new drive security key, or click again to confirm.
Suggest
to fill the new security key. Enter the new drive security key The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g. < > @ +). The space character is not permitted.
Click
Next
.
The
Enable Drive Security – Enter Pass Phrase
dialog appears as shown in the following figure. You have the option to provide a pass phrase for additional security.
LSI Corporation - 102 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
4.7.2
Figure 70 Enable Drive Security – Enter Pass Phrase
9.
To use a pass phrase, select the
Use a pass phrase in addition to the security key
check box.
10. Enter a new pass phrase, and enter the new pass phrase again to confirm.
The pass phrase is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g., < > @ +). The space character is not permitted.
NOTE
Non-U.S. keyboard users must be careful not to enter double-byte character set (DBCS) characters in the
Pass Phrase
field or
Security Key
field. Firmware works only with the ASCII character set.
11. Click
Accept
.
The
Confirm Enable Drive Security
dialog appears.
12. Click
Yes
to confirm that you want to enable the drive security settings.
WebBIOS enables the security key ID, the security key, and the pass phrase (if applicable) that you entered and returns you to the WebBIOS main menu.
ATTENTION If you forget the security key, you will lose access to your data.
Be sure to record your security key information. You might need to enter the security key to perform certain operations.
Changing the Security Key Identifier, Security Key, and Pass Phrase
If you selected disk-based encryption when you made the RAID configuration, the drive security is enabled. Perform the following steps to change the encryption settings for the security key identifier, security key, and pass phrase.
LSI Corporation - 103 -
MegaRAID SAS Software User Guide June 2012 1.
2.
3.
Click
Controller Properties
on the main WebBIOS dialog. The first
Controller Information
dialog appears. Click
Next
till you reach the fourth
Controller Information
dialog.
Click the
Change/Disable
link in
Drive Security
.
The
Drive Security
dialog appears.
Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 71 Drive Security
4.
5.
To change the drive security settings, select the
Change drive security settings
radio button and click An Introduction dialog appears describing the process of changing the drive security settings.
Click
Next
.
The
Change Security Settings - Security Key ID
dialog appears, as shown below.
Accept
.
LSI Corporation - 104 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 72 Change Security Settings - Security Key ID
6.
7.
Choose whether to use the existing security key or enter a new security key ID.
—
Use the existing security key identifier (Current security key identifier).
—
Enter a new security key identifier (New security key identifier).
Click
Next
.
The
Change Security Settings – Security Key
dialog appears, as shown in the following figure. You have the option to either use the existing security key or enter a new one.
LSI Corporation - 105 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 73 Change Security Settings - Security Key
8.
To create a new drive security key, either enter a new drive security key in the
New security key
field, or click
Suggest
to fill the new security key.
The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g., < > @ +). The space character is not permitted.
9.
Enter the new drive security key again in the
Confirm
field.
10. Click
Next
The
Change Security Settings – Pass Phrase
dialog appears, as shown in the following figure.
LSI Corporation - 106 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
Figure 74 Change Security Settings - Pass Phrase
11. To use a pass phrase, click the
Use a pass phrase in addition to the security key
check box.
12. Enter a new pass phrase, and enter the new pass phrase again to confirm.
The pass phrase is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g., < > @ +). The space character is not permitted.
Non-U.S. keyboard users must be careful not to enter double-byte character set (DBCS) characters in the
Pass Phrase
field or the
Security Key
field. The firmware works only with the ASCII character set.
13. Click
Accept
.
The
Authenticate Drive Security Settings
dialog appears in either of the two scenarios mentioned below.
— —
If you entered a new pass phrase.
If you entered a new drive security key.
LSI Corporation - 107 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Selecting SafeStore Encryption Services Security Options
4.7.3
Figure 75 Authenticate Drive Security Settings
14. Enter the current security key, and click
OK
.
The text box for the security key can hold up to 32 characters. The key must be at least eight characters. After you enter the correct security key, the
Confirm
dialog appears.
15. Click
Yes
to confirm that you want to change the drive security settings If the current security key is not needed, WebBIOS saves the changes to the security settings and returns you to the main menu. If the current security key is needed, the
Authenticate Drive Security Settings
dialog appears.
Disabling the Drive Security Settings
Perform the following steps to disable the drive security settings.
NOTE
If you disable the drive security settings, you cannot create any new secure virtual drives. Disabling these settings does not affect the security or data of foreign drives. If you removed any drives that were previously secured, you must enter the security key when you import settings.
1.
2.
3.
Click
Controller Properties
on the main WebBIOS dialog. The first
Controller Information
dialog appears. Click
Next
till you reach the fourth
Controller Information
dialog.
Click the
Change/Disable
link in
Drive Security
.
The
Drive Security
dialog appears, as shown in the following figure.
LSI Corporation - 108 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 76 Drive Security Dialog
4.
5.
To disable the drive security settings, select the
Disable drive security
The
Confirm Disable Drive Security Page
dialog appears.
Click
Yes
to confirm that you want to disable the drive security settings.
WebBIOS returns you to the main menu.
radio button and click
Accept
.
4.8
4.8.1
Viewing and Changing Device Properties
This section explains how you can use the WebBIOS configuration utility to view and change the properties for controllers, virtual drives, drives, and BBUs.
Viewing Controller Properties
WebBIOS displays information for one LSI SAS controller at a time. If your computer system has multiple LSI SAS controllers, you can view information for a different controller by clicking Controller Selection on the main WebBIOS dialog. When the
Adapter Selection
dialog appears, select the controller you want from the list.
Follow these steps to view the properties of the currently selected controller.
1.
Click
Controller Properties
on the main WebBIOS dialog. There are four Controller Information dialogs. The following figure shows the first dialog.
LSI Corporation - 109 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 77 First Controller Information Dialog
2.
The information on this dialog is read-only and cannot be modified directly. Most of this information is self explanatory. The dialog lists the number of virtual drives that are already defined on this controller, and the number of drives connected to the controller.
Click
Next
to view the second Controller information dialog, as shown in the following figure.
Figure 78 Second Controller Information Dialog NOTE
If you are using CacheCade Pro 2.0, four additional fields appear in the
Second Controller Information
dialog –
CacheCade SSD Caching
,
Write Cache Capable
,
Total Cache Size
, and
Maximum Cache Size
.
3.
Click
Next
to view the third Controller information dialog, as shown in the following figure.
LSI Corporation - 110 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 79 Third Controller Properties
4.
Click
Next
to view the fourth Controller Information dialog, as shown in the following figure.
Figure 80 Fourth Controller Properties Dialog NOTE
If you are using CacheCade Pro 2.0, an additional field,
SSD Caching
appears in the
Controller Properties
screen.
NOTE
If you have already enabled drive security, instead of the
Enable
link, the
Change/Disable
link appears in front of
Drive Security
.
LSI Corporation - 111 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.1.1
The entries and options that appear in the third and fourth Controller Information dialogs are in the Section
Controller Information Menu Options
.
If you make changes to the options on this dialog, click
Submit
to register them. If you change your mind, click
Reset
to return the options to their default values.
Controller Information Menu Options
The following table describes the entries and options listed on the second and third Controller Information dialog. Leave these options at their default settings to achieve the best performance, unless you have a specific reason for changing them.
Table 21 Controller Information Menu Options Option
Battery Backup Set Factory Defaults Cluster Mode Rebuild Rate BGI Rate CC Rate Reconstruction Rate Controller BIOS NCQ Coercion Mode S.M.A.R.T. Polling Alarm Control Patrol Read Rate Cache Flush Interval Spinup Drive Count Spinup Delay
Description
This entry indicates whether the selected controller has a BBU. If present, you can click
Manage
to view
Use this option to load the default MegaRAID WebBIOS configuration utility settings. The default is
No
.
Use this option to enable or disable Cluster mode. The default is
Disabled.
A cluster is a grouping of independent servers that can access the same data storage and provide services to a common set of clients. When Cluster mode is disabled, the system operates in Standard mode.
Use this option to select the rebuild rate for drives connected to the selected controller. The default is 30 percent. The rebuild rate is the percentage of system resources dedicated to rebuilding a failed drive. The higher the number, the more system resources that are devoted to a rebuild.
Use this option to select the amount of system resources dedicated to background initialization of virtual drives connected to the selected controller. The default is 30 percent.
Use this option to select the amount of system resources dedicated to consistency checks of virtual drives connected to the selected controller. The default is 30 percent.
Use this option to select the amount of system resources dedicated to reconstruction of drives connected to the selected controller. The default is 30 percent.
Use this option to enable or disable the BIOS for the selected controller. The default is
Enabled
. If the boot device is on the selected controller, the BIOS must be enabled; otherwise, the BIOS should be disabled or it might not be possible to use a boot device elsewhere.
Native Command Queuing (NCQ) gives an individual drive the ability to optimize the order in which it executes the read and write commands. The default is
Enabled
. Drive coercion is a tool for forcing drives of varying capacities to the same size so they can be used in a drive group. The coercion mode options are
None
,
128MB-way
, and
1GB-way
. The default is
1GB-way
.
The number you choose depends on how much the drives from various vendors vary in their actual size. Use the 1GB coercion mode option.
Use this option to determine how frequently the controller polls for drives reporting a predictive drive failure (self-monitoring analysis and reporting technology [SMART] error). The default is 300 seconds (5 minutes).
Select this option to enable, disable, or silence the onboard alarm tone generator on the controller. The default is
Enabled
. Use this option to select the rate for patrol reads for drives connected to the selected controller. The default is 30 percent. The patrol read rate is the percentage of system resources dedicated to running a patrol read. Use this option to control the interval (in seconds) at which the contents of the onboard data cache are flushed. The default is 4 seconds.
Use this option to control the number of drives that spin up simultaneously. The default is 4 drives.
Use this option to control the interval (in seconds) between spin up of drives connected to this controller. The delay prevents a drain on the system’s power supply that would occur if all drives spun up at the same time. The default is 12 seconds.
LSI Corporation - 112 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.2
Option
StopOnError Stop CC on Error Maintain PD Fail History Schedule CC Snapshot Disk Activity Manage JBOD Emergency Spare Emergency for SMARTer Drive Security Manage Powersave Link Speed SSD Caching
Description
Enable this option if you want the boot process to stop when the controller BIOS encounters an error during boot-up. The default is
Enabled
.
Enable this option if you want to stop a consistency check when the controller BIOS encounters an error. The default is
No
.
Enable this option to maintain the history of all drive failures. This option is used to keep track of drives that the RAID controller believes have failed. With this feature enabled, the RAID controller will track bad drives and mark them as Unconfigured bad if they return from disconnect or failure. Drives can be marked Unconfigured bad if they are failing or if the RAID controller looses communication with the drive while it is part of a configuration (a virtual drive member or a hot spare). The HBA will loose communication with drives if they are removed while the system is turned on or if SIMs are removed while the system is turned on. The default is
Enabled
.
Indicates whether the option to schedule the date and time for a consistency check is supported.
Use this option to create a snapshot of a volume. MegaRAID Recovery, also known as Snapshot, offers a simplified way to recover data and provides automatic protection for the boot volume. You can use the Recovery feature to take a snapshot of a volume and to restore a volume or file. Snapshot functionality allows you to capture data changes to the volume, and, if data is deleted accidentally or maliciously, restore the data from the view or roll back to a snapshot at a previous point-in-time (PiT). MegaRAID Recovery supports up to eight snapshots of PiTs for each volume. Enable this property if you want to locate a particular disk. This disk can be identified with a continuous blinking of green activity LED. This works only if the disks are installed in a enclosure.
Converting the multiple JBOD drives to unconfigured drive at single selection.
Use this option to specify if it is acceptable to commission unconfigured good drives or global hotpares as emergency spare drives. Use this option to specify if it is acceptable to commission emergency hot spare drives for predictive failure analysis (PFA) events. Use this option to encrypt data on the drives and use disk-based key management for the data security solution. This solution protects your data in case of theft or loss of physical drives. Use this option to reduce the power consumption of drives that are not in use, by spinning down the unconfigured drives, hot spares, and configured drives.
Use this option to change the link speed between the controller and an expander or between the controller and a drive that is directly connected to the controller.
Click on this link to invoke the
Manage SSD Caching
screen to enable and disable SSD caching on multiple virtual drives at one time.
Viewing Virtual Drive Properties, Policies, and Operations
WebBIOS displays properties, policies, and operations for virtual drives. To view these items for the currently selected virtual drive, click on a virtual drive icon in the right panel on the WebBIOS Configuration utility main dialog.
The
Virtual Drive
dialog appears, as shown in the following figure.
LSI Corporation - 113 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 81 Virtual Drive Dialog
The Properties panel of this dialog displays the virtual drive’s RAID level, state, capacity, strip size, and metadata size. The Policies panel lists the virtual drive policies that were defined when the storage configuration was created. For information about these policies, see Section,
. To change any of these policies, make a selection from the drop-down list, and click
Change
.
The Operations panel lists operations that can be performed on the virtual drive. To perform an operation, select it, and click
Go
. Choose from the following options: Select
Delete
to delete this virtual drive. For more information, see Section, Deleting a Virtual Drive .
Select
Locate
to make the LEDs blink on the drives used by this virtual drive. This action works only if the drives are installed in a drive enclosure that supports SCSI-Accessed-Fault-Tolerant-Enclosure (SAFTE).
Select
Fast Init
or
Slow Init
to initialize this virtual drive. A fast initialization quickly writes zeroes to the first and last 10-MB regions of the new virtual drive and then completes the initialization in the background. A slow initialization is not complete until the entire virtual drive has been initialized with zeroes. It is seldom necessary to use this option, because the virtual drive was already initialized when you created it.
ATTENTION
Before you run an initialization, back up any data on the virtual drive that you want to save. All data on the virtual drive is lost when you initialize the drive.
Select
CC
Select
Stop Locate
to stop the LED flash on the drive. This works only if the drive is installed in a drive enclosure.
Select
Adv Opers
to access dialogs to remove drives, migrate RAID levels (that is, change the virtual drive configuration by adding a drive and changing the RAID level), virtual drive erase, enable/disable SSD Caching, and to remove blocked access.
See Section,
Migrating the RAID Level of a Virtual Drive
, for information about adding a drive to a virtual drive or
LSI Corporation - 114 -
MegaRAID SAS Software User Guide June 2012
4.8.3
Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties Select
Expand
to increase the size of a virtual drive to occupy the remaining capacity in the drive group. See Section,
Viewing and Expanding a Virtual Drive
, for the procedure you can use to expand a virtual drive.
Viewing Drive Properties
The
Physical Drive
dialog displays the properties of a selected drive and enables you to perform operations on the drive. There are two ways to access the
Physical Drive
dialog: On the main menu dialog, click on a drive in the right panel under the heading
Physical View
.
On the main menu dialog, click on
Drives
in the left panel to display the
Drives
dialog. Then click on a drive in the right panel. Click the
Properties
button, and click
Go
. The properties for the selected drive are displayed.
The following figure shows the
Physical Drive
dialog.
Figure 82 Physical Drive Dialog
The drive properties are read-only and are self-explanatory. Note that the properties include the state of the drive. Operations you can perform are listed at the bottom of the dialog. After you select an operation, click
Go
to start the operation. The operations vary depending on the drive state. If the drive state is Online, the following operations appear.
Select
MakeDriveOffline
if you want to force the drive offline.
LSI Corporation - 115 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.4
4.8.4.1
4.8.4.2
NOTE
If you force offline a good drive that is part of a redundant drive group with a hot spare, the drive will rebuild to the hot spare drive. The drive you forced offline will go into the Unconfigured Bad state. Access the BIOS utility to set the drive to the Unconfigured Good state.
Select
Locate
to make the LED flash on the drive. This operation works only if the drive is installed in a drive enclosure.
If the drive state is Unconfigured Good, the following additional operations appear on this dialog.
Select
Make Global HSP
to make a global hot spare, which is available to all of the virtual drives.
Select
Make Dedicated HS
P to make a hot spare dedicated to a specific virtual drive.
WebBIOS displays the global hot spare as Global and the dedicated hot spare as Ded . The icon for the dedicated hot spare appears under its associated virtual drive. The drive number, drive state, drive capacity, and drive manufacturer appear.
Select
Enclosure Affinity
so drive failures are present on a split backplane configuration, then the hot spare will be used first on the backplane side in which it resides.
Select
Prepare for Removal
to prepare the drive for removal from the enclosure.
The
Prepare for Removal
feature is different from spinning a drive down into power save mode because it also involves flagging the drive as ready to remove. Therefore, if you choose to prepare a drive for removal, selecting
Ready to Remove
displays in the device tree for that drive, instead of
Powersave
. Select
Stop Locate
to stop the LED flash on the drive. This works only if the drive is installed in a drive enclosure.
Select
Drive Erase
to securely erase data on non self-encrypting drives (Non-SED), which are normal HDDs.
Shield State
Physical devices in MegaRAID firmware transit between different states. If the firmware detects a problem or a communication loss for a physical drive, the firmware transitions the drive to a bad (FAILED or UNCONF BAD) state. To avoid transient failures, an interim state called the shield state is introduced before marking the drive as being in a bad state.
The shield state is an interim state of a physical drive for diagnostic operations. The results of the diagnostic tests determine if the physical drive is good or bad. If any of the diagnostic tests fail, the physical drive transitions to a bad state (FAILED or UNCONF BAD).
Shield State Physical View
Follow these steps to check if a physical drive is in a Shield state in the Physical view.
1.
Click
Physical View
in the main dialog.
The physical drive that is in a shield state is marked as Shielded.
Logical View Shield State
Follow these steps to view the Shield state in the Logical view.
1.
Click
Logical View
i n the main page.
The physical drive that is in a shield state is marked as Shielded.
The Logical view shield state is shown in the following figure.
LSI Corporation - 116 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.4.3
Figure 83 Logical View Shield State Viewing the Physical Drive Properties of a Drive in Shield State
Follow these steps to view the physical properties of the drive in Shield state.
1.
2.
Click on the
Physical view
tab or the
Logical view
tab in the device tree.
Click the physical drive that is in shield state on the physical or logical view of device tree to view the properties.
The device properties of the drive are displayed as shown in the following figure.
LSI Corporation - 117 -
MegaRAID SAS Software User Guide June 2012
4.8.4.4
Figure 84 Physical Drive Properties of a Drive in Shield State Viewing if Shield State Is Enabled in a Controller
Follow these steps to check if the Shield state is enabled in a controller.
1.
Click
Controller Properties
on the WebBIOS main menu.
The
Shield State Supported
column is displayed, as shown in the following figure.
LSI Corporation - 118 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.5
Figure 85 Shield State Support
Viewing and Changing Battery Backup Unit Information
If your SAS controller has a battery backup unit (BBU), you can view information about it and change some settings. To perform these tasks, follow these steps: 1.
Click
Controller Properties
on the WebBIOS main screen.
The first Controller Information dialog appears, as shown in the following figure.
Figure 86 First Controller Information
2.
Click
Next
.
The second Controller Information dialog appears.
LSI Corporation - 119 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties 3.
Click
Next
to view the third Config Utility Controller Properties dialog. The third Controller Properties dialog appears, as shown in the following figure. The
Battery Backup
field at the top-left of the dialog indicates whether the iBBU is present.
Figure 87 Third Controller Properties
4.
Click
Manage
in the
Battery Backup
field.
The
Battery Properties
dialog appears, as shown in the following figure.
LSI Corporation - 120 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.5.1
Figure 88 Battery Properties
You may click
More Properties
for viewing additional battery properties.
Most of the battery module properties are view-only and are self-explanatory. The lower-part of the dialog contains the battery settings. A
learning cycle
is a battery calibration operation performed by the controller periodically to determine the condition of the battery. You can change the learn delay interval (the length of time between automatic learning cycles) and the auto learn mode.
For information about BBU modes, see Section,
.
BBU Modes
The following table describes each of the BBU modes.
Table 22 BBU Modes
5 6 1 2 3 4
Mode of Operation BBU Mode Description
12 hours retention @ 45 ° C, 5 year Service Life, transparent learn 12 hours retention @ 55 ° C, 3 year Service Life, transparent learn 24 hours retention @ 45 ° C, 3 year Service Life, transparent learn 48 hours retention @ 45 ° C, 3 year Service Life 48 hours retention @ 55 ° C, 1 year Service Life Same as the description for BBU mode 5. The BBU mode 6 enables you to get events when the battery capacity reaches sub-optimal and critical thresholds.
LSI Corporation - 121 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.5.2
Setting the Learn Delay Interval
The learn delay interval is the length of time between automatic learning cycles. Perform the following steps to change the interval: 1.
2.
Go to the Battery Properties dialog.
Click
Schedule a Learn Cycle.
The
Schedule Learn Cycle
dialog appears.
4.8.5.3
Figure 89 Schedule Learn Cycle
3.
Change the number of hours in the
Delay Scheduled learn cycle by
field. 4.
You can delay the start of the learn cycles for up to 168 hours (7 days).
Click
Apply
to save the changes or click
OK
to save the changes and close the dialog.
Setting the Auto Learn Mode
You can start battery learning cycles manually or automatically. The Automatic Learn Cycle modes are: Enable: The firmware tracks the time since the last learning cycle and performs a learn cycle when due.
Disable: The firmware does not monitor or initiate a learning cycle. You can schedule learning cycles manually.
NOTE
After selecting
Disabled
, if you select
Enabled
, the controller firmware resets the battery module properties to initiate an immediate battery learn cycle. However, in the
Next Learn Cycle Time
field, the value
None
is displayed. The
Next Learn Cycle Time
field will not be updated until the battery relearn is completed. Once the relearning cycle is completed, the value in the
Next Learn Cycle Time
field will display the new date and time of the next battery learning cycle.
1.
2.
3.
Warn Via Event: The firmware warns about a pending learning cycle. You can initiate a learning cycle manually. After the learning cycle is complete, the firmware resets the counter and warns you when the next learning cycle time is reached.
Perform the following steps to choose an automatic learn cycle mode: Go to the
Battery Properties
dialog. Open the drop-down list in the
Auto Learn Mode
field.
In the
Automatic Learn Cycle
drop-down, select a mode.
Click
OK
to set the automatic learn cycle mode.
NOTE
When you replace the iBBU, the charge cycle counter is reset automatically.
LSI Corporation - 122 -
MegaRAID SAS Software User Guide June 2012
4.8.6
Managing Link Speed
Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties The Managing Link Speed feature allows you to change the link speed between the controller and an expander or between the controller and a drive that is directly connected to the controller. All phys in a SAS port can have different link speeds or can have the same link speed.
You can select a link speed setting. However, if phys in a SAS port have different link speed settings and if a phy is connected to a drive or an expander, the firmware overrides the link speed setting you have selected and instead uses the common maximum link speed among all the phys.
To change the link speed, perform the following steps: 1.
2.
3.
4.
Click
Controller Properties
on the WebBIOS main menu.
to view this screen.
Click
Next
to access the second Controller Properties screen.
The second Controller Properties screen appears. See
Figure 78 to view this screen.
Click
Next
to access the third Controller Properties screen.
The third Controller Properties screen appears. See
Figure 79 to view this screen.
Click
Next
to access the fourth Controller Properties screen.
The fourth Controller Properties screen appears, as shown in the following figure.
Figure 90 Fourth Controller Properties Screen
5.
Click
Manage
in the
Link Speed
field.
The
Manage Link Speed
dialog box appears, as shown in the following figure.
LSI Corporation - 123 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.7
Figure 91 Manage Link Speed Screen
6.
— — —
The SAS Address column displays the SAS address that uniquely identifies a device in the SAS domain.
The Phy column displays the system-supported phy link values. The phy link values are from 0 through 7.
The Select Link Speed column displays the phy link speeds.
Select the desired link speed from the
Select Link Speed
field using the drop-down selector. The link speed values are Auto,1.5, 3.0 or 6.0 Gbps.
NOTE
By default, the link speed in the controller is
Auto
or the value last saved by the user.
7.
8.
Click
OK
.
The link speed value is now reset. The change takes place after you restart the system. A message box appears asking you to restart your system. Click
OK
.
Viewing Enclosure Properties
Using WebBIOS, you can view the enclosure properties of all of the enclosures connected to the server.
Follow these steps to view enclosure properties.
1.
2.
Go to the Physical view of the WebBIOS Utility.
Click the enclosure node.
The enclosure properties are displayed, as shown in the following figure.
LSI Corporation - 124 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 92 Enclosure Properties
3.
Click
Next
to view additional properties, as shown in the following figure.
Figure 93 Additional Enclosure Properties
4.
Click
More Info
to view additional information on the number of temperature sensors (
), and the number of power supplies ( Figure 96
).
LSI Corporation - 125 -
MegaRAID SAS Software User Guide June 2012
Figure 94 Enclosure More Information – Temperature Sensors
Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
Figure 95 Enclosure More Information – Number of Fans
LSI Corporation - 126 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.8
4.8.8.1
Figure 96 Enclosure More Information – Number of Power Supplies
SSD Disk Cache Policy
MegaRAID supports changes to the write-cache policy for SSD media of individual physical drives. When SSDs are configured in a mixed disk group with HDDs, the
Physical Device Write-Cache Policy
setting of all of the participating drives is changed to match the SSD cache policy setting.
Viewing Cache Properties
Follow these steps to view the
SSD Disk Cache Setting
property.
1.
2.
Click the controller properties link in the main menu. Click
Next
to view the controller properties with
SSD Disk Cache Setting
displayed, as shown in the following figure.
4.8.9
Figure 97 SSD Disk Cache Setting in Controller Properties Dialog
Emergency Spare
When a drive within a redundant virtual drive fails or is removed, the MegaRAID firmware automatically rebuilds the redundancy of the virtual drive by providing a emergency spare drive, even if no commissionable dedicated drive or global hotspare drive is present.
LSI Corporation - 127 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.9.1
Emergency Spare for Physical Drives
The Emergency Spare property indicates whether the drive is currently commissioned as a emergency spare or not. You can select from the options None, UG (Unconfigured Good), GHS (Global Hotspare), or UG and GHS (Unconfigured Good and Global Hotspare).
Follow these steps to view a emergency spare for a drive.
1.
Click the physical drive node in the right panel on the WebBIOS main dialog.
The Emergency spare property of the drive is displayed, as shown in the following figure.
4.8.10
4.8.10.1
Figure 98 Emergency Spare
Emergency Spare for Controllers
The Emergency Spare properties are configured in the controller properties. You can choose from the four options:
Global Hotspare (GHS)
,
Unconfigured Good (UG)
,
Unconfigured Good and Global Hotspare (UG AND GHS)
, and
None
. You can also enable or disable the
Emergency for SMARTer
property.
Setting Controller Emergency Spare Properties
Follow these steps to set the Emergency spare properties for controllers.
1.
2.
From the WebBIOS main menu, click
Controller Properties
.
Keep clicking
Next
till you reach the last controller properties page.
The controller properties dialog appears, as shown in the following figure. You can choose the options (None, UG, GHS, and UG and GHS) from the
Emergency Spare
drop down list.
LSI Corporation - 128 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Changing Device Properties
4.8.10.2
Figure 99 Setting Controller Hotspare Properties Viewing Controller Emergency Spare Properties
Follow these steps to view the controllers’ Emergency Spare properties.
1.
2.
Click the
Controller properties
link in the WebBIOS main menu.
Click
Next
.
The controller’s Emergency spare properties are displayed as shown in the following figure.
4.8.10.3
Figure 100 Viewing Controller Emergency Spare Properties Commissioned Hotspare
The Commissioned Hotspare is used to determine whether the online drive has a Commissioned Hotspare drive assigned to it.
Click the online physical drive node in the right panel on the WebBIOS main dialog to view the Commissioned Hotspare property. LSI Corporation - 129 -
MegaRAID SAS Software User Guide June 2012
4.9
Figure 101 Commissioned Hotspare
Viewing and Expanding a Virtual Drive
Follow these steps to view virtual drive properties: 1.
In the Logical view of the device tree, click the
Virtual Drive Node
.
The virtual drive properties are displayed, as shown in the following figure.
LSI Corporation - 130 Chapter 4: WebBIOS Configuration Utility Viewing and Expanding a Virtual Drive
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing and Expanding a Virtual Drive
Figure 102 Virtual Drive Properties
You can increase the size of a virtual drive to occupy the remaining capacity in a drive group. 2.
Select the
Expand
radio button, and click
Go
. The
Expand Virtual Drive
dialog appears, as shown in the following figure.
Figure 103 Expand Virtual Drive Dialog
3.
Enter the percentage of the available capacity that you want the virtual drive to use.
LSI Corporation - 131 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Recovering and Clearing Punctured Block Entries 4.
5.
For example, if there are 100 GB of capacity available and you want to increase the size of the virtual drive by 30 GB, select 30 percent.
Click
Calculate
to determine the capacity of the virtual drive after expansion.
Click
Ok
.
The virtual drive expands by the selected percentage of the available capacity.
4.10
Recovering and Clearing Punctured Block Entries
You can recover and clear the punctured block area of a virtual drive.
ATTENTION
This operation removes any data stored on the physical drives. Back up the good data on the drives before making any changes to the configuration.
When a Patrol Read or a Rebuild operation encounters a media error on the source drive, it punctures a block on the target drive to prevent the use of the data with the invalid parity. Any subsequent read operation to the punctured block completes but with an error. Consequently, the puncturing of a block prevents any invalid parity generation later while using this block.
To recover or clear the punctured block area of a virtual drive, run a Slow (or Full) Initialization to zero out and regenerate new parity causing all bad block entries to be removed from the bad block table. To run a Slow (or Full) Initialization, see
Viewing Virtual Drive Properties, Policies, and Operations .
4.11
Suspending and Resuming Virtual Drive Operations
MegaRAID provides background Suspend and Resume features that enhances the functionality. The background operations on a virtual drive can be suspended using the
Suspend
option, and later resumed using the
Resume
option. The suspended operation resumes from the point where the operation was suspended.
If any operation is stopped before completion, it is considered to be aborted. An aborted operation cannot be resumed from the place is was stopped.
NOTE
Suspend and resume are applicable for all the background operations, such as background initialization, rebuild and consistency check notes.
Follow these steps to suspend an operation and resume an operation.
1.
Perform one of these actions:
— —
From the WebBIOS main menu, click the
Virtual Drives
link.
From the task bar, click the
VD Progress Info
button.
The
Virtual Drives
main dialog appears, as shown in the following figure.
LSI Corporation - 132 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 104 Virtual Drives Dialog
2.
3.
4.
To suspend operations, select the check boxes for the operations that you want to suspend, and click (Alt+D).
To abort operations, select the check boxes for the operations and click
Abort
(Alt+A).
Suspend
Aborted operations cannot be resumed and have to be started again.
To resume operations, select the check boxes for the suspended operations that you want to resume, and click
Resume
(Alt+U).
4.12
Using MegaRAID Recovery
MegaRAID Recovery, also known as Snapshot, offers a simplified way to recover data and provides automatic protection for the boot volume. You can use the Recovery feature to take a snapshot of a volume and to restore a volume or file. Snapshot functionality allows you to capture data changes to the volume, and, if data is deleted accidentally or maliciously, you can restore the data from the view or roll back to a snapshot at a previous point-in time (PiT). MegaRAID Recovery supports up to eight snapshots of PiTs for each volume.
Each Recovery PiT volume snapshot is typically a fraction of the original volume size, because it tracks only the changes that are made to a volume after the PiT is created. Disk space for PiTs is reserved in the Snapshot Repository virtual drive, and the PiT is expanded in small increments as new data is written to the volume. Multiple PiTs of each volume can be retained online, enabling frequent snapshots to be stored in a space-efficient manner.
LSI Corporation - 133 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
ATTENTION
Do not select the virtual drive containing the operating system (OS) or any data as the snapshot repository. Updates to the operating system, operating system crashes, or any data updates could destroy data on that virtual drive.
4.12.1
Recovery Scenarios
Use the Recovery Features in three primary scenarios: 1.
2.
3.
Restore the missing or deleted files (restore from view).
a.
b.
c.
Discover the files are missing or deleted.
Review the snapshot views of the file content (also known as mounting a snapshot) from each PiT until you find the missing file. A snapshot view contains the content from the point-in-time at which the snapshot was made.
Drag and drop the missing file from snapshot view back into the online storage volume that was the source of the snapshot.
If corrupt operating system files exist in a volume, roll back the volume to a previous state.
a.
b.
c.
Reboot the system, and run WebBIOS.
Select the most recent snapshot that does not contain the corrupted or malicious file to roll back to. Select the most recent PiT snapshot to roll back to. Reboot the system. The system automatically rolls back to its previous state based on the selected PiT snapshot Reduce the risk of extended downtime during application updates/upgrades in the IT center.
a.
b.
c.
d.
When the application is offline, take a snapshot of the application volume.
Install each patch individually, and test for any new defects that might have been introduced.
Take a snapshot after you test each patch, and determine that it is clean.
If a defect is introduced, roll back to the previous installation, and bypass the installation of the defective patch.
NOTE
If the volume is still damaged, continue to select from the next most current PiT snapshot to the oldest.
4.12.2
Enabling the Recovery Advanced Software
You can enable the Recovery advanced software in WebBIOS. After you enable Recovery, you create two virtual drives—one as a snapshot base or source and the other as a snapshot repository. The snapshot base virtual drive contains the data that is stored in the snapshot repository virtual drive. Follow these steps to enable MegaRAID Recovery.
1.
Click a virtual drive icon in the right panel on the WebBIOS configuration utility main dialog to access the
Drive
dialog. The
Virtual Drive
dialog appears, as shown in the following figure.
Virtual
LSI Corporation - 134 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 105 Virtual Drive Dialog
2.
Click
Adv Opers
in the Operations panel of the dialog and click
Go
.
3.
The
Advanced Operations
dialog appears.
Click
Enable MegaRAID Recovery
and click
Go
.
The
Enable MegaRAID Recovery
dialog appears, as shown in the following figure.
LSI Corporation - 135 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 106 Enable MegaRAID Recovery Dialog
4.
Select a virtual drive from the list of virtual drives in the
Snapshot Repository
drop-down list.
This setting is the snapshot repository virtual drive. This drive stores the snapshot data. Make sure you select a snapshot repository virtual drive with enough available capacity. The available capacity is the largest free block of capacity on the selected repository.
NOTE
A virtual drive and a snapshot repository virtual drive can be associated with the same drives or a common set of drives, or the two virtual drives can be located on two completely separate set of drives. Using a separate set of drives for the virtual drive and the snapshot repository virtual drives provides a performance advantage over using a common set of drives.
5.
Click the
Update Capacity
button to determine the available capacity of the selected repository.
ATTENTION
Do not select the virtual drive containing the operating system as the snapshot repository. Updates to the operating system crashes can destroy data on that virtual drive 6.
In the
Allocated Capacity for snapshots
field, select the available capacity in the snapshot repository to use for changes to the virtual drive.
The capacity is dependent on how write-intensive the application is of which you are taking snapshots. The available capacity is the largest free block of capacity on the snapshot repository virtual drive.
NOTE
If you use all of the space of the snapshot repository virtual drive, you will not have space to create a snapshot and a view, because of insufficient space.
LSI Corporation - 136 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
ATTENTION
Copy all of your data to another virtual drive before you select this option. If any existing data exists on this virtual drive, it will be lost.
7.
8.
9.
Click
Next
.
The snapshot settings dialog appears, as shown in
.
Click
Finish
. A confirmation dialog appears.
Confirm that you want to make these selections.
This virtual drive becomes a snapshot repository. Use it only for storing snapshot-related data.
ATTENTION
After you enable snapshots on this virtual drive, you cannot change the allocated percentage of capacity or the snapshot repository without first disabling snapshots and losing any snapshot data.
4.12.3
Creating Snapshots and Views
You can use WebBIOS to create up to eight snapshots of a volume. WebBIOS shows the snapshots in chronological order from the oldest to the newest. Each snapshot is a PiT snapshot of the virtual drive that is the snapshot base. First, create the snapshot base virtual drive, and then create the snapshot. After you create the snapshots, you can create views of the PiT snapshots. You can search the views to find a snapshot that does not contain the corrupt data or a snapshot that contains the deleted data, depending on the situation. After you create a snapshot, you can reboot and roll back to a snapshot to restore data.
Follow these steps to create a snapshot.
1.
2.
Enable MegaRAID Recovery.
See Section,
Enabling the Recovery Advanced Software
, for the procedure used to enable MegaRAID Recovery in WebBIOS.
Click on the virtual drive in the Logical View on the main dialog to go to the operations for the virtual drive.
The
Virtual Drive
dialog appears, as shown in the following figure.
LSI Corporation - 137 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 107 Virtual Drive Dialog
3.
Click
Adv Ops
in the Operations panel.
4.
5.
Click
Go
in the Operations panel.
The Advanced Operations dialog appears.
Click
Manage Snapshots
.
The
Virtual Drive Properties
dialog appears, as shown in the following figure.
LSI Corporation - 138 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 108 Virtual Drive Properties Dialog
6.
7.
8.
9.
Enter a snapshot name in the
Snapshot name
This action creates a snapshot that appears as a link in the
Snapshot Timeline
. Click the link of a specific snapshot.
The snapshot details appear.
field, and click
Create Snapshot
Click
Advanced
. The
Snapshot Settings
dialog appears, as shown in
Click
Create View
.
The
Create View
dialog appears, as shown in the following figure.
. LSI Corporation - 139 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 109 Create View Dialog
10. Enter a view name in the
View Name
field, specify the capacity of the view in the
Write Capacity
field, and click
Ok
.
This action creates the view. After you create a view, you can view details about both the snapshot and the view on a single page, as shown in the following figure.
LSI Corporation - 140 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
4.12.4
Figure 110 Snapshot Info Dialog
Creating Concurrent Snapshots
If you have created multiple snapshot base virtual drives, you can create snapshots on all of them at one time (concurrent snapshots). Each snapshot has the same name and time stamp.
Follow these steps to create concurrent snapshots.
1.
2.
Click
Controller Properties
on the WebBIOS main dialog. The first Controller Properties dialog appears. There are four Controller Properties dialogs.
Keep clicking
Next
till you reach the fourth Controller Properties dialog, as shown in the following figure.
LSI Corporation - 141 -
MegaRAID SAS Software User Guide June 2012
Figure 111 Fourth Controller Properties Dialog
3.
Click
Create
in the
Snapshot
field.
The
Create Snapshots
dialog appears, as shown in the following figure. Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 112 Create Snapshots Dialog
4.
Enter a snapshot name in the
Snapshot Name
field.
LSI Corporation - 142 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
4.12.5
5.
6.
Select the virtual drives on which you want to create concurrent snapshots. Click
OK
.
This action creates a snapshot with same name and the same timestamp on all of the selected snapshot base virtual drives.
Selecting the Snapshot Settings
You can use the
Snapshot Settings
dialog to perform the following actions: Take a snapshot on reboot.
This action takes a snapshot of the virtual drive when you reboot after every successful system shutdown. This feature is mainly intended to take a snapshot of boot virtual drives to allow the operating system to be restored in case of corruption.
Enable automatic deletion of a snapshot.
This action deletes the oldest snapshot automatically and lets you create a new snapshot.
Follow these steps to enable the snapshot settings.
1.
Click a virtual drive icon in the right panel on the WebBIOS configuration utility main dialog. The
Virtual Drive
dialog appears, as shown in the following figure.
Figure 113 Virtual Drive Dialog
2.
Select
Adv Opers
and click
Go
.
3.
4.
The
Advanced Operations
dialog appears.
Click
Manage Snapshots
.
The
Virtual Drive Properties
dialog appears. Click
Advanced
.
LSI Corporation - 143 -
MegaRAID SAS Software User Guide June 2012 The
Snapshot Settings
dialog appears, as shown in the following figure.
Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
4.12.6
Figure 114 Snapshot Settings Dialog
5.
6.
Select the
Take Snapshot on every Reboot
Click
Finish
.
check box, or select the radio button, or select the
Stop tracking snapshots
radio button.
Automatically delete the oldest snapshot
Viewing Snapshot Properties
You can view the properties of a snapshot, such as the total capacity, capacity used, and capacity available. Follow these steps to view snapshot properties.
1.
Click a virtual drive icon in the right panel on the WebBIOS configuration utility main dialog. The
Virtual Drive
dialog appears, as shown in the following figure.
LSI Corporation - 144 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 115 Virtual Drive Dialog
2.
Click
Snapshot Properties
.
The
Snapshot Repository Properties
dialog appears, as shown in the following figure.
LSI Corporation - 145 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
4.12.7
Figure 116 Snapshot Repository Properties Dialog
3.
Click
OK
to return to the
Virtual Drive
dialog.
Restoring a Virtual Drive by Rolling Back to a Snapshot
You can roll back to a previous point-in-time snapshot to recover an entire volume. This action is often used where there are malicious files that cannot be traced. Reboot the system, and then roll back to a snapshot that does not have the malicious or corrupt files. Follow these steps to roll back the volume version to an earlier version.
1.
2.
3.
After you determine there are malicious or corrupt files, start the WebBIOS configuration utility.
Access the
Virtual Drive
dialog by clicking on a virtual drive icon in the right panel on the WebBIOS configuration utility main dialog. The
Virtual Drive
dialog appears.
Click the
Adv Opers
radio button, and click
Go
. The
Advanced Operations
dialog appears, as shown in the following figure.
LSI Corporation - 146 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
4.12.8
Figure 117 Advanced Operations Dialog
4.
Select a snapshot from the drop-down list.
5.
If the volume is still damaged, continue to select from the next most current PiT snapshot to the oldest.
Click
Go
.
The system rolls back to the selected PiT snapshot and returns you to a snapshot that does not have the malicious or corrupt files.
Cleaning Up a Snapshot Repository
The clean up option can be performed only on a snapshot repository virtual drive. Perform a cleanup if a snapshot base virtual drive goes offline and the snapshot repository virtual drive is still connected to the system. After you perform the cleanup, memory that was allocated to the offline base virtual drives will be available to the snapshot repository virtual drive. Follow these steps to clean up a snapshot repository.
1.
Access the
Virtual Drive
dialog by clicking a snapshot repository virtual drive icon in the right panel on the WebBIOS configuration utility main dialog.
The
Virtual Drive
dialog appears, as shown in the following figure.
LSI Corporation - 147 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Using MegaRAID Recovery
Figure 118 Virtual Drive Dialog
2.
Click the
AdvOpers
radio button, and click
Go
. The
Advanced Operations
dialog appears, as shown in the following figure.
LSI Corporation - 148 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Non-SED Secure Erase
Figure 119 Advanced Operations Dialog
3.
4.
Select the Click
Go
.
Cleanup Snapshot Repository
.
This action cleans up the snapshot repository.
4.13
Non-SED Secure Erase
4.13.1
This section describes the procedure used to securely erase data on non self-encrypting drives (Non-SEDs), which are normal HDDs.
Erasing a Non-SED Physical Drive
Follow these steps for non–SED secure erase.
1.
2.
3.
Go to the Physical view in the WebBIOS main menu.
Click the physical drive node.
Select the
Drive Erase
radio button, as shown in the following figure, and click
Go
.
LSI Corporation - 149 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Non-SED Secure Erase
Figure 120 Physical Drive Dialog
The
Mode Selection - Drive Erase
dialog appears.
LSI Corporation - 150 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Non-SED Secure Erase
4.13.1.1
Figure 121 Mode Selection - Drive Erase
4.
5.
6.
Select any of the modes available under the
— — — Simple
– (Alt + S)
Normal
– (Alt + N)
Thorough
– (Alt + T) Click
OK
.
A confirmation message dialog appears. Click
Yes
to proceed.
Select the mode for Drive Erase Operation Drive Erase Progress
Physical drives, erase operation is generally a time-consuming operation and is performed as a background task. Follow these steps to check the progress of a physical drive erase operation.
1.
Click the
Drives
link in the left panel on the WebBIOS main dialog.
The
Drive Erase Progress
appears, as shown in the following figure.
LSI Corporation - 151 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Non-SED Secure Erase
4.13.2
Figure 122 Drive Erase Progress
2.
To abort drive erase, select the check box for the operation that you want to abort and click
Abort
.
Virtual Drive Erase
Virtual drive erase is a background operation. Follow these steps to perform the virtual drive erase operation.
1.
2.
3.
4.
Go to the
Logical view
. Click on the Virtual Drive node.
The
Virtual Drive
dialog appears.
Click
Adv Opers
and click
Go
.
The
Advanced Operations
dialog appears.
Select the
Virtual Drive Erase
radio button, and click
Go
.
The
Mode Selection - Drive Erase
dialog appears. LSI Corporation - 152 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Non-SED Secure Erase
4.13.2.1
Figure 123 Mode Selection-Drive Erase
5.
Select any of the following options.
— — — — — — Simple
(Alt + S) – After you select this option and click
OK
, if the
Delete Virtual Drive after Erase
check box is selected, a confirmation dialog appears.
Normal
(Alt + N) – After you select this option and click
OK
, if the
Delete Virtual Drive after Erase
check box is selected, a confirmation dialog appears.
Thorough
(Alt + T) – After you select this option and click
OK
, if the
Delete Virtual Drive after Erase
check box is selected, a confirmation dialog appears.
Delete Virtual Drive after Erase
(Alt + D) – If you select this check box, the virtual drive is erased, and a confirmation dialog appears.
OK
(Alt + O) – Click
OK
and, if the
Delete Virtual Drive after Erase
check box is selected a confirmation dialog appears.
Cancel
(Alt + C) – Clicking this option, closes the dialog, and the WebBIOS navigates back to the
Virtual Drive
dialog.
Group Show Progress for Virtual Drive Erase
The virtual drive erase operation is a time-consuming operation, and it is performed as a background task. Follow these steps to view the progress of virtual drive erase.
1.
Click the
Virtual Drives
link on the WebBIOS main menu. The
Virtual Drives
dialog appears, as shown in the following figure.
LSI Corporation - 153 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Viewing System Event Information
Figure 124 Virtual Drive Dialog
2.
To abort the virtual drive erase, select the check box of the operation you want to abort, click
Abort
.
4.14
Viewing System Event Information
The SAS controller firmware monitors the activity and performance of all storage configurations and devices in the system. When an event occurs (such as the creation of a new virtual drive or the removal of a drive) an event message is generated and is stored in the controller NVRAM. You can use the WebBIOS configuration utility to view these event messages. To do this, click Events on the main WebBIOS configuration utility dialog. The Event Information dialog appears, as shown in the following figure.
LSI Corporation - 154 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
Figure 125 Event Information Dialog
The right side of the dialog is blank until you select an event to view. The
First Sequence
and
Last Sequence
fields in the upper left of the dialog show you how many event entries are currently stored. To view event information, follow these steps: 1.
2.
3.
4.
5.
6.
Select an event locale from the relating to the drive enclosure.
Event Locale
drop-down list. For example, select
Enclosure
Select an event class:
Information
,
Warning
,
Critical
,
Fatal
,
or Dead
.
Enter a start sequence number, between the first sequence and the last sequence numbers. to view events The higher the number, the more recent the event.
Enter the number of events of this type that you want to view, and click
Go
. The first event in the sequence appears in the right panel.
Click
Next
to page forward or
Prev
to page backward through the sequence of events.
Optionally, select different event criteria in the left panel, and click
Go
again to view a different sequence of events.
Each event entry includes a time stamp and a description to help you determine when the event occurred and what it was.
4.15
Managing Configurations
This section includes information about maintaining and managing storage configurations.
LSI Corporation - 155 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
4.15.1
4.15.2
Running a Consistency Check
You should periodically run a consistency check on fault-tolerant virtual drives. A consistency check verifies that the redundancy data is correct and available for RAID 1, RAID 5, RAID 6, RAID 10, RAID 50, and RAID 60 drive groups. To do this, follow these steps: 1.
2.
3.
On the main WebBIOS configuration utility main dialog, select a virtual drive.
Click
Virtual Drives
When the .
Virtual Drive
dialog appears, select The consistency check begins.
CC
in the lower-left panel, and click
Go
.
If the WebBIOS configuration utility finds a difference between the data and the parity value on the redundant drive group, it assumes that the data is accurate and automatically corrects the parity value. Be sure to back up the data before running a consistency check if you think the data might be corrupted.
Deleting a Virtual Drive
You can delete any virtual drive on the controller if you want to reuse that space for a new virtual drive. The WebBIOS configuration utility provides a list of configurable drive groups where there is a space to configure. If multiple virtual drives are defined on a single drive group, you can delete a virtual drive without deleting the whole drive group.
ATTENTION
Back up any data that you want to keep before you delete the virtual drive.
To delete a virtual drive, follow these steps.
1.
2.
3.
Access the
Virtual Drive
utility main dialog.
dialog by clicking a virtual drive icon in the right panel on the WebBIOS configuration The
Virtual Drive
dialog appears.
Select
Delete
in the bottom panel under the heading Operations, and click
Go
.
When the message appears, confirm that you want to delete the virtual drive.
If a virtual drive is associated with a CacheCade virtual drive with a write policy, the following confirmation screen appears. If a virtual drive is not associated with a CacheCade virtual drive, a different confirmation screen appears.
LSI Corporation - 156 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
Figure 126 WebBIOS CU Confirmation Screen
4.
Click
Yes
to delete the virtual drive.
NOTE
You may select the
Force the delete to complete quickly
check box to quickly complete the delete operation. It is however, not recommended to perform this action.
4.15.3
Importing or Clearing a Foreign Configuration
A
foreign configuration
is a storage configuration that already exists on a replacement set of drives that you install in a computer system. In addition, if one or more drives are removed from a configuration, by a cable pull or drive removal, for example, the configuration on those drives is considered a foreign configuration by the RAID controller. The WebBIOS CU allows you to import the foreign configuration to the RAID controller, or to clear the configuration so you can create a new configuration using these drives.
NOTE
When you create a new configuration, the WebBIOS CU shows only the unconfigured drives. Drives that have existing configurations, including foreign configurations, do
not
appear. To use drives with existing configurations, you must first clear the configuration on those drives.
If WebBIOS configuration utility detects a foreign configuration, the
Foreign Configuration
dialog appears, as shown in the following figure.
LSI Corporation - 157 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
Figure 127 Foreign Configuration Dialog
Follow these steps to import or clear a foreign configuration.
1.
2.
3.
Click the drop-down list to show the configurations.
The GUID (Global Unique Identifier) entries on the drop-down list are OEM names and will vary from one installation to another.
Either select a configuration, or select
All Configurations
.
Perform one of the following steps:
—
Click
Preview
to preview the foreign configurations. The
Foreign Configuration Preview
dialog appears, as shown in the following figure.
—
Click
Clear
to clear the foreign configurations and reuse the drives for another virtual drive.
If you click
Cancel
, it cancels the importation or preview of the foreign configuration.
LSI Corporation - 158 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
4.15.3.1
Figure 128 Foreign Configuration Preview Dialog
4.
The right panel shows the virtual drive properties of the foreign configuration. In this example, there are two RAID 1 virtual drives with 67.843 GB each. The left panel shows the drives in the foreign configuration.
Click
Import
to import these foreign configurations and use them on this controller.
If you click
Cancel
, you return to the dialog shown in Figure 127 .
Foreign Configurations in Cable Pull and Drive Removal Scenarios
If one or more drives are removed from a configuration, by a cable pull or drive removal, for example, the configuration on those drives is considered a foreign configuration by the RAID controller. Use the
Foreign Configuration Preview
dialog to import or clear the foreign configuration in each case. The import procedure and clear procedure are described in Section,
Importing or Clearing a Foreign Configuration
.
The following scenarios can occur with cable pulls or drive removals.
NOTE
To import the foreign configuration in any of the following scenarios, you should have all of the drives in the enclosure before you perform the import operation.
Scenario 1: If all of the drives in a configuration are removed and re-inserted, the controller considers the drives to have foreign configurations.
Import or clear the foreign configuration. If you select
Import
, automatic rebuilds will occur in redundant virtual drives.
NOTE
Start a consistency check immediately after the rebuild is complete to ensure data integrity for the virtual
LSI Corporation - 159 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
4.15.3.2
Scenario 2: If some of the drives in a configuration are removed and re-inserted, the controller considers the drives to have foreign configurations.
Import or clear the foreign configuration. If you select
Import
, automatic rebuilds will occur in redundant virtual drives.
NOTE
Start a consistency check immediately after the rebuild is complete to ensure data integrity for the virtual
Scenario 3: If all of the drives in a virtual drive are removed, but at different times, and re-inserted, the controller considers the drives to have foreign configurations.
Import or clear the foreign configuration. If you select
Import
, all drives that were pulled before the virtual drive became offline will be imported and then automatically rebuilt. Automatic rebuilds will occur in redundant virtual drives.
Scenario 4: If the drives in a non-redundant virtual drive are removed, the controller considers the drives to have foreign configurations.
Import or clear the foreign configuration. No rebuilds occur after the import operation because there is no redundant data to rebuild the drives with.
Importing Foreign Configurations from Integrated RAID to MegaRAID
The LSI Integrated RAID solution simplifies the configuration options and provides firmware support in its host controllers. LSI offers two types of Integrated RAID (IR): Integrated Mirroring (IM) and Integrated Striping (IS). You can import an IM or IS RAID configuration from an IR system into a MegaRAID system. The MegaRAID system treats the IR configuration as a foreign configuration. You can import or clear the IR configuration.
NOTE
For more information about Integrated RAID, refer to the
Integrated RAID for SAS User’s Guide
. You can find this document on the LSI website.
4.15.3.3
4.15.4
Troubleshooting Information
An IR virtual drive can have either 64 MB or 512 MB available for metadata at the end of the drive. This data is in LSI Data Format (LDF). MegaRAID virtual drives have 512 MB for metadata at the end of the drive in the Disk Data Format (DDF). To import an IR virtual drive into MegaRAID, the IR virtual drive must have 512 MB in the metadata, which is the same amount of mega data as in a MegaRAID virtual drive. If the IR virtual drive has only 64 MB when you attempt to import it into MegaRAID, the import will fail because the last 448 MB of your data will be overwritten and the data lost.
If your IR virtual drive has only 64 MB for metadata at the end of the drive, you cannot import the virtual drive into MegaRAID. You need to use another upgrade method, such as backup/restore to the upgraded virtual drive type.
To import an IR virtual drive into a MegaRAID system, use the
Foreign Configuration Preview
dialog to import or clear the foreign configuration. The import procedure and the clear procedure are described in Section
Importing or Clearing a Foreign Configuration .
Importing Foreign Configurations
After you create a security key, you can run a scan for a foreign configuration and import a locked configuration. (You can import unsecured or unlocked configurations when security is disabled.) A foreign configuration is a RAID configuration that already exists on a replacement set of drives that you install in a computer system. You can use the WebBIOS configuration utility to import the existing configuration to the RAID controller or clear the configuration so you can create a new one.
LSI Corporation - 160 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
4.15.5
4.15.5.1
4.15.5.2
See Section,
Importing or Clearing a Foreign Configuration , for the procedures used to import or clear a foreign
configuration.
To import a foreign configuration, you must first enable security to allow importation of locked foreign drives. If the drives are locked and the controller security is disabled, you cannot import the foreign drives. Only unlocked drives can be imported when security is disabled. After you enable the security, you can import the locked drives. To import the locked drives, you must provide the security key used to secure them. Verify whether any drives are left to import as the locked drives can use different security keys. If there are any drives left, repeat the import process for the remaining drives. After all of the drives are imported, there is no configuration to import.
Migrating the RAID Level of a Virtual Drive
As the amount of data and the number of drives in your system increase, you can use RAID-level migration to change a virtual drive from one RAID level to another. You do not have to power down or restart the system. When you migrate a virtual drive, you can keep the same number of drives, or you can add drives. You can use the WebBIOS configuration utility to migrate the RAID level of an existing virtual drive.
NOTE
While you can apply RAID-level migration at any time, you should do so when there are no reboots. Many operating systems issues I/O operations serially (one at a time) during boot. With a RAID-level migration running, a boot can often take more than 15 minutes.
Migrations are allowed for the following RAID levels: RAID 0 to RAID 1 RAID 0 to RAID 5 RAID 0 to RAID 6 RAID 1 to RAID 0 RAID 1 to RAID 5 RAID 1 to RAID 6 RAID 5 to RAID 0 RAID 5 to RAID 6 RAID 6 to RAID 0 RAID 6 to RAID 5
Additional Drives Required for RAID-Level Migration
The following table lists the number of additional drives required when you change the RAID level of a virtual drive.
Table 23 Additional Drives Required for RAID-Level Migration From RAID Level to RAID Level
RAID 0 to RAID 1 RAID 0 to RAID 5 RAID 0 to RAID 6 RAID 1 to RAID 5 RAID 1 to RAID 6
Original Number of Drives in Drive Group
RAID 0: 1 drive RAID 0: 1 drive RAID 0: 1 drive RAID 1: 2 drives RAID 1: 2 drives
Migrating the RAID Level
Follow these steps to migrate the RAID level: 1 2 3 1 1
Additional Drives Required
LSI Corporation - 161 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility Managing Configurations
NOTE
Back up any data that you want to keep before you change the RAID level of the virtual drive.
1.
2.
3.
4.
On the main WebBIOS configuration utility main dialog, select
Virtual Drives
.
Choose your virtual drive from the list. If only one virtual drive is configured, you will automatically be taken to the
Virtual Drives
menu.
From the
Virtual Drives
menu, select
Properties
.
From the
Properties
menu, select
Adv Opers
under the
Advanced Operations
heading.
The
Advanced Operations
dialog appears, as shown in the following figure.
4.15.6
Figure 129 Advanced Operations Dialog
5.
6.
7.
Select either
— — Change RAID Level
or
Change RAID Level and Add Drive
.
If you select
Change RAID Level
, change the RAID level from the drop-down list.
If you select
Change RAID Level and Add Drive
, change the RAID level from the drop-down list, and select one or more drives to add from the list of drives.
The available RAID levels are limited, based on the current RAID level of the virtual drive plus the number of drives available.
Click
Go
.
When the message appears, confirm that you want to migrate the RAID level of the virtual drive.
A reconstruction operation begins on the virtual drive. You must wait until the reconstruction is completed before you perform any other tasks in the WebBIOS configuration utility.
New Drives Attached to a MegaRAID Controller
When you insert a new drive on a MegaRAID system, if the inserted drive does not contain valid DDF metadata, the drive displays as JBOD. If the drive does contain valid DDF metadata, its drive state is Unconfigured Good.
A new drive in JBOD drive state is exposed to the host operating system as a stand-alone drive. Drives in JBOD drive state are not part of the RAID configuration because they do not have valid DDF records. The operating system can install and run anything on JBOD drives.
Automatic rebuilds always occur when the drive slot status changes, for example, when you insert a drive or remove a drive, so that a hot spare can be used. However, a new drive in JBOD drive state (without a valid DDF record), will not perform an automatic rebuild. LSI Corporation - 162 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch To start an automatic rebuild on the new JBOD drive, you must change the drive state from JBOD to Unconfigured Good. (Rebuilds start only on Unconfigured Good drives.) After you set the drive state to Unconfigured Good, the drive state information always remains on the drive, and you can use the drive for configuration.
See Section,
Troubleshooting Information , for more information about DDF and metadata.
4.16
WebBIOS Dimmer Switch
This section describes changing the power-save settings using the Dimmer Switch feature.
The power savings is done by reducing power consumption of drives that are not in use by spinning down the unconfigured drives, hot spares, and configured drives.
Perform the following steps to change the Dimmer switch feature.
1.
2.
3.
Select the
Controller Properties
option from the WebBIOS main dialog.
The
Controller Information
dialog appears.
Click
Next
till you reach the last controller properties dialog.
Click the
Manage Powersave
option. The
Power Save Setting - Specify Power Save Setting
dialog appears, as shown in the following figure.
Figure 130 Power Save Setting Dialog - Specify Power Save Setting
4.
Select the following check boxes:
—
Select the
Unconfigured drives
check box to let the controller enable the unconfigured drives to enter the Power-Save mode.
LSI Corporation - 163 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch 5.
— —
Select the
Hot spare drives
check box to let the controller enable the hot spare drives to enter the Power Save mode.
Select the
Configured drives
check box to let the controller enable the Configured drives to enter the Power-Save mode.
Click
Next
. The
Power Save Setting - Power Save Mode
dialog appears.
Figure 131 Power Save Setting - Power Save Mode
6.
Click
Finish
.
The Confirmation message appears, as shown in
.
In the
Power-Save Setting - Specify Power Save Setting
dialog ( Figure 130 ), if you select all the check boxes, except
the configured drives, then the following dialog appears.
LSI Corporation - 164 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch
Figure 132 Power Save Setting - Except Configured Drive Dialog Figure 133 Confirm Page Dialog - Confirmation Message
If you do not select any option in the
Power Save settings - Specify Power Save Setting
dialog ( Figure 130 ) and click
Next
, the following message appears.
LSI Corporation - 165 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch
4.16.1
4.16.2
Figure 134 Power-Save Settings Not Saved Message
Power-Save Mode
You can select the drive standby time and the Power-Save mode by selecting the
Auto
,
Max
, and
Max without cache
options in
.
1.
2.
3.
Select the drive standby time using the drop-down list.
Select the power save mode by selecting one of the radio buttons.
Click
Finish
.
Power Save Settings – Advanced
You can schedule the drive active time by selecting the start time and end time in the
Power-Save Setting
dialog.
Perform the following steps to schedule the drive active time.
1.
Click the
Advanced
button in the
Power-Save Setting
dialog as shown in
.
The
Power-Save Settings Advanced
dialog appears, as shown in the following figure.
LSI Corporation - 166 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch
Figure 135 Power-Save Settings Advanced
2.
Select the start time and end time from the drop-down list.
Scheduled drive active time
field using the
Start time
and
End time
3.
Click
OK
.
The drive active time is scheduled.
NOTE
Select the
Do not schedule drive active time
check box if you do not want to schedule the drive active time.
4.16.3
Power-Save While Creating Virtual Drives
You can select the power saving policy while creating virtual drives using the
Power save Mode
drop-down list.
LSI Corporation - 167 -
MegaRAID SAS Software User Guide June 2012 Chapter 4: WebBIOS Configuration Utility WebBIOS Dimmer Switch
Figure 136 Power Save Mode While Creating Virtual Drives
The power save mode can be
Max
,
Max without cache
,
Auto
,
None
, and
Controller defined
.
LSI Corporation - 168 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Installing the MegaCLI Configuration Utility
Chapter 5: MegaRAID Command Tool
The MegaRAID Command Tool (CT) is a command line interface (CLI) application for SAS. You can use this utility to configure, monitor, and maintain the MegaRAID SAS RAID controllers and the devices connected to them.
NOTE
The CT supports only the MegaRAID controllers that support SAS and SATA II. It does not support other types of MegaRAID controllers, such as U320, SATA I, or IDE. The IA-64 release for the Windows® operating system is similar to the 32-bit release, so you can follow the 32-bit instructions. Applications that are 32-bit that were validated on an x64 system, such as the Intel Market system, can use the 32-bit instructions also.
5.1
5.1.1
5.1.2
Installing the MegaCLI Configuration Utility
The MegaRAID RAID controllers can be used with the following operating systems for Intel and AMD 32-bit and 64-bit x86 based motherboards: Microsoft® Windows® Server 2008 R2 Microsoft Windows 7 Red Hat Enterprise Linux 5.8® Red Hat Enterprise Linux 6.1® SUSE® Linux Enterprise Server 11 SP2 SUSE® Linux Enterprise Server 10 SP4 Fedora Core Linux 15
Installing the MegaCLI Configuration Utility Windows
The Windows MegaCLI binary is provided in a binary format and no separate installation is required. 1.
2.
Copy the binary file from the CD or from the LSI website. Place the binary file in the directory from where you want to run the Storage Command Line Tool and run the tool.
Installing the MegaCLI Configuration Utility on Linux
The Linux installation of the MegaCLI Configuration Utility requires the libraries to be present in the
2.
3.
4.
Unzip the MegaCLI package. To install the Lib_Utils RPM, run the rpm -ivh
To install the MegaCLI RPM, run the rpm -ivh
NOTE
MegaCLI has to be run with administrator privileges.
LSI Corporation - 169 -
MegaRAID SAS Software User Guide June 2012
5.2
Product Overview
Chapter 5: MegaRAID Command Tool Product Overview The MegaCLI Configuration Utility is a command line interface application you can use to manage the MegaRAID SAS RAID controllers. You can use MegaCLI Configuration Utility to perform the following tasks: Configure the MegaRAID SAS RAID controllers and attached devices Display information about virtual drives and drives for the controller and other storage components Display ongoing progress for operations on drives and virtual drives Change properties for the virtual drives and drives for the controller and other storage components Set, retrieve, and verify controller default settings Change the firmware on the controllers Monitor the RAID storage systems Change power setting (dimmer switch) Support RAID levels 0, 1, 5, 6, 10, 50, and 60 (depending on the RAID controller) Create and use scripts with the scriptable CLI tool Configure drive into groups and virtual drives on the controller Display configuration information for the controller, drives, and virtual drives Change virtual drive properties on the controller Change drive properties on the controller Display controller properties Load configuration to the controller from a file Save the controller configuration to a file Start or stop a rebuild, consistency check (CC), or initialization operation Enable or disable a background initialization (BGI) Stop or display an ongoing background initialization Start or display a reconstruction Start or stop patrol read Set and retrieve patrol read related settings Flash new firmware on the SAS RAID controller Read and program NVRAM and flash memory directly into MS-DOS® Display relevant messages on the console and/or in the log file Display controller data using one command Exit with predefined success or failure exit codes Scan, preview, and import foreign configurations Set predefined environment variables, such as the number of controllers and virtual drives Display the firmware event logs Display help for how to use the command line options Enable or disable snapshots (for the Recovery advanced software feature) Create and delete snapshots and views of a virtual drive Roll back the virtual drive to an older snapshot Display snapshot properties Create a CacheCade SSD Read Caching virtual drive to use as secondary cache Display battery CacheCade SSD Read Caching unit properties Display enclosure properties Display and set connector mode on supported controllers LSI Corporation - 170 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Novell NetWare, SCO, Solaris, FreeBSD, and MS-DOS Operating System Support
NOTE
Using the MegaCLI Utility while creating virtual drives, you need to create a virtual drive of a minimum of 100 MB. Even if you specify the size of a virtual drive as less than 100 MB in the command syntax, the virtual drive that gets created is 100 MB.
The following sections describe the command line options in the MegaCLI Configuration Utility that you can use to perform these functions.
NOTE
The MegaCLI error messages are listed in Appendix
.
5.3
Novell NetWare, SCO, Solaris, FreeBSD, and MS-DOS Operating System Support
The MegaCLI Configuration Utility functions under the Novell® NetWare®, SCO® OpenServer™, SCO UnixWare®, Solaris®, FreeBSD®, and MS-DOS operating systems in the same way that it does under the Windows and Linux® operating systems. All commands supported for the Windows and Linux operating systems are supported for the NetWare, SCO, and Solaris operating systems as well.
NOTE
In the FreeBSD operating system, the MegaCLI Configuration Utility application does function if you are trying to run it in CSH, the default shell in FreeBSD. Please ensure that you enter the bash shell by executing the command "bash." For the SCO OpenServer and SCO UnixWare operating systems, LSI provides an executable file that you can execute from any folder, and an image of the same executable file on a disk drive. The image file name is MegaCLI.image
. The disk is provided so that you can distribute MegaCLI and install the executable file later as needed. For the Solaris operating system, LSI releases MegaCLI as a package that can be installed like any other package installation in Solaris.
For the Novell NetWare operating system, LSI provides an executable file, MegaCLI.nlm
, that you can execute from any folder. No installation is required. The output of all of the commands appears in the console window.
5.4
5.4.1
Command Line Abbreviations and Conventions
This section explains the abbreviations and conventions used with MegaCLI Configuration Utility commands.
Abbreviations Used in the Command Line
The following table lists the abbreviations for the virtual drive parameters used in the following sections.
Table 24 Command Line Abbreviations Abbreviation
WB WT RA Write Back write policy Write Through write policy Read Ahead read policy
Description
LSI Corporation - 171 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Command Line Abbreviations and Conventions
5.4.2
NORA DIO CIO
Abbreviation Description
Normal Read policy (No read ahead) Direct I/O cache policy Cached I/O cache policy
Conventions
You can specify multiple values for some options. You can enter commands for a single controller ( –aN ), multiple controllers ( -a0,1,2 ) or work on all present controllers ( -aALL ). The options are denoted as –aN|-a0,1,2| aALL in this document and specify that you can enter commands for one controller, multiple controllers, or all controllers.
NOTE
All options in the MegaRAID Command Tool are position-dependent, unless otherwise specified.
The following table describes the conventions used in the options.
Table 25 Conventions Convention
| -aN -a0,1,2 -aALL -Lx -L0,1,2 -Lall [E0:S0,E1,S1,…] [ ] { } -Force
Description
Specifies “or,” meaning you can choose between options.
N specifies the controller number for the command.
Specifies the command is for controllers 0, 1, and 2. You can select two or more controllers in this manner.
Specifies the command is for all controllers.
x specifies the virtual drive number for the command.
Specifies the command is for virtual drives 0, 1, and 2. You can select two or more virtual drives in this manner.
Specifies the command is for all virtual drives.
Specifies when one or more physical devices need to be specified in the command line. Each [E:S] pair specifies one physical device, where E means the device ID of the enclosure in which a drive resides, and S means the slot number of the enclosure.In the case of a physical device directly connected to the SAS port on the controller, with no enclosure involved, the format of [:S] can be used where [E:S] S means the port number on the controller. For devices attached through the backplane, the firmware provides an enclosure device ID, and MegaCLI expects the user input in the format of . In the following sections, only the format, [E:S] , is used in the command descriptions, although both formats are valid.
Indicates that the parameter is optional except when it is used to specify physical devices. For example, [WT] means the write policy (Write Through) is optional.If you enter WT at the command line, the application will use Write Through write policy for the virtual drive. Otherwise, it uses the default value for the parameter.
Indicates that the parameters are grouped and that they must be given at the same time.
Specifies that the MegaCLI utility does not ask you for confirmation before it performs this command. You might lose data using this option with some commands.
You can specify the -Silent command line option for all possible functions of the MegaCLI Configuration Utility. If you enter this option at the command line, no message displays on the dialog.
LSI Corporation - 172 -
MegaRAID SAS Software User Guide June 2012
5.5
Pre-boot MegaCLI
Chapter 5: MegaRAID Command Tool Pre-boot MegaCLI A second CLI utility, known as Pre-boot MegaCLI (PCLI), is available. You can enter this utility during bootup. PCLI gives you an alternative way to access the MegaCLI utility.
To access PCLI, while the host computer is booting, hold down the Ctrl key and press the Y key when the following text appears on the dialog:
Copyright© LSI Logic Corporation Press
The following commands that are in the regular MegaCLI utility are not available in PCLI: AdpSetVerify AdpCcSched AdpDiag AdpBatTest option ProgDsply CfgSave CfgRestore AdpBbuCmd AdpFacDefSet AdpFwFlash AdpGetConnectorMode AdpSetConnectorMode DirectPdMapping ShowEnclList ShowVpd EnclLocate PdFwDownload SetFacDefault PDCpyBk AdpFwDump Snapshot Enbl/Setprop/Dsbl/TakeSnapshot/DeleteSnapshot CreateView/DeleteView/Info/Clean/GetViewInfo AdpSetProp DefaultSnapshotSpace DefaultViewSpace/AutoSnapshotSpace
5.6
5.6.1
CacheCade Related Options
Use the commands in this section to perform actions related to the MegaRAID CacheCade software and the MegaRAID CacheCade Pro 2.0 software.
Create a Solid State Drive Cache Drive to Use as Secondary Cache
Use the command in the following table to create a cache drive using the CacheCade software. You can use that cache as secondary cache. The CacheCade software has much greater capacity than HDDs.
LSI Corporation - 173 -
MegaRAID SAS Software User Guide June 2012
5.6.2
5.6.3
5.6.4
5.6.5
Chapter 5: MegaRAID Command Tool CacheCade Related Options
Table 26 Create a Solid State Cache Drive to Use as Secondary Cache
Convention Description MegaCli -CfgCachecadeAdd -Physdrv[E0:S0,...] {-Name LdNamestring} -aN| a0,1,2|-aALL This command is used to create CacheCade software that you can use as secondary cache.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots to use to construct a drive group.
-Name LdNamestring : This is the name given to the CacheCade software cache drive.
Delete a Solid State Drive Cache Drive
Use the command in the following table to delete a CacheCade software cache drive or multiple cache drives on the selected controllers.
Table 27 Delete Solid State Cache Drives
Convention Description MegaCli -CfgCachecadeDel -LX|-L0,2,5...|-LALL -aN|-a0,1,2|-aALL Deletes the specified CacheCade software cache drive or drives on the selected controllers. You can delete multiple CacheCade software cache drives or all of the CacheCade software caches.
Associate/Disassociate Virtual Drives
Use this command in the following table to associate or disassociate virtual drives with a CacheCade Pro 2.0 virtual drive.
Table 28 Associate/Disassociate Virtual Drives
Convention Description MegaCLI -Cachecade -assign|-remove -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL Assigns or removes association of virtual drives with the CacheCade pool.
-assign : Associates virtual drives with a CacheCade Pro 2.0 virtual drive.
-remove : Disassociates virtual drives with a CacheCade Pro 2.0 virtual drive.
Display CacheCade Pro 2.0 Configurations on a Controller
Use this command in the following table to display all the existing CacheCade Pro 2.0 configurations on a selected controller.
Table 29 Display CacheCade Pro 2.0 Configurations on a Controller
Convention Description MegaCLI -CfgCacheCadeDsply -aN|-a0,1,2|-aALL Displays all the existing CacheCade Pro 2.0 configurations on a selected controller.
Create a RAID Drive Group for CacheCade Pro 2.0 from All Unconfigured Good Drives
Use the command in the following table to create one RAID drive group, for CacheCade Pro 2.0, out of all of the unconfigured good drives, and a hot spare, if desired. This is for RAID levels 0, 5, 6, 10, 50, or 60. All free drives are used to create a new drive group and, if desired, one hot spare drive. If it is not possible to use all of the free drives, the command will abort with a related error level. If there are drives of different capacities, the largest drive is used to make the hot spare.
LSI Corporation - 174 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool CacheCade Related Options
5.6.6
NOTE
The firmware supports only 32 drives per drive group. If there are more than 32 unconfigured good drives, MegaCLI cannot configure any of the drives, and the command will abort.
Table 30 Create a RAID Drive Group for CacheCade Pro 2.0 from All Unconfigured Good Drives
Convention Description MegaCLI -CfgLdAdd -rX[E0:S0,E1:S1,...] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXX [-szYYY ...]] [-strpszM] [ Hsp[E0:S0,...]] [-AfterLdX] [-Force]|[FDE|CtrlBased] [-Default| -Automatic| None| -Maximum| -MaximumWithoutCaching] [-Cache] -aN Creates one RAID drive group out of all of the unconfigured good drives, and a hot spare, if desired. This is for RAID levels 0, 1, 5, or 6. All free drives are used to create a new drive group and, if desired, one hot spare drive.
-Rx[E0:S0,...] : Specifies the RAID level and the drive enclosure/slot numbers used to construct a drive group. -WT (Write through), WB (Write back): Selects write policy.
-NORA (No read ahead), RA (Read ahead), Selects read policy.
-Direct , -Cached : Selects cache policy.
-CachedBadBBU|NoCachedBadBBU : Specifies whether to use write cache when the BBU is bad.
Hsp : Specifies drive to make the hot spare with.
-Force : Specifies that drive coercion is used to make the capacity of the drives compatible. Drive coercion is a tool for forcing drives of varying capacities to the same capacity so they can be used in a drive group.
-Cache : Specifies that SSD Caching is enabled for the Drive group.
NOTE
Previously, -szXXX expressed capacity in MB but now you can enter the capacity in your choice of units. For example, to create a virtual drive of 10 GB, enter the size as sz10GB. If you do not enter a unit, by default it is considered as MB.
Remove Blocked Access on a Virtual Drive
Use this command in the following table to change the access policy for a virtual drive by removing a blocked access on that virtual drive. At times, an error may occur in the CacheCade Pro 2.0 virtual drive and this causes a blocked access to the associated virtual drive.
Table 31 Remove Blocked Access on a Virtual Drive
Convention Description MegaCLI -LDSetProp {-Name LdNamestring} | -RW|RO|Blocked|RemoveBlocked | WT|WB|ForcedWB [-Immediate]|RA|NORA …………. -aN|-a0,1,2|-aALL Allows you to change the following virtual drive parameters: [WT|WB|ForcedWB] :Specifies the write policy— WT (Write Through, WB (Write Back), ForcedWB (Forced Write Back). If you specify the ForcedWB parameter, the write policy will always be writeback, even if the virtual drive becomes degraded.
-Immediate : Indicates that the changes take place immediately.
-NORA (No read ahead), RA (Read ahead): Selects read policy.
-Cached , -Direct : Selects cache policy.
-CachedBadBBU|NoCachedBadBBU : Specifies whether to use write cache when the BBU is bad.
-RW , -RO , Blocked: Selects access policy.
-RemoveBlocked : Removes the blocked access on the associated virtual drive.
-EnDskCache : Enables drive cache.
-DisDskCache : Disables drive cache.
LSI Corporation - 175 -
MegaRAID SAS Software User Guide June 2012
5.6.7
5.6.8
Create RAID 0 Configuration with SSD Caching
Chapter 5: MegaRAID Command Tool CacheCade Related Options Use this command in the following table to create virtual drives with RAID 0 configurations and enable SSD caching on them
Table 32 Create RAID 0 Configuration with SSD Caching
Convention Description MegaCLI -CfgEachDskRaid0 [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-strpszM]|[FDE|CtrlBased] [-Default| Automatic| -None| -Maximum|-MaximumWithoutCaching] [-Cache] -aN|-a0,1,2|-aALL Creates virtual drives with RAID 0 and enables SSD caching on these newly created virtual drives.
-WT (Write through), WB (Write back): Selects write policy.
-NORA (No read ahead), RA (Read ahead): Selects read policy.
-Cached , -Direct : Selects cache policy.
-CachedBadBBU|NoCachedBadBBU : Specifies whether to use write cache when the BBU is bad.
[-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] applied on a virtual disk. : If the controller supports power savings on virtual disk, these options specify the possible levels of power savings that can be [-Cache] : Specifies that SSD caching is enabled.
Create a RAID Level 10, 50, 60 (Spanned) Configuration with SSD Caching
Use the command in the following table to create a RAID 10, RAID 50, or RAID 60 configuration with SSD caching to the existing configuration on the selected controller.
Table 33 Create a RAID Level 10, 50, 60 (spanned) Configuration with SSD Caching
Convention Description MegaCLI -CfgSpanAdd -r10 -Array0[E0:S0,E1:S1] -Array1[E0:S0,E1:S1] [ ArrayX[E0:S0,E1:S1] ...] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXX[-szYYY ...]][-strpszM][-AfterLdX][ Force]|[FDE|CtrlBased] [-Default| -Automatic| -None| -Maximum| MaximumWithoutCaching] ] [-Cache] -aN Creates a RAID level 10, 50, or 60 (spanned) configuration from the specified drive groups. Even if no configuration is present, you must use this option to write the configuration to the controller.
Note that RAID 10 supports up to eight spans with a maximum of 32 drives in each span. (There are factors, such as the type of controller, that limit the number of drives you can use.) RAID 10 requires an even number of drives, as data from one drive is mirrored to the other drive in each RAID 1 drive group. You can have an even or odd number of spans.
Multiple drive groups are specified using the The order of options –ArrayX[E0:S0,...] option. (Note that {WT |WB} {NORA | RA} {Direct | Cached} is flexible.
X
starts from 0, not 1.) All of the drive groups must have the same number of drives. At least two drive groups must be provided. The size option, -szXXXXXXXX , can be accepted to allow slicing in the spanned drive groups if the controller supports this feature. The [–afterLdX] option is accepted if the size option is accepted. CT exits and does not create a configuration if the size or the afterLd option is specified but the controller does not support slicing in the spanned drive groups.
NOTE
Previously, -szXXX expressed capacity in MB but now you can enter the capacity in your choice of units. For example, to create a virtual drive of 10 GB, enter the size as sz10GB. If you do not enter a unit, by default it is considered as MB.
[-Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] applied on a virtual disk. : If the controller supports power savings on virtual disk, these options specify the possible levels of power savings that can be [-Cache] : Specifies that SSD caching is enabled.
LSI Corporation - 176 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Software License Key
5.6.9
5.6.10
5.6.11
Delete Virtual Drives with SSD Caching
Use the command in the following table to delete one or all virtual drives that have SSD caching enabled.
Table 34 Delete Virtual Drives with SSD Caching
Convention Description MegaCLI -CfgLdDel -LX|-L0,2,5...|-LALL [-Force] -aN|-a0,1,2|-aALL Deletes virtual drives associated with a CacheCade virtual drive, with a write policy, using the Force option.
[-Force] : Specifies that the data is not flushed before deleting the virtual drive.
Clear Configurations on CacheCade Pro 2.0 Virtual Drives
Use the command in the following table if the selected controller has any CacheCade Pro 2.0 virtual drives or if any data exists in the cache and you want to clear all existing configurations on a controller.
Table 35 Clear Configurations on CacheCade Pro 2.0 Virtual Drives
Convention Description MegaCLI -cfgclr [-force] -a0 Clears all existing configurations on a controller if the controller has any CacheCade virtual drives or if any data exists in the cache.
[-Force] : Specifies that the data is not flushed before deleting the virtual drive.
Create a CacheCade Pro 2.0 Virtual Drive with RAID Level and Write Policy
Use the command in the following table to create a CacheCade Pro 2.0 virtual drive with RAID level and Write Policy settings.
Table 36 Create a CacheCade Pro 2.0 Virtual Drive with RAID level and Write Policy
Convention Description MegaCLI -CfgCacheCadeAdd [-rX] -Physdrv[E0:S0,...] {-Name LdNamestring} [WT|WB|ForcedWB] [-assign -LX|L0,2,5..|LALL] -aN|-a0,1,2|-aALL -Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots to use to construct a drive group.
-Name LdNamestring : This is the name given to the CacheCade software cache drive.
[-rX] : Specifies the RAID level.
[WT|WB|ForcedWB] :Specifies the write policy— WT (Write Through, WB (Write Back), ForcedWB (Forced Write Back). While creating a CacheCade virtual drive, if you specify the ForcedWB parameter, even if the CacheCade virtual drive goes into a degraded mode, the write policy stays as Write Back.
[-assign] : Specifies that the virtual drive can be associated with a CacheCade virtual drive.
5.7
Software License Key
Use the commands in this section to obtain a software license key to enable the advanced features present in the controller.
Table 37 Software License Key
Convention Description Convention MegaCli ELF –GetSafeId –a0 Displays the Safe ID of the controller.
MegaCli ELF -ControllerFeatures -aN|-a0,1,2|-aALL LSI Corporation - 177 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool SafeStore Security Options Description Convention Description Convention Description Convention Description Convention Description Convention Description Displays the Advanced Software Options that are enabled on the controller including the ones in trial mode.
MegaCli -ELF -Applykey key <-val> [Preview] -aN|-a0,1,2|-aALL Applies the Activation Key either in preview mode or in real mode.
MegaCli -ELF -TransferToVault -aN|-a0,1,2|-aALL Transfers the Activated Advanced Software Options from NVRAM to keyvault.
MegaCli -ELF -DeactivateTrialKey -aN|-a0,1,2|-aALL Deactivates the trial key.
MegaCli -ELF -ReHostInfo -aN|-a0,1,2|-aALL Displays the re-host information, and if re-hosting is necessary it displays the controller and keyvault serial numbers.
MegaCli -ELF -ReHostComplete -aN|-a0,1,2|-aALL Indicates to the controller that re-host is complete.
5.8
5.8.1
SafeStore Security Options
Use the commands in this section to manage the SafeStore Security feature. This feature offers the ability to encrypt data on disks and use disk-based key management to provide data security. With this feature, data is encrypted by the drives. You can designate which data to encrypt at the individual virtual drive level. This solution provides data protection in the event of theft or loss of physical drives. With self-encrypting disks, if you remove a drive from its storage system or the server in which it is housed, the data on that drive is encrypted and useless to anyone who attempts to access without the appropriate security authorization.
Any encryption solution requires management of the encryption keys. This feature provides a way to manage these keys. You can change the encryption key for all ServeRAID controllers that are connected to SED drives. All SED drives, whether locked or unlocked, always have an encryption key. This key is set by the drive and is always active. When the drive is unlocked, the data to host from the drive (on reads) and from the host to the drive cache (on writes) is always provided. However, when resting on the drive platters, the data is always encrypted by the drive.
In the following options, [E0:S0, E1:S1] specifies the enclosure ID and slot ID for the drive.
See
SafeStore Disk Encryption for more information about the SED feature.
Use Instant Secure Erase on a Physical Drive
Use the command in the following table to perform an instant secure erase of data on a physical drive. The Instant Secure Erase feature lets you erase data on SED drives.
LSI Corporation - 178 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool SafeStore Security Options
Table 38 Use Instant Secure Erase on a Physical Drive
Convention Description MegaCli -PDInstantSecureErase -PhysDrv[E0:S0,E1:S1,...] | [-Force] -aN| a0,1,2|-aALL Erases the data on a specified drive or drives.
-PDInstantSecureErase : Use the Instant Secure Erase feature to erase data on a drive or drives.
-PhysDrv[E0:S0,...] : Specifies the drives on which you want to perform the Instant Secure Erase.
-Force : Specifies that the MegaCLI utility does not ask you for confirmation before it performs this command (you might lose data using this option with some commands).
NOTE
Previously -szXXX expressed capacity in MB, but now you can enter the capacity in your choice of units. For example, to create a virtual drive of 10 GB, enter the size as sz10GB. If you do not enter a unit, MB is used as the default unit.
5.8.2
5.8.3
5.8.4
Secure Data on a Virtual Drive
Use the command in the following table to secure data on a virtual drive.
Table 39 Secure Data on a Virtual Drive
Convention Description MegaCli -LDMakeSecure -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL Secures data on a specified virtual drive or drives.
Destroy the Security Key
Use the command in the following table to destroy the security key.
Table 40 Destroy the Security Key
Convention Description MegaCli -DestroySecurityKey | [-Force] -aN Destroys the security key. The controller uses the security key to lock and unlock access to the secure user data. This key is encrypted into the security key blob and stored on the controller. Re-provisioning disables the security system of a device. For a controller, it involves destroying the security key. For SED drives, when the drive lock key is deleted, the drive is unlocked and any user data on the drive is securely deleted.
Create a Security Key
Use the command in the following table to create a security key.
LSI Corporation - 179 -
MegaRAID SAS Software User Guide June 2012
5.8.5
5.8.6
Chapter 5: MegaRAID Command Tool SafeStore Security Options
Table 41 Create a Security Key
Convention Description MegaCli -CreateSecurityKey -SecurityKey sssssssssss | [-Passphrase sssssssssss] |[-KeyID kkkkkkkkkkk] -aN Creates a security key based on a user-provided string. The controller uses the security key to lock and unlock access to the secure user data. This key is encrypted into the security key blob and stored on the controller. If the security key is unavailable, user data is irretrievably lost. You must take all precautions to never lose the security key.
-CreateSecurityKey : Creates the security key.
-SecurityKey sssssssssss : Enters the new security key. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
[-Passphrase sssssssssss] : Enters the new passphrase.The pass phrase is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
Create a Drive Security Key
If you want to use the security key using electronic key management system (EKMS), the EKMS must provide the security key. You can create a security key using EKMS, or switch from EKM to LKM, or from LKM to EKM.
Table 42 Drive Security Key
Convention Description Convention Description Convention Description Convention Description MegaCli -CreateSecurityKey useEKMS –aN Creates security key using EKMS.
MegaCli -ChangeSecurityKey -SecurityKey sssssssssss [-Passphrase sssssssssss] | [-KeyID kkkkkkkkkkk] –aN To change the security from EKMS to LKM.
MegaCli -ChangeSecurityKey useEKMS -OldSecurityKey sssssssssss –aN To change security from LKM to EKM.
MegaCli -ChangeSecurityKey -useEKMS –aN Rekeying in EKMS
Change the Security Key
Use the command in the following table to change they security key to a new security key.
LSI Corporation - 180 -
MegaRAID SAS Software User Guide June 2012
5.8.7
5.8.8
5.8.9
Chapter 5: MegaRAID Command Tool SafeStore Security Options
Table 43 Change the Security Key
Convention Description MegaCli -ChangeSecurityKey -OldSecurityKey sssssssssss | -SecurityKey sssssssssss| [-Passphrase sssssssssss] | [-KeyID kkkkkkkkkkk] -aN Changes a security key to a new security key.
-ChangeSecurityKey : Changes the security key.
-OldSecurityKey sssssssssss : Enters the old security key. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
-SecurityKey sssssssssss : Enters the new security key. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
[-Passphrase sssssssssss] : Enters the new pass phrase. The pass phrase is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
[-KeyID kkkkkkkkkkk] : Enters the security key ID. The key ID displays when you have to enter a security key. If you have multiple security keys, the security key ID helps you determine which security key to enter.
Get the Security Key ID
Use the command in the following table to display the security key ID.
Table 44 Get the Security Key ID
Convention Description MegaCli -GetKeyID [-PhysDrv[E0:S0]] -aN -GetKeyID : Displays the security key ID.
Set the Security Key ID
Use the command in the following table to set the security key ID.
Table 45 Set the Security Key ID
Convention Description MegaCli -SetKeyID -KeyID kkkkkkkkkkk -aN -SetKeyID : Set the security key ID.
-KeyID kkkkkkkkkkk : Enters the security key ID. The key ID displays when you have to enter a security key. If you have multiple security keys, the security key ID helps you determine which security key to enter.
Verify the Security Key
Use the command in the following table to verify the security key.
Table 46 Verify the Security Key ID
Convention Description MegaCli -VerifySecurityKey -SecurityKey sssssssssss -aN Verifies that the security key is the correct one for the self-encrypted disk.
-VerifySecurityKey : Verifies the security key.
-SecurityKey sssssssssss : Enters the new security key. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (for example, < > @ +). The space character is not permitted.
LSI Corporation - 181 -
MegaRAID SAS Software User Guide June 2012
5.9
5.9.1
5.9.2
5.9.3
5.9.4
Controller Property-Related Options
Chapter 5: MegaRAID Command Tool Controller Property-Related Options You can use the commands in this section to set or display properties related to the controllers, such as the virtual drive parameters and factory defaults.
Display Controller Properties
Use the command in the following table to display parameters for the selected controllers.
Table 47 Controller Parameters
Convention Description MegaCli -AdpAllinfo -aN|-a0,1,2|-aALL| Displays information about the controller, including the cluster state, BIOS, alarm, firmware version, BIOS version, battery charge counter value, rebuild rate, bus number and device number, present RAM, memory size, serial number of the board, and SAS address.
Display Number of Controllers Supported
Use the command in the following table to display the number of controllers supported on the system.
Table 48 Number of Controllers Supported
Convention Description MegaCli -AdpCount Displays the number of controllers supported on the system and returns the number to the operating system.
Enable or Disable Automatic Rebuild
Use the command in the following table to turn automatic rebuild on or off for the selected controllers. If you have configured hot spares and enabled automatic rebuild, the RAID controller automatically tries to use them to rebuild failed drives. Automatic rebuild also controls whether a rebuild starts when a drive that was part of the drive group is reinserted.
Table 49 Enable or Disable Automatic Rebuild
Convention Description MegaCli –AdpAutoRbld -Enbl|-Dsbl|-Dsply -aN|-a0,1,2|-aALL Enables or disables automatic rebuild on the selected controllers.
The -Dsply option shows the status of the automatic rebuild state.
Flush Controller Cache
Use the command in the following table to flush the controller cache on the selected controllers. This option sends the contents of cache memory to the virtual drives. If the MegaRAID system must be powered down rapidly, you must flush the contents of the cache memory to preserve data integrity.
Table 50 Cache Flush on Selected Controller
Convention Description MegaCli –AdpCacheFlush -aN|-a0,1,2|-aALL Flushes the controller cache on the selected controllers.
LSI Corporation - 182 -
MegaRAID SAS Software User Guide June 2012
5.9.5
Set Controller Properties
Chapter 5: MegaRAID Command Tool Controller Property-Related Options This command sets the properties on the selected controllers. For example, for {RebuildRate -val}, you can enter a percentage between 0 percent and 100 percent as the value for the rebuild rate. The rebuild rate is the percentage of the compute cycles dedicated to rebuilding failed drives. At 0 percent, the rebuild is done only if the system is not doing anything else. At 100 percent, the rebuild has a higher priority than any other system activity.
NOTE
Use the default rebuild rate of 30 percent and the default patrol read rate of 30 percent.
Use the Set Controller Properties command to display the list of properties that you can set for the controllers.
Table 51 Set Controller Properties Convention Description
MegaCli –AdpSetProp {CacheFlushInterval –val}|{RebuildRate val}|{PatrolReadRate –val}|{BgiRate –val}|{CCRate –val}| {ReconRate – val}|{SpinupDriveCount –val}|{SpinupDelay –val}|{CoercionMode –val} |{ClusterEnable –val}|{PredFailPollInterval –val}|{BatWarnDsbl – val}|{EccBucketSize –val}|{EccBucketLeakRate –val}|{AbortCCOnError – val}|AlarmEnbl | AlarmDsbl | AlarmSilence |{SMARTCpyBkEnbl –val} | {SSDSMARTCpyBkEnbl -val}| NCQEnbl | NCQDsbl | {MaintainPdFailHistoryEnbl -val} | {RstrHotSpareOnInsert -val} | {EnblSpinDownUnConfigDrvs -val} | {DisableOCR -val} |{BootWithPinnedCache -val} | AutoEnhancedImportEnbl | AutoEnhancedImportDsbl |{CopyBackDsbl - val} | {AutoDetectBackPlaneDsbl -val} | {LoadBalanceMode - val} |{ UseFDEOnlyEncrypt -val} | {DsblSpinDownHsp -val} | {SpinDownTime val}| {Perfmode -val} | {EnableJBOD -val} | {DsblCacheBypass -val} | {useDiskActivityForLocate -val} | {SpinUpEncDrvCnt -val} | {SpinUpEncDelay -val}| {ENABLEEGHSP -val} | {ENABLEEUG -val} | {ENABLEESMARTER -val} | {DPMenable -val} | {-PrCorrectUncfgdAreas val} | -aN| -a0,1,2|-aALL Sets the properties on the selected controllers. The possible settings are: CacheFlushInterval : Cache flush interval in seconds. Values: 0 to 255.
RebuildRate : Rebuild rate (in percentage). Values: 0 to 100.
PatrolReadRate : Patrol read rate (in percentage). Values: 0 to 100.
BgiRate : Background initialization rate (in percentage). Values: 0 to 100.
CCRate : Consistency check rate (in percentage). Values: 0 to 100.
ReconRate : Reconstruction rate (in percentage). Values: 0 to 100.
SpinupDriveCount : Maximum number of drives to spin up at one time. Values: 0 to 255.
SpinupDelay : Number of seconds to delay among spinup groups. Values: 0 to 255.
CoercionMode : Drive capacity Coercion mode. Values: 0 – None, 1 – 128 MB, 2 – 1 GB.
ClusterEnable : Cluster is enabled or disabled. Values: 0 – Disabled, 1 – Enabled.
PredFailPollInterval : Number of seconds between predicted fail polls. Values: 0 to 65535.
BatWarnDsbl : Disable warnings for missing battery or missing hardware. Values: 0 – Enabled, 1 – Disabled.
EccBucketSize : Size of ECC single-bit-error bucket. Values: 0 to 255.
EccBucketLeakRate : Leak rate (in minutes) of ECC single-bit-error bucket. Values: 0 to 65535.
LSI Corporation - 183 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Controller Property-Related Options AbortCCOnError : If the firmware detects inconsistency, then CC is aborted. Values: 0 – Disabled,1 – Enabled.
AlarmEnbl : Set alarm to enabled.
AlarmDsbl : Set alarm to disabled.
AlarmSilence : Silence an active alarm.
SMARTCpyBkEnbl : Enable copyback operation on SMART errors. Copyback is initiated when the first SMART error occurs on a drive that is part of a virtual drive. Values: 0 – Disabled, 1 – Enabled.
SSDSMARTCpyBkEnbl : Enable copyback operation on Self-Monitoring Analysis and Reporting Technology (SMART) errors on a CacheCade software. Copyback is initiated when the first SMART error occurs on a SSD that is part of a virtual drive. Values: 0 – Disabled, 1 – Enabled.
NCQEnbl : Enable the native command queueing.
NCQDsbl : Disable the native command queueing.
MaintainPdFailHistoryEnbl : Enable maintenance of the history of a failed drive. Values: 0 – Disabled, 1 –Enabled. For mor e information on Maintain PD Fail History, see Controller Information Menu Options .
RstrHotSpareOnInsert : Restores a hot spare on insertion. Values: 0 – Do not restore hot spare on insertion, 1 – Restore hot spare on insertion. EnblSpinDownUnConfigDrvs : Enable spindown of unconfigured drives. Values: 0 – Disabled, 1 – Enabled.
DisableOCR : Disable or Enable Online controller reset.Values: 0 – Online controller reset enabled, 1 – Online controller reset disabled.
BootWithPinnedCache : Enable the controller to boot with pinned cache. Values: 0 – Do not allow controller to boot with pinned cache, 1 – Allow controller to boot with pinned cache.
AutoEnhancedImportEnbl : Enable automatic foreign configuration import.
AutoEnhancedImportDsbl : Disable automatic foreign configuration import.
CopyBackDsbl : Disable or enable the copyback operation. Values: 0 – Enable Copyback, 1 – Disable Copyback.
AutoDetectBackPlaneDsbl : Detects automatically if the backplane has been disabled. Values: 0 – Enable Auto Detect of SGPIO and i2c SEP, 1 – Disable Auto Detect of SGPIO, 2 – Disable Auto Detect of i2c SEP , 3 – Disable Auto Detect of SGPIO and i2c SEP .
LoadBalanceMode : Disable or enable the load balancing mode. Values: 0 – Auto Load balance mode, 1 – Disable Load balance mode.
UseFDEOnlyEncrypt : Use encryption on FDE drives only. Values: 0 – FDE and controller encryption both are allowed, 1 – Only allows support for FDE encryption, prohibits controller.
DsblSpinDownHsp : Disable spin down Hot spares option. Values: 0 – Disabled; that is, spin down hot spares, 1 – Enabled i.e. do not spin down hot spares.
SpinDownTime : Spin down time in minutes. That is, after SpinDownTime, the firmware will start spinning down unconfigured good drives and hot spares depending on the DsblSpinDownHsp option. Values: 30 to 65535.
PerfMode : Performance tuning. Values: 0 – Best IOPS, 1 –Least Latency.
EnableJBOD : Enable JBOD Mode. Values: 0 – Disable JBOD mode , 1 – Enable JBOD mode.
DsblCacheBypass : Disable Cache Bypass. Values: 0 – Enable Cache Bypass, 1 – Disable Cache Bypass.
useDiskActivityForLocate : Enable use of disk activity to locate a physical disk in Chenbro backplane. Values: 0 – Disable use of disk activity to locate a physical disk in Chenbro backplane, 1 – Enable use of disk activity to locate a physical disk in Chenbro backplane.
LSI Corporation - 184 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Controller Property-Related Options SpinUpEncDrvCnt : Max number of drives within an enclosure to spin up at one time. Values: 0 to 255. SpinUpEncDelay : Number of seconds to delay among spinup groups within an enclosure . Values: 0 to 255. ENABLEEGHSP : Enable global hot spare is three bits or adapter level for setting hot spare properties. Values – 0: Disable and 1 – Enable.
ENABLEEUG : Enable unconfigured good for emergency is three bits or adapter level for setting hot spare properties. Values: 0 – Disable, 1 – Enable.
ENABLEESMARTER : Emergency for SMARTer is three bits or adapter level for setting hot spare properties. Values: 0 – Disable, 1 – Enable.
AutoEnhancedImportEnbl : Enable the automatic enhanced import of foreign drives.
AutoEnhancedImportDsbl : Disable the automatic enhanced import of foreign drives.
PrCorrectUncfgdAreas : informs the firmware whether the media errors found during the PR can be corrected or not. Values: 0 – Disable, 1 – Enable.
Examples of Set Controller Properties Following are examples of some of the properties of the Set Controller Properties command.
MegaCli -AdpSetProp -CacheFlushInterval 30 a0 Sets the Cache flush interval for 30 seconds. Values: 0 to 255.
MegaCli -AdpSetProp - EccBucketLeakRate 1200 a0 Specifies a leak rate of 1200 minutes of ECC single-bit-error bucket. Values: 0 to 65535.
MegaCli -AdpSetProp - AutoDetectBackPlaneDsbl 1 a0 Specifies that the auto detect option (of SGPIO) of backplane is disabled. Values: 0, 1, 2, and 3.
Display Specified Controller Properties 5.9.6
Convention Description Use the command in the following table to display specified properties on the selected controllers.
Table 52 Display Specified Controller Properties
MegaCli -AdpGetProp CacheFlushInterval | RebuildRate | PatrolReadRate | BgiRate | CCRate | ReconRate | SpinupDriveCount | SpinupDelay | CoercionMode | ClusterEnable | PredFailPollInterval | BatWarnDsbl | EccBucketSize | EccBucketLeakRate | EccBucketCount | AbortCCOnError | AlarmDsply | SMARTCpyBkEnbl | SSDSMARTCpyBkEnbl | NCQDsply | MaintainPdFailHistoryEnbl | RstrHotSpareOnInsert | DisableOCR | EnableJBOD | DsblCacheBypass | BootWithPinnedCache | AutoEnhancedImportDsply |AutoDetectBackPlaneDsbl | EnblSpinDownUnConfigDrvs | SpinDownTime | DefaultSnapshotSpace | DefaultViewSpace | AutoSnapshotSpace | CopyBackDsbl | LoadBalanceMode | UseFDEOnlyEncrypt | UseDiskActivityForLocate | DefaultLdPSPolicy | DisableLdPsInterval | DisableLdPsTime | SpinUpEncDrvCnt | SpinUpEncDelay | ENABLEEGHSP | ENABLEEUG | ENABLEESMARTER | Perfmode | -DPMenable -aN|-a0,1,2|-aALL Displays the properties on the selected controllers. EccBucketCount : Count of single-bit ECC errors currently in the bucket.
NCQDsply : Returns NCQ setting. Values: 0 – Enabled, 1– Disabled.
DefaultSnapshotSpace : Default Snapshot Space (in percentage).
DefaultViewSpace : Default View Space (in percentage).
AutoSnapshotSpace : Default Auto Snapshot Space (in percentage).
WBSupport : Enables support for the Write Back option as the Write Policy.
See ***UNRESOLVED*** for explanations of the other options.
LSI Corporation - 185 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Controller Property-Related Options
5.9.7
5.9.8
5.9.9
5.9.10
NOTE
The
tty
log can be saved at the controller level.
Examples of Display Specified Controller Properties Following are examples of some of the properties of the Display Specified Controller Properties command.
MegaCli -AdpGetProp SpinupDriveCount a0 Displays the maximum number of drives that spin up at one time (in seconds).
MegaCli -AdpGetProp BatWarnDsbl a0 Displays the disable warnings for a missing battery or missing hardware.
MegaCli -AdpGetProp NCQDsply a0 Displays if the NCQ option is enabled on the specified controller or not.
MegaCli -AdpGetProp ENABLEEGHSP a0 Displays the Emergency Global Hot spares option set on the specified controller.
Set Factory Defaults
Use the command in the following table to set the factory defaults on the selected controllers.
Table 53 Set Factory Defaults
Convention Description MegaCli -AdpFacDefSet -aN|-a0,1,2|-aALL Sets the factory defaults on the selected controllers.
Set SAS Address
Use the command in the following table to set the SAS address on the selected controllers.
Table 54 Set SAS Address on Controller
Convention Description MegaCli –AdpSetSASA str[0-64] -aN Sets the controller’s SAS address. This string must be a 64-digit hexadecimal number.
Set Time and Date on Controller
Use the command in the following table to set the time and date on the selected controllers.
Table 55 Set Time and Date on Controller
Convention Description MegaCli –AdpSetTime yyyymmdd HH:mm:ss -aN|-a0,1,2|-aALL Sets the time and date on the controller. This command uses a 24-hour format. For example, 7 p.m. displays as 19:00:00 . The order of date and time is reversible.
Display Time and Date on Controller
Use the command in the following table to display the time and date on the selected controllers.
LSI Corporation - 186 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Patrol Read-Related Controller Properties
5.9.11
Table 56 Display Time and Date on Controller
Convention Description MegaCli –AdpGetTime -aN Displays the time and date on the controller. This command uses a 24-hour format. For example, 7 p.m. would display as 19:00:00 .
Get Connector Mode
Use the command in the following table to display which ports are enabled (Internal/External, 0/1) on the MegaRAID SAS 8888ELP RAID controller.
NOTE
This command is reserved strictly for the SAS 8888ELP RAID controller at this time. You must enable specific ports depending on how you intend to use the controller.
Table 57 Get Connector Mode
Convention Description MegaCli -AdpGetConnectorMode -ConnectorN|-Connector0,1|-ConnectorAll -aN| a0,1,2|-aALL Displays which ports are enabled (Internal/External, 0/1).
For example, if internal port 0 is active, internal ports 0–3 are active. If external port 1 is active, external ports 4– 7 are active.
5.9.12
Set Connector Mode
Use the command in the following table to set (enable) the connectors for the MegaRAID SAS 8888ELP RAID connectors that are listed in Section,
.
NOTE
This command is reserved strictly for the SAS 8888ELP RAID controller at this time. You must enable specific ports depending on how you intend to use the controller.
Table 58 Set Connector Mode
Convention Description MegaCli -AdpSetConnectorMode -Internal|-External|-Auto -ConnectorN| Connector0,1|-ConnectorAll -aN|-a0,1,2|-aALL Sets (enables) the connectors listed in the GetConnectorMode command. For example, to enable internal ports 4-7 on controller 0, run the following command: MegaCli –AdpSetConnectorMode –Internal –Connector1 –a0
5.10
Patrol Read-Related Controller Properties
5.10.1
You can use the commands in this section to select the settings for patrol read. A patrol read scans the system for possible drive errors that could lead to drive failure, then takes action to correct the errors. The goal is to protect data integrity by detecting drive failure before the failure can damage data. The corrective actions depend on the virtual drive configuration and the type of errors. Patrol read affects performance; the more iterations there are, the greater the impact.
Set Patrol Read Options
Use the command in the following table on the selected controllers to set the patrol read options.
LSI Corporation - 187 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Patrol Read-Related Controller Properties
5.10.2
5.10.3
Table 59 Set Patrol Read Options
Convention Description MegaCli –AdpPR –Dsbl|EnblAuto|EnblMan|Start|Stop|-Suspend|-Resume|Info | { SetStartTime yyyymmdd hh} | {maxConcurrentPD val} -aN| -a0,1,2|-aALL Sets the patrol read options on a single controller, multiple controllers, or all controllers: -Dsbl : Disables the patrol read for the selected controllers.
-EnblAuto : Enables the patrol read automatically for the selected controllers. This means the patrol read will start automatically after the controller initialization is complete.
-EnblMan : Enables the patrol read manually for the selected controllers. This means that the patrol read does not start automatically; it has to be started manually by selecting the Start command.
-Start : Starts the patrol read for the selected controllers.
-Stop : Stops the patrol read for the selected controllers.
-Suspend : Suspends the patrol read.
-Resume : Resumes a suspended patrol read from the point that the patrol read was suspended.
-Info : Displays the following patrol read information for the selected controllers: Patrol read operation mode, patrol read execution delay value, and patrol read status.
–SetStartTime yyyymmdd hh : Set the start time for the patrol read in year/month/day format.
–maxConcurrentPD : Sets the maximum number of concurrent drives on which the patrol read runs.
Set Patrol Read Delay Interval
Use the command in the following table on the selected controllers to set the time between patrol read iterations.
Table 60 Set Patrol Read Delay Interval
Convention Description MegaCli –AdpPRSetDelay –Val -aN|-a0,1,2|-aALL Sets the time between patrol read iterations on a single controller, multiple controllers, or all controllers: -Val : Sets delay time between patrol read iterations. The value is time of delay in hours. A value of zero means no delay and an immediate restart.
Set Patrol Read on Single, Multiple, or All Adapters
Use this command in the following table to set patrol read on a single, multiple, or on all adapters. LSI Corporation - 188 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool BIOS-Related Properties
Table 61 Set Patrol Read on Single, Multiple, or All Adapters
Convention Description MegaCli -AdpPR Dsbl|EnblAuto|EnblMan|Start|Suspend|Resume|Stop|Info|SSDPatrolReadEnbl |SSDPatrolReadDsbl Sets Patrol read on a single, multiple, or on all adapters. Patrol read will not start on degraded or on an undergoing Initialization/Consistency Check.
Dsbl : Disables Patrol Read for the selected adapter(s).
EnblAuto : Enables Patrol Read automatically for the selected adapter(s). Patrol Read will start automatically on the scheduled intervals.
EnblMan : Enables Patrol Read manually for the selected adapter(s). Patrol Read does not start automatically; it has to be started manually by selecting the Start command.
Start : Starts Patrol Read for the selected adapter(s).
Suspend : Suspend Patrol Read for the selected adapter(s).
Resume : Resume Patrol Read for the selected adapter(s).
Stop : Stops Patrol Read for the selected adapter(s).
Info : Displays the following Patrol Read information for the selected adapter(s): Patrol Read operation mode, patrol Read execution delay value, and patrol Read status.
SSDPatrolReadEnbl : Enables Patrol Read that includes virtual drives constituting only SSD drives SSDPatrolReadDsbl : Disables Patrol Read that includes virtual drives constituting only SSD drives aN : N specifies the adapter number for the command.
a0,1,2 : Specifies the command is for adapters 0, 1, and 2. You can select two or more adapters in this manner.
aALL : Specifies that the command is for all adapters.
5.11
BIOS-Related Properties
5.11.1
5.11.2
You can use the commands in this section to select the settings for BIOS-related options.
Set or Display Bootable Virtual Drive ID
Use the command in the following table to set or display the ID of the bootable virtual drive.
NOTE
This option does not write a boot sector to the virtual drive. The operating system does not load if the boot sector is incorrect.
Table 62 Bootable Virtual Drive ID
Convention Description MegaCli –AdpBootDrive {-Set {–Lx | -physdrv[E0:S0]}} | {-Unset {-Lx | physdrv[E0:S0]}} | -Get -aN|-a0,1,2|-aALL Sets or displays the bootable virtual drive ID: -Set –Lx| -physdrv[E0:S0] enclosure and slot, to use to boot.
: Sets the virtual drive as bootable so that during the next reboot, the BIOS looks for a boot sector in the specified virtual drive. Identifies the physical drive in the virtual drive, by -Get : Displays the bootable virtual drive ID.
- Unset : Unsets the bootable virtual drive.
Select BIOS Status Options
Use the command in the following table to set the options for the BIOS status.
LSI Corporation - 189 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Battery Backup Unit-Related Properties
Table 63 Options for BIOS Status
Convention Description MegaCli –AdpBIOS -Enbl|-Dsbl| SOE | BE | EnblAutoSelectBootLd | DsblAutoSelectBootLd |-Dsply| -aN|-a0,1,2|-aALL Sets the BIOS options. The following are the settings you can select on a single controller, multiple controllers, or all controllers: -Enbl , -Dsbl : Enables or disables the BIOS status on selected controllers.
-SOE : Stops on BIOS errors during POST for selected controllers. When set to problem. This setting is available only when you enable the BIOS status.
-SOE , the BIOS stops in case of a problem with the configuration. This setting allows you to enter the configuration utility to resolve the -BE : Bypasses BIOS errors during the POST. This value is available only when you enable the BIOS status.
-EnblAutoSelectBootLd | DsblAutoSelectBootLd : Enable or disable automatic selection of the boot virtual drive.
-Dsply : Displays the BIOS status on selected controllers.
5.12
Battery Backup Unit-Related Properties
5.12.1
5.12.2
You can use the commands in this section to select the settings for BBU-related options.
Display BBU Information
Use the command in the following table to display complete information about the BBU for the selected controllers.
Table 64 Display BBU Information
Convention Description MegaCli -AdpBbuCmd -aN|-a0,1,2|-aALL Displays complete information about the BBU, such as status, capacity information, design information, battery backup charge time, and properties.
Display BBU Status Information
Use the command in the following table to display complete information about the status of the BBU, such as temperature and voltage, for the selected controllers.
LSI Corporation - 190 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Battery Backup Unit-Related Properties
5.12.3
Table 65 Display BBU Status Information
Convention Description MegaCli -AdpBbuCmd -GetBbuStatus –aN|-a0,1,2|-aALL Displays complete information about the BBU status, such as the temperature and voltage. The information displays in the following formats:
BBU Status for Adapter: xx
Battery Type: XXXXXX(string) Voltage: xx mV Current: xx mA Temperature: xx C° Firmware Status: xx Battery state: xx
Gas Gauge Status:
Fully Discharged: Yes/No Fully Charged: Yes/No Discharging: Yes/No Initialized: Yes/No Remaining Time Alarm: Yes/No Remaining Capacity Alarm: Yes/No Discharge Terminated: Yes/No Over Temperature: Yes/No Charging Terminated: Yes/No Over Charged: Yes/No Additional status information displays differently for iBBU and BBU.
For iBBU:
Relative State of Charge: xx Charger System State: xx Charger System Ctrl: xx Charging Current: xx mA Absolute State of Charge: xx% Max Error: xx%
For BBU:
Relative State of Charge: xx Charger Status: xx Remaining Capacity: xx mAh Full Charge Capacity: mAh isSOHGood: Yes/No
Display BBU Capacity
Use the command in the following table to display the BBU capacity for the selected controllers.
LSI Corporation - 191 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Battery Backup Unit-Related Properties
5.12.4
5.12.5
Table 66 Display BBU Capacity Information
Convention Description MegaCli -AdpBbuCmd -GetBbuCapacityInfo –aN|-a0,1,2|-aALL Displays BBU capacity information. The information displays in the following formats: BBU Capacity Info for Adapter: x Relative State of Charge: xx% Absolute State of Charge: xx% Remaining Capacity: xx mAh Full Charge Capacity: xx mAh Run Time to Empty: xxx Min Average Time to Empty: xxx Min Average Time to Full: xxx Min Cycle Count: xx Max Error: xx%
Display BBU Design Parameters
Use the command in the following table to display BBU design parameters for the selected controllers.
Table 67 Display BBU Design Parameters
Convention Description MegaCli -AdpBbuCmd -GetBbuDesignInfo –aN|-a0,1,2|-aALL Displays information about the BBU design parameters. The information displays in the following formats: BBU Design Info for Adapter: x Date of Manufacture: mm/dd, yyyy Design Capacity: xxx mAh Design Voltage: mV Serial Number: 0xhhhh Pack Stat Configuration: 0xhhhh Manufacture Name: XXXXXX(String) Device Name: XXXXXX(String) Device Chemistry: XXXXXX(String)
Display Current BBU Properties
Use the command in the following table to display the current BBU properties for the selected controllers.
LSI Corporation - 192 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Battery Backup Unit-Related Properties
Table 68 Display Current BBU Properties
Convention Description MegaCli -AdpBbuCmd -GetBbuProperties –aN|-a0,1,2|-aALL Displays current properties of the BBU. The information displays in the following formats: BBU Properties for Adapter: x Auto Learn Period: xxx Sec Next Learn Time: xxxx Sec Learn Delay Interval=
NOTE
If the battery type is IBBU08, then the BBU mode is displayed as a part of GetBbuProperties.
NOTE
When the value in the Auto Learn Mode is set from
1
(Disabled) to
0
(Enabled), the controller firmware resets the battery module properties to initiate an immediate battery learn cycle. The
Learn Delay Interval
field and the
Next Learn Time
field will not be updated until the battery relearn is completed. Once the relearning cycle is completed, the value in the
Next Learn Time
field and in the
Learn Delay Interval
field will display the new time (in seconds) of the next battery learning cycle.
5.12.6
Start BBU Learning Cycle
Use the command in the following table to start the BBU learning cycle on the selected controllers. A learning cycle is a battery calibration operation performed by the controller periodically (approximately every three months) to determine the condition of the battery.
Table 69 Start BBU Learning Cycle
Convention Description MegaCli -AdpBbuCmd -BbuLearn -aN|-a0,1,2|-aALL Starts the learning cycle on the BBU. No parameter is needed for this option.
5.12.7
5.12.8
Place Battery in Low-Power Storage Mode
Use the command in the following table to place the battery into Low-Power Storage mode on the selected controllers. This mode saves battery power consumption.
Table 70 Place Battery in Low-Power Storage Mode
Convention Description MegaCli -AdpBbuCmd -BbuMfgSleep -aN|-a0,1,2|-aALL Places the battery in Low-Power Storage mode. The battery automatically exits this state after 5 seconds.
Set BBU Properties
Use the command in the following table to set the BBU properties on the selected controllers after reading from the file.
LSI Corporation - 193 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Options for Displaying Logs Kept at the Firmware Level
Table 71 Set BBU Properties
Convention Description MegaCli -AdpBbuCmd -SetBbuProperties -f
bbuMode: Some examples of the values for this property are Mode 4 - Standard 48 hour with visible learn cycles., Mode 1 - 12 hour with transparent learn cycle, and Mode 3 - 24 hour with transparent learn cycle. To view all the values for this property, run the command MegaCli -adpBBucmd -getbbumodes -aN .
NOTE
You can change only two of these parameters: learnDelayInterval and autoLearnMode.
NOTE
If the battery type is IBBU08, then in autoLearnmode, the WarnViaEvent is not supported.
5.12.9
Seal the Gas Gauge EEPROM Write Access
Use the command in the following table to seal the gas gauge EEPROM write access on the selected controllers.
Table 72 Seal the Gas Gauge EEPROM Write Access
Convention Description MegaCli -AdpBbuCmd -BbuMfgSeal -aN|-a0,1,2|-aALL Seals the gas gauge EEPROM write access.
5.13
Options for Displaying Logs Kept at the Firmware Level
5.13.1
Use the commands in this section to select the display settings for the event log and the BBU terminal log, which are kept at the firmware level.
Event Log Management
Use the command in the following table to manage the event entries in the event log for the selected controllers.
LSI Corporation - 194 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Options for Displaying Logs Kept at the Firmware Level
Table 73 Event Log Management
Convention Description MegaCli –AdpEventLog –GetEventLogInfo –aN | –GetEvents {-info -warning critical -fatal} | GetSinceShutdown {-info -warning -critical -fatal} | GetSinceReboot {-info -warning -critical -fatal} | IncludeDeleted {-info warning -critical -fatal} | {GetLatest
: Displays overall event information such as total number of events, newest sequence number, oldest sequence number, shutdown sequence number, reboot sequence number, and clear sequence -GetEvents : Gets event log entry details. The information shown consists of total number of entries available at the firmware side since the last clear and details of each entries of the error log. Start_entry specifies the initial event log entry when displaying the log.
-info : Informational message. No user action is necessary.
-warning : A component may be close to a failure point.
-critical : A component has failed, but the system has not lost data.
-fatal : A component has failed, and data loss has occurred or will occur.
-GetSinceShutdown : Displays all of the events since last controller shutdown.
-GetSinceReboot : Displays all of the events since last controller reboot.
-IncludeDeleted : Displays all events, including deleted events.
-GetLatest : Displays the latest number of events, if any exist. The event data will be written to a file ( .txt
) in reverse order.
-Clear : Clears the event log for the selected controllers.
-GetCCIncon : Displays the events relating to inconsistent data found during a consistency check. The event data will be written to a file ( .txt
).
5.13.2
NOTE
-AdpEventLog does not support the file option in PCLI.
Examples of Event Log Management Following are examples of some of the properties of the Event Log Management command.
MegaCli -AdpEventLog -GetEvents - warning -f abc.txt -a0 Displays the event log details and warns you that a component may be close to a failure point. The event log details is written in the abc.txt
file.
MegaCli -AdpEventLog -GetSinceReboot -f event.txt a0 Displays all the events since the last controller reboot. All the event data is written in the event.txt
file.
MegaCli -AdpEventLog -GetCCIncon -f abc.txt a0 Displays the events relating to inconsistent data found during a consistency check and writes all the event data in the abc.txt
file.
Set BBU Terminal Logging
Use the command in the following table to set the BBU terminal logging for the selected controllers.
LSI Corporation - 195 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Configuration-Related Options
Table 74 Set BBU Terminal Logging
Convention Description MegaCli –FwTermLog -Bbuoff |–BbuoffTemp|-Bbuon|-BbuGet|Dsply|Clear -aN| -a0,1,2|-aALL Sets BBU terminal logging options. The following are the settings you can select on a single controller, multiple controllers, or all controllers: -Bbuoff : While storing the TTY log in DRAM, BBU is not used for buffering. In the case of power loss, this log is lost.
–BbuoffTemp : TTY BBU buffering will be set to off only for this boot.
-Bbuon : While storing the TTY log in DRAM, BBU is used for buffering. The Log is preserved even in the case of power loss.
-BbuGet : This parameter gives the current BBU state, i.e., if BBU is on or off for TTY history.
- Dsply : Displays the TTY log (firmware terminal log) entries with details on the given adapters. The information shown consists of the total number of entries available at a firmware side.
-Clear : Clears the TTY log.
5.14
Configuration-Related Options
5.14.1
You can specify the drives by using the Enclosure ID:Slot ID for SAS controllers. This option assumes that all drives are connected to the controller through an enclosure. If the drives are not connected to an enclosure, they are assumed to be connected to Enclosure 0. In this case no slot exists, so you can use the pdlist command to get the slot equivalent number. (This option applies to all commands that use the Enclosure ID:Slot ID format.) MegaCLI expects the input in [:S] format for directly attached devices.
In the following options, [E0:S0, E1:S1] specifies the enclosure ID and slot ID for the drive.
Create a RAID Drive Group from All Unconfigured Good Drives
Use the command in the following table to create one RAID drive group out of all of the Unconfigured Good drives, and a hot spare, if desired. This command is for RAID levels 0, 5, 6, 10, 50, or 60. All free drives are used to create a new drive group and, if desired, one hot spare drive. If it is not possible to use all of the free drives, the command will abort with a related error level. If drives of different capacities exist, the largest drive is used to make the hot spare.
NOTE
The firmware supports only 32 drives per drive group. If more than 32 Unconfigured Good drives exist, MegaCLI cannot configure any of the drives, and the command aborts.
LSI Corporation - 196 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Configuration-Related Options
Table 75 Create a Drive Group from All of the Unconfigured Drives
Convention Description MegaCli –CfgLDAdd -RX[E0:S0,E1:S1,...] [WT | WB] [NORA | RA] [Direct | Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXX [-szYYY ...]] [-strpszM] [ Hsp[E0:S0,...]] [-AfterLdX] | -Force [FDE|CtrlBased]aN Creates one RAID drive group out of all of the Unconfigured Good drives, and a hot spare, if desired. This is for RAID levels 0, 1, 5, or 6. All free drives are used to create a new drive group and, if desired, one hot spare drive.
-Rx[E0:S0,...] : Specifies the RAID level and the drive enclosure/slot numbers used to construct a drive group. E0: Enclosure number; S0: Slot number.
-WT (Write Through), WB (Write Back): Selects the write policy.
-NORA (No Read Ahead), RA (Read Ahead): Selects the read policy.
-Direct , -Cached : Selects the cache policy.
-CachedBadBBU|NoCachedBadBBU : Specifies whether to use write cache when the BBU is bad.
-szXXXXXXXX : Specifies the capacity for the virtual drive, where XXXX is a decimal number of MB. However, the actual capacity of the virtual drive can be smaller, because the driver requires the number of blocks from the drives in each virtual drive to be aligned to the stripe size. If multiple size options are specified, CT configures the virtual drives in the order of the options entered in the command line. The configuration of a particular virtual drive will fail if the remaining capacity of the drive group is too small to configure the virtual drive with the specified capacity. This option can also be used to create a configuration on the free space available in the drive group.
-strpszM : Specifies the stripe size, where the stripe size values are 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, or 1024 KB.
Hsp : Specifies the drive with which to make the hot spare.
-Force : Specifies that drive coercion is used to make the capacity of the drives compatible. Drive coercion is a tool for forcing drives of varying capacities to the same capacity so they can be used in a drive group.
NOTE
Previously, -szXXX expressed capacity in MB, but now you can enter the capacity in your choice of units. For example, to create a virtual drive of 10 GB, enter the size as sz10GB . If you do not enter a unit, MB is the default unit.
5.14.2
Examples of Create a RAID Drive Group from All Unconfigured Good Drives Following are examples of some of the properties of the Create a RAID Drive Group from All Unconfigured-Good Drives command.
MegaCli -CfgLDAdd r0[252:0] a0 Creates a RAID drive group for RAID level 0 for the selected drive (252:0).
MegaCli -CfgLDAdd r0[252:1] WB Direct sz10GB a0 Creates a RAID drive group for RAID level 0 for the selected drive (252:1) with WB write policy, a Direct cache policy, and a capacity of 10 GB for the virtual drive.
MegaCli -CfgLDAdd r5[252:2,252:3,252:4] a0 Creates a RAID drive group for RAID level 5 for the selected drives (252:2, 252:3, 252:4).
Add RAID 0, 1, 5, or 6 Configuration
Use the command in the following table to add a RAID level 0, 1, 5, or 6 configuration to the existing configuration on the selected controller. For RAID levels 10, 50, or 60, see Section,
Add RAID 10, 50, or 60 Configuration .
LSI Corporation - 197 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Configuration-Related Options
5.14.3
Table 76 Add RAID 0, 1, 5, or 6 Configuration
Convention Description MegaCli –CfgLDAdd -R0|-R1|-R5|-R6[E0:S0,E1:S1,...] [WT | WB] [NORA | RA] [Direct | Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXXXXXXX [-szYYYYYYYY [... ]]] [-strpszM] [–Hsp[E5:S5,...]] [–afterLdX] [–Force] -aN Adds a RAID level 0, 1, 5, or 6 configuration to a specified controller. Even if no configuration is present, you have the option to write the configuration to the controller. Note that RAID 1 supports up to 32 drives in a single span of 16 drive groups. RAID 1 requires an even number of drives, because data from one drive is mirrored to the other drive in each RAID 1 drive group.
-Rx[E0:S0,...] : Specifies the RAID level and the drive enclosure/slot numbers to construct a drive group. -WT (Write Through), WB (Write Back): Selects the write policy.
-NORA (No Read Ahead), RA (Read Ahead): Selects the read policy.
-Cached , -Direct : Selects the cache policy.
[{CachedBadBBU|NoCachedBadBBU }] : Specifies whether to use write cache when the BBU is bad.
-szXXXXXXXX : Specifies the capacity for the virtual drive, where available in the drive group.
XXXX is a decimal number of MB. However, the actual capacity of the virtual drive can be smaller, because the driver requires the number of blocks from the drives in each virtual drive to be aligned to the stripe size. If multiple size options are specified, CT configures the virtual drives in the order of the options entered in the command line. The configuration of a particular virtual drive will fail if the remaining capacity of the drive group is too small to configure the virtual drive with the specified capacity. This option can also be used to create a configuration on the free space -strpszM : Specifies the stripe size, where the stripe size values are 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, or 1024 KB.
Hsp[E5:S5,...] : Creates hot spares when you create the configuration. The new hot spares will be dedicated to the virtual drive used in creating the configuration. This option does not allow you to create global hot spares. To create global hot spares, you must use the -PdHsp command with proper subcommands.
You can also use this option to create a configuration on the free space available in the virtual drive. You can specify which free slot should be used by specifying the already used for configuration.
-afterLdX . This command is optional. By default, the application uses the first free slot available in the virtual drive. This option is valid only if the virtual drive is Examples of Adding RAID 0, 1, 5, or 6 Configuration Following are examples of some of the properties of the Add RAID 0, 1, 5, or 6 Configuration command.
MegaCLI cfgldadd R0[21:1] a0 Adds RAID level 0 configuration to the selected drive (21:1).
MegaCLI cfgldadd R1[21:3,21:4] a0 Adds RAID level 1 configuration to the selected drives (21:3, 21: 4). RAID 1 requires an even number of drives. MegaCLI cfgldadd R0 [21:1] Direct NORA WT strpsz8 a0 Adds a RAID level 0 configuration to the selected drive (21:1) with a Direct cache policy, a NORA read policy, a WT write policy, and a stripe size of 8 KB.
Add RAID 10, 50, or 60 Configuration
Use the command in the following table to add a RAID 10, RAID 50, or RAID 60 configuration to the existing
LSI Corporation - 198 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Configuration-Related Options
Table 77 Add RAID 10, 50, or 60 Configurations
Convention Description MegaCli –CfgSpanAdd -R10|-R50|R60 –Array0[E0:S0,E1:S1,...] – Array1[E0:S0,E1:S1,...] [...] [WT | WB] [NORA | RA] [Direct | Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXXXXXXX [-szYYYYYYYY [... ]]] [-strpszM] [–afterLdX] | -Force [FDE|CtrlBased] -aN|-a0,1,2|-aALL Creates a RAID level 10, 50, or 60 (spanned) configuration from the specified drive groups. Even if no configuration is present, you must use this option to write the configuration to the controller.
Note that RAID 10 supports up to 8 spans with a maximum of 32 drives in each span. (Some factors, such as the type of controller, limit the number of drives you can use.) RAID 10 requires an even number of drives, because data from one drive is mirrored to the other drive in each RAID 1 drive group. You can have an even number or odd number of spans.
Multiple drive groups are specified using the The order of options –ArrayX[E0:S0,...] option. (Note that {WT |WB} {NORA | RA} {Direct | Cached } is flexible.
X starts from 0, not 1.) All of the drive groups must have the same number of drives. At least two drive groups must be provided. -strpszM : Specifies the stripe size, where the stripe size values are 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, or 1024 KB.
The size option, -szXXXXXXXX , can be accepted to allow slicing in the spanned drive groups if the controller supports this feature. The [–afterLdX] option is accepted if the size option is accepted. CT exits and does not create a configuration if the size or the -afterLdx option is specified, but the controller does not support slicing in the spanned drive groups.
NOTE
Previously, -szXXX expressed capacity in MB, but now you can enter the capacity in your choice of units. For example, to create a virtual drive of 10 GB, enter the size as sz10GB . If you do not enter a unit, MB is the default unit.
5.14.4
5.14.5
Examples of Adding RAID 10, 50, or 60 Configuration Following are examples of some properties of the ADD RAID 10, 50, or 60 configuration command.
MegaCLI cfgspanadd R10 Array0[21:5,21:6] Array1[21:7,21:8] Direct NORA WT strpsz8 a0 Creates a RAID level 10 configuration for the specified drive groups, with a Direct cache policy, a NORA read policy, a WT write policy and a stripe size of 8 KB.
MegaCLI cfgspanadd R10 Array0[21:1,21:2] Array1[21:3,21:4] Direct WT strpsz64 a0 Creates a RAID level 10 configuration for the specified drive groups with a Direct cache policy, a WT write policy, and a stripe size of 64 KB.
Clear the Existing Configuration
Use the command in the following table to clear the existing configuration on the selected controllers.
Table 78 Clear Existing Configuration
Convention Description MegaCli –CfgClr -aN|-a0,1,2|-aALL Clears the existing configuration.
Save the Configuration on the Controller
Use the command in the following table to save the configuration for the selected controllers to the given file name.
LSI Corporation - 199 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Configuration-Related Options
5.14.6
5.14.7
5.14.8
Table 79 Save Configuration on the Controller
Convention Description MegaCli –CfgSave –f FileName -aN Saves the configuration for the selected controllers to the given file name.
Restore the Configuration Data from File
Use the command in the following table to read the configuration from the file and load it on the selected controllers. You can restore the read/write properties and RAID configuration using hot spares.
Table 80 Restore Configuration Data from File
Convention Description MegaCli –CfgRestore –f FileName -aN Reads the configuration from the file, and loads it on the controller. MegaCLI can store or restore all read and write controller properties, all read and write properties for virtual drives, and the RAID configuration, including hot spares. Note the following: MegaCLI does not validate the setup when restoring the RAID configuration.
The -CfgSave CfgRestore option stores the configuration data and controller properties in the file. Configuration data has only the device ID and sequence number information of the drives used in the configuration. The option fails if the same device IDs of the drives are not present.
Manage Foreign Configuration Information
Use the command in the following table to manage configurations from other controllers, called
foreign configurations
, for the selected controllers. You can scan, preview, import, and clear foreign configurations.
NOTE
The actual status of virtual drives and drives can differ from the information displayed in the –Scan option. Run the –Preview option before you import a foreign configuration.
Table 81 Manage Foreign Configuration Information
Convention Description MegaCli -CfgForeign -Scan | [-SecurityKey sssssssssss] | -Dsply [x] | [ SecurityKey sssssssssss] | -Preview [x] | [-SecurityKey sssssssssss] | Import [x] | [-SecurityKey sssssssssss] | -Clear [x] | [-SecurityKey sssssssssss] -aN|-a0,1,2|-aALL Manages foreign configurations. The options for this command follow: -Scan : Scans and displays available foreign configurations.
-SecurityKey : This key is based on a user-provided string. The controller uses the security key to lock and unlock access to the secure user data. This key is encrypted into the security key blob and stored on the controller. If the security key is unavailable, user data is irretrievably lost. You must be careful to never lose the security key.
-Preview : Provides a preview of the imported foreign configuration. The foreign configuration ID (FID) is optional.
-Dsply : Displays the foreign configuration.
-Import : Imports the foreign configuration. The FID is optional.
-Clear [FID] : Clears the foreign configuration. The FID is optional.
Delete Specified Virtual Drives
Use the command in the following table to delete one, multiple, or all virtual drives on the selected controllers.
LSI Corporation - 200 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
5.14.9
Table 82 Delete Specified Virtual Drives
Convention Description MegaCli –CfgLDDel –Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL Deletes the specified virtual drives on the selected controllers. You can delete one virtual drive, multiple virtual drives, or all of the selected virtual drives on selected controllers.
Display the Free Space
Use the command in the following table to display the free space that is available to use for configuration on the selected controllers.
Table 83 Display Free Space
Convention Description MegaCli –CfgFreeSpaceInfo -aN|-a0,1,2|-aALL Displays all of the free space available for configuration on the selected controllers. The information displayed includes the number of drive groups, the number of spans in each drive group, the number of free space slots in each drive group, the start block, and the size (in both blocks and megabytes) of each free space slot.
5.15
Virtual Drive-Related Options
5.15.1
You can use the commands in this section to select settings for the virtual drives and perform actions on them.
Display Virtual Drive Information
Use the command in the following table to display virtual drive information for the selected controllers.
Table 84 Display Virtual Drive Information
Convention Description MegaCli –LDInfo –Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL Displays information about the virtual drives on the selected controllers.
This information includes the name, RAID level, RAID level qualifier, capacity in megabytes, state, stripe size, number of drives, span depth, cache policy, access policy, and ongoing activity progress, if any, including initialization, background initialization, consistency check, and reconstruction.
5.15.2
Change the Virtual Drive Cache and Access Parameters
Use the command in the following table to change the cache policy and access policy for the virtual drives on the selected controllers.
LSI Corporation - 201 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
5.15.3
5.15.4
Table 85 Change Virtual Drive Cache and Access Parameters
Convention Description MegaCli -LDSetProp {-Name LdNamestring} | -RW|RO|Blocked|RemoveBlocked | WT|WB|ForcedWB [-Immediate] |RA|NORA| Cached|Direct | EnDskCache|DisDskCache | CachedBadBBU|NoCachedBadBBU |-L0,1,2|-Lall -aN| a0,1,2|-aALL Allows you to change the following virtual drive parameters: -WT (Write through), WB (Write back): Selects write policy.
-Immediate : Indicates that the changes take place immediately.
-NORA (No read ahead), RA (Read ahead): Selects read policy.
-Cached , -Direct : Selects cache policy.
-CachedBadBBU|NoCachedBadBBU : Specifies whether to use write cache when the BBU is bad.
-RW , -RO , Blocked : Selects access policy.
-EnDskCache : Enables drive cache.
-DisDskCache : Disables drive cache.
Display the Virtual Drive Cache and Access Parameters
Use the command in the following table to display cache and access parameters for the virtual drives on the selected controllers.
Table 86 Display Virtual Drive Cache and Access Parameters
Convention Description MegaCli –LDGetProp -Cache | -Access | -Name | -DskCache | -PSPolicy | Consistency -Lx|-L0,1,2| -Lall -aN|-a0,1,2|-aALL Displays the cache and access policies of the virtual drives: -Cache : -Cached , Direct : Displays cache policy.
-WT (Write through), WB (Write back): Selects write policy.
-NORA (No read ahead), RA (Read ahead): Selects read policy.
-Access : -RW , -RO , Blocked : Displays access policy.
-DskCache : Displays drive cache policy.
-PSPolicy : Displays the default and current power savings policy of the virtual drive.
-Consistency : Displays if the physical drive is consistent or not.
Manage Virtual Drives Initialization
Use the command in the following table to manage initialization of the virtual drives on the selected controllers.
Table 87 Manage Virtual Drive Initialization
Convention Description MegaCli –LDInit {–Start [Fast | Full]} |-Abort|–ShowProg|-ProgDsply-Lx| L0,1,2|-Lall -aN|-a0,1,2|-aALL Allows you to select the following actions for virtual drive initialization: -Start : Starts the initialization (writing 0s) on the virtual drives and displays the progress (this is optional). The fast initialization option initializes the first and last 8 Mbyte areas on the virtual drive. The full option allows you to initialize the entire virtual drive.
-Abort : Aborts the ongoing initialization on the virtual drives.
-ShowProg : Displays the snapshot of the ongoing initialization, if any.
-ProgDsply : Displays the progress of the ongoing initialization. The routine continues to display the progress until at least one initialization is completed or a key is pressed.
LSI Corporation - 202 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
5.15.5
Manage a Consistency Check
Use the command in the following table to manage a data consistency check (CC) on the virtual drives for the selected controllers.
Table 88 Manage Consistency Check
Convention Description MegaCli -LDCC {-Start [-force]}|-Abort|-Suspend|-Resume|-ShowProg|-ProgDsply -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL Allows you to select the following actions for a data CC: -Start : Starts a CC on the virtual drives, then displays the progress (optional) and time remaining.
-Abort : Aborts an ongoing CC on the virtual drives.
-Suspend : Suspends the CC.
-Resume : Resumes a CC from the point where the CC was suspended.
-ShowProg : Displays a snapshot of an ongoing CC.
-ProgDsply : Displays ongoing CC progress. The progress displays until at least one CC is completed or a key is pressed.
5.15.6
5.15.7
Schedule a Consistency Check
Use the command in the following table to schedule a consistency check (CC) on the virtual drives for the selected controllers. There are options to set the mode, change the CC start time, set the delay time and display of the CC info.
Table 89 Schedule Consistency Check
Convention Description MegaCli -AdpCcSched -Dsbl|-Info|{-ModeConc | -ModeSeq [-ExcludeLD -LN| L0,1,2] [-SetStartTime yyyymmdd hh ] [-SetDelay val ] } -aN|-a0,1,2|-aALL Schedules check consistency on the virtual drive of the selected adapter.
Dsbl : Disables a scheduled CC for the given adapters.
Info : Gets information about a scheduled CC for the given adapters.
ModeConc : The scheduled CC on all of the virtual drives runs concurrently for the given adapters.
ModeSeq : The scheduled CC on all of the virtual drives runs sequentially for the given adapters.
ExcludeLd : Specify the virtual drive numbers not included in the scheduled CC. The new list will overwrite the existing list stored on the controller. This is optional.
StartTime : Sets the next start time. The date is in the format of yyyymmdd in decimal digits and followed by a decimal number for the hour between 0 ~ 23 inclusively. This is optional.
SetDelay : Sets the execution delay between executions for the given adapters. This is optional.
Values : The value is the length of delay in hours. A value of 0 means continuous execution.
Manage a Background Initialization
Use the command in the following table to enable, disable, or suspend background initialization (BGI), as well as display initialization progress on the selected controllers.
LSI Corporation - 203 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
5.15.8
5.15.9
Table 90 Manage Background Initialization
Convention Description MegaCli –LDBI -Enbl|-Dsbl|-getSetting|-abort|-Suspend|-Resume|-ShowProg| ProgDsply –Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL Manages background initialization options. The following are the background initialization settings you can select on a single controller, multiple controllers, or all controllers: -Enbl , -Dsbl : Enables or disables the background initialization on the selected controllers.
-ProgDsply : Displays an ongoing background initialization in a loop. This function completes only when all background initialization processes complete, or you press a key to exit.
-Abort : Aborts an ongoing background initializations.
-Suspend : Suspends the background initializations.
-Resume : Resumes a background initializations from the point where the background initializations was suspended.
-ShowProg : Displays the current progress value.
- GetSetting : Displays current background initialization setting ( Enabled or Disabled ).
Perform a Virtual Drive Reconstruction
Use the command in the following table to perform a reconstruction of the virtual drives on the selected controllers.
Table 91 Virtual Drive Reconstruction
Convention Description MegaCli -LDRecon {-Start -rX [{-Add | -Rmv} -Physdrv[E0:S0,...]]}| ShowProg|-ProgDsply -Lx -aN Controls and manages virtual drive reconstruction. The following are the virtual drive reconstruction settings you can select on a single controller: -Start : Starts a reconstruction of the selected virtual drive to a new RAID level.
-rX: Changes the RAID level of the virtual drive when you start reconstruction. You might need to add or remove a drive to make this possible.
-Start –Add PhysDrv[E0:S0,E1:S1....] : Adds listed drives to the virtual drive and starts reconstruction on the selected virtual drive. -Start –Rmv PhysDrv[E0:S0,E1:S1....] : Removes one drive from the existing virtual drives and starts a reconstruction.
-ShowProg : Displays a snapshot of the ongoing reconstruction process.
-ProgDsply : Allows you to view the ongoing reconstruction. The routine continues to display progress until at least one reconstruction is completed or a key is pressed.
Display Information about Virtual Drives and Drives
Use the command in the following table to display information about the virtual drives and drives for the selected controllers, such as the number of virtual drives, RAID level, and drive capacity.
LSI Corporation - 204 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
Table 92 Display Virtual Drive and Drive Information
Convention Description MegaCli –LDPDInfo -aN|-a0,1,2|-aALL| Displays information about the present virtual drives and drives on the selected controllers. The command displays the following information. The number of virtual drives. The RAID level of the virtual drives.
The device world-wide name. The device firmware level. The device write-cache setting. The device negotiated transfer speed (link speed) for each active or passive port.
The device’s disk group membership. An indication if the device has flagged a SMART alerts.
The status of each physical port on the physical device (if it is The firmware version of the device.
shielded ).
The Shield Counter value.
The last shield diagnostics completion time. active , passive or disabled ). The new PD state ( UnConfigured - Shielded , Hot Spare - shielded , Configured - The drive capacity information, which includes raw capacity, coerced capacity, uncoerced capacity, drive temperature, enclosure position and SAS address. For SATA devices, it indicates if NCQ is supported/enabled or disabled.
5.15.10
Display the Bad Block Table
Use the command in the following table to check for bad block entries of virtual disks on the selected adapter.
Table 93 Display Virtual Drive and Drive Information
Convention Description MegaCLI -GetBbtEntries -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL Displays information on the bad block entries of virtual disks on the selected adapters.
5.15.11
Recovering and Clearing Punctured Block Entries
You can recover and clear the punctured block area of a virtual drive.
ATTENTION
This operation removes any data stored on the physical drives. Back up the good data on the drives before making any changes to the configuration.
When a Patrol Read or a Rebuild operation encounters a media error on the source drive, it punctures a block on the target drive to prevent the use of the data with the invalid parity. Any subsequent read operation to the punctured block completes but with an error. Consequently, the puncturing of a block prevents any invalid parity generation later while using this block.
To recover or clear the punctured block area of a virtual drive, run a Slow (or Full) Initialization to zero out and regenerate new parity causing all bad block entries to be removed from the bad block table. To run a Slow (or Full) Initialization, see
Manage Virtual Drives Initialization .
LSI Corporation - 205 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Virtual Drive-Related Options
5.15.12
Display the Number of Virtual Drives
Use the command in the following table to display the number of virtual drives attached to the controller.
Table 94 Display Number of Virtual Drives
Convention Description MegaCli –LDGetNum –aN|-a0,1,2|-aALL Displays the number of virtual drives attached to the controller. The return value is the number of virtual drives.
5.15.13
Clear the LDBBM Table Entries
Use the command in the following table to clear the LDBBM table entries.
Table 95 Clear the LDBBM Table Entries
Convention Description MegaCli -LDBBMClr -Lx|-L0,1,2,...|-Lall -aN|-a0,1,2|-aALL Clears the LDBBM table entries for the virtual drives on the selected adapters.
5.15.14
Display the List of Virtual Drives with Preserved Cache
Use the command in the following table to display the list of virtual drives that have preserved cache. Preserved cache is cache that remains in the controller cache after a drive goes offline or missing and that has not been saved to a drive yet. You can reboot and manage the preserved cache.
Table 96 Display the List of Virtual Drives with Preserved Cache
Convention Description MegaCli -GetPreservedCacheList -aN|-a0,1,2|-aALL Displays the list of virtual drives that have preserved cache.
5.15.15
Discard the Preserved Cache of a Virtual Drive
Use the command in the following table to discard the preserved cache of a virtual drives.
Table 97 Discard the Preserved Cache of a Virtual Drives
Convention Description MegaCli -DiscardPreservedCache -Lx|-L0,1,2|-Lall -force -aN|-a0,1,2|-aALL Discard the preserved cache of the virtual drives.
5.15.16
Expand a Virtual Drive
Use the command in the following table to expand a virtual drive.
LSI Corporation - 206 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
Table 98 Expand a Virtual Drive
Convention Description MegaCli -LdExpansion -pN -dontExpandArray -Lx|-L0,1,2|-Lall -aN|-a0,1,2| aALL Expands the virtual drive within the existing array or beyond the size of the existing array if you replace the drives with larger drives. -pN : Denotes the percentage of the array to use to expand the virtual drive. N ranges from 0 to 100 percent. For example, -p30 indicates expansion up to 30 percent of available array size.
-dontExpandArray : Expand a virtual drive within the array, even when there is room to expand the array. For example, you have created a 5-GB RAID 1 virtual drive with two 30-GB drives. The array size is 30 GB and the virtual drive size is 5 GB. If you replace the two 30-GB, drives with two 60-GB drives, the array size is still 30 GB (because of previous configuration). You have two options: Expand the virtual drive within the array. Use the -dontExpandArray option to expand the virtual drive up to 30 GB.
Expand the virtual drive beyond the existing array size. Use the -pN option to expand the virtual drive beyond 30 GB and up to 60 GB (the size of the replacement drives)
5.16
Drive-Related Options
5.16.1
5.16.2
You can use the commands in this section to select settings for the drives and perform actions on them.
Display Drive Information
Use the command in the following table to display information about the drives on the selected controllers.
Table 99 Display Drive Information
Convention Description MegaCli –PDInfo -PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL| Provides information about the drives connected to the enclosure and controller slot. This includes information such as the enclosure number, slot number, device ID, sequence number, drive type, capacity (if a drive), foreign state, firmware state, inquiry data, device world-wide name, device firmware level, device write cache setting, device negotiated transfer speed (link speed) for each active or passive port, device’s disk group membership, if the device has flagged a S.M.A.R.T. alert, the status of each physical port on the physical device (if it is active, passive or disabled) and firmware version of the device. For SAS devices, this includes additional information, such as the SAS address of the drive. For SAS expanders, this command includes additional information, such as the number of devices connected to the expander.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives about which to provide information.
Set the Drive State to Online
Use the command in the following table to set the state of a drive to
Online
. In an Online state, the drive is working normally and is a part of a configured virtual drive.
Table 100 Set Drive State to Online
Convention Description MegaCli –PDOnline -PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Changes the drive state to Online.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
LSI Corporation - 207 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
5.16.3
5.16.4
5.16.5
5.16.6
Set the Drive State to Offline
Use the command in the following table to set the state of a drive to
Offline
. In the offline state, the virtual drive is not available to the RAID controller.
Table 101 Set Drive State to Offline
Convention Description MegaCli –PDOffline -PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Changes the drive state to Offline.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
Change the Drive State to Unconfigured-Good
Use the command in the following table to change the state of a drive from Unconfigured-Bad to Unconfigured-Good.
Table 102 Change Drive State to Unconfigured Good
Convention Description MegaCli –PDMakeGood -PhysDrv[E0:S0,E1:S1....] | [-Force] -aN|-a0,1,2|-aALL Changes the drive state to Unconfigured-Good. -Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
-Force : Force the drive to the Unconfigured-Good state.
Change the Drive State
Use the command in the following table to change the drive state, as it relates to hot spares, and to associate the drive to an enclosure and to a drive group for the selected controllers.
Table 103 Change Drive State
Convention Description MegaCli –PDHSP {–Set [{-Dedicated -ArrayN |-Array0,1...}] [-EnclAffinity] [ nonRevertible] } | -Rmv -PhysDrv[E0:S0,E1:S1,...] -aN|-a0,1,2|-aALL Changes the drive state (as it relates to hot spares) and associates the drive to an enclosure and virtual drive on a single controller, multiple controllers, or all controllers: -Set : Changes the drive state to dedicated hot spare for the enclosure.
-Array0 : Dedicates the hot spare to a specific drive group number N.
-EnclAffinity : Associates the hot spare to a selected enclosure.
-Rmv: Changes the drive state to Ready (removes the hot spare).
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
You can get the list of arrays by using the CLI command CfgDsply . In the results of the CfgDsply command, the number associated with DISK GROUPS is the array number.
Manage a Drive Initialization
Use the command in the following table to manage a drive initialization on the selected controllers.
LSI Corporation - 208 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
5.16.7
5.16.8
Table 104 Drive Initialization
Convention Description MegaCli –PDClear -Start |-Stop|-ShowProg |-ProgDsply PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Manages initialization or displays initialization progress on a single controller, multiple controllers, or all controllers: -Start : Starts initialization on the selected drives.
-Stop : Stops an ongoing initialization on the selected drives.
-ShowProg : Displays the current progress percentage and time remaining for the initialization. This option is useful for running the application through scripts.
-ProgDsply : Displays the ongoing clear progress. The routine continues to display the initialization progress until at least one initialization is completed or a key is pressed.
Rebuild a Drive
Use the command in the following table to start or stop a rebuild on a drive and display the rebuild progress. When a drive in a RAID drive group fails, you can rebuild the drive by re-creating the data that was stored on the drive before it failed.
Table 105 Rebuild a Drive
Convention Description MegaCli –PDRbld –Start |-Stop|-Suspend|-Resume|-ShowProg |-ProgDsply – PhysDrv [E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Manages a drive rebuild or displays the rebuild progress on a single controller, multiple controllers, or all controllers. Note that the drive must meet the capacity requirements before it can be rebuilt, and it must be part of a drive group: -Start : Starts a rebuild on the selected drives and displays the rebuild progress (optional).
-Stop : Stops an ongoing rebuild on the selected drives.
-Suspend : Suspends the rebuild.
-Resume : Resumes the rebuild from the point that the rebuild was suspended.
-ShowProg : Displays the current progress percentage and time remaining for the rebuild. This option is useful for running the application through scripts.
-ProgDsply : Displays the ongoing rebuild progress. This routine displays the rebuild progress until at least one initialization is completed or a key is pressed.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
Locate the Drives and Activate LED
Use the command in the following table to locate the drives for the selected controllers and activate the Drive Activity LED.
Table 106 Locate Drive and Activate LED
Convention Description MegaCli -PdLocate {[-start] | -stop} -physdrv[E0:S0,E1:S1,...] -aN|-a0,1,2| aALL Locates the drives for the selected controllers and activates the Drive Activity LED.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
-Start : Activates LED on the selected physical drives.
-Stop : Stops active LED on the selected physical drives.
LSI Corporation - 209 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
5.16.9
Mark the Configured Drive as Missing
Use the command in the following table to mark the configured drive as missing for the selected controllers.
Table 107 Mark Configured Drive as Missing
Convention Description MegaCli –PDMarkMissing –PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Marks the offline drive as missing for the selected controllers.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
NOTE
-PdMarkMissing works only on offline drives. If you want to make a configured drive as missing, first mark it as offline, and then mark it as missing. When PdReplaceMissing is run, the drive becomes offline, and rebuild does not start automatically. You have to start it explicitly.
1.
2.
3.
Follow these steps to replace the PD or retrieve the PD: pdgetmissing . (This command reports the array and the row number needed for the next command.) pdreplacemissing . (Input the array and row number here.) pdonline .
5.16.10
Display the Drives in Missing Status
Use the command in the following table to mark the configured drive as missing for the selected controllers.
Table 108 Display Drives in MissingStatus
Convention Description MegaCli –PDGetMissing -aN|-a0,1,2|-aALL Displays the drives in missing status. The format follows.
No Row Column SizeExpected(MB) 0 x y zzzzzzzzz Where x is the index to the drive groups, y is the index to the drive in that drive group, and zzzzzz is the minimum capacity of the drive that can be used as a replacement.
5.16.11
Replace the Configured Drives and Start an Automatic Rebuild
Use the command in the following table to replace configured drives and start an automatic rebuild of the drive for the selected controllers.
Table 109 Replace Configured Drives and Start Automatic Rebuild
Convention Description MegaCli –PDReplaceMissing –PhysDrv[E0:S0,E1:S1....] -ArrayX -RowY -aN Replaces the configured drives that are identified as missing and then starts an automatic rebuild.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
5.16.12
Prepare the Unconfigured Drive for Removal
Use the command in the following table to prepare the unconfigured drives for removal from the selected controllers.
LSI Corporation - 210 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
Table 110 Prepare Unconfigured Drives for Removal
Convention Description MegaCli –PDPrpRmv [-Undo] – PhysDrv[E0:S0,E1:S1....] -aN|-a0,1,2|-aALL Prepares unconfigured drives for removal. The firmware spins down this drive. The drive state is set to Unaffiliated, which marks it as offline even though it is not a part of a configuration.
-Undo : This option undoes this operation. If you select undo, the firmware marks this drive as Unconfigured Good.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
5.16.13
Display Total Number of Drives
Use the command in the following table to display the total number of drives attached to an controller. Drives can be attached directly or through enclosures.
Table 111 Display Number of Drives Attached to an Controller
Convention Description MegaCli –PDGetNum –aN|-a0,1,2|-aALL Displays the total number of drives attached to an controller. Drives can be attached directly or through enclosures. The return value is the number of drives.
5.16.14
Display List of Physical Devices
Use the command in the following table to display a list of the physical devices connected to the selected controllers.
Table 112 Display List of Physical Devices Attached to Controllers
Convention Description MegaCli –PDList –aN|-a0,1..|-aAll| Displays information about all drives and other devices connected to the selected controllers. This command displays the following information The information such as the drive type The capacity (if a drive) The serial number The drive temperature, enclosure position The device world-wide name The device firmware level The device write-cache setting The device negotiated transfer speed (link speed) for each active or passive port, device’s disk group membership If the device has flagged a S.M.A.R.T. alert The status of each physical port on the physical device (if it is active, passive or disabled) and firmware version of the device. For SAS devices, it includes additional information such as the SAS address of the device. For SAS expanders, it includes additional information, such as the number of drives connected to the expander. For SATA devices, it indicates whether NCQ is supported/enabled or disabled.
5.16.15
Download Firmware to the Physical Devices
Use the command in the following table to download firmware to the physical devices connected to the selected controllers.
LSI Corporation - 211 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
Table 113 Download Firmware to the Physical Devices
Convention Description MegaCli -PdFwDownload [offline][ForceActivate] {[-SataBridge] PhysDrv[0:1]}|{-EncdevId[devId]} -f
-SataBridge : Allows you to download the SATA bridge firmware in online mode.
-Physdrv[0:1] : Specifies the physical drive enclosure and the slots for the drives. Flashes the firmware to only one physical drive.
-EncdevId[devId] : Specifies the enclosure device ID. See Section,
for more enclosure information.
NOTE
The PdFwDownload command does not support LSI SAS1 expander firmware upgrade.
5.16.16
Configure All Free Drives into a RAID 0, 1, 5, or 6 Configuration for a Specific Controller
Use the command in the following table to download firmware to the physical devices connected to the selected controllers.
Table 114 Configure All Free Drives into a RAID 0, 1, 5 or 6 Configuration for a Specific Controller
Convention Description MegaCli -CfgAllFreeDrv -rX [-SATAOnly] [-SpanCount XXX] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-strpszM] [-HspCount XX [ HspType -Dedicated|-EnclAffinity|-nonRevertible]]| [FDE|CtrlBased] [ Default| -Automatic| -None| -Maximum| -MaximumWithoutCaching] [-Cache] -aN Adds all of the unconfigured physical drives to a RAID level 0, 1, 5, or 6 configuration on a specified controller. Even if no configuration is present, you have the option to write the configuration to the controller.
rX[E0:S0,...] : Specifies the RAID level and the physical drive enclosure/slot numbers to construct a disk group.
WT (Write Through), WB (Write Back): Selects the write policy.
NORA (No Read Ahead), RA (Read Ahead) Selects the read policy.
[Direct | Cached] : Selects the cache policy.
[{CachedBadBBU|NoCachedBadBBU }] : Specifies whether to use write cache when the BBU is bad.
szXXXXXXXX : Specifies the size for the virtual disk, where XXXX is a decimal number of MB. However, the actual size of the virtual drive might be smaller, because the driver requires the number of blocks from the physical drives in each virtual drive to be aligned to the stripe size.
If multiple size options are specified, CT configures the virtual drives in the order of the options entered in the command line. The configuration of a particular virtual drive fails if the remaining size of the array is too small to configure the virtual drive with the specified size. This option can also be used to create a configuration on the free space available in the array.
strpszM : Specifies the stripe size, where the stripe size values are 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, or 1024 MB.
Hsp[E5:S5,...] : Creates hot spares when you create the configuration. The new hot spares are dedicated to the virtual drive used to create the configuration. This option does not allow you to create global hot spares. To create global hot spares, you must use the -PdHsp command with the proper subcommands.
You can also use this option to create a configuration on the free space available in the virtual drive.
AfterLdX : This command is optional. By default, the application uses the first free slot available in the virtual drive. This option is valid only if the virtual disk is already used for configuration.
FDE|CtrlBased : If the controller supports the security feature, this option enables FDE/controller-based encryption on the virtual disk.
Automatic : The firmware shall apply the best power savings mode for the virtual drive, based on the IO profile and drive's capabilities.
None : No power saving on virtual drives.
Maximum : Maximum power saving on virtual drives.
LSI Corporation - 212 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Drive-Related Options
5.16.17
Set the Mapping Mode of the Drives to the Selected Controllers
Use the command in the following table to set the mapping mode of the physical devices connected to the selected controllers.
Table 115 Set the Mapping Mode of the Drive to the Selected Controller
Convention Description MegaCli -DirectPdMapping -Enbl|-Dsbl|-Dsply -aN|-a0,1,2|-aALL Sets the mapping mode of the drives connected to the specified controllers.
Enbl : Enables the direct physical drive mapping mode.
Dsbl : Disables the direct physical drive mapping mode.
Dsply : Displays the current state of the direct physical drive mapping.
5.16.18
Secure Erase for Virtual Drives and Physical Drives
Use the command in the following table to the perform the secure erase operation on a virtual drive or a physical drive.
The command in this section performs a secure erase. It performs a series of write operations to a drive that overwrites every user-accessible sector of the drive with specified patterns.
Table 116 Secure Erase for Virtual Drives and Physical Drives
Convention Description MegaCli -SecureErase Start[Simple|[Normal [ |ErasePattern ErasePatternA|ErasePattern ErasePatternA ErasePattern ErasePatternB]]| [Thorough [ |ErasePattern ErasePatternA|ErasePattern ErasePatternA ErasePattern ErasePatternB]]]| Stop | ShowProg | ProgDsply [-PhysDrv [E0:S0,E1:S1,...] | -Lx|-L0,1,2|-LALL] -aN|-a0,1,2|-aALL The SecureErase command performs a series of write operations to a drive that overwrite every user accessible sector of the drive with specified patterns. It can be repeated in multiple passes using different data patterns for enhanced security.
5.16.19
Perform the Copyback Operation on the Selected Drive
Use the command in the following table to the perform the copyback operation on the selected drive. The copyback feature allows you to copy data from a source drive of a virtual drive to a destination drive that is not a part of the virtual drive. Copyback is often used to create or restore a specific physical configuration for a drive group (for example, a specific arrangement of drive group members on the device I/O buses). Typically, when a drive fails or is expected to fail, the data is rebuilt on a hot spare. The failed drive is replaced with a new disk. Then the data is copied from the hot spare to the new drive, and the hot spare reverts from a rebuild drive to its original hot spare status. The copyback operation runs as a background activity, and the virtual drive is still available online to the host. LSI Corporation - 213 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Enclosure-Related Options
Table 117 Perform the Copyback Operation on the Selected Drive
Convention Description MegaCli -PDCpyBk -Start | -Stop|-Suspend|-Resume|-ShowProg|-ProgDsply PhysDrv[E0:S0] -aN|-a0,1,2|-aALL Performs the copyback operation on the selected physical drive.
Start : Initializes the copyback operation on the selected drive.
Stop : Stops the copyback operation on the selected drive.
Suspend : Suspends the copyback operation.
Resume : Resumes a copyback operation from the point that the copyback operation was suspended.
ShowProg : Displays a snapshot of the ongoing copyback operation.
ProgDsply : Allows you to view the ongoing copyback operation. The routine continues to display progress until at least one copyback is completed or a key is pressed.
-Physdrv[E0:S0,...] : Specifies the physical drive enclosure and the slots for the drives.
5.17
Enclosure-Related Options
5.17.1
The commands in this section are used for enclosures.
Display Enclosure Information
Use the command in the following table to display enclosure information for selected controllers.
Table 118 Display Enclosure Information
Convention Description MegaCli –EncInfo -aN|-a0,1,2|-aALL Displays information about the enclosure for the selected controllers. The following properties are displayed.
The enclosure type.
The enclosure serial number.
The ESM serial number.
The firmware version installed.
The chassis status.
The chassis temperature or threshold status (for example, normal, high, and so on). It is the same as enclosure temperature from enclosure status.
The fan status (for example, normal, missing, and so on). The power supply count. The power supply status for each installed power supply. The VPD field replaceable unit (FRU) part number.
The enclosure zoning mode.
The enclosure vendor identifier.
NOTE
If the properties,
FRU Part Number
,
Enclosure Serial Number
,
ESM Serial Number
, and
Enclosure Zoning Mode
are not applicable to your enclosure, N/A is displayed for these fields.
5.17.2
Display Enclosure Status
Use the command in the following table to display the status of the enclosure for selected controllers.
LSI Corporation - 214 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Flashing the Firmware
5.17.3
Table 119 Display Enclosure Status
Convention Description MegaCli –EncStatus -aN|-a0,1,2|-aALL Displays the status of the enclosure for the selected controllers.
Upgrade the Firmware without Restarting
Use the command in the following table to upgrade the firmware in the enclosure without restarting the enclosure.
Table 120 Upgrade the Firmware without Restarting
Convention Description PdFwDownload [offline][ForceActivate] {[-SataBridge] -PhysDrv[0:1] }|{ EncdevId[devId1]} -f
5.18
Flashing the Firmware
5.18.1
5.18.2
The options in this section describe the functionality of the existing flash application. The firmware flash options do not require input from the user.
Flash the Firmware with the ROM File
Use the command in the following table to flash the firmware with the ROM file specified at the command line for the selected controllers.
Table 121 Flash Firmware with ROM File
Convention Description MegaCli –AdpFwFlash –f filename [-NoSigChk] [-NoVerChk]-aN|-a0,1,2|-aALL Flashes the firmware with the ROM file specified at the command line.
The –NoSigChk option forces the application to flash the firmware even if the check word on the file does not match the required check word for the controller. This option flashes the firmware only if the existing firmware version on the controller is lower than the version on the ROM image. If you specify –NoVerChk , the application flashes the controller firmware without checking the version of the firmware image. The version check applies only to the firmware ( APP.ROM
) version.
This command also supports the “Mode 0” flash functionality. For Mode 0 flash, the controller number is not valid. There are two possible methods: Select which controller to flash after the controllers are detected.
Flash the firmware on all present controllers. The option generates an XML output data.
Flash the Firmware in Mode 0 with the ROM File
Use the command in the following table to flash the firmware in Mode 0 with the ROM file specified at the command line for the selected controllers. This command is only supported for MS-DOS.
LSI Corporation - 215 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool SAS Topology
Table 122 Flash Firmware in Mode 0 with ROM File
Convention Description MegaCli –AdpM0Flash –f filename Flashes the firmware in Mode 0 with the ROM file listed on the command line.
This option supports the Mode 0 flash functionality. For Mode 0 flash, the controller number is not valid. The method to handle this function, is to flash the firmware on all present controllers which are compatible with the image.
5.19
SAS Topology
The commands in this section are used to display SAS topology. Use the command in the following table to display the PHY connection information for physical PHY M on the selected controllers. Each PHY can form one side of the physical link in a connection with a PHY on a different device. The physical link contains four wires that form two differential signal pairs. One differential pair transmits signals, and the other differential pair receives signals. Both differential pairs operate simultaneously and allow concurrent data transmission in both the receive and the transmit directions. PHYs are contained within ports.
A port can contain a single PHY or can contain multiple PHYs. A narrow port contains a single PHY, and a wide port contains multiple PHYs.
Table 123 Display PHY Connection Information
Convention Description MegaCli –PHYInfo -phyM –aN|-a0,1,2|-aALL Displays PHY connection information for physical PHY M on the controllers.
5.20
Diagnostic-Related Options
5.20.1
5.20.2
The commands in this section are used to run diagnostic tests.
Start Controller Diagnostics
Use the command in the following table to start the controller diagnostic for a set amount of time.
Table 124 Start Diagnostics Setting
Convention Description MegaCli –AdpDiag [val] –aN|-a0,1,2|-aALL Sets the amount of time for the controller diagnostic to run.
Val : Indicates the time in seconds for the controller diagnostic to run.
Perform a Full Stroke Seek Test
Use the command in the following table to perform a full stroke seek. This command is only supported for MS-DOS.
LSI Corporation - 216 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Recovery (Snapshot)-Related Options
5.20.3
Table 125 Start Full Stroke Seek Test
Convention Description MegaCli -FullStrSeekTest a0 This CLI function is used for testing the server's power supply capability to withstand all drives doing a full stroke seek. Upon receipt of the CLI command the firmware ceases normal operation, seeks all the drives to cylinder 0, and waits 5 seconds. After 5 seconds, it seeks for all drives to the last cylinder. The Full Stroke Seek Test is a continuous operation that runs until power cycle
Start Battery Test
Use the command in the following table to start the battery test. This command requires a system reboot.
Table 126 Start Battery Test
Convention Description MegaCli –AdpBatTest –aN|-a0,1,2|-aALL Starts the battery test. This command requires that you turn off the power to the system, and then turn on the power to reboot the system.
5.21
Recovery (Snapshot)-Related Options
5.21.1
5.21.2
The commands in this section are used to perform actions with the Recovery advanced software, also known as Snapshot (LSIP200038104).
The Recovery feature uses Snapshot technology to offer a simplified way to recover lost data and provides protection for any volume, including the boot volume. You can use the Recovery feature to take snapshots of a volume at designated point-in-time (PiT) and restore the volume or files from those points in case data is deleted, whether accidentally or maliciously. MegaRAID Recovery supports up to eight snapshots of PiTs for each volume.
Enable the Snapshot Feature
Use the command in the following table to enable the snapshot feature on a selected virtual drive.
Table 127 Enable the Snapshot Feature
Convention Description MegaCli -Snapshot -Enbl -szXXX SnapshotRepositoryLD N [-AutoSnapshot] [AutoDeleteOldestSnapshot] -Lx -aN|-a0,1,2|-aALL Enables the snapshot on the source virtual drive for the corresponding snapshot target virtual drive.
-szXXX : Specifies the size in MB on for the virtual drive, where XXX is a decimal number of MB.
SnapshotRepositoryLD N : Specifies the repository LD number.
-AutoSnapshot : Optional parameter, if specified, enables the AutoSnapshot for the source virtual drive.
-AutoDeleteOldestSnapshot : Optional parameter, if specified, enables the AutoDeletOldestSnapshot for the source virtual drive.
-Lx : x specifies the source LD number on which to enable snapshot.
Disable the Snapshot Feature
Use the command in the following table to enable the snapshot feature on a selected virtual drive.
LSI Corporation - 217 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Recovery (Snapshot)-Related Options
5.21.3
5.21.4
5.21.5
Table 128 Disable the Snapshot Feature
Convention Description MegaCli -Snapshot -Dsbl -Lx -aN|-a0,1,2|-aALL Disables the snapshot on the source virtual drive.
-Lx : x specifies the source LD number on which to disable snapshot.
Take a Snapshot of a Volume
Use the command in the following table to take a snapshot of a volume at designated point-in-time.
Table 129 Take Snapshot of Volume
Convention Description MegaCli -Snapshot -TakeSnapshot [-snapshotName name] [-CreateView [-ViewName view_name] [-RW|RO|Blocked] [-szXXX]] -LN|-L0,1,2 -aN|-a0,1,2|-aALL Takes a snapshot of a volume at designated point-in-time.
-snapshotName name : (Optional) If specified, the snapshot is created with the name you enter for it.
-CreateView : (Optional) If specified, this option creates a view for the snapshot. A view contains the content from the point-in-time (PiT) when the snapshot was made.
-ViewName view_name : (Optional) Specifies the name of the view you created. -RW|RO|Blocked : (Optional) Specifies the access policy of the view.
-szXXX : Specifies the size of the view in MB where XXX is a decimal number. -LN : N specifies the source LD number for the command.
Set the Snapshot Properties
Use the command in the following table to set the snapshot properties.
Table 130 Set the Snapshot Properties
Convention Description MegaCli -Snapshot -SetProp {-AutoSnapshot -val} | {-AutoDeleteOldestSnapshot -val} -Lx -aN|-a0,1,2|-aALL Sets the Snapshot properties, such as AutoSnapshot and AutoDeleteOldestSnapshot .
-AutoSnapshot : If the value is 0, this command disables the AutoSnapshot feature on source virtual drive. If the value is 1, it enables the AutoSnapshot feature on source virtual drive.
-AutoDeleteOldestSnapshot : If the value is 0, this command disables the AutoDeleteOldestSnapshot feature on the source virtual drive. If the value is 1, it enables the AutoDeleteOldestSnapshot feature on the source virtual drive.
-Lx : x specifies the source LD number for the command.
Delete a Snapshot
Use the command in the following table to delete a snapshot.
LSI Corporation - 218 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Recovery (Snapshot)-Related Options
5.21.6
5.21.7
5.21.8
Table 131 Delete a Snapshot
Convention Description MegaCli -Snapshot -DeleteSnapshot [SnapshotTime yyyymmdd hh:mm:ss | -all] [ force|-y] -LN| -L0,1,2 -aN|-a0,1,2|-aALL Deletes the snapshot and the associated view if -Force or -Y is specified.
-SnapshotTime yyyymmdd hh:mm:ss : (Optional) If used, this action deletes the snapshot with the time stamp that is specified in command line, if it is the oldest PiT.
-force : If specified, this action deletes the snapshot even if it has the view associated with it.
-y : If specified, this action deletes the snapshot even if it has the view associated with it.
-LN : N specifies the source LD number for the command.
-L0,1,2 : Specifies the command is for LDs 0, 1, and 2. You can select more than one LD.
Create a View
Use the command in the following table to create a view. A view contains the content from the PiT when the snapshot was made.
Table 132 Create a View
Convention Description MegaCli -Snapshot -CreateView -SnapshotTime yyyymmdd hh:mm:ss [-viewName NameString] [-RW|RO|Blocked] [-szXXX] -Lx -aN|-a0,1,2|-aALL \n", appNameP); Creates the view on a particular snapshot.
-SnapshotTime yyyymmdd hh:mm:ss : Creates the view on the snapshot with the time stamp yyyymmdd hh:mm:ss .
-viewName NameString : (Optional) Specifies the name of the view.
-RW|RO|Blocked : (Optional) Specifies the access policy of the view.
-szXXX : (Optional) Specifies the size of the view in MB where XXX is a decimal number.
-Lx : x specifies the source LD number for the command.
Delete a View
Use the command in the following table to a view.
Table 133 Delete a View
Convention Description MegaCli -Snapshot -DeleteView [-SnapshotTime yyyymmdd hh:mm:ss] -Lx -aN| a0,1,2|-aALL Deletes the view.
-SnapshotTime yyyymmdd hh:mm:ss : (Optional) If specified, this action deletes the view on the snapshot with the time stamp yyyymmdd hh:mm:ss .
-Lx : x specifies the source LD number for the command.
Roll Back to an Older Snapshot
Use the command in the following table to roll the virtual drive back to an older snapshot.
LSI Corporation - 219 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Recovery (Snapshot)-Related Options
5.21.9
Table 134 Roll Back to an Older Snapshot
Convention Description MegaCli -Snapshot -Rollback -SnapshotTime yyyymmdd hh:mm:ss [-Force|-Y] -Lx -aN|-a0,1,2|-aALL Rolls back the virtual drive to an old snapshot. The Rollback option is supported by Preboot MegaCli not by the OS level MegaCli.
-SnapshotTime yyyymmdd hh:mm:ss : Specifies the snapshot with the time stamp yyyymmdd hh:mm:ss to which it has to roll back.
-Force : If specified, this option overrides the warning message and causes a rollback to an older snapshot.
-Y : If specified, this option overrides the warning message and causes a rollback to an older snapshot.
-Lx : x specifies the source LD number for the command.
Display Snapshot and View Information
Use the command in the following table to display information about the snapshot and the view.
Table 135 Display Snapshot and View Information
Convention Description MegaCli -Snapshot -Info [-SnapshotTime yyyymmdd hh:mm:ss | -ViewTime yyyymmdd hh:mm:ss] -Lx -aN|-a0,1,2|-aALL Displays snapshot and view information for the source virtual drive. If the virtual drive is a repository virtual drive, it displays the LD information, the number of source virtual drives mapped and their target IDs and the number of holes.
-SnapshotTime yyyymmdd hh:mm:ss : (Optional) If specified, this displays the snapshot information for the snapshot with the time stamp yyyymmdd hh:mm:ss .
-ViewTime yyyymmdd hh:mm:ss : (Optional) If specified, this displays the view information for the view with the time stamp yyyymmdd hh:mm:ss and the associated snapshot information.
-Lx : x specifies the source LD number for the command.
5.21.10
Clean the Recoverable Free Space on the Drives in a Virtual Drive
Use the command in the following table to clean the recoverable free space on the drives in a snapshot repository virtual drive. The free space is unused space on the drives in a virtual drive.
Table 136 Clean the Recoverable Free Space on the Drives in a Virtual Drive
Convention Description MegaCli -Snapshot -Clean -Lx -aN|-a0,1,2|-aALL Cleans the recoverable free space on the drives in a snapshot repository virtual drive.
-Lx : x specifies the LD number for the command. The LD must be a repository virtual drive.
5.21.11
Display the Information for a Specific View
Use the command in the following table to display the information for a specific view if you specify the view target ID.
Table 137 Display the Information for a Specific View
Convention Description MegaCli -Snapshot -GetViewInfo [-ViewTargetId N ] -aN|-a0,1,2|-aALL Displays the view information about a particular view if you specify the -ViewTargetId . Otherwise, it displays the information about all of the views.
-ViewTargetId N : (Optional) If specified, this displays the information about the view with the specified target ID.
LSI Corporation - 220 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Fast Path-Related Options
5.21.12
Enable the Snapshot Scheduler
The snapshot scheduler in the MegaRAID Storage Manager software helps you automate the creation of point-in-time (PiT) on one or more virtual discs. You can schedule the snapshot as monthly, weekly, daily, or hourly. The scheduler does not support biweekly, alternate days, and so on.
NOTE
The MegaRAID Storage Manager software or OEM applications must be running to flush file system buffers and take snapshots when snapshot schedule expires. The system does not support snapshot creation through BMC (sideband) and snapshot on volumes, which are used for virtual machine creation under virtualized environment. To flush the file system buffers, you should interface with the hypervisor.
5.22
Fast Path-Related Options
The command in this section displays information about the Fast Path option.
MegaRAID Fast Path is a high-performance IO accelerator for CacheCade SSD Read Caching software drive groups connected to a MegaRAID controller card. CacheCade SSD Read Caching software has a read performance advantage over HDDs and uses less power. This feature dramatically boosts storage subsystem bandwidth and overall transactional application performance when used with a 6 Gb/s MegaRAID SATA+SAS controller. The Fast Path feature supports full optimization of CacheCade SSD Read Caching software and hard disk drive (HDD) virtual drive groups to deliver a three-fold improvement in read and write IOPS compared to MegaRAID controllers not using Fast Path technology. Also, Fast Path software is faster and more cost-effective than current flash-based adapter card solutions.
5.23
Dimmer Switch-Related Options
5.23.1
The following tables display command information about the Dimmer Switch option.
Display Selected Adapter Properties
Use the command in the following table to display the selected adapter properties.
LSI Corporation - 221 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Dimmer Switch-Related Options
5.23.2
Table 138 Display the Selected Adapter Properties
Convention Description MegaCLI -AdpGetProp CacheFlushInterval |RebuildRate|PatrolReadRate|BgiRate|CCRate| ReconRate|SpinupDriveCount|SpinupDelay| CoercionMode|ClusterEnable|PredFailPollInterval |BatWarnDsbl|EccBucketSize|EccBucketLeakRate| EccBucketCount|AbortCCOnError|AlarmDsply| SMARTCpyBkEnbl|SSDSMARTCpyBkEnbl|NCQDsply| MaintainPdFailHistoryEnbl|RstrHotSpareOnInsert |DisableOCR|EnableJBOD|DsblCacheBypass|BootWithPinnedCache| AutoEnhancedImportDsply|AutoDetectBackPlaneDsbl|EnblSpinDownUnConfigDrvs| SpinDownTime|DefaultSnapshotSpace|DefaultViewSpace|AutoSnapshotSpace| CopyBackDsbl|LoadBalanceMode| UseFDEOnlyEncrypt|UseDiskActivityForLocate| DefaultLdPSPolicy|DisableLdPsInterval| DisableLdPsTime|SpinUpEncDrvCn|SpinUpEncDelay -aN|-a0,1,2|-aALL Displays selected adapter properties. The possible settings follow: DefaultLdPSPolicy : Default LD power savings policy.
DisableLdPsInterval : LD power savings are disabled for yy hours beginning at disableLdPSTime.
DisableLdPsTime : LD power savings shall be disabled at xx minutes from 12:00 am.
SpinUpEncDrvCnt : Maximum number of drives within an enclosure to spin up at one time. SpinUpEncDelay : Number of seconds to delay among spinup groups within an enclosure.
Set the Properties on the Selected Adapter
Use the command in the following table to set the properties on the selected adapter.
Table 139 Set the Properties on the Selected Adapter
Convention Description MegaCLI -AdpSetProp{CacheFlushInterval -val}|{ RebuildRate val}|{PatrolReadRate -val}| {BgiRate -val}|{CCRate -val}|{ReconRate -val}| {SpinupDriveCount -val}|{SpinupDelay -val}| {CoercionMode val}|{ClusterEnable -val}| {PredFailPollInterval -val}|{BatWarnDsbl -val} |{EccBucketSize -val}|{EccBucketLeakRate -val} |{AbortCCOnError val}|AlarmEnbl|AlarmDsbl| AlarmSilence|{SMARTCpyBkEnbl -val}| {SSDSMARTCpyBkEnbl -val}|NCQEnbl|NCQDsbl| {MaintainPdFailHistoryEnbl -val}| {RstrHotSpareOnInsert -val}| {EnblSpinDownUnConfigDrvs -val}|{DisableOCR val}|{BootWithPinnedCache -val}| AutoEnhancedImportEnbl|AutoEnhancedImportDsbl | {CopyBackDsbl val}|{AutoDetectBackPlaneDsbl -val}|{LoadBalanceMode val}|{UseFDEOnlyEncrypt -val}|{DsblSpinDownHsp -val}|{SpinDownTime val}|{EnableJBOD -val} | {DsblCacheBypass -val}|{useDiskActivityForLocate val}| {SpinUpEncDrvCnt -val}|{SpinUpEncDelay -val}|{-ENABLEEGHSP -val}|{ ENABLEEUG -val }|{ENABLEESMARTER -val}|-aN|-a0,1,2|-aALL Sets the properties on the selected adapters. The possible settings follow: SpinUpEncDrvCnt : Max number of drives within an enclosure to spin up at one time. Values: 0 to 255.
SpinUpEncDelay : Number of seconds to delay among spinup groups within an enclosure. Values: 0 to 255.
ENABLEEGHSP : Enable global hot spare is 3 bits or adapter level for setting hot spare properties. Values: 0 – Disable, 1 – Enable.
ENABLEEUG : Enable unconfigured good for emergency is 3 bits or adapter level for setting hot spare properties. Values: 0 – Disable, 1 – Enable.
ENABLEESMARTER : Emergency for SMARTer is 3 bits or adapter level for setting hot spare properties. Values: 0 –Disable, 1 – Enable.
LSI Corporation - 222 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Dimmer Switch-Related Options
5.23.3
5.23.4
5.23.5
Display the Power-Saving Level on the Virtual Disk
Use the command in the following table to display the power-saving level on the virtual disk.
Table 140 Display the Power Saving Level on the Virtual Disk
Convention Description MegaCLI -LDSetPowerPolicy -Default| -Automatic| -None| -Maximum| MaximumWithoutCaching -Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL Sets the power-saving level on the virtual disk.
Add a RAID Level to a Specified Adapter
Use the command in the following table to add a RAID level to a specified adapter.
Table 141 Add a RAID Level to a Specified Adapter
Convention Description MegaCLI -CfgLdAdd -rX[E0:S0,E1:S1,...] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-szXXX [-szYYY ...]] [-strpszM] [ Hsp[E0:S0,...]] [-AfterLdX] [-Force] | [FDE|CtrlBased] [-Default| Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] -aN -CfgLdAdd :Adds a RAID level 0, 1, 5, or 6 to a specified adapter. Even if no configuration is present, you have the option to write the configuration to the adapter.
The possible parameters follow: Rx[E0:S0,...] : Specifies the RAID level and the physical drive enclosure/slot numbers to construct a disk array.
WT (Write through), WB (Write back): Selects write policy.
NORA (No read ahead), RA (Read ahead) : Selects read policy.
[Direct | Cached] : Selects cache policy.
[{CachedBadBBU|NoCachedBadBBU }] : Specifies whether to use write cache when the BBU is bad.
szXXXXXXXX : Specifies the size for the virtual disk, where XXXX is a decimal number of Mbytes. However, the actual size of the virtual disk may be smaller, because the driver requires the number of blocks from the physical drives in each virtual disk to be aligned to the stripe size. If multiple size options are specified, CT will configure the virtual disks in the order of the options entered in the command line. The configuration of a particular virtual disk fails if the remaining size of the array is too small to configure the virtual disk with the specified size. This option can also be used to create a configuration on the free space available in the array.
strpszM : Specifies the strip size, where the strip size values are 8 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, or 1024 MB.
Hsp[E5:S5,...] : Creates hot spares when you create the configuration. The new hot spares will be dedicated to the virtual disk used in creating the configuration. This option does not allow you to create global hot spares. To create global hot spares, you must use the -PdHsp command with the proper subcommands. You can also use this option to create a configuration on the free space available in the virtual disk.
AfterLdX : This command is optional. By default, the application uses the first free slot available in the virtual disk. This option is valid only if the virtual disk is already used for configuration.
-Force : This option forces the creation of virtual disk in situations where the application finds that it is convenient to create the virtual disk only with user's consent.
FDE|CtrlBased : If the controller supports the security feature, this option enables FDE/control-based encryption on the virtual disk. [-Default| -Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] : If the controller supports power savings on virtual disk, these options specify the possible levels of power savings that can be applied on a virtual disk.
Create a RAID Level
Use the command in the following table to create a RAID level 10, 50, 60 (spanned configuration).
LSI Corporation - 223 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Dimmer Switch-Related Options
5.23.6
Table 142 Create a RAID Level 10, 50, 60 (Spanned) Configuration
Convention Description MegaCLI -CfgSpanAdd -r10 -Array0[E0:S0,E1:S1] -Array1[E0:S0,E1:S1] [ ArrayX[E0:S0,E1:S1] ...] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU][-strpszM][-szXXX[-szYYY ...]][-AfterLdX][ Force]| [FDE|CtrlBased] [-Default| -Automatic| -None| -MaximumWithCaching| MaximumWithoutCaching] -aNMegaCLI -CfgSpanAdd -r50 Array0[E0:S0,E1:S1,E2:S2,...] -Array1[E0:S0,E1:S1,E2:S2,...] [ ArrayX[E0:S0,E1:S1,E2:S2,...] ...] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU][-strpszM][-szXXX[-szYYY ...]][-AfterLdX][ Force]| [FDE|CtrlBased] [-Default| -Automatic| -None| -MaximumWithCaching| MaximumWithoutCaching] -aN -CfgSpanAdd :Creates a RAID level 10, 50, or 60 (spanned) configuration from the specified arrays. Even if no configuration is present, you must use this option to write the configuration to the adapter.
The possible parameters are: Rx : Spcecifies the RAID Level.
ArrayX[E0:S0,...] : Specifies the Array and the physical drive enclosure/slot numbers to construct a disk array.
WT (Write through), WB (Write back): Selects write policy.
NORA (No read ahead), RA (Read ahead): Selects read policy.
[Direct | Cache] : Selects cache policy.
[{CachedBadBBU|NoCachedBadBBU}] : Specifies whether to use write cache when the BBU is bad.
szXXXXXXXX : Specifies the size for the virtual disk, where XXXX is a decimal number of Mbytes. However, the actual size of the virtual disk may be smaller, because the driver requires the number of blocks from the physical drives in each virtual disk to be aligned to the stripe size. If multiple size options are specified, CT will configure the virtual disks in the order of the options entered in the command line. The configuration of a particular virtual disk fails if the remaining size of the array is too small to configure the virtual disk with the specified size. This option can also be used to create a configuration on the free space available in the array.
strpszM : Specifies the strip size, where the strip size values are 8, 16, 32, 64, 128, 256, 512, or 1024 MB.
AfterLdX : This command is optional. By default, the application uses the first free slot available in the virtual disk. This option is valid only if the virtual disk is already used for configuration.
-Force : This option forces the creation of virtual disk in situations where the application finds that it is convenient to create the virtual disk only with user's consent.
FDE|CtrlBased : If the controller supports the security feature, this option enables FDE/Ctrl based encryption on the virtual disk. [-Default| -Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] : If the controller supports power savings on virtual disk, these options specify the possible levels of power savings that can be applied on a virtual disk.
Add the Unconfigured Drive to a Specified Adapter
Use the command in the following table to add the unconfigured drives to an adapter.
LSI Corporation - 224 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Dimmer Switch-Related Options
5.23.7
Table 143 Add the Unconfigured Physical Drive to RAID Level 0, 1, 5, 6 to a Specified Adapter
Convention Description MegaCLI -CfgAllFreeDrv -rX [-SATAOnly] [-SpanCount XXX] [WT|WB] [NORA|RA] [Direct|Cached] [CachedBadBBU|NoCachedBadBBU] [-strpszM] [-HspCount XX [ HspType -Dedicated|-EnclAffinity|-nonRevertible]] | [FDE|CtrlBased] [ Default| -Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] -aN Adds all the unconfigured physical drives to RAID level 0, 1, 5, or 6 configuration to a specified adapter. Even if no configuration is present, you have the option to write the configuration to the adapter.
The possible parameters are: Rx[E0:S0,...] : Specifies the RAID level and the physical drive enclosure/slot numbers to construct a disk array.
WT (Write through), WB (Write back): Selects write policy.
NORA (No read ahead), RA (Read ahead): Selects read policy.
[Direct | Cached] : Selects cache policy.
[{CachedBadBBU|NoCachedBadBBU}] : Specifies whether to use write cache when the BBU is bad.
szXXXXXXXX : Specifies the size for the virtual disk, where XXXX is a decimal number of Mbytes. However, the actual size of the virtual disk may be smaller, because the driver requires the number of blocks from the physical drives in each virtual disk to be aligned to the strip size. If multiple size options are specified, CT will configure the virtual disks in the order of the options entered in the command line. The configuration of a particular virtual disk fails if the remaining size of the array is too small to configure the virtual disk with the specified size. This option can also be used to create a configuration on the free space available in the array.
strpszM : Specifies the strip size, where the strip size values are 8 MB, 16 MB, 32 MB, 64 MB, 128 MB, 256 MB, 512 MB, or 1024 MB.
Hsp[E5:S5,...] : Creates hot spares when you create the configuration. The new hot spares will be dedicated to the virtual disk used in creating the configuration. This option does not allow you to create global hot spares. To create global hot spares, you must use the -PdHsp command with the proper subcommands. You can also use this option to create a configuration on the free space available in the virtual disk. AfterLdX : This command is optional. By default, the application uses the first free slot available in the virtual disk. This option is valid only if the virtual disk is already used for configuration.
FDE|CtrlBased : If controller support security feature, this option enables FDE/Ctrl based encryption on virtual disk. [-Default| -Automatic| -None| -MaximumWithCaching| -MaximumWithoutCaching] : If the controller supports power savings on virtual disk, these options specify the possible levels of power savings that can be applied on a virtual disk.
Display the Cache and Access Policies
Use the command in the following table to display the cache and access policies of the virtual disks.
Table 144 Display the Cache and Access Policies of the Virtual Disks
Convention Description MegaCLI -LDGetProp -Cache | -Access | -Name | -DskCache | -PSPolicy | Consistency -Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL Displays the cache and access policies of the virtual disks.
The possible parameters follow: Cache : Cached, Direct: Displays cache policy.
WT (Write through), WB (Write back): Selects write policy.
NORA (No read ahead), RA (Read ahead): Selects read policy.
Access : -RW , -RO , Blocked : Displays access policy.
DskCache : Displays physical disk cache policy.
PSPolicy : Displays the default and current power savings policy of the virtual disk.
LSI Corporation - 225 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Performance Monitoring Options
5.24
Performance Monitoring Options
5.24.1
The commands in this section are used to monitor the performance of the system.
Start Performance Data Collection
Use this command to start the collection of performance data for the time interval (in minutes) specified by you. Once the specified time has elapsed, the performance data collection stops.
Table 145 Start Performance Data Collection
Convention Description MegaCli -perfmon -start -interval
The possible parameters are: -start : Starts the performance data collection.
-interval : The time interval (in minutes) that you specified for which you want the performance data collection. The default value is 5 minutes.
5.24.2
5.24.3
Stop Performance Data Collection
Use this command if the performance data collection is already running and you want to stop the collection of performance data.
Table 146 Stop Performance Data Collection
Convention Description MegaCli -perfmon -stop -aN -perfmon : Specifies collection of performance data.
The possible parameters are: -stop : Stops the performance data collection.
Save Performance Data
Use this command to save the performance data collection in a file.
Table 147 Save Performance Data
Convention Description MegaCli -perfmon -getresults -f
The possible parameters are: -getresults : Specifies saving the performance data collection.
-f : Specifies the file name in which the performance data is to be saved. The format of the file is CSV.
5.25
Miscellaneous Commands
The commands in this section are used to display various information.
LSI Corporation - 226 -
MegaRAID SAS Software User Guide June 2012 Chapter 5: MegaRAID Command Tool Miscellaneous Commands
5.25.1
Display the Version
Use this command to display the CLI version, the version of the device driver, the version of the Unified extended firmware interface (UEFI) device driver, the firmware versions for the attached physical device, and the enclosure.
Table 148 Display the Version
Convention Description MegaCli -Version -Cli | Ctrl | Driver | Pd | Uefi aN ( Uefi works only for EFI ) Displays the firmware versions and other code levels installed on the controller, the CLI version, the version of the device driver, the version of the UEFI device driver, the firmware versions for the attached physical device, and enclosure in a list as location information, model string, and the firmware version.
5.25.2
5.25.3
5.25.4
Display the MegaCLI Version
Use the command in the following table to display the version number of the MegaCLI utility.
Table 149 Display the MegaCLI Version
Convention Description MegaCli –v Displays the version number of the MegaCLI utility.
Display Help for MegaCLI
Use the command in the following table to display help information for the MegaCLI utility.
Table 150 Display Help for MegaCLI
Convention Description MegaCli –h|–Help|?
Displays help for the MegaCLI utility.
Display Summary Information
Use the command in the following table to show summary information for the MegaCLI utility.
Table 151 Display Summary Information
Convention Description MegaCli -ShowSummary [-f filename] –aN Displays a summary of the system information, controller information, the drive information, the virtual drive information, and the enclosure information.
LSI Corporation - 227 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Overview
Chapter 6: MegaRAID Storage Manager Overview and Installation
This chapter provides a brief overview of the MegaRAID® Storage Manager software and explains how to install it on the supported operating systems.
6.1
6.1.1
6.1.2
6.1.3
Overview
The MegaRAID Storage Manager software enables you to configure, monitor, and maintain storage configurations on LSI SAS controllers. The MegaRAID Storage Manager graphical user interface (GUI) makes it easy for you to create and manage storage configurations.
Creating Storage Configurations
The MegaRAID Storage Manager software enables you to easily configure the controllers, drives, and virtual drives on your workstation or on the server. The Configuration wizard greatly simplifies the process of creating drive groups and virtual drives. The wizard allows you to easily create new storage configurations and modify the configurations.
You can create configurations using the following modes:
Simple configuration
specifies a limited number of settings and has the system select drives for you. This option is the easiest way to create a virtual drive.
Advanced configuration
lets you choose additional settings and customize the creation of virtual drives. This option provides greater flexibility when creating virtual drives for your specific requirements because you can select the drives and the virtual drive settings when you create a virtual drive. In addition, you can use the advanced configuration procedure to create spanned drive groups.
In addition, the Modify Drive Group wizard enables you to increase the capacity of a virtual drive and to change the RAID level of a drive group.
NOTE
The Modify Drive Group wizard was previously known as the Reconstruction wizard.
Monitoring Storage Devices
The MegaRAID Storage Manager software displays the status of controllers, virtual drives, and drives on the workstation or on the server that you are monitoring. The system errors and events are recorded in an event log file and are displayed on the dialog. Special device icons appear on the window to notify you of drive failures and other events that require immediate attention.
Maintaining Storage Configurations
You can use the MegaRAID Storage Manager software to perform system maintenance tasks, such as running patrol read operations, updating firmware, and running consistency checks on drive groups that support redundancy.
6.2
Hardware and Software Requirements
The hardware requirements for the MegaRAID Storage Manager software are as follows: LSI Corporation - 228 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager PC-compatible computer with an IA-32 (32-bit) Intel Architecture processor or an EM64T (64-bit) processor; also compatible with SPARC V9 architecture-based systems Minimum 256 MB of system memory (512 MB recommended) A hard drive with at least 400 MB available free space; Solaris™ 10 X86 and Solaris™ 10 SPARC, Solaris™ 11 X86 and Solaris™ 11 SPARC requires a minimum of 640 MB.
The supported operating systems for the MegaRAID Storage Manager software are as follows: Microsoft® Windows Server 2003, Microsoft Windows Server 2008, Microsoft Windows Server 2008 R2, Microsoft Windows XP, Microsoft Windows Vista, and Microsoft Windows 7 Red Hat Linux 3.0, 4.0, 5.0, 5.8, and 6.0. The MegaRAID Storage Manager software supports 64-bit environment from RHEL 6 onwards.
Solaris 10 x86, Solaris SPARC, Solaris 11 x86, Solaris 11 SPARC SUSE Linux/SLES 9, 10, 11, and 11 SP2 with the latest updates and service packs VMware ESX 4.0, 4.1, and 5.0
Refer to your server documentation and to the operating system documentation for more information on hardware and operating system requirements.
NOTE
The MegaRAID Storage Manager software is supported in the Network Address Translation (NAT) environment also. If the server is installed in a remote machine and you want to connect to that server over a NAT environment, through a remote client, you can connect to the remote server by providing the NAT IP address.
NOTE
The MegaRAID Storage Manager software uses the local IP address in the same subnet as the SMTP server to deliver email notifications to the SMTP server.
You can use the MegaRAID Storage Manager software to remotely monitor the systems running the VMware ESXi (3.5 and above) operating system.
NOTE
Storelib libraries need the capability to be installed with more than one version. All the storelib libraries have been moved to a private location. Please do a clean un-installation and only then install the MegaRAID Software Manager to avoid any conflicts.
6.3
6.3.1
Installing MegaRAID Storage Manager
This section explains how to install (or reinstall) the MegaRAID Storage Manager software on your workstation or on your server for the supported operating systems: Microsoft Windows, Red Hat Linux, SUSE Linux, Solaris 10 x86, and Solaris SPARC.
Prerequisite for MegaRAID Storage Manager Installation
The MegaRAID Storage Manager software installation script also installs the LSI SNMP agent, Red Hat Package Manager (RPM). The LSI SNMP agent application depends upon the standard SNMP-Util package. Make sure that the SNMP-Util package is present in the system before you install the MegaRAID Storage Manager software. The SNMP-Util package includes the RPM’s net-snmp-libs, net-snmp-utils, and additional dependent RPM’s. Make sure that these RPM’s are installed from the operating system media before you install the MegaRAID Storage Manager software.
LSI Corporation - 229 -
MegaRAID SAS Software User Guide June 2012
6.3.2
Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
Installing MegaRAID Storage Manager Software on Microsoft Windows
To install the MegaRAID Storage Manager software on a system running the Microsoft Windows Server 2003, Microsoft Windows Server 2008, Microsoft Server 2008 R2, Microsoft Windows XP, Microsoft Windows Vista, or Microsoft Windows 7 operating system, perform the following steps: 1.
2.
3.
Insert the MegaRAID Storage Manager software installation CD in the CD-ROM drive.
If necessary, find and double-click the setup.exe
file to start the installation program.
In the
Welcome
screen that appears, click
Next
.
If the MegaRAID Storage Manager software is already installed on this system, then an upgraded installation occurs.
Read and accept the user license and click
Next
.
The
Customer Information
window appears, as shown in the following figure.
Figure 137 Customer Information Window
4.
5.
6.
Enter your user name and organization name. In the bottom part of the screen, select an installation option:
— —
If you select the
All users
radio button, any user with administrative privileges can use this version of the MegaRAID Storage Manager software to view or change storage configurations.
If you select the
Only for current user
radio button, the MegaRAID Storage Manager software shortcuts and associated icons are available only to the user with this user name.
Click
Next
to continue.
Accept the default destination folder, or click
Change
to select a different destination folder, as shown in the following figure.
LSI Corporation - 230 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
Figure 138 Destination Folder Window
7.
Click
Next
to continue.
The
Setup Type
window appears, as shown in the following figure.
LSI Corporation - 231 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
Figure 139 Setup Type Window
8.
Select one of the setup options. The options are fully explained in the window text. 9.
— —
Select the
Complete
radio button if you are installing the MegaRAID Storage Manager software on a server. Select the
Custom Installation
radio button if you want to select individual program components.
Click
Next
to continue.
If you select
Custom Installation
as your setup option, the second
Setup Type
dialog appears, as shown in
Complete
as your setup option, the LDAP Login Information appears. LSI Corporation - 232 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
Figure 140 LDAP Logon Information
10. To specify LDAP configuration details, select
Yes
, and perform the following substeps, or if you do not want to specify LDAP configuration details, click
No
and click
Next
.
a.
b.
c.
d.
e.
Enter the LDAP server’s IP address in the
Server IP
field.
Enter the LDAP server’s user name in the
User name
field. An example of a user name can be [email protected].
Enter the name of the Domain Controller in the
Distinguished User name
field. As an example, the Domain Controller name can be dc= TESTLDAP, dc=com .
Enter the LDAP server’s port number in the
Port
field.
Select the
Use LDAP as default Login
check box to always connect to the LDAP server.
All the values entered in this dialog are saved in the ldap.properties
file.
11. Click
Next
.
12. In the dialog that appears, click
Install
to begin the installation.
13. Select one of the setup options. See Section Setup Options , for specific information.
LSI Corporation - 233 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
6.3.3
Figure 141 Custom Setup Window
14. Click
Next
to proceed.
15. Click
Install
to install the program.
16. When the final
Configuration Wizard
window appears, click
Finish
.
If you select
Client
installation for a computer that is used to monitor servers, and if no available servers exist with a registered framework on the local subnet (that is, servers with a complete installation of the MegaRAID Storage Manager software), the server window appears. The
MegaRAID Storage Manager - Host View
window does not list any servers. You can use the
MegaRAID Storage Manager - Host View
window to manage systems remotely.
Setup Options
The MegaRAID Storage Manager software enables you to select from one of the following setup options when you install it: Select the
Client
radio button if you are installing the MegaRAID Storage Manager software on a computer that will be used to view and configure servers over a network. To begin installation, click
Install
on the next window that appears.
In the Client mode of installation, the MegaRAID Storage Manager software installs only client-related components, such as the MegaRAID Storage Manager GUI. Use this mode when you want to manage and monitor servers remotely. When you install the MegaRAID Storage Manager software in Client mode on a laptop or a desktop, you can log in to a specific server by providing the IP address.
Select the
Server
radio button to install only those components required for remote server management. To begin installation, click on
Install
on the next window that appears.
LSI Corporation - 234 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
6.3.4
6.3.4.1
6.3.4.2
6.3.4.3
6.3.5
Select the
StandAlone
radio button if you will use the MegaRAID Storage Manager software to create and manage storage configurations on a stand-alone workstation. To begin installation, click on
Install
on the next window that appears.
NOTE
If you select Client or Standalone as your setup option, the LDAP Logon Information dialog appears.
Select the
Local
radio button if you want to view only the workstation that has the MegaRAID Storage Manager software installed. You will not be able to discover other remote servers and other remote servers will also not be able to connect to your workstation. In a local mode installation, you will be using the loopback address instead of the IP address.
Select the
Custom
radio button if you want to specify individual program features to install. If you select
Custom
, a window listing the installation features appears. Select the features you want on this window.
Uninstalling the MegaRAID Storage Manager Software on Windows
You can uninstall the MegaRAID Storage Manager software from a system running on Microsoft Windows operating system via the Control Panel, the Command Prompt, or the MegaRAID Storage Manager Uninstallation Utility.
Uninstalling MegaRAID Storage Manager Software through Control Panel
To uninstall the MegaRAID Storage Manager software through the Control Panel, follow these steps: 1.
2.
3.
Select
Add/Remove Programs
from the Control Panel.
Select MegaRAID Storage Manager from the list of the
Add/Remove Programs
window.
Click
Remove
.
Uninstalling MegaRAID Storage Manager Software Using Command Prompt
To uninstall the MegaRAID Storage Manager software using the Command Prompt, follow these steps: 1.
2.
3.
Go to the Command Prompt.
Go to the folder MSM_INSTALLATION_FOLDER .
Run either of the two commands in the Command Prompt:
— —
Uninstaller.exe
- for interactive mode of uninstallation.
Uninstaller.exe -silent - for Silent uninstallation.
1.
2.
3.
Uninstalling MegaRAID Storage Manager Software Using the MegaRAID Storage Manager Uninstallation Utility
To uninstall the MegaRAID Storage Manager software through the MegaRAID Storage Manager uninstallation utility, follow these steps: Go to Start-> MegaRAID Storage Manager .
Click
MegaRAID Storage Manager Uninstall
.
Follow the prompts to complete the uninstallation procedure.
Installing and Supporting MegaRAID Storage Manager Software on Solaris 10 (U5, U6,U7, U8, U9, and U10), 11 (x86 and x64), SPARC
This section documents the installation of MegaRAID Storage Manager software on the Solaris U5, U6, U7, U8, U9, and U 10 x86 and x64 operating systems, and Solaris SPARC.
LSI Corporation - 235 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
6.3.5.1
6.3.5.2
6.3.5.3
6.3.5.4
Installing MegaRAID Storage Manager Software for the Solaris 10 x86 Operating System
This section documents the installation of the MegaRAID Storage Manager software on the Solaris 10 U5, U6, U7, U8 x86 and x64 operating systems.
3.
4.
5.
6.
Follow these steps to install the MegaRAID Storage Manager software on a system running the Solaris 10 x86 operating system: 1.
2.
Copy the MegaRaidStorageManager-SOLX86-…..tar.gz
file to a temporary folder.
Untar the MegaRaidStorageManager-SOLX86-…..tar.gz
file using the following command: tar -zxvf MegaRaidStorageManager-SOLX86-…..tar.gz
This step creates a new disk directory. Go to the new disk directory, and find and read the readme.txt
file.
Enter the Bash shell.
Execute the command ./install.sh
present in the disk directory.
When prompted by the installation scripts, select Y to complete the installation.
3.
4.
5.
Installing MegaRAID Storage Manager Software for the Solaris SPARC Operating System
Perform the following steps to install the MegaRAID storage Manager Software for Solaris 10 SPARC.
1.
2.
Copy the MegaRaidStorageManager-SOLSPARC-8.10-…….tar.gz
file to a temporary folder.
Untar the MegaRaidStorageManager-SOLSPARC-8.10-…….tar.gz
file using the following command: tar -zxvf “MegaRaidStorageManager-SOLSPARC-8.10-…….tar.gz” This step creates a new disk directory. Go to the new disk directory, and find and read the readme.txt
file.
Enter the Bash shell.
Execute the command ./install.sh
present in the disk directory.
When prompted by the installation scripts, type Y to complete the installation.
NOTE
LSI MegaRAID CacheCade Pro 2.0 software is not applicable in SPARC.
3.
4.
5.
6.
Installing MegaRAID Storage Manager Software for Solaris 11 x86
Follow these steps to install the MegaRAID Storage Manager software on a system running Solaris 10 x86.
1.
2.
Copy the MegaRaidStorageManager-SOL11X86-…….tar.gz
file to a temporary folder.
Untar the MegaRaidStorageManager-SOL11X86-…….tar.gz
file using the following command: tar -zxvf “MegaRaidStorageManager-SOL11X86-…….tar.gz” This step creates a new disk directory.
Go to the new disk directory, and read the readme.txt
file.
Enter the Bash shell.
Execute the command ./install.sh
present in the disk directory.
When prompted by the installation scripts, type Y to complete the installation.
Installing MegaRAID Storage Manager Software for Solaris 11 SPARC
Follow these steps to install the MegaRAID Storage Manager software on a system running Solaris 11 SPARC: 1.
2.
Copy the MegaRaidStorageManager-SOL11SPARC-…….tar.gz
file to a temporary folder.
Untar the MegaRaidStorageManager-SOL11SPARC-…….tar.gz
file using the following command: tar -zxvf “MegaRaidStorageManager-SOL11SPARC-…….tar.gz” This step creates a new disk directory.
LSI Corporation - 236 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager 3.
4.
5.
6.
Go to the new disk directory and read the readme.txt
file.
Enter the Bash shell.
Execute the command ./install.sh
present in the disk directory.
When prompted by the installation scripts, type Y to complete the installation.
NOTE
LSI MegaRAID CacheCade Pro 2.0 software is not applicable in SPARC.
6.3.6
6.3.7
Uninstalling MegaRAID Storage Manager Software on Solaris 10 (U5, U6, U7, U8, U9, and U10), 11 (x86 and x64), and SPARC
Follow these steps to uninstall the MegaRAID Storage Manager software on a system running Solaris operating systems: 1.
2.
Execute the Uninstaller.sh
file located in /opt/MegaRaidStorageManager directory.
When prompted by the uninstallation scripts, select Y to complete the installation.
To shut down the MegaRAID Storage Manager Framework service, run the svcadm disable -t MSMFramework command.
To start the Framework service, run the svcadm enable MSMFramework command. When the service is in maintenance state, run the svcadm clear MSMFramework command.
To check the status of the MegaRAID Storage Manager services, run the svcs-a|grep -i msm command.
Prerequisites for Installing MegaRAID Storage Manager on the RHEL6.X x64 Operating System
Before installing the MegaRAID Storage Manager software on RHEL 6.X x64 system, install the following RPMs. Without these RPMs the MegaRAID Storage Manager software might not install properly or might not work as expected.
libstdc++-4.4.4-13.el6.i686.rpm
compat-libstdc++-33-3.2.3-69.i686.rpm
libXau-1.0.5-1.el6.i686.rpm
libxcb-1.5-1.el6.i686.rpm
libX11-1.3-2.el6.i686.rpm
libXext-1.1-3.el6.i686.rpm
libXi-1.3-3.el6.i686.rpm
libXtst-1.0.99.2-3.el6.i686.rpm
The RHEL6.X x64 complete operating system installation is required for the MegaRAID Storage Manager software to work. The above mentioned rpm's come as part of RHEL6.X x64 Operating System DVD. These RPMs might need additional dependent RPMs as well, and you must install all the dependent RPMs on the target system.
NOTE
The RPM's versions mentioned above may get changed in the future RHEL6.x releases. Install the corresponding RPM's from the operating system installation media.
NOTE
The MegaRAID Storage Manager software now provides an additional binary to run it in a native 64-bit Linux environment.
LSI Corporation - 237 -
MegaRAID SAS Software User Guide June 2012
6.3.8
Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
Installing MegaRAID Storage Manager Software for the Linux Operating System
3.
4.
5.
Follow these steps if you need to install the MegaRAID Storage Manager software on a system running Red Hat Linux 3.0, 4.0,5.0, 6.0 or SUSE Linux/SLES 9, 10, and 11: 1.
2.
Copy the MSM_linux_installer-11.02.00-00.tar.gz
file to a temporary folder.
Untar the MSM_linux_installer-11.02.00-00.tar.gz
file using the following command: tar -zxvf MSM_linux_installer-11.02.00-00-...tar.gz
A new disk directory is created.
Go to the new disk directory.
In the disk directory, find and read the readme.txt
file.
To start the installation, enter the following command: csh install.csh -a The preceding command works only if csh shell is installed; otherwise, use the following command: install.csh
If you select
Client
installation for a computer that is used to monitor servers, and if no available servers exist with a registered framework on the local subnet (that is, servers with a complete installation of the MegaRAID Storage Manager software), the
MegaRAID Storage Manager - Host Name
window appears. The
MegaRAID Storage Manager - Host Name window
does not list any servers. You can use this window to manage systems remotely.
To install the software using an interactive mode, execute the command ./install.csh
from the installation disk.
To install the product in a non-interactive or silent mode, use the command ./install.csh [-options] [-ru popup] from the installation disk. The installation options are as follows:
Complete Client Component Only StandAlone Local Server
The -ru popup command removes the pop-up from the installation list.
You also can run a non-interactive installation using the RunRPM.sh
command.
The installer offers the following setup options:
Complete
– This installs all the features of the product.
Client Components Only
– The storelib feature of the product is not installed in this type of installation. As a result, the resident system can only administer and configure all of the servers in the subnet, but it cannot serve as a server.
StandAlone
– Only the networking feature will not be installed in this case. But the system can discover other servers in the subnet and can be discovered by the other servers in the subnet.
Local
– This option enables you to view only the workstation that has the MegaRAID Storage Manager software installed. You will not be able to discover other remote servers and other remote servers will also not be able to connect to your workstation. In a local mode installation, you will be using the loopback address instead of the IP address.
Server
– This option installs components required for remote server management This installation helps you select any of the setup types, but if you run RunRPM.sh
, it installs the complete feature.
NOTE
To install and run the MegaRAID Storage Manager software on RHEL 5, you need to disable SELinux.
LSI Corporation - 238 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
6.3.9
6.3.10
6.3.11
6.3.11.1
Linux Error Messages
The following messages can appear while you are installing the MegaRAID Storage Manager software on a Linux operating system: More than one copy of MegaRAID Storage Manager software has been installed .
This message indicates that the user has installed more than one copy of the MegaRAID Storage Manager software. (This step can be done by using the rpm-force command to install the rpm file directly, which is not recommended, instead of using the install.sh
file.) In such cases, the user must uninstall all of the rpm files manually before installing the MegaRAID Storage Manager software with the procedure listed previously.
The version is already installed .
This message indicates that the version of the MegaRAID Storage Manager software you are trying to install is already installed on the system.
The installed version is newer .
This message indicates that a version of the MegaRAID Storage Manager software is already installed on the system, and it is a newer version than the version you are trying to install.
Exiting installation .
This is the message that appears when the installation is complete.
RPM installation failed .
This message indicates that the installation failed for some reason. Additional message text explains the cause of the failure.
Kernel Upgrade
If you want to upgrade the kernel in the Linux operating system, you must restart the MegaRAID Storage Manager Framework and Services in the same order by entering the following command.
/etc/init.d/vivaldiframeworkd restart
Uninstalling MegaRAID Storage Manager Software for the Linux Operating System
To uninstall the MegaRAID Storage Manager software on a system running Linux, follow these steps: 1.
2.
Go to /usr/local/MegaRAID Storage Manager .
Run ./uninstaller.sh
.
This procedure uninstalls the MegaRAID Storage Manager software.
Executing a CIM Plug-in on Red Hat Enterprise Linux 5
To execute a Common Information Model (CIM) plug-in on Red Hat Enterprise Linux 5, you must create the following symbolic links: 1.
2.
3.
cd /usr/lib on RHEL 5 Search for libcrypto , libssl , and libsysfs libraries as follows: ls -lrt libcrypto*, ls -lrt libssl*, ls -lrt libsysfs* If the files libcrypto.so.4
, libssl.so.4
, and libsysfs.so.1
are missing, manually create sym links as follows: ln -s libcrypto.so libcrypto.so.4 ln -s libssl.so libssl.so.4 ln -s libsysfs.so libsysfs.so.1
LSI Corporation - 239 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaRAID Storage Manager
6.3.12
6.3.13
6.3.13.1
For more information about CIM, see Section
MegaRAID Storage Manager Support on the VMware ESXi Operating System
.
If the .so files are not present in the /usr/lib directory, create a link with the existing version of the library. For example, if libcrypto.so.6
is present and libcrypto.so
is not, create the link as follows: ln -s libcrypto.so.6 libcrypto.so.4
On a 64-bit operating system, the system libraries are present in the /usr/lib64 directory by default. However, for supporting CIM Plug-in, make sure that the libraries are also present in /usr/lib by installing the appropriate RPMs.
MegaRAID Storage Manager Customization
You can customize your Logo and Splash window by editing the msm.properties
file present in the
The msm.properties
file has no values for the following keys: a.
b.
CHANNELLOGO= CHANNELSPLASHSCREEN= No default values are assigned for these keys; therefore, the MegaRAID Storage Manager uses the default LSI Logo and splash screen.
To customize the Logo and splash screen, enter the Logo and Splash screen file name against these entries. 2.
3.
4.
5.
6.
To enter the file names follow these steps: 1.
Open the msm.properties
file in the < installation-directory\MegaRAID Storage Manager > folder.
Enter the value for the logo file against the key CHANNELLOGO.
Enter the value for the splash screen file against the key CHANNELSPLASHSCREEN.
Save the file.
Place these two images in the <
installation-directory
\MegaRAID Storage Manager > folder.
Start the application.
Following are some of important points that you need to keep in mind: File names for both entries should not have any spaces. For example, the valid file name would be: logo_test_1.png
, LogoTest1.png
, or TEST_SPLASH_FILE.jpg.
The logo image dimensions should not exceed 160 pixcels x 85 pixcels (width x height).
The splash screen image dimensions should not exceed 390 pixcels x 260 pixcels (width x height).
After making the changes mentioned previously, when you log into the MegaRAID Storage Managers software, you will be able to view the changes with the new splash screen and logo in the MegaRAID Storage Manager software.
Stopping the Pop-Up Notification Process
The pop-up notification is started automatically when you login to the operating system. To stop the pop-up notification, you need to follow certain steps based on your operating system.
Windows Operating System
To stop the pop-up notification process on the Windows operating system, follow these steps: 1.
2.
Go to the command prompt.
Go to the
LSI Corporation - 240 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation MegaRAID Storage Manager Support and Installation on VMware
6.3.13.2
6.3.14
3.
Run the command, popup -stop .
After running the preceding command, the pop-up process stops.
Linux, Solaris x86, and Solaris SPARC Operating Systems
To stop the pop-up notification process on Linux, Solaris x86, or Solaris SPARC operating systems, follow these steps: 1.
2.
3.
Go to the command prompt.
Go to the
Run the script, shutdownpopup -sh in the console.
After running the preceding command, the pop-up process stops.
Restarting the Pop-Up Notification Process
When you restart the MegaRAID Storage Manager Framework Service in Windows, Linux, Solaris X86, or Solaris SPARC operating systems, and if you want to see the pop-up notifications, you need to start the popup process.
For the Windows operating system, you must first stop the pop-up process (see
) and then restart the same. After stopping the pop-up process, run the Popup.exe
command in the same console. The pop-up process is started again
) and then restart the same. After stopping the pop-up process, run the ./popup& command from the same console. The pop-up process is started again.
) and then restart the same. After stopping the pop-up process, run the ./popup command from the same console. The pop-up process is started again.
6.4
6.4.1
6.4.2
MegaRAID Storage Manager Support and Installation on VMware
This section documents the installation of the MegaRAID Storage Manager software on VMware ESX (also known as Classic) and on the VMware ESXi operating system.
Prerequisites for Installing MegaRAID Storage Manager for VMware
For the VMware 3.5 operating system, it is necessary to install libstdc++34-3.4.0-1.i386.rpm before installing the MegaRAID Storage Manager software. You can download the rpm file from: http://rpm.pbone.net/ index.php3/stat/4/idpl/1203252/com/libstdc++34-3.4.0-1.i386.rpm.html.
For the VMware 4.1 operating system, it is necessary to create a soft link as follows before installing the MegaRAID Storage Manager software. Run the following command to create the necessary soft link required for the MegaRAID Storage Manager software to work.
sudo ln -sf /lib/libgcc_s.so.1/usr/lib/vmware/lib/libgcc_s.so.1
For VMware ESXi 5.0 to work with the MegaRAID Storage Manager software, the SMI-S Provider must be installed.
Installing MegaRAID Storage Manager on VMware ESX (VMware Classic)
The VMware operating system does not support any graphics components. To install the MegaRAID Storage Manager software on the VMware operating system, run the script ./vmware_install.sh
from the installation disk.
LSI Corporation - 241 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation MegaRAID Storage Manager Support and Installation on VMware
6.4.3
6.4.4
NOTE
Ensure that on a 32 bit or on a 64 bit VMware operating system, you install the 32 bit MegaRAID Storage Manager software.
The installer lets you accept the license agreement, operating system, and storelib as follows: End user license agreement Operating system (VMware 4
.x
operating system) Select the Storelib (Inbox Storelib or Storelib from the MegaRAID Storage Manager package)
NOTE
VMware Classic is not supported on VMware 5.x and higher versions.
Uninstalling MegaRAID Storage Manager for VMware
To uninstall the Server Component of the MegaRAID Storage Manager software on VMware, either use the Uninstall command in the Program menu, or run the script /usr/local/MegaRAID Storage Manager/ uninstaller.sh
.
You need to keep in mind the following points: A MegaRAID Storage Manager upgrade is supported in this release. Future releases can update this release.
To shut down the MegaRAID Storage Manager Framework service, run the following command: /etc/init.d/vivaldiframeworkd stop The Linux RPM of the MegaRAID Storage Manager software works under the console with minimal changes. Hardware RAID is currently supported in ESX 4.x.
NOTE
There is a known limitation that virtual drives that are created or deleted will not be reflected to the kernel. The workaround is to reboot the server or to run esxcfg-rescan
MegaRAID Storage Manager Support on the VMware ESXi Operating System
This section outlines the product requirements needed to support the VMware ESXi operating system. Classic VMware includes a service console that is derived from the Linux 2.4 kernel, but with reduced functionality. The MegaRAID Storage Manager server part cannot be installed directly in the VMware ESXi operating system. Management is performed through the MegaRAID Storage Manager software installed on a Linux/Windows machine in the same subnet.
NOTE
For VMware ESXi 5.0 to work with the MegaRAID Storage Manager software, the SMI-S Provider must be installed.
Remote management of VMware ESXi is supported only in a complete installation of the MegaRAID Storage Manager on the following operating systems: Microsoft Windows Server RHEL SuSE Linux Network communication is a key element for a proper communication between the ESXi CIM provider and the LSI management software. Please make sure that the network settings are correct by making the following changes: Provide a proper host name and an IP address while doing the initial configurations for the ESXi host.
LSI Corporation - 242 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation MegaRAID Storage Manager Support and Installation on VMware
6.4.5
6.4.5.1
For networks that do not have DNS configured, the “hosts” file in the machine on which the MegaRAID Storage Manager software is installed must be edited as follows: a.
Add an entry to map the VMware host’s IP address with the host name. This is for the discovery process to happen correctly. In the absence of this entry, the VMware host would be discovered as 0.0.0.0.
b.
Add an entry to map the actual IP address of the localhost with its hostname (an entry for the loopback address would be present by default in the hosts file and it should not be removed). This is to ensure that the Asynchronous Event Notifications (AENs) are delivered correctly.
For example, if 135.24.228.136 is the IP address of your VMWare host and 135.24.228.137 is the IP address of your Linux host, the following entries must be added in the hosts file: 135.24.228.136 dhcp-135-24-228-136.lsi.com dhcp-135-24-228-136 #VMWare 135.24.228.137 dhcp-135-24-228-137.lsi.com dhcp-135-24-228-137 #Linux
Limitations
The following are the limitations of this installation and configuration.
No status information exists for the controller Events are collected as long as the MegaRAID Storage Manager software runs on the client.
The MegaRAID Storage Manager software on VMware responds slower as compared to the response of the MegaRAID Storage Manager software on Windows/Linux/Solaris. Events are collected from the time a client logs in to an ESXi machine for the first time, and it continues to be collected as long as the Framework is running.
Differences in MegaRAID Storage Manager for the VMware ESXi System
The following are some of the differences in the MegaRAID Storage Manager utility when you manage a VMware server.
The following limitations apply to the system information exposed through the application:
—
Only the IP address and the host name appear.
—
No support exists for the controller health information.
Authentication support:
— —
The MegaRAID Storage Manager software allows CIMOM server authentication with the user ID and the password for VMware.
Access to VMware ESXi hosts is controlled based on the user privileges. Only root users can have full access, while the non-root users can have only view only access.
—
Multiple root users can simultaneously login using 'Full Access' mode to access the VMware ESXi server.
Event logging: Event logging support is available for the VMware ESXi operating system, but it works differently than the normal MegaRAID Storage Manager framework mode. The event logging feature for the MegaRAID Storage Manager Client connected to a VMware ESXi system behaves as follows:
— — — — —
The support for retrieving initial logs is limited to 30 events. Only those events that occur after a client logs in for the first time to an ESXi server appear in the Event Logger dialog.
The System logs are not displayed.
The “Save log” feature is not supported; however, the “Save Log as Text” is supported.
The “View Log” option allows you to view the logs saved in a text file on the Event Logger dialog.
Refreshing of the MegaRAID Storage Manager GUI after any updates on the firmware is slower for a client connected to VMware ESXi hosts, compared to one that is connected to a Windows/Linux/Solaris host.
VMware ESXi is supported only on a full installation of the MegaRAID Storage Manager software; standalone, client-only, server-only, and local modes do not support VMware ESXi management.
VMware ESXi is supported on following operating systems:
—
Microsoft Windows Server LSI Corporation - 243 -
MegaRAID SAS Software User Guide June 2012
— —
RHEL SuSE Linux Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring a CIM Provider
6.5
6.5.1
Installing and Configuring a CIM Provider
This section describes the installation and configuration of the LSI MegaRAID Common Information Model (CIM) provider. The Common Information Model offers common definitions of management information for networks, applications, and services, and allows you to exchange management information across systems throughout a network.
On a VMware ESXi system, management is possible only through a CIM provider, and it is performed through the MegaRAID Storage Manager software installed on a remote machine running a Linux or Windows operating system.
The VMware ESXi system comes with the Small Footprint CIM Broker (SFCB) CIM Object Manager (or CIMOM). A CIMOM manages communication between providers, which interact with the hardware, and a CIM client, where the administrator manages the system. SFCB supports Common Manageability Programming Interface (CMPI)-style providers. CMPI defines a common standard used to interface manageability instrumentation (providers, instrumentation) to management brokers (CIM Object Manager). CMPI standardizes manageability instrumentation, which allows you to write and build instrumentation once and run it in different CIM environments (on one platform).
Installing a CIM SAS Storage Provider on the Linux Operating System
The following procedure documents how to install and uninstall the LSI CIM SAS Storage Provider on a system running on the Linux operating system.
NOTE
Uninstall all the previous versions of LSISASProvider before you install this version. You can check all of the installed versions of LSISASProvider by running the rpm -qa | grep LsiSASProvider command.
To install a CIM SAS Storage Provider on a Linux system, install the SAS Provider using the Red Hat Package Manager (RPM) by entering the following command: rpm -ivh The RPM installs all of the necessary files and the Managed Object Format (MOF), and it registers the libraries. The SAS Provider is now ready to use.
NOTE
After you install LSI CIM SAS Provider, the MOF file LSI_SASRaid.mof
is available under the /etc/ lsi_cimprov/sas/pegasus/common directory.
To uninstall a CIM SAS Storage Provider on a Linux system, remove LSI CIM SAS Provider by entering the command: rpm –ivh LsiSASProvider-
This removes all of the necessary files, uninstalls the MOF, and unregisters the libraries. The SAS Provider is no longer on the system.
NOTE
Tog-pegasus binaries, such as cimmof, cimprovider, and wbemexec, should be in the PATH variable of / etc/profile , and hence, are defined in all environments of the system.
LSI Corporation - 244 -
MegaRAID SAS Software User Guide June 2012
6.5.2
6.5.3
Running the CIM SAS Storage Provider on Pegasus
Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent To run the CIM SAS Storage Provider on Pegasus version 2.5.
x
, perform the following steps: 1.
2.
After you install the LSI SAS Pegasus provider, verify that the libLsiSASProvider.so
file and the libLsiSASProvider.so.1
file are in /usr/lib/Pegasus/providers directory. If these files are not present, copy the libLsiSASProvider.so.1
file from /opt/tog-pegasus/ providers/lib to /usr/lib/Pegasus/providers , and create a symbolic link libLsiSASProvider.so
to /usr/lib/Pegasus/providers/libLsiSASProvider.so.1
at / usr/bin/Pegasus/providers .
Restart the Pegasus CIM Server and LSIServer by performing the following steps:
— —
To start the tog-pegasus server, run the following command: # /etc/init.d/tog-pegasus restart To start LSISAS Sever, run the following command: # /etc/init.d/LsiSASd restart
Installing a CIM SAS Storage Provider on Windows
The following procedure describes how to install and uninstall the LSI CIM SAS Storage Provider on a system running on a Windows operating system.
Perform the following steps to install a CIM SAS Storage Provider on a Windows system: 1.
2.
Go to DISK1.
Run setup.exe
. The installer installs all of the necessary files and the MOF, and registers the COM DLL. The CIM SAS Provider is now ready to use.
Perform the following steps to uninstall a CIM SAS Storage Provider on a Windows operating system.
1.
2.
Select
Control Panel > Add/Remove Program
.
Remove the LSI WMI SAS Provider Package. This step removes all of the necessary files, uninstalls the MOF, and unregisters the COM dll. The SAS Provider is no longer on the system.
6.6
Installing and Configuring an SNMP Agent
A Simple Network Management Protocol (SNMP)-based management application can monitor and manage devices through SNMP extension agents. The MegaRAID SNMP subagent reports the information about the RAID controller, virtual drives, physical devices, enclosures, and other items per SNMP request. The SNMP application monitors these devices for issues that might require administrative attention.
NOTE
The MegaRAID Storage Manager application uses the local IP address in the same subnet as the SMTP server to deliver email notifications to the SMTP server.
This section describes the installation and configuration of the LSI MegaRAID SNMP agent on Linux, Solaris, and Windows operating systems.
LSI Corporation - 245 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent
NOTE
The complete installation of the MegaRAID Storage Manager software installs the SNMP agent. However, you can install the SNMP agent (installer) on a system separately, without the MegaRAID Storage Manager software being installed
6.6.1
6.6.2
6.6.2.1
Prerequisite for LSI SNMP Agent RPM Installation
The LSI SNMP agent application depends upon the standard SNMP Utils package. Make sure that the SNMP-Util package is present in the system before you install LSI SNMP agent RPM. The SNMP-Util package includes the RPM’s net-snmp-libs, net-snmp-utils, and additional dependent RPMs.
Make sure that these RPM’s are installed from the operating system media before you install the LSI SNMP agent RPM.
Installing an SNMP Agent on the Windows Operating System
This section explains how to install and configure SAS SNMP Agent for the Windows operating system.
Installing SNMP Agent
Perform the following steps to install SNMP Agent: 1.
2.
3.
Run setup.exe
from DISK1.
Use SNMP Manager to retrieve the SAS data (it is assumed that you have compiled LSI-AdapterSAS.mib
file already). The LSI-AdapterSAS.mib
file is available under the %ProgramFiles%\LSI Corporation\SNMPAgent\SAS directory.
Use a trap utility to get the traps.
NOTE
Before you install the Agent, make sure that SNMP Service is already installed in the system.
6.6.2.2
6.6.2.3
1.
2.
3.
4.
Installing SNMP Service for the Windows Operating System
If you do not have SNMP Service installed on your system, perform the following steps to install SNMP Service for a Windows system.
Select
Add/Remove Programs
from the
Control Panel
.
Select
Add/Remove Windows Components
in the left side of the
Add/Remove Programs
window.
Select
Management and Monitoring Tools
.
Click
Next
, and follow any prompts to complete the installation procedure.
Configuring SNMP Service on the Server Side
Perform the following steps to configure SNMP Service on the server side.
1.
2.
3.
4.
5.
6.
Select
Administrative Tools
from the
Control Panel
.
Select
Services
in the
Administrative Tools
window.
Select
SNMP Service
in the
Services
window.
Open
SNMP Service
.
Click the
Security
tab, and make sure that
Accept SNMP Packets from any host
is selected.
Click the
Traps
tab, and select the list of host IP addresses to which you want the traps to be sent with the community name.
LSI Corporation - 246 -
MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent
6.6.2.4
6.6.2.5
6.6.3
6.6.4
Installing SNMP Service for the Windows 2008 Operating System
Before you install the LSI Agent, make sure that SNMP Service is already installed in the system.
If you do not have SNMP Service installed on your system, perform the following steps to install SNMP Service for Windows 2008 system.
1.
2.
3.
4.
5.
6.
7.
8.
Select
Program and Features
Click
Turn windows feature on/off
to select the windows components to install.
Select
Features
from the menu.
Click
Add Features
.
Select
SNMP Services
.
Click
Next
.
from the
Control Panel
.
Click
Install,
and the SNMP installation starts. You will be prompted for the Windows 2008 CD during the installation. Insert the CD, and click
Ok
. The installation resumes. After the installation is finished, the system displays a message saying that the installation is successful.
Configuring SNMP Service on the Server Side for the Windows 2008 Operating System
To configure SNMP service on the server side for Windows 2008 operating system, perform the following steps: 1.
2.
3.
4.
5.
6.
Select
Administrative Tools
from the
Control Panel
.
Select
Services
from
Administrative Tools
window.
Select
SNMP Service
from the
Services
window.
Open
SNMP Service
, and go to its properties.
Go to the
Security
t ab, and make sure that
Accept SNMP Packets from any host
is selected. Click the
Traps
tab, and select the list of host IP addresses to which you want the traps to be sent with the community name.
Prerequisite for Installing SNMP Agent on Linux Server
The SNMP application requires the standard library libsysfs. Make sure that this library is present in the system before installing the SNMP RPM. The minimum library versions required for installing SNMP server are as follows.
libsysfs version 2.0. This library is available in the rpm xx-xx .noarch.rpm>. xx-xx .noarch.rpm> is packaged in the SNMP zip file. libstdc++.so.6. This library is present in /usr/lib directory. You can install the SNMP application from the Linux software component RPM that provides these libraries. These RPM's are available in the Linux OS DVD. This section explains how to install and configure the SAS SNMP Agent for the SUSE Linux and Red Hat Linux operating systems. Perform the following steps to install and configure the SAS SNMP Agent for the SUSE Linux and Red Hat Linux operating systems: LSI Corporation - 247 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent NOTE This procedure requires that you have the Net-SNMP agent installed on the Linux machine. The RPM has not been created to support -U version. The RPM -U will probably fail with this RPM. 1. Install the LSI SAS SNMP Agent using the rpm -ivh command. NOTE Before installation, check whether there is any pass command exists that starts with 1.3.6.1.4.1.3582 OID in snmpd.conf. If so, delete all of the old pass commands that start with 1.3.6.1.4.1.3582 OID. (This situation could occur if an earlier version of LSI SNMP Agent was installed in the system.) NOTE After installation, find the SAS MIB file LSI-AdapterSAS.mib under the /etc/lsi_mrdsnmp/sas directory. RPM makes the necessary modification needed in the snmpd.conf file to run the agent. 2. 3. 4. 5. 6. 7. 8. The snmpd.conf file structure should be the same as the file structure l si_mrdsnmpd.conf . For reference, a sample configuration file ( lsi_mrdsnmpd.conf ) is in the /etc/lsi_mrdsnmp directory. To run an SNMP query from a remote machine, add the IP address of that machine in the snmpd.conf file, as in this example: com2sec snmpclient 172.28.136.112 public Here, the IP address of the remote machine is 172.28.136.112. To receive an SNMP trap to a particular machine, add the IP address of that machine in the com2sec section of the snmpd.conf file. For example, to get a trap in 10.0.0.144, add the following to snmpd.conf . # sec.name source community com2sec snmpclient 10.0.0.144 public To send SNMPv1 traps to a custom port, add the following configuration information to the snmpd.conf file: Trapsink HOST [community [port] ] Specify the custom port number; otherwise, the default SNMP trap port, 162, is used to send traps. To run or stop the snmpd daemon, enter the following command: /etc/init.d/snmpd start /etc/init.d/snmpd stop To start/stop the SAS SNMP Agent daemon before issuing a SNMP query, enter the following command: /etc/init.d/lsi_mrdsnmpd start /etc/init.d/lsi_mrdsnmpd stop You can check the status of the SAS SNMP Agent daemon by checked by entering the following command: /etc/init.d/lsi_mrdsnmpd status Issue an SNMP query in this format: snmpwalk -v1 -c public localhost .1.3.6.1.4.1.3582 You can get the SNMP trap from local machine by issuing the following command: snmptrapd -P -F "%02.2h:%02.2j TRAP%w.%q from %A %v\n" NOTE To receive a trap in a local machine with Net-SNMP version 5.3, you must modify the snmptrapd.conf , file (generally located at /var/net-snmp/snmptrapd.conf ). Add disableAuthorization yes in snmptrapd.conf and then run sudo snmptrapd -P -F "%02.2h:%02.2j TRAP%w.%q from %A %v\n . NOTE It is assumed that snmpd.conf is located in /etc/snmp for the Red Hat operating system and /etc for the SLES operating system. You can change the file location from the /etc/init.d/lsi_mrdsnmpd file. LSI Corporation - 248 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent 6.6.5.1 6.6.5.2 6.6.5.3 6.6.5.4 You can install SNMP without the trap functionality. To do so, set the TRAPIND environment variable to "N" before running RPM. Before you install a new version, you must uninstall all previous versions. For the SLES 10 operating system, perform the following steps to run SNMP: 1. 2. 3. Copy /etc/snmp/snmpd.conf to /etc/snmpd.conf . Modify the /etc/init.d/snmpd file, and change SNMPDCONF=/etc/snmp/snmpd.conf entry to SNMPDCONF=/etc/snmpd.conf . Run LSI SNMP rpm . This section explains how to install and configure SAS SNMP Agent for the Solaris operating system. Prerequisites This package requires that you have Solaris System Management Agent installed on the Solaris machine. NOTE While installing the SAS SNMP Agent on Solaris 11, the net-snmp package needs to be installed on the machine. Installing SNMP on the Solaris Operating System To install SNMP for the Solaris operating system, perform the following steps: 1. 2. Unzip the LSI SAS SNMP Agent package. Run the install script by using the following command: # ./install.sh The installation exits if any existing versions of storelib and sassnmp are installed on the Solaris machine. Uninstall the existing version by using the following commands: # pkgrm sassnmp (to uninstall the LSI SAS SNMP Agent) # pkgrm storelib (to uninstall storelib library) LSI SAS SNMP MIB Location After you install the LSI SAS SNMP Agent package, the MIB file LSI-AdapterSAS.mib is installed under /etc/ lsi_mrdsnmp/sas directory. Starting, Stopping, and Checking the Status of the LSI SAS SNMP Agent The following commands are used to start, stop, restart, and check the status of the Solaris System Management Agent (net snmpd) daemonon Solaris 10 x86 and Solaris 10 SPARC: Start: # svcadm enable svc:/application/management/sma:default Stop: # svcadm disable svc:/application/management/sma:default Restart: # svcadm restart svc:/application/management/sma:default Status: # svcs svc:/application/management/sma:default The following commands are used to start, stop, restart, and check the status of the Solaris System Management Agent (net snmpd) daemon on Solaris 11 x86 and Solaris 11 SPARC: Start: # svcadm enable svc:/application/management/net-snmp Stop: # svcadm disable svc:/application/management/net-snmp Restart: # svcadm restart svc:/application/management/net-snmp LSI Corporation - 249 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent 6.6.5.5 Status: # svcs svc:/application/management/net-snmp NOTE Online indicates that the SMA is started. Disabled indicates that the SMA is stopped. The following commands are used to start, stop, restart, and check the status of the SAS SNMP Agent daemon on Solaris 10 x86 , Solaris 10 SPARC, Solaris 11 x86 and Solaris 11 SPARC: Start: #/etc/init.d/lsi_mrdsnmpd start Stop: #/etc/init.d/lsi_mrdsnmpd stop Restart: #/etc/init.d/lsi_mrdsnmpd restart Status: #/etc/init.d/lsi_mrdsnmpd status Configuring the snmpd.conf File By default, you can run the SNMP queries (walk, get) from any remote machine without any changes to the snmpd.conf file. To quickly add a new community and client access, perform the following steps: 1. Stop the SMA service by running the following command: # svcadm disable svc:/application/management/sma:default NOTE To stop the SMA service in Solaris 11 x86 and Solaris 11 SPARC, use the following command: # svcadm disable svc:/application/management/net-snmp . 2. Add read-only and read-write community names. a. Add a read-only community name and client/hostname/ipaddress under SECTION: Access Control Setup in the /etc/sma/snmp/snmpd.conf file, as shown in the following excerpt. ################################################# # SECTION: Access Control Setup # This section defines who is allowed to talk to # your running SNMP Agent. # rocommunity: a SNMPv1/SNMPv2c read-only access # community name # arguments: community # [default|hostname|network/bits] [oid] # rocommunity snmpclient 172.28.157.149 ################################################# NOTE In Solaris 11 x86 and Solaris 11 SPARC, add a read-only community name and client/hostname/ ipaddress under "SECTION: Access Control Setup" in the /etc/net-snmp/snmp/snmpd.conf file as shown in the above excerpt. b. Add a readwrite community name and client, hostname, ipaddress under SECTION: Access Control Setup in /etc/sma/snmp/snmpd.conf file, as shown in the following excerpt. ################################################# # SECTION: Access Control Setup # This section defines who is allowed to talk to your # running snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access # community name # arguments: community # [default|hostname|network/bits] [oid] # rwcommunity snmpclient 172.28.157.149 ################################################# LSI Corporation - 250 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing and Configuring an SNMP Agent 6.6.5.6 NOTE In Solaris 11 x86 and Solaris 11 SPARC, add a read-only community name and client/hostname/ ipaddress under "SECTION: Access Control Setup" in the /etc/net-snmp/snmp/snmpd.conf file as shown in the above excerpt. 3. Start the SMA service by using the following command: # svcadm enable svc:/application/management/sma:default NOTE Refer to the command man snmpd.conf for more information about configuring the snmpd.conf file. NOTE In Solaris 11 x86 and Solaris 11SPARC, you need to start the net-snmpd daemon service, by executing the following command: # svcadm enable svc:/application/management/net-snmp Configuring SNMP Traps To receive SNMP traps, perform the following steps: 1. 2. Stop the LSI SAS SNMP Agent by using the following command: #/etc/init.d/lsi_mrdsnmpd stop Edit the /etc/lsi_mrdsnmp/sas/sas_TrapDestination.conf file, and add the Ip address as shown in the following excerpt. ################################################# # Agent Service needs the IP addresses to sent trap # The trap destination may be specified in this file # or using snmpd.conf file. Following indicators can # be set on "TrapDestInd" to instruct the agent to # pick the IPs as the destination. # 1 - IPs only from snmpd.conf # 2 - IPs from this file only # 3 - IPs from both the files ################################################# TrapDestInd 2 ############# Trap Destination IP ################## # add port no after IP address with no space after colon to send the SNMP trap message to custom port.# Alternatively, you can also use trapsink command in snmpd.conf to send the SNMP trap message to# custom port, else default SNMP trap port 162 shall be used. 127.0.0.1 public 145.147.201.88:1234 testComm ################################################# NOTE Solaris also supports Custom community support. 3. If in case, ’TrapDestInd’ above is set to 1, IP addresses shall be taken from /etc/sma/snmp/snmpd.conf file in the following format: ’com2sec snmpclient 172.28.157.149 public’ ’Trapsink’ and ’TrapCommunity’ tokens are supported for sending customised SNMP traps NOTE In Solaris 11 x86 and Solaris 11 SPARC the file will be taken from /etc/net-snmp/snmp/snmpd.conf. 4. Start the LSI SAS SNMP Agent by entering the following command: #/etc/init.d/lsi_mrdsnmpd start LSI Corporation - 251 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Installing MegaCLI for VMware 5.0 6.6.5.7 Uninstalling the SNMP Package The uninstall.sh script is located under the /etc/lsi_mrdsnmp/sas directory. Use the following command to uninstall the package: # cd /etc/lsi_mrdsnmp/sas # ./uninstall.sh MegaCLI is packaged into a vSphere Installation Bundle (VIB) for VMware 5.0. To install the VIB, use the following command: esxcli software vib install -v= no-sig-check – Bypasses acceptance level verification, including signing. For example, if the MegaCLI VIB, vmware-esx-MegaCli-8.02.14.vib, is present in the /tmp directory, it can be installed using the following command: esxcli software vib install -v =/tmp/vmware-esx-MegaCli-8.02.14.vib --force - maintenance-mode --no-sig-check After the MegaCLI package is installed, it is available in the /opt/lsi/MegaCLI directory. To uninstall the VIB, use the following command: esxcli software vib remove --force -n= , use the following command: esxcli software vib remove --force -n=vmware-esx-MegaCli-8.02.14 1. 2. 3. 4. 5. When the MegaRAID Storage Manager software is used to connect to a VMware ESX machine from a remote machine (Windows /Linux), for long running operations (such as volume creation, deletion) to complete in a shorter time, perform the following steps: 6. Login to the VMware ESX machine. Open /etc/sfcb/sfcb.cfg . Increase the keepaliveTimeout value from 1 to 100 or to a higher value. Restart sfcbd ( /etc/init.d/sfcbd-watchdog restart ). Restart the MegaRAID Storage Manager Framework on the MegaRAID Storage Manager client machine. — — For Windows – Restart the framework service. For Linux – Restart the vivaldi framework service. Relaunch the MegaRAID Storage Manager window. LSI Corporation - 252 - MegaRAID SAS Software User Guide June 2012 Chapter 6: MegaRAID Storage Manager Overview and Installation Prerequisites to Running MegaRAID Storage Manager Remote Administration The MegaRAID Storage Manager software requires ports 3071 and 5571 to be open to function. Follow these steps to prepare to run the MegaRAID Storage Manager Remote Administration. 1. 2. 3. 4. Configure the system with a valid IP address. Make sure the IP address does not conflict with another in the sub network. Ports, such as 3071 and 5571, are open and available for the MegaRAID Storage Manager framework communication. Disable all security manager and firewall. Configure the multicasting. Make sure Class D multicast IP addresses are registered (at least 229.111.112.12 should be registered for the MegaRAID Storage Manager software to work); if not, create a static route using the following command: Route add 229.111.112.12 dev eth1 Install the MegaRAID Storage Manager software. If the MegaRAID Storage Manager software is already installed, restart the MegaRAID Storage Manager Framework. LSI Corporation - 253 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Starting the MegaRAID Storage Manager Software This chapter explains how to start the MegaRAID Storage Manager software and describes the MegaRAID Storage Manager window and menus. You must have administrative privileges to use the MegaRAID® Storage Manager software in either full-access or in view-only mode. Follow these steps to start the MegaRAID Storage Manager software on various platforms. To start the MegaRAID Storage Manager software on a Microsoft Windows operating system, select Start > Programs > MegaRAID Storage Manager > StartupUI , or double-click the MegaRAID Storage Manager shortcut on the desktop. NOTE If a warning appears stating that Windows firewall has blocked some features of the program, click Unblock to allow the MegaRAID Storage Manager software to start. (The Windows firewall sometimes blocks the operation of programs that use Java Technology.) To start the MegaRAID Storage Manager software on a Red Hat Linux operating system, select Applications > System Tools > MegaRAID Storage Manager StartupUI . To start MegaRAID Storage Manager software on a SUSE Linux or SLES operating system, select Start > System > More Programs > MegaRAID Storage Manager . To start MegaRAID Storage Manager software on a Solaris X86 and Solaris SPARC operating system, select Launch > Applications > Utilities > MegaRAID Storage Manager StartupUI . You can start the MegaRAID Storage Manager software from a remote Windows/ Linux machine that has the MegaRAID Storage Manager software installed in complete mode.When the program starts, the Select Server dialog appears, as shown in the following figure. The remote servers are displayed, along with their IP addresses, operating system, and health status. NOTE If you do a local mode installation, as shown in Section Installing MegaRAID Storage Manager Software on Microsoft WIndows, the following figure will not be displayed. It will directly prompt you to the login dialog as shown in the Server Login. LSI Corporation - 254 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Discovery and Login Figure 142 Select Server The Select Server dialog shows an icon for each server on which the MegaRAID Storage Manager software is installed. The servers are color-coded with the following definitions: Green: The server is operating properly. Yellow: The server is running in a partially degraded state (possibly because a drive in a virtual drive has failed). Orange: The server is running in a degraded state. Red: The server storage configuration has failed. NOTE Do not enter the VMware ESXi server’s IP address in the IP Address field in the previous figure. Instead enter a valid MegaRAID Storage Manager server’s IP address and select the Display all the systems in the Network of the local server option in the following figure. 1. Click Configure Host to configure the hosts. The Configure Host dialog appears, as shown in the following figure. LSI Corporation - 255 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Discovery and Login Figure 143 Configure Host The following options are available to configure the host. — — — Display only the local server – Select this option to display only the Local server or the Server of the IP address entered in the Host View screen. Display the systems from the following favorite list – You can enter the IP Addresses of the servers of choice to discover. It will discover only those servers. Display all the systems in the Network of the local server – Select this option to allow MegaRAID Storage Manager server to start the discovery process of all the available remote servers (including the VMware ESXi server) in the subnet mentioned MegaRAID Storage Manager server in the host view screen. NOTE On some Windows machines, the discovery of VMware ESXi servers fail as a result of a bug in the third-party application that is used for discovery. This is caused by one of the Windows servers in the network that contains a service called IBM SLP SA, which gets installed along with the IBM Director. If we stop this service on all the Windows servers in the network, the MegaRAID Storage Manager will be able to discover all the ESXi servers. 2. Click Save Settings to save your setting, or on Cancel to quit without saving. If you click Save Settings , a confirmation dialog appears asking you to confirm your settings. Click OK in the confirmation dialog to start the discovery process. LSI Corporation - 256 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Discovery and Login 3. Select the Stop discovery process of remote servers check box and click on Save Settings , to abort the discovery process which has already begun. This check box is enabled only when there is a active discovery process. The discovery process might take very long time to complete, you can use this function to abort this process. NOTE For the VMware ESXi, the server icon does not denote the health of the server. The icon is always green regardless of the health of the system. The VMware server does not show the system health and the operating system labels. It shows only the host name and the IP address of the server. When connecting to a VMware server on a different subnet, one or more frameworks have to be running in the subnet to connect to the CIMOM. 4. The ESXi server appears in the list of found hosts in the Select Server dialog. Double-click the icon of the server that you want to access. The Server Login window appears, as shown in the following figure. Figure 144 Server Login 5. Enter your user name and password. The question mark icon opens a dialog box that explains what you need for full access to the server and for view only access to the server. You will be allowed three attempts to Log in. NOTE When connected to VMware operating system, the Server Login window shows only one label for access, Full Access. Multiple users can have full access to the VMware server. 6. Select an access mode from the drop-down menu for Login Mode , and click Login . — — Select Full Access if you need to both view and change the current configuration. Select View Only if you need to only view and monitor the current configuration. NOTE If the computer is networked, this login is for the computer itself, not the network login. Enter the root or administrator user name and password to use Full Access mode. NOTE In Linux, users belonging to the root group can log in. You do not have to be the user root. LSI Corporation - 257 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus LDAP Support If your user name and password are correct for the Login mode you have chosen, the MegaRAID Storage Manager main menu appears. The MegaRAID Storage Manager application supports the discovery of remote MegaRAID Storage Managers servers using LDAP. To enable LDAP support, the MegaRAID Storage Manager servers must be registered with the LDAP server. NOTE LDAP supports only Windows Active Directory LDAP Server Implementation. NOTE ESXi servers are not discovered during LDAP discovery. To register the MegaRAID Storage Manager servers with the LDAP server, define a new attribute, ou, on the machine on which the LDAP server is configured, and give this attribute the value MSM. This registration enables the discovery of only the MegaRAID Storage Manager servers that have been registered with the LDAP server. To use LDAP support, follow these steps: 1. 2. Double-click the MegaRAID Storage Manager software shortcut icon on your desktop. The Select Server dialog appears. Select the Use LDAP Login check box, and click Discover Host . All the MegaRAID Storage Manager servers registered with the LDAP server are displayed in the Remote servers box. NOTE If the Use LDAP Login check box is selected, the IP Address field is disabled. 3. Click on a server link to connect to the LDAP server. NOTE Based on the privileges alloted to you, the MegaRAID Storage Manager servers are launched with full access rights or read-only rights. If you have selected the Do not prompt for credentials when connecting to LDAP check box (in the LDAP Settings tab in the Configure Host dialog), you are directly connected to the LDAP server; otherwise, the LDAP Login dialog appears, as shown in the following figure. LSI Corporation - 258 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Configuring LDAP Support Settings Figure 145 LDAP Login Follow these steps to enter the LDAP login details: 1. 2. 3. Enter the IP address of the LDAP server in the LDAP Server IP Address field Enter the LDAP server's user name and password in the User Name and Password fields, respectively. An example of a user name can be [email protected] . Enter the name of the Domain Controller in the Distinguished Name field. As an example, the Domain Controller name can be dc= TESTLDAP, dc=com . NOTE The LDAP Server IP Address , User Name , Password , and Distinguished Name fields are already populated if their corresponding values have been stored in the LDAP Settings tab in the Configure Host dialog. 4. 5. 6. Perform one of these actions: — — If you want to use the default port number, select the Use Default Port check box. The default port number, 389, appears in the Port field. If you do not want to use the default port number, uncheck the Use Default Port check box, and enter a port number in the Port field. Select the Remember my Login Details check box if you want to save all the values entered in this dialog in the LDAP Settings tab in the Configure Host dialog. Click Login to log in to the LDAP server. To configure settings for LDAP support, follow these steps: LSI Corporation - 259 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 1. Navigate to the Configure Host dialog, and click the LDAP Settings tab. The following fields appear. Figure 146 Configure Host LDAP 2. 3. 4. 5. 6. 7. 8. Select the Use LDAP login as default login mode check box to always connect to the LDAP server. Select the Do not prompt for credentials when connecting to LDAP check box if you do not want the LDAP Login dialog to appear when connecting to the LDAP server. Enter the IP address of the LDAP server in the IP Address field. Enter the port number in the Port field. Enter the name of the Domain Controller in the Distinguished Name field. Enter the user name and password for logging into the LDAP server in the User Name and Password fields, respectively. Click Save Settings to save all the values entered in the fields in the msm.properties file. This section describes the MegaRAID Storage Manager main menu window: Dashboard / Physical View/ Logical View LSI Corporation - 260 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Properties and Graphical View Tabs The left panel of the MegaRAID Storage Manager window displays the Dashboard view, the Physical view, or the Logical view of the system and the attached devices, depending on which tab is selected. Dashboard View The Dashboard view shows an overview of the system and covers the following features: — — — — — — Properties of the virtual drives and the physical drives Total capacity, configured capacity, and unconfigured capacity Background operations in progress The MegaRAID Storage Manager software features and their status (enabled or disabled) Actions you can perform, such as creating a virtual drive and updating the firmware Links to online help Figure 147 MegaRAID Storage Manager Dashboard View Physical View The Physical view shows the hierarchy of physical devices in the system. At the top of the hierarchy is the system itself, followed by the controller and the backplane. One or more controllers are installed in the system. The controller label identifies the MegaRAID controller, such as the MegaRAID SAS 9260-8i controller, so that you can easily differentiate between multiple controllers. Each controller has one or more ports. Drives and other devices are attached to the ports. The properties for each item appear in the right panel of the screen. LSI Corporation - 261 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 148 MegaRAID Storage Manager Physical View Logical View The Logical view shows the hierarchy of controllers, virtual drives, and the drives and drive groups that make up the virtual drives. The properties for these components appear in the right panel. The following figure shows the Logical view. LSI Corporation - 262 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 149 MegaRAID Storage Manager Logical View The temperature for the physical drive is displayed in the following figure. LSI Corporation - 263 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 150 Physical Drive Temperature This section describes the Shield state in the MegaRAID Storage Manager software. Physical devices in MegaRAID firmware transit between different states. If firmware detects a problem or a communication loss for a physical drive, it transitions the physical drive to a bad (FAILED/UNCONF BAD) state. To avoid transient failures, an interim state called the Shield state appears before marking the physical drive as bad state. The Shield state is an interim state of a physical drive for diagnostic operations. The results of the diagnostic tests determine if the physical drive is good or bad. If any of the diagnostics tests fail, the physical drive will transition to BAD state (FAILED or UNCONF BAD). The three possible Shield states are Unconfigured - Shielded , Configured - Shielded , and Hotspare - Shielded . Follow these steps to view the Shield state under the Physical view tab. 1. Click the Physical The red dot icon ( tab in the device tree. ) indicates a Shield state. The Physical View shield state is shown in the following figure. LSI Corporation - 264 - MegaRAID SAS Software User Guide June 2012 Figure 151 Physical View Shield State Follow these steps to view the Shield state under the Logical tab. 1. Click the Logical The red dot icon ( tab in the device tree. ) indicates a Shield state. The Logical view Shield state is shown in the following figure. Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 152 Logical View Shield State Follow these steps to view the physical properties of the drive in the Shield state. LSI Corporation - 265 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 1. 2. Click the Physical tab or Logical tab in the device tree. The red dot icon ( ) indicates a Shield state. Click the physical drive in Shield state on Physical view or Logical view of the device tree to view the properties. The device properties are displayed as shown in the following figure. Figure 153 Physical Drive Properties of a Drive in Shield State NOTE The Status of the drive must be of the Shield type. Follow these steps to view the server properties of the drive in Shield state. 1. 2. Click the Click the Dashboard tab in the device tree. View Server Profile link in the dashboard view. The server profile information is displayed, as shown in the following figure. LSI Corporation - 266 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.8.1 Figure 154 Server Profile View of a Drive in Shield State The MegaRAID Storage Manager application displays the following additional virtual drive statistics under controller properties. Parity size Mirror date size Metadata size Parity Size Parity size is used for storing parity information on RAID 5, RAID 6, RAID 50, and RAID 60 virtual drives. Follow these steps to view the Parity Size. 1. 2. In the Logical view, click the Virtual Drive node. For RAID 5, RAID 6, RAID 50, and RAID 60, the Parity Size is displayed, as shown in the following figure. LSI Corporation - 267 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.8.2 Figure 155 Parity Size Mirror Data Size Mirror Data Size is used to determine the size used for storing redundant information on RAID 1 and RAID 10 virtual drives. Follow these steps to view the Mirror Data Size. 1. In the Logical view, click on the Virtual Drive node. The Mirror data size is displayed for RAID 1 and RAID 10 volumes, as shown in the following figure. 7.5.8.3 Figure 156 Mirror Data Size NOTE The parity size and mirror data size are not displayed for RAID 0 and RAID 00 volumes. Metadata Size The metadata size field displays the total space used for metadata. LSI Corporation - 268 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Follow these steps to view the Metadata Size. 1. In the Logical view or the Physical view, click the controller node. The total space used for metadata is displayed in this field, as shown in the following figure. Figure 157 Metadata Size NOTE The size units displayed are as follows: If the size is less than 1 MB (1024 KB), the size is displayed in KB. If the size is greater than or equal to 1 MB but less than 1 GB (1024 MB), the size is displayed in MB. If the size is greater than or equal to 1 GB, but less than 1 TB (1024 GB), the size is displayed in GB. 7.5.9.1 When a drive within a redundant virtual drive fails or is removed, the MegaRAID firmware automatically rebuilds the redundancy of the virtual drive by providing an Emergency Spare (ES) drive, even if no commissionable dedicated or global hot spare drive is present. Emergency Spare for Physical Drives The Emergency Spare property determines whether a particular drive is capable of becoming an emergency spare. This property is displayed under the controller properties only if the Global spare for Emergency, and the Unconfigured Good for Emergency controller properties are enabled. Follow these steps to view the Emergency Spare property. 1. 2. Go to either the Logical view or the Physical view. Click the drive for which you want to view the spare properties. The Emergency spare is displayed under general properties. This property denotes whether a particular drive is commissioned as an emergency spare or not an emergency spare. NOTE This property is displayed only for online physical drives. LSI Corporation - 269 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.9.2 Figure 158 Emergency Spare- Physical Drive Properties Emergency Spare Property for Controllers The Emergency spare properties under the controller properties are configured based on enabling or disabling the following properties: Emergency Spare Emergency for SMARTer To view the Emergency spare property for controllers, click the controller node in the device tree. The emergency spare properties are displayed, as shown in the following figure. LSI Corporation - 270 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.9.3 Figure 159 Emergency Spare Properties for Controllers Commissioned Hotspare The commissioned hotspare is used to determine whether the online drive has a Commissioned Hotspare. To check if the drive is commissioned with a hotspare, click the online physical drive node in the device tree. The Commissioned Hotspare property is displayed, as shown in the following figure. This property is displayed only for online physical drives. LSI Corporation - 271 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 160 Commissioned Hptspare The MegaRAID firmware provides support to change the write-cache policy for SSD media of individual physical drives. The MegaRAID firmware does not allow any user application to modify the write-cache policies of any SSD media. The host applications can modify this property through a new logical device (LD) addition or a LD property change. When SSDs are configured in a mixed disk group with HDDs, the Physical Device Write-Cache Policy setting of all the participating drives are changed to match the SSD cache policy setting. Follow these steps to view the SSD cache property. 1. Click the controller node in the device tree. The Controller Properties screen appears, as shown in the following figure. LSI Corporation - 272 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.10.1 Figure 161 Controller Properties – SSD Disk Cache Policy Virtual Drive Settings If the SSD cache property is enabled in the controller properties screen as shown in , then you cannot select the disk cache policy for the virtual drives having only SSD drives or a mix of SSD drives and HDD drives during virtual drive creation. The value of the disk cache policy is unchanged and the drop-down menu is disabled. Follow these steps to view the virtual drive settings. 1. 2. 3. 4. Right-click the controller node in the device tree. Select the Select Create Create Virtual Drive menu option. Advanced Configuration Drive Group , and click , and click Next . Next . The Create Virtual Drive – Virtual drive settings dialog appears, as shown in the following figure. LSI Corporation - 273 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.10.2 Figure 162 Virtual Drive Settings The value of the disk cache policy is unchanged, and the drop-down list is disabled. Set Virtual Drive Properties Follow these steps to set virtual drive properties. 1. 2. Right-click on virtual drive node in the logical view of the device tree. Select Set Virtual Drive Properties . The Set Virtual Drive Properties dialog appears, as shown in the following figure. LSI Corporation - 274 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 163 Virtual Drive Properties NOTE You cannot select the Disk cache policy for the virtual drives having only SSD drives or a mix of SSD and HDD during VD creation. The value of the Disk Cache Policy is Unchanged and can be set for only HDD drives. This section describes the firmware changes required to securely erase data on non-SEDs (normal HDDs). LSI Corporation - 275 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu SEDs securely erase their internal encryption keys, effectively destroying all of the data present on the drive. For Non– SED drives, the erase operation consists of a series of write operations to a drive that overwrites every user-accessible sector of the drive with specified patterns. It can be repeated in multiple passes using different data patterns for enhanced security. The sanitization technique is more secure than a simple format operation and is commonly called a “clearing” operation, similar to the existing physical drive clear command. Follow these steps to set physical drive properties. 1. 2. In the Physical view, right click the Physical Drive node. Select the Drive Erase option (Alt+E). The Mode Selection - Drive Erase dialog appears, as shown in the following figure. Figure 164 Mode Selection - Drive Erase Window 3. You can select the various modes available under the — Select the mode for Drive Erase operation . Simple – (Alt + S). When you select this option and click OK , the Drive Erase message box appears, as shown in the following figure. LSI Corporation - 276 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.11.1 Figure 165 Drive Erase Message — — Normal – (Alt + N). Select this option and click OK . is displayed. Thorough – (Alt + T). Select this option and click OK . is displayed. Group Show Progress Physical drive erase operation is a time-consuming operation and is performed as a background task. It posts events to notify users of the progress. Follow these steps to check the progress of physical drive erase operation. 1. 2. Click the Show Progress toolbar icon in the MegaRAID Storage Manager. You can also select from the dashboard or select Show Progress from the Manage menu. Click the More info link under the Background Operations portlet. The progress bar appears, as shown in the following figure. Show Progress LSI Corporation - 277 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu 7.5.11.2 Figure 166 Group Show Progress When you click the Abort All button, all Drive Erase operations stop, and the progress bar is not displayed. Virtual Drive Erase Virtual drive erase operates on a specified virtual drive and overwrites all user-accessible locations. It supports non zero patterns and multiple passes. Virtual drive erase optionally deletes the virtual drive and erases the data within the virtual drive’s LBA range. Virtual drive erase is a background operation, and it posts events to notify users of their progress. Follow these steps to open the Virtual Drive Erase menu. 1. 2. 3. 4. In the Logical view, right -click the Virtual Drive node. Click on the Virtual Drive node, select top level navigation and click Go to . Select Virtual Drive and select Events & Response . The Logical View - Virtual Drive Erase menu appears. Select Virtual Drive Erase . The Virtual Drive Erase Menu opens, as shown in the following figure. LSI Corporation - 278 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 167 Mode Selection – Virtual Drive Erase Dialog The menu has the following options. — — — — — — Simple – (Alt + S) – After you select this option and click OK , and if Delete Virtual Drive after Erase is selected, Figure 168 is displayed; otherwise, Figure 169 is displayed. Normal – (Alt + N) – After you select this option and click OK , and if Delete Virtual Drive after Erase is selected, Figure 168 is displayed; otherwise, Figure 169 is displayed. Thorough – (Alt + T) –After you select this option and click OK and if Delete Virtual Drive after Erase is selected, Figure 168 is displayed; otherwise, Figure 169 is displayed. Delete Virtual Drive after Erase – (Alt + D) – When you select this option, the virtual drive is erased and Figure 168 is displayed; otherwise, Figure 169 is displayed. OK – (Alt + O) – Click OK and if Delete Virtual Drive after Erase is checked, is displayed; otherwise, Figure 169 is displayed. Cancel – – (Alt + C) – When you select this option, the dialog closes, and the MegaRAID Storage Manager navigates back to Physical view. LSI Corporation - 279 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 168 Warning Message for Virtual Drive Erase — — Click Yes to erase the virtual drive. Click No to cancel the erase and close the dialogue. 7.5.11.3 Figure 169 Warning Message for Virtual Drive Erase without Virtual Drive Delete — — Click Yes to erase the virtual drive. Click No to cancel the erase and close the dialogue. Group Show Progress for Virtual Drive Erase The virtual drive erase operation is a time-consuming operation and is performed as a background task. It posts events to notify users of the progress. To view the progress of Group Show Progress-Virtual Drive, click the Show Progress toolbar icon. You can also either select Show Progress from the Manage menu, or select the More info Link under Background Operations portlet on the dashboard. The Virtual Drive Erase progress bar appears, as shown in the following figure. LSI Corporation - 280 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 170 Group Show Progress – Virtual Drive MegaRAID firmware supports drive cache properties during a rebuild operation. The MegaRAID solution temporarily enables drive cache for the physical drive that is being rebuilt for the duration of the rebuild operation. Users can enable or disable this feature using the Mega CLI feature. The MegaRAID software automatically changes the setting for a drive that is being rebuilt. If the PD_CACHE for the rebuilt drive is already set, the firmware does not need to do anything extra. The firmware identifies and sets the cache policy of the drives whenever a rebuild operation starts and the catch policy is reflected in the event logs. The firmware also makes sure to flush the cache just before committing the drive to the disk group. MegaRAID provides a background Suspend or Resume Support feature that enhances the functionality where in the background operations running on a physical drive or a virtual drive can be suspended for some time, and resumed later using the Resume option. The background operations, including consistency-check, rebuild, copyback, and background initialization are supported by an abort operation. If any operation is stopped before completion, it is considered to be aborted. An aborted operation cannot be resumed from the place where it was stopped. A suspended operation can be resumed later by using the Resume option, and the suspended operation resumes from the point where the operation was suspended last. LSI Corporation - 281 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu To perform a suspend and resume operation, go to the Group Show Progress dialog, and perform the tasks mentioned below. You also can select Show Progress from the Manage menu, or select the More info link under the Background Operations portlet on the dashboard. The Group Show Progress dialog appears, as shown in the following figure. If Patrol Read is running, the Group Show Progress Patrol Read dialog appears. Figure 171 Group Show Progress Suspend (Alt + S) – Click the Suspend button to suspend the background operation taking place at that particular point of time. When the operations gets suspended, the Resume button appears instead of the Suspend button. Resume (Alt + E) – Click the Resume button to resume the operation from the point where it was suspended last. Abort (Alt + B) – Click the Abort button to abort the ongoing active operation. Resume All (Alt + R) – Click the Resume All button to resume all the suspended operations from the point they were suspended. This button is disabled if no operations are suspended. Suspend All (Alt +S) – Click the Suspend All button to suspend all the active operations. The Suspend All button is enabled only if one or more operations are in active state. Abort All (Alt + A) – Click the Abort All button to abort all the active operations. Close (Alt + C) – Click the Close button to close the dialog. NOTE Suspend , Resume , Suspend All , and Resume All will be applicable only for background initialization, rebuild, copyback, and consistency check operations. LSI Corporation - 282 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus MegaRAID Storage Manager Main Menu Figure 172 Group Show Progress Patrol Read Suspend Patrol Read – Click to suspend the patrol read operation. Resume Patrol Read - Click to resume the patrol read operation from the point where it was suspended last. To view the enclosure properties, in the Physical view, click the Enclosure node. The Enclosure Properties are displayed, as shown in the following figure. LSI Corporation - 283 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus Monitoring Battery Backup Units Figure 173 Enclosure Properties When the MegaRAID Storage Manager software is running, you can monitor the status of all of the BBUs connected to controllers in the server. If a BBU is operating normally, the icon looks like this: . If it fails, a red dot appears next to the icon. To show the properties for a BBU, perform the following steps. 1. 2. On the main menu screen, click the Physical tab to open the physical view. Select the BBU icon in the left panel. The BBU properties appear in the right panel. The BBU properties include the following: The number of times the BBU has been recharged (cycle count). The full capacity of the BBU, plus the percentage of its current state of charge, and the estimated time until it will be depleted. The current BBU temperature, voltage, current, and remaining capacity. If the battery is charging, the estimated time until it is fully charged. The battery state, which says if it is in operational state. If battery replacement is required. The BBU retention time, which gives the total number of hours the battery can support the current capacity reserve. The BBU Properties are displayed, as shown and . LSI Corporation - 284 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus GUI Elements in the MegaRAID Storage Manager Window and Menus Figure 174 Battery Backup Unit Properties for iBBU Battery Figure 175 Battery Backup Unit Properties for TMM-C Battery This section describes the graphical user interface (GUI) elements used in the MegaRAID Storage Manager software. The following icons in the left panel represent the controllers, drives, and other devices. LSI Corporation - 285 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus GUI Elements in the MegaRAID Storage Manager Window and Menus Status System Controller Backplane Enclosure Port Drive group Virtual drive Online drive Power save mode Dedicated hotspare Global hotspare Battery backup unit (BBU) Tape drive CD-ROM Foreign drive Unconfigured drive Locked SED Unlocked SED NOTE The MegaRAID Storage Manager software shows the icons for tape drive devices; however, no tape-related operations are supported by the utility. If these operations are required, use a separate backup application. A red circle to the right of an icon indicates that the device has failed. For example, this icon indicates that a drive has failed: . A yellow circle to the right of an icon indicates that a device is running in a partially degraded state. For example, this icon indicates that a virtual drive is running in a degraded state because a controller has failed. LSI Corporation - 286 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus GUI Elements in the MegaRAID Storage Manager Window and Menus An orange circle to the right of an icon indicates that a device is running in a degraded state. The right panel of the MegaRAID Storage Manager window has one tab or two tabs, depending on which type of device you select in the left panel. The Properties t ab displays information about the selected device. For example, if you select a controller icon in the left panel, the Properties tab lists information about the controller, such as the controller name, NVRAM size, and device port count. For more information, see Section, , and Section, Monitoring Virtual Drives . The Graphical View tab displays information about the temperature, fans, power supplies, and voltage sensors. To display a graphical view of a drive, click an enclosure icon in the left panel of the MegaRAID Storage Manager window, and click the Graphical View tab. LSI Corporation - 287 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus GUI Elements in the MegaRAID Storage Manager Window and Menus Figure 176 Properties Tab and Graphical View Tab The lower part of the MegaRAID Storage Manager window displays the system event log entries. New event log entries appear during the session. Each entry has an ID, an error level indicating the severity of the event, the timestamp and date, and a brief description of the event. For more information about the event log, see Monitoring Controllers and Their Attached Devices . For more information about the event log entries, see Appendix Events and Messages . Here are brief descriptions of the main selections on the MegaRAID Storage Manager menu bar. Specific menu options are described in more detail in , Monitoring Controllers and Their Attached Devices , and Maintaining and Managing Storage Configurations of this guide. Manage Menu LSI Corporation - 288 - MegaRAID SAS Software User Guide June 2012 Chapter 7: MegaRAID Storage Manager Window and Menus GUI Elements in the MegaRAID Storage Manager Window and Menus The Manage menu has a Refresh option for updating the display in the MegaRAID Storage Manager window (refresh is seldom required; the display usually updates automatically) and an Exit option to end your session on MegaRAID Storage Manager. The Server option shows all the servers that were discovered by a scan. In addition, you can perform a check consistency, initialize multiple virtual groups, and show the progress of group operations on virtual drives. Go To Menu The Go To menu is available when you select a controller, drive group, physical drive, virtual drive, or battery backup unit in the main menu screen. The menu options vary depending on the type of device selected in the left panel of the MegaRAID Storage Manager main menu. The options also vary depending on the current state of the selected device. For example, if you select an offline drive, the Make Drive Online option appears in the Physical Drive menu. Configuration options are also available. This is where you access the Configuration Wizard that you use to configure drive groups and virtual drives To access the Wizard, select the controller in the left panel, and then select Go To > Controller > Create Virtual Drive . Log Menu The Log menu includes options for saving and clearing the message log. For more information about the Log menu, . Tools Menu On the Tools menu, you can select Tools > Configure Alerts to access the Configure Alerts dialog, where you can set the alert delivery rules, event severity levels, exceptions, and email settings. For more information, see Section Configuring Alert Notifications . Help Menu On the Help menu, you can select Help > Contents to view the MegaRAID Storage Manager online help file. You can select Help > About MegaRAID Storage Manager to view version information for the MegaRAID Storage Manager software. NOTE When you use the MegaRAID Storage Manager online help, you might see a warning message that Internet Explorer has restricted the file from showing active content. If this warning appears, click on the active content warning bar, and enable the active content. NOTE If you are using the Linux operating system, you must install Firefox® browser or Mozilla® browser for the MegaRAID Storage Manager online help to display. NOTE When connected to the VMware server, only the IP address and the host name information appear. The other information, such as the operating system name, version, and architecture do not appear. LSI Corporation - 289 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration This chapter explains how to use MegaRAID Storage Manager software to create and modify storage configurations on LSI SAS controllers. The LSI SAS controllers support RAID 0, RAID 1, RAID 5, RAID 6, RAID 00, RAID 10, RAID 50, and RAID 60 storage configurations. The Configuration wizard allows you to easily create new storage configurations and modify the configurations. To learn more about RAID and RAID levels, see . NOTE You cannot create or modify a storage configuration unless you are logged on to a server with administrator privileges. You can use the MegaRAID Storage Manager software to create new storage configurations on systems with LSISAS controllers. You can create the following types of configurations: Simple configuration specifies a limited number of settings and has the system select drives for you. This option is the easiest way to create a virtual drive. Advanced configuration lets you choose additional settings and customize virtual drive creation. This option provides greater flexibility when creating virtual drives for your specific requirements. This section describes the virtual drive parameters and explains how to create simple and advanced storage configurations. This section describes the virtual drive settings that you can select when you use the advanced configuration procedure to create virtual drives. You should change these parameters only if you have a specific reason for doing so. It is usually best to leave them at their default settings. Initialization state: Initialization prepares the storage medium for use. Specify the initialization status: — No Initialization : (the default) The new configuration is not initialized, and the existing data on the drives is not overwritten. — — Fast Initialization : The firmware quickly writes 0s to the first and last 8-MB regions of the new virtual drive and then completes the initialization in the background. This allows you to start writing data to the virtual drive immediately. Full Initialization : A complete initialization is done on the new configuration. You cannot write data to the new virtual drive until the initialization is complete. This process can take a long time if the drives are large. NOTE BGI is supported only for RAID 5 and RAID 6 and not for any other RAID levels. New RAID 5 virtual drives require at least five drives for a background initialization to start. New RAID 6 virtual drives require at least seven drives for a background initialization to start. If there are fewer drives, the background initialization does not start. Strip size: Strip sizes of 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, and 1024 KB are supported. The default is 64 KB. For more information, see the striping . Read policy: Specify the read policy for this virtual drive: LSI Corporation - 290 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration — Always read ahead : Read ahead capability allows the controller to read sequentially ahead of requested data and to store the additional data in cache memory, anticipating that the data will be needed soon. This process speeds up reads for sequential data, but there is little improvement occurs when accessing random data. — No read ahead : (the default) Disables the read ahead capability. Write policy: Specify the write policy for this virtual drive: — — — Write Through : In this mode, the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data in a transaction. This option eliminates the risk of losing cached data in case of a power failure. Always Write Back : In this mode, the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a transaction. Write Back with BBU : (the default) In this mode, the controller enables write back caching when the battery backup unit (BBU) is installed and charged. This option provides a good balance between data protection and performance. NOTE The write policy depends on the status of the BBU. If the BBU is not present, is low, is failed, or is being charged, the current write policy switches to write through, which provides better data protection. I/O policy: The I/O policy applies to reads on a specific virtual drive. It does not affect the read ahead cache. — Cached IO : In this mode, all reads are buffered in cache memory. — Direct IO : (the default) In this mode, reads are not buffered in cache memory. Data is transferred to the cache and the host concurrently. If the same data block is read again, it comes from cache memory. Cached IO provides faster processing, and Direct IO ensures that the cache and the host contain the same data. Access policy: Select the type of data access that is allowed for this virtual drive. — Read/Write : (the default) Allow read/write access. This setting is the default value. — — Read Only : Allow read-only access. Blocked : Do not allow access. Disk cache policy: Select a cache setting for this drive: — Enabled : Enable the disk cache. — — Disabled : Disable the disk cache. Unchanged : (the default) Leave the current disk cache policy unchanged. Write Policy: Write Back/Write Through/Always Write Back Write Policy: Write Through IO Policy: Direct IO Read Policy: No Read Ahead Stripe Size: 64 KB Simple configuration is the quickest and easiest way to create a new storage configuration. When you select simple configuration mode, the system creates the best configuration possible using the available drives. LSI Corporation - 291 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration NOTE You cannot create spanned drives using the simple configuration procedure. To create spanned drives, use the advanced configuration procedure described in Section , Creating a Virtual Drive Using Advanced Configuration . Follow these steps to create a new storage configuration in simple configuration mode. 1. Perform either of the following steps: — — Right-click the controller node in the device tree in the left frame of the MegaRAID Storage Manager window, and select Create Virtual Drive . Select the controller node, and select Go To > Controller > Create Virtual Drive in the menu bar, as shown in the following figure. Figure 177 Create Virtual Drive Menu Option The dialog for the configuration mode (simple or advanced) appears, as shown in the following figure. LSI Corporation - 292 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 178 Create Virtual Drive - Choose mode 2. Select the Simple radio button, and click Next . The Create Virtual Drive - Allocate capacity dialog appears, as shown in the following figure. If unconfigured drives are available, you have the option to use those unconfigured drives. If unconfigured drives are available, the Create Drive Group Settings window appears, and you can go to step 4 . Figure 179 Using the Free Capacity of an Existing Drive Group 3. Perform either of the two options: — — If a drive group exists, select the Use free capacity on an existing drive group radio button and click Next . Continue with step Create Virtual Drive window appears, as shown in the following figure. If different types of drives are attached to the controller, such as HDD, SDD, SAS, and SATA, an option appears to allow drive type mixing. If unconfigured drives are available, select the radio button to use the unconfigured drives, and click Next . Continue with step . The Summary window appears as shown in Figure 181 . LSI Corporation - 293 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 180 Create Virtual Drive - Drive group and Virtual drive settings Dialog 4. If you want to allow different types of drives in a configuration, select the Use the drive type mixing check box. NOTE For best results, do not use drive type mixing. 5. 6. Select the RAID level desired for the virtual drive. When you use simple configuration, the RAID controller supports RAID levels 1, 5, and 6. In addition, it supports independent drives (configured as RAID 0). The window text gives a brief description of the RAID level that you select. The RAID levels that you can choose depend on the number of drives available. To learn more about RAID , . Select the Assign a hot spare check box if you want to assign a dedicated hot spare to the new virtual drive. If an unconfigured good drive is available, that drive is assigned as a hot pare. Hot spares are drives that are available to replace failed drives automatically in a redundant virtual drive (RAID 1, RAID 5, or RAID 6). Select the Use drive security check box if you want to set a drive security method. 7. The LSI SafeStore Data Security Service encrypts data and provides disk-based key management for your data security solution. This solution protects the data in the event of theft or loss of drives. See Section , LSI MegaRAID SafeStore Encryption Services , for more information about the SafeStore feature. Use the drop-down list in the Virtual drives field to choose how many virtual drives you want to create. 8. 9. Select the capacity of the virtual drives. Each virtual drive has the same capacity. 10. Click Next . The Create Virtual Drive - Summary window appears, as shown in the following figure. This window shows the selections you made for simple configuration. LSI Corporation - 294 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 181 Create Virtual Drive - Summary Window 11. Either click Back to return to the previous window to change any selections, or click Finish to accept and complete the configuration. The new virtual drive is created after you click Finish . After the configuration is completed, a dialog box notifies you that the virtual drives were created successfully. NOTE If you create a large configuration using drives that are in Power-Save mode, it could take several minutes to spin up the drives. A progress bar appears as the drives spin up. If any of the selected unconfigured drives fail to spin up, a dialog box that identifies these drives appears. The advanced configuration procedure provides an easy way to create a new storage configuration. Advanced configuration gives you greater flexibility than simple configuration because you can select the drives and the virtual drive parameters when you create a virtual drive. In addition, you can use the advanced configuration procedure to create spanned drive groups. Follow these steps to create a new storage configuration in the advanced configuration mode. This example shows the configuration of a spanned drive group. 1. Perform either of the following steps to bring up the — — Configuration wizard: Right-click the controller node in the device tree in the left frame of the MegaRAID Storage Manager window, and select Create Virtual Drive . Select the controller node, and select Go To > Controller > Create Virtual Drive in the menu bar. The dialog for the choosing the configuration mode (simple or advanced) appears, as shown in the following figure. LSI Corporation - 295 - MegaRAID SAS Software User Guide June 2012 Figure 182 Create Virtual Drive - Choose mode Dialog 2. Select the Advanced radio button, and click Next . The Create Drive Group Settings window appears, as shown in the following figure. Chapter 8: Configuration Creating a New Storage Configuration LSI Corporation - 296 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 183 Create Drive Group - Drive Group Settings Window 3. Select the following items on the a. b. c. Create Drive Group - Drive Group Settings window: Select the RAID level desired for the drive group from the drop-down menu. To make a spanned drive, select RAID 10 , RAID 50 , or RAID 60 in the RAID level field. Drive Group 0 and Span 0 appear in the Drive groups field when you select RAID 10, 50, or 60. The RAID controller supports RAID levels 1, 5, 6, 10, 50, and 60. In addition, it supports independent drives (configured as RAID 0 and RAID 00). The dialog text gives a brief description of the RAID level that you select. You can choose the RAID levels depending on the number of available drives. To learn more about RAID levels, see, Introduction to RAID . Scroll down the menu for the Drive security method field if you want to set a drive security method. The drive security feature provides the ability to encrypt data and use disk-based key management for your data security solution. This solution provides protection to the data in the event of theft or loss of drives. See Section, LSI MegaRAID SafeStore Encryption Services , for more information about drive security and encryption. Select unconfigured drives from the list of drives, and click Add> to add them to the drive group. The selected drives appear under Span 0 below Drive Group 0 , as shown in the following figure. LSI Corporation - 297 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 184 Span 0 of Drive Group 0 d. Click Create Span to create a second span in the drive group. e. Select unconfigured drives from the list of drives, and click Add> to add them to the second drive group. The selected drives appear under Span 1 below Drive Group 0 , as shown in the following figure. LSI Corporation - 298 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 185 Span 0 and Span 1 of Drive Group 0 f. Click Create Drive Group to make a drive group with the spans. g. Click Next to complete this step. The Create Virtual Drive - Virtual drive settings window appears, as shown in the following figure. The drive group and the default virtual drive settings appear. The options to update the virtual drive or remove the virtual drive are grayed out until you create the virtual drive. NOTE The parameters in the Create Virtual Drive - Virtual drive settings window display in Disabled mode (grayed out) for SAS-Integrated RAID (IR) controllers because these parameters do not apply to SAS-IR controllers. LSI Corporation - 299 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 186 Create Virtual Drive - Virtual Drive Settings Window NOTE If you select Write Back with BBU as the write policy, and no battery exists, the battery is low or failed, or the battery is running through a re-learn cycle, the write policy switches to Write Through . This setting eliminates the risk of data loss in case of a power failure. A message window notifies you of this change. 4. 5. 6. Change any virtual drive settings, if desired. See Section Selecting Virtual Drive Settings , for more information about the virtual drive settings. Click Create Virtual Drive . The new virtual drive appears under the drive group. The options Update Virtual Drive and Remove Virtual Drive are available. Update Virtual Drive allows you to change the virtual drive settings, and Remove Virtual Drive allows you to delete the virtual drive. Click Next . The Create Virtual Drive - Summary window appears, as shown in the following figure. This window shows the selections you made for advanced configuration. LSI Corporation - 300 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Creating a New Storage Configuration Figure 187 Create Virtual Drive - Summary Window 7. Click Back to return to the previous window to change any selections, or click configuration. Finish to accept and complete the After you click Finish , the new storage configuration is created and initialized according to the selected options. NOTE If you create a large configuration using drives that are in Power-Save mode, it could take several minutes to spin up the drives. A progress bar appears as the drives spin up. If any of the selected unconfigured drives fail to spin up, a dialog appears that identifies the drives. 8. 9. After the configuration is completed, a dialog notifies you that the virtual drives were created successfully. Click OK . The Enable SSD Caching on New Virtual Drives dialog appears. The newly created virtual drive is enabled for SSD caching by default. Click OK to confirm SSD caching on the virtual drive. Click No if you want to disable SSD caching on the virtual drive. The All check box is selected by default. To disable SSD caching on the virtual drives, deselect the All check box. If more drive capacity exists, the dialog asks whether you want to create more virtual drives. If no more drive capacity exists, you are prompted to close the configuration session. 10. Select either Yes or No to indicate whether you want to create additional virtual drives. If you select Yes , the system takes you to the Create Virtual Drive window, as shown in . If you select No , the utility asks whether you want to close the wizard. 11. If you selected No in the previous step, select either Yes or No to indicate whether you want to close the wizard. If you select Yes , the Configuration wizard closes. If you select No , the dialog closes, and you remain on the same page. LSI Corporation - 301 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Converting JBOD Drives to Unconfigured Good You can convert JBOD drives to Unconfigured Good using the Create Virtual Drive option or Make Unconfigured Good drive option with a single configuration. NOTE MegaRAID SAS 9240-4i and MegaRAID SAS 9240-8i controllers support JBOD. Perform the following steps to configure JBOD to Unconfigured Good drives: 1. Perform one of these actions: — — Right-click the controller node in the device tree in the left frame of the MegaRAID Storage Manager window, and select Create Virtual Drive . Select the controller node, and select Go To > Controller > Create Virtual Drive . The Create Virtual Drive - JBOD to Unconfigured Good Conversion wizard appears, as shown in the following figure. Figure 188 Create Virtual Drive - JBOD to Unconfigured Good Conversion Dialog 2. The JBOD Drives field displays the available JBOD drives available in the system. Select the drives which you want configured as Unconfigured Good and then click Convert . Clicking on Convert configures the selected JBODs to Unconfigured Good Drives. NOTE If you do not ant to make any JBOD as unconfigured good drives, select the Do not convert JBOD drives to unconfigured good drives check box, and the MegaRAID Storage Manager application skips changing any selected JBOD to unconfigured good drive. LSI Corporation - 302 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Adding Hot Spare Drives 3. Click Next . The Create Virtual drive window appears as shown in Figure 180 on page 294 . You can also convert JBOD to Unconfigured Good by performing these steps: 1. Select Controller >Make UnConfigured Good from the main MegaRAID Storage Manager The Make Configured Good dialog appears, as shown in the following figure. window. Figure 189 Make Configured Good Dialog 2. 3. Select the JBOD drives to be configured as unconfigured good. Click OK . The selected JBOD drives are configured as unconfigured good. Hot spares are drives that are available to automatically replace failed drives in a RAID 1, RAID 5, RAID 6, RAID 10, RAID 50, or RAID 60 virtual drive. Dedicated hot spares can be used to replace failed drives in a selected drive group only. Global hot spares are available to any virtual drive on a specific controller. To add a dedicated or global hot spare drive, follow these steps: 1. 2. Select the Physical unused drive. tab in the left panel of the MegaRAID Storage Manager main menu, and click the icon of an For each drive, the window displays the port number, enclosure number, slot number, drive state, drive capacity, and drive manufacturer. Either select Go To > Physical Drive > Assign Global Hot Spare , or select Go To > Physical Drive > Assign Dedicated Hot Spare . LSI Corporation - 303 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Adjustable Task Rates 3. 4. Perform one of these actions: — — If you selected Assign Dedicated Hotspare , select a drive group from the list that appears. The hot spare is dedicated to the drive group that you select. If you selected Assign Global Hotspare , skip this step, and go to the next step. The hot spare is available to any virtual drive on a specific controller. Click Go to create the hot spare. The drive state for the drive changes to dedicated or global hot spare, depending on your selection. If you want to change the Rebuild rate and other task rates for a controller, you must first log onto the server in Full Access mode. NOTE It is LSI recommended that you leave the adjustable task rates at their default settings to achieve the best system performance. If you raise the task rates above the defaults, foreground tasks will run more slowly and it might seem that the system is not responding. If you lower the task rates below the defaults, rebuilds and other background tasks might run very slowly and might not complete within a reasonable time. If you decide to change the values, record the original default values here so you can restore them later, if necessary: Rebuild rate: ____________, Background Initialization (BGI) rate: ____________, Check consistency rate: ____________. To change the adjustable task rates, perform the following steps: 1. 2. Select a controller icon in the Manager window. Physical tab or the Logical tab in the left panel of the Select Go To > Controller > Set Adjustable Task Rates from the menu bar. The Set Adjustable Task Rates window appears, as shown in the following figure. MegaRAID Storage LSI Corporation - 304 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Adjustable Task Rates Figure 190 Set Adjustable Task Rates Menu 3. 4. 5. Enter changes, as needed, to the following task rates: — — — — — Rebuild Rate . Enter a number from 0 to 100 to control the rate at which a rebuild will be performed on a drive when one is necessary. The higher the number, the faster the rebuild will occur (and the system I/O rate may be slower as a result). Patrol Rate . Enter a number from 0 to 100 to control the rate at which patrol reads will be performed. Patrol read monitors drives to find and resolve potential problems that might cause drive failure. The higher the number, the faster the patrol read will occur (and the system I/O rate may be slower as a result). Background Initialization (BGI) Rate . Enter a number from 0 to 100 to control the rate at which virtual drives are initialized “in the background.” Background initialization establishes mirroring or parity for a RAID virtual drive while allowing full host access to the virtual drive. The higher the number, the faster the initialization will occur (and the system I/O rate may be slower as a result). Check Consistency Rate . Enter a number from 0 to 100 to control the rate at which a consistency check is done. A consistency check scans the consistency data on a fault tolerant virtual drive to determine if the data has become corrupted. The higher the number, the faster the consistency check is performed (and the system I/O rate may be slower as a result). Reconstruction Rate . Enter a number from 0 to 100 to control the rate at which reconstruction of a virtual drive occurs. The higher the number, the faster the reconstruction occurs (and the system I/O rate may be slower as a result). Click Ok to accept the new task rates. When the warning message appears, click OK to confirm that you want to change the task rates. LSI Corporation - 305 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Power Settings The RAID controller includes Dimmer Switch technology that conserves energy by placing certain unused drives into Power-Save mode. In Power-Save mode, the drives use less energy, and the fan and the enclosure require less energy to cool and house the drives, respectively. Also, this technology helps avoid application timeouts caused by spin-up delays and drive wear caused by excessive spin-up/down cycles. You can use the Power Settings field in the MegaRAID Storage Manager software to choose whether to allow unconfigured drives or Commissioned Hotspares to enter Power-Save mode. NOTE The Dimmer Switch technology is enabled by default. When they are in the Power-Save mode, unconfigured drives and drives configured as Commissioned Hotspares (dedicated or global) can be spun down. When spun down, the drives stay in Power-Save mode except for periodic maintenance, which includes the following: Periodic background media scans (Patrol Read) to find and correct media defects to avoid losing data redundancy (hot spare drives only) Use of a Commissioned Hotspare to rebuild a degraded drive group (Commissioned Hotspare drives only) Update of disk data format (DDF) and other metadata when you make changes to RAID configurations (Commissioned Hotspare drives and unconfigured drives) NOTE If your controller does not support this option, the Power Settings field does not appear. Follow these steps to change the power-save setting. 1. 2. Select a controller icon in the Manager window. Physical tab or the Logical tab in the left panel of the Select Go To > Controller > Power Settings from the menu bar. The Power Settings dialog appears, as shown in the following figure. MegaRAID Storage Figure 191 Power Settings Dialog 3. Select the Allow unconfigured drives to enter Power-Save mode check box, and click Ok . The second Power Settings window appears, as shown in the following figure. LSI Corporation - 306 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Power Settings Figure 192 Power Settings Dialog – Spin Down Time Delay Setting 4. Enter the time delay in minutes before the unconfigured drives spin down automatically. 5. After the specified time, the drives spin down automatically. Click Ok . Your power settings are saved. In the Physical tab of the main menu window, the nodes for the unconfigured good drives that are spun down appear with - Powersave after their status. This section describes how to change the power-save settings using the Dimmer Switch Enhancement (using the Power-Save mode). 1. 2. Select a controller icon in the Manager window. Physical tab or the Logical tab in the left panel of the Select Go To > Controller > Manage Power Settings from the menu bar. MegaRAID Storage The Manage Power Save Settings window appears, as displayed in the following figure. LSI Corporation - 307 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Power Settings Figure 193 Manage Power Save Settings Window 3. 4. 5. 6. Select the Unconfigured Drives Power-Save mode. check box to let the controller enable the unconfigured drives to enter the Select the Hot spare Drives check box to let the controller enable the Hot spare drives to enter the Power-Save mode. Select the Configured Drives check box to let the controller enable the Configured drives to enter the Power Save mode. Select the drive standby time (Alt+D) using the drop-down list from the Drive standby time field. NOTE The Drive Standby time drop-down list is enabled only if any of the check boxes above it are checked. The drive standby time can be 30 minutes, 1 hour, 1.30 hours, or 2 hours through 24 hours. 7. Select the Power-Save mode using the Select Power- Save mode drop down list. The mode can be Auto , Max , or Max without cache . NOTE The Select Power-Save mode drop-down list is enabled only if the Configured drives check box is selected. The Max without cache mode option depends on the firmware settings. 8. Click OK . The Power-Save settings are saved. After you click OK , a confirmation dialog appears asking you to save your changes. If you do not specify the Power-Save settings in the Manage Power Save Settings dialog, a confirmation dialog appears. The confirmation dialog mentions that the system will not have power savings for any of the drives and asks if you would like to proceed. LSI Corporation - 308 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Power Settings You can schedule the drive active time by selecting the Start time check box and the End time check box in the Power Save Settings - Advanced window. Perform the following steps to schedule the drive active time. 1. Click the Advanced button in the Manage Power Save Settings The Power Save Settings - Advanced window is displayed, as shown in the following figure. on page Figure 194 Power Save Settings - Advanced 2. 3. Select the start time and end time using the drop down list from the Click OK . The drive active time for the configured drives is scheduled. Schedule drive active time field. NOTE Select the Do not schedule drive active time check box if you do not want to schedule the drive active time. The Dimmer Switch technology also allows the controller to automatically spin up the drives that are in Power-Save mode. Perform the following steps to access the Manage Power Save Settings window: 1. Right-click Drive group > Manage Power Settings . The Manage Power Save Settings window appears, as shown in the following figure. LSI Corporation - 309 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Power Settings Figure 196 Manage Power Save Settings Dialog 2. Select the Power-Save mode from the drop-down list. The values can be Max , Max without cache , Auto , None , and controller defined in the same order. NOTE The Controller defined option enables the system to inherit the controller Power- Save mode for online drives. 3. Click OK . The Power-Save mode is saved. The Power-Save mode can be set during creation of the virtual drive by using the Select power save mode field in the Create Drive Group - Drive Group Settings window as shown in the following figure. LSI Corporation - 310 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Recovering and Clearing Punctured Block Entries Figure 197 Create Drive Group - Drive Group Settings (Automatic Spin Up) If you select the Max and Max without cache options in the Select power save mode field in , and select one or more SSD drives, and click Create Drive Group , the following confirmation dialog appears. Figure 198 Power Save Mode - Confirmation Dialog You can recover and clear the punctured block area of a virtual drive. ATTENTION This operation removes any data stored on the physical drives. Back up the good data on the drives before making any changes to the configuration. When a Patrol Read or a Rebuild operation encounters a media error on the source drive, it punctures a block on the target drive to prevent the use of the data with the invalid parity. Any subsequent read operation to the punctured block completes but with an error. Consequently, the puncturing of a block prevents any invalid parity generation later while using this block. To recover or clear the punctured block area of a virtual drive, run a Slow (or Full) Initialization to zero out and regenerate new parity causing all bad block entries to be removed from the bad block table. To run a Slow (or Full) Initialization, see Changing Virtual Drive Properties and Selecting Virtual Drive Settings . LSI Corporation - 311 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Virtual Drive Properties You can change the read policy, write policy, and other virtual drive properties at any time after a virtual drive is created. ATTENTION Do not enable drive caching on a mirrored drive group (RAID 1 or RAID 1E). If you do, data can be corrupted or lost in the event of a sudden power loss. A warning appears if you try to enable drive caching for a mirrored drive group. NOTE For virtual drives with SAS drives only, set the drive write cache policy set to Disabled , by default. For virtual drives with SATA drives only, set the drive write cache policy to Enabled , by default. To change the virtual drive properties, perform the following steps: 1. 2. Select a virtual drive icon in the Manager window. Physical tab or the Logical tab in the left panel of the Select Go To > Virtual Drive > Set Virtual Drive Properties from the menu bar. The Set Virtual Drive Properties dialog appears, as shown in the following figure. MegaRAID Storage LSI Corporation - 312 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing Virtual Drive Properties Figure 199 Set Virtual Drive Properties Dialog 3. Change the virtual drive properties as needed. 4. For information about these properties, see Section, Selecting Virtual Drive Settings . Click Ok to accept the changes. The virtual drive settings are updated. LSI Corporation - 313 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration You can use the Modify Drive Group wizard in the MegaRAID Storage Manager software to change the configuration of a virtual drive by adding drives to the virtual drive, removing drives from it, or changing its RAID level. ATTENTION Be sure to back up the data on the virtual drive before you change its configuration. NOTE You cannot change the configuration of a RAID 10, RAID 50, or RAID 60 virtual drive. You cannot change a RAID 0, RAID 1, RAID 5, or RAID 6 configuration if two or more virtual drives are defined on a single drive group. (The Logical tab shows which drive groups and drives are used by each virtual drive.) NOTE The Modify Drive Group wizard was previously known as the Reconstruction wizard. Perform the following steps to access the Modify Drive Group wizard options: 1. 2. 3. Click the Logical tab in the left panel of the MegaRAID Storage Manager Select a drive group in the left panel of the window. main menu window. Select Go To > Drive Group > Modify Drive Group on the menu bar, or right-click the virtual drive icon to access the Modify Drive Group wizard. The following warning appears about rebooting virtual drives containing boot partitions that are undergoing RAID level migration or capacity expansion operations. Back up your data before you proceed. Figure 200 Reboot Warning Message 4. Select the Confirm check box, and click Yes . A warning to back up your data appears, as shown in the following figure. LSI Corporation - 314 - MegaRAID SAS Software User Guide June 2012 Figure 201 Warning to Back Up Data Message 5. Select the Confirm check box, and click Yes . The Modify Drive Group wizard window appears, as shown in the following figure. Chapter 8: Configuration Changing a Virtual Drive Configuration Figure 202 Modify Drive Group Wizard Window The following sections explain the Modify Drive Group wizard options. CAUTION Be sure to back up the data on the virtual drive before you add a drive to it. Follow these steps to add a drive or drives to a configuration with the Modify Drive Group wizard. 1. 2. Click the Logical tab in the left panel of the MegaRAID Storage Manager Select a drive group in the left panel of the window. window. LSI Corporation - 315 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration 3. Either select Go To > Drive Group > Modify Drive Group on the menu bar, or right-click the virtual drive icon to access the Modify Drive Group wizard. The Modify Drive Group wizard window appears. Figure 203 Modify Drive Group Wizard Window 4. Select the RAID level to which you want to change ("migrate") the drive group, and click Next . The following window appears. It lists the drives you can add, and it states whether you have to add a minimum number of drives to change the RAID level from the current level to the new RAID level. LSI Corporation - 316 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration Figure 204 Modify Drive Group – Add Drives to the Current Configuration Window 5. Click the check box next to any unconfigured drives that you want to add, and then click Next . NOTE The drives you add must have the same capacity as or greater capacity than the drives already in the drive group, or you cannot change the RAID level. The Modify Drive Group - Summary window appears. This window shows the current settings and what the settings will be after the drives are added. LSI Corporation - 317 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration Figure 205 Modify Drive Group - Summary Window 6. Review the configuration information. 7. 8. You can click Back if you need to change any selections. Click Finish to accept the changes. A confirmation message appears. The message states that this operation cannot be aborted and asks whether you want to continue. Click Yes to accept and complete the addition of the drives to the drive group. ATTENTION Be sure to back up the data on the virtual drive before you remove a drive from it. Follow these steps to remove a drive from a RAID 1, RAID 5, or RAID 6 configuration. NOTE This option is not available for RAID 0 configurations. 1. 2. 3. 4. Click the Logical tab in the left panel of the MegaRAID Storage Manager window. Click a drive icon in the left panel of the window. Either select Go To > Physical Drive > Make Drive Offline on the menu bar, or right-click the drive, and select Make Drive Offline from the menu. A confirmation message appears. The message states that this operation cannot be aborted and asks whether you want to continue. Click Yes to accept and complete the removal of the drive from the drive group. LSI Corporation - 318 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration ATTENTION Be sure to back up the data on the virtual drive before you replace a drive. Follow these steps to add a replacement drive and copy the data from the drive that was removed to the replacement drive. 1. 2. 3. Click the Logical tab in the left panel of the MegaRAID Storage Manager Select a drive in the left panel of the window. window. Either select Go To > Physical Drive > Replace Physical Drive on the menu bar, or right-click the virtual drive icon to access the Modify Drive Group wizard. The dialog with the replacement drive appears, as shown in the following figure. Figure 206 Drive Replacement Window 4. 5. Select a replacement drive. A confirmation message appears. Click Yes . This step replaces a drive and copies the data to the selected component. As the amount of data and the number of drives in your system increase, you can use RAID-level migration to change a virtual drive from one RAID level to another. You do not have to power down or reboot the system when you make this change. When you migrate a virtual drive to another RAID level, you can keep the same number of drives, or you can add drives. In some cases, you have to add a certain number of drives to migrate the virtual drive from one RAID level to another. The window indicates the minimum number of drives you are required to add. LSI Corporation - 319 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration CAUTION Be sure to back up the data on the virtual drive before you change the RAID level. Follow these steps to change the RAID level of the virtual drive with the Modify Drive Group wizard: 1. 2. 3. Click the Logical tab in the left panel of the access the Modify Drive Group wizard. The Modify Drive Group wizard appears. MegaRAID Storage Manager Select a drive group in the left panel of the window. window. Either select Go To > Drive Group > Modify Drive Group on the menu bar, or right-click the virtual drive icon to Figure 207 Modify Drive Group Wizard Dialog 4. On the Modify Drive Group Wizard drive group to, and click Next . dialog, select the RAID level to which you want to change ("migrate") the The following dialog appears. The dialog states the number of drives that you have to add to change the RAID level from the current level to a new RAID level that requires more drives. LSI Corporation - 320 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration Figure 208 Modify Drive Group - Add drive to the current configuration Screen 5. Select the unconfigured drive or drives to add, and click Next . NOTE The drives you add must have the same capacity as or greater capacity than the drives already in the drive group, or you cannot change the RAID level. The Modify Drive Group – Summary window appears. This window shows the current settings and what the settings will be after the drives are added. LSI Corporation - 321 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Changing a Virtual Drive Configuration Figure 209 Modify Drive Group - Summary Screen 6. Review the configuration information. 7. 8. You can click Back if you need to change any selections. Click Finish to accept the changes. A confirmation message appears. The message states that this operation cannot be aborted and asks whether you want to continue. Click Yes to accept and complete the migration to the new RAID level. The operation begins on the virtual disk. To monitor the progress of the RAID level change, select Manage > Show Progress in the menu bar. When you insert a new drive on a MegaRAID system, if the inserted drive does not contain valid DDF metadata, the drive displays as JBOD for MegaRAID entry-level controllers, such as the SAS 9240-4i/8i. If the drive does contain valid DDF metadata, its drive state is Unconfigured Good. A new drive in JBOD drive state is exposed to the host operating system as a stand-alone drive. Drives in JBOD drive state are not part of the RAID configuration because they do not have valid DDF records. The operating system can install and run anything on JBOD drives. Automatic rebuilds always occur when the drive slot status changes, for example, when you insert a drive or remove a drive, so that a Commissioned Hotspare can be used. However, a new drive in JBOD drive state (without a valid DDF record), does not perform an automatic rebuild. To start an automatic rebuild on the new JBOD drive, you have to change the drive state from JBOD to Unconfigured Good. (Rebuilds start only on Unconfigured Good drives.) After you set the drive state to Unconfigured Good, the drive state information always remains on the drive, and you can use the drive for configuration. LSI Corporation - 322 - MegaRAID SAS Software User Guide June 2012 Chapter 8: Configuration Deleting a Virtual Drive See Section , Troubleshooting Information for more information about DDF and metadata. See Section , Making a Drive Offline or Missing for the procedure to change a drive to the Unconfigured Good drive state. CAUTION Make sure to back up the data that is on the virtual drive before you delete it. Make sure that the operating system is not installed on this virtual drive. You can delete virtual drives to rearrange the storage space. To delete a virtual drive, follow these steps. 1. 2. 3. 4. Back up all user data that is on the virtual drive you want to delete. On the MegaRAID Storage Manager window, select the Logical tab, and click the icon of the virtual drive you want to delete. Select Go To > Virtual Drive > Delete Virtual Drive . When the warning messages appear, click Yes to confirm that you want to delete the virtual drive. NOTE You are asked twice if you want to delete a virtual disk to avoid deleting the virtual disk by mistake. LSI Corporation - 323 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Alert Delivery Methods This chapter explains how to use the MegaRAID Storage Manager software to monitor the status of drives, virtual drives, and other storage devices. The MegaRAID Storage Manager software enables you to monitor the activity of all the controllers present in the system and the devices attached to them. The MegaRAID Storage Manager software does a background check every one hour to verify if the controller and the system time are in synch. If the time difference between the controller and the system is more than 90 seconds, the MegaRAID Storage Manager software synchronizes the time so that the controller time and the system time are in synch. When you perform an operation on devices (such as the creation of a new virtual drive) or when devices automatically go from an optimal state to a different state (such as a created virtual drive goes to a degraded state or a Battery Backup Unit goes bad), the MegaRAID Storage Manager software gets those events from the controller and gives a notification to you, using different alert delivery methods. Based on the severity level (Information, Warning, Critical and Fatal), the default alert delivery methods change. By default, each severity level has one or more alert delivery methods configured for it, as shown in the following table. To modify these alert delivery methods, see Section Configuring Alert Notifications . The different alert delivery methods are as follows: Vivaldi Log/MegaRAID Storage Manager Log System Log Pop-up Notification E-mail Notification Table 152 Severity Level and Default Alert Delivery Methods Severity Level Information Warning Critical Fatal Default Alert Delivery Method Meaning Vivaldi log/MegaRAID Storage Manager log and System log Vivaldi log/MegaRAID Storage Manager log and System log Informational message. No user action is necessary. Some component might be close to a failure point. Vivaldi log/MegaRAID Storage Manager log, System log, and Popup Notification A component has failed, but the system has not lost data. Vivaldi log/MegaRAID Storage Manager log, System log, Popup Notification, and E-mail Notification A component has failed, and data loss has occurred or will occur. By default, all the severity events appear in the Vivaldi log/MegaRAID Storage Manager log and are displayed at the bottom of the MegaRAID Storage Manager main menu window. Each message that appears in this log has a severity level that indicates the importance of the event (severity), a date and timestamp (when it occurred), and a brief description, as show in the following figure. LSI Corporation - 324 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Alert Delivery Methods Figure 210 Vivaldi Log The following events appear in the log when the MegaRAID Storage Manager application is connected to the server. Successful log on to the server. Successful log out from the server. Server log cleared. Full access denied on the server. You can double click on an event to display the same information in a separate window. For a list of all events, see Section, Appendix Events and Messages . The status bar at the bottom of the screen indicates whether the log is a MegaRAID Storage Manager server log or a locally stored log file. When a Vivaldi log/MegaRAID Storage Manager log appears, the Log menu has the following options: Save Log : Saves the current log to a .log file. Save Log Text : Saves the current log in .txt format. Load : Enables you to load a local .log file in the bottom of the MegaRAID Storage Manager main menu window. If you select the Load menu, you will not be able to view the current log. Rollback to Current Log : This menu appears if we have loaded the logs from a local .log file. Once you select this menu, you can view the current log. Clear Log : Clears the current log information, if you have full access (versus view-only access). You have the option to save the log first. LSI Corporation - 325 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Alert Delivery Methods By default, all the severity events are logged in the local syslog. Based on the operating system you are using, the system log is logged in the following syslog locations: In Windows, the system log is logged in Event Viewer > Application . In Linux, the system log is logged in /var/log/messages . In Solaris, the system log is logged in /var/adm/messages . By default, fatal and critical events are displaying in a pop-up notification. Pop-up notification is started automatically when you are login in to the operating system. Through this feature, you can view multiple events in a single pop-up window as shown in following figure. If the MegaRAID Storage Manager Framework connects to a VMware ESXi server, an additional read only field Event From appears in the following dialog (next to the Controller ID field) showing the IP address of the VMware ESXi server. Figure 211 Pop-up Notification By default, fatal events are displayed as email notifications. Based on your configuration, the email notifications are delivered to you as shown in the following figure. In the email notification, besides the event’s description, the email also contains system information and the controller’s image details. Using this additional information, you can find out the system and the controller on which the fatal error occurred. LSI Corporation - 326 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Configuring Alert Notifications If the MegaRAID Storage Manager Framework connects to a VMware ESXi server, an additional read only field Event From appears in the following dialog showing the IP address of the VMware ESXi server. Figure 212 Email Notification The Alert Notification Configuration feature allows you to control and configure the alerts that the MegaRAID Storage Manager software sends when various system events occur. Select Tools > Configure Alerts on the main menu screen. NOTE The Configure Alerts option differs based on your configuration. If the MegaRAID Storage Manager Framework connects to a Linux, Solaris, or a Windows server, the Tools menu shows the Configure Alerts option. If Monitor Plugin is configured on the server, the Tools menu shows the Monitor Configure Alerts option. If the MegaRAID Storage Manager Framework connects with a VMware ESXi server, the Tools menu shows the CIMOM Configure Alerts option. LSI Corporation - 327 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Configuring Alert Notifications The Configure Alerts window appears, as shown in the following figure. The window contains three tabs: Alert Settings , Mail Server , and Email . Figure 213 Configure Alerts You can select the Alert Settings tab to perform the following actions: Edit the alert delivery method for different severity levels. Change the method of delivery for each individual event. Change the severity level of each individual event. Save an .xml backup file of the entire alert configuration. Load all the values from a previously saved backup into the dialog to edit or save these values as the current alert notification configuration. NOTE When you load a saved backup file, all unsaved changes made in the current session will be lost. You can select the Mail Server tab to perform the following actions: Enter or edit the sender email address. Enter the SMTP server name or the IP address. Enter the SMTP server authentication related information (user name and password). LSI Corporation - 328 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Editing Alert Delivery Methods NOTE These fields are optional and are filled only when the SMTP server requires authentication. Save an .xml backup file of the entire alert configuration. Load all of the values from a previously saved backup into the dialog to edit or save these values as the current alert notification configuration. NOTE When you load a saved backup file, all unsaved changes made in the current session will be lost. You can select the Email tab to perform the following actions: Add new email addresses for recipients of alert notifications. Send test messages to the recipient email addresses. Remove email addresses of recipients of alert notifications. Save an .xml backup file of the entire alert configuration. Load all of the values from a previously saved backup into the dialog to edit or save these values as the current alert notification configuration. NOTE When you load a saved backup file, all unsaved changes made in the current session will be lost. 1. 2. 3. You can edit the default alert delivery methods, such as pop-up, email, system log, or the Vivaldi Log/MegaRAID Storage Manager log to different severity level (Information, Warning, Critical and Fatal). Perform the following steps to edit the alert delivery methods: On the Configure Alerts window, click the Alerts Setting tab. Under the Alerts Delivery Methods heading, select one of the severity levels. Click Edit . The Edit dialog appears, as shown in the following figure. Figure 214 Edit Dialog 4. Select the desired alert delivery methods for alert notifications at the event severity level. 5. Click OK to set the delivery methods used for the severity level that you selected. LSI Corporation - 329 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Changing Alert Delivery Methods for Individual Events You can change the alert delivery options for an event without changing the severity level. 1. 2. On the Configure Alerts window, click the Alerts Setting The Alerts Setting portion of the window appears. Click Change Individual Events . tab. The Change Individual Events dialog appears, as shown in the following figure. The dialog shows the events by their ID number, description, and the severity level. 4. 5. 6. Figure 215 Change Individual Events 3. Click an event in the list to select it. The current alert delivery methods appear for the selected event in the Alert Delivery Methods frame. Select the desired alert delivery methods for the event. Click OK to return to the Configure Alerts window. You may click Cancel to discard your current changes and to go back to the Configure Alerts window. LSI Corporation - 330 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Changing the Severity Level for Individual Events 7. In the Configure Alerts window, click OK . NOTE You can click Restore Defaults to revert back to the default alert delivery method and the default severity level of an individual event. For more information, see Section 9.6 , Roll Back to Default Individual Event Configuration . To change the event severity level for a specific event, perform the following steps: NOTE See on page 324 for details about the severity levels. 1. 2. 3. 4. On the Configure Alerts window, click the Alerts Setting tab. The Alerts Setting portion of the window appears. Click Change Individual Events . The Change Individual Events dialog appears. The dialog shows the events by their ID number, description, and severity level. Click an event in the list to select it. The current severity appears in the Severity cell for the selected event. Click the Severity cell for the event. The Event Severity drop-down menu appears for that event, as shown in the following figure. Figure 216 Change Individual Events Severity Level Menu 5. 6. Select a different severity level for the event from the menu. Click OK to return to the Configure Alerts window. 7. 8. You may click Cancel to discard your current changes and to go back to the Configure Alerts window. In the Configure Alerts window, click OK to save all the changes made to the events. LSI Corporation - 331 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Roll Back to Default Individual Event Configuration To revert back to the default alert delivery method and the default severity level of an individual event, perform the following steps: 1. 2. 3. 4. 5. On the Configure Alerts window, click the Alerts Setting The Alerts Setting portion of the window appears. Click Change Individual Events . tab. The Change Individual Events dialog appears, as shown in . The dialog shows the events by their ID number, description, and the severity level. Click Restore Defaults . The Change Individual Events dialog appears with the default alert delivery method and the default severity level of all individual events. Click OK to return to the Configure Alerts window. In the Configure Alerts window, click OK to save all the changes made to the events. You can use the Configure Alerts window to enter or edit the sender e-mail address and the SMTP server. 1. On the Configure Alerts window, click the Mail Server tab. The Mail Server options appear, as shown in the following figure. Figure 217 Mail Server Options 2. Enter a sender’s email address in the Sender email address field, or edit the existing sender email address. 3. 4. Enter your SMTP server name/IP Address in the SMTP Server field, or edit the existing details. Click OK . LSI Corporation - 332 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Authenticating the SMTP Server The MegaRAID Storage Manager software supports a SMTP authentication mechanism called Login . This feature provides an extra level of security, while sending an email from the MegaRAID Storage Manager server. To enter or modify the SMTP server authentication information, perform the following steps: 1. 2. On the Configure Alerts window, click the Mail Server tab. The Mail Server options appear, as shown in Figure 217 . If on your SMTP server, the authentication mechanism is enabled and if you want to enable this feature on the MegaRAID Storage Manager software, then you need to select the This Server requires authentication check box and enter the authentication details in the corresponding fields ( User name and Password ). If you do not want to enable this feature on the MegaRAID Storage Manager software or if you know that your SMTP server does not support the Login mechanism, then de-select the This Server requires authentication check box. NOTE The This Server requires authentication check box is selected by default. 3. 4. 5. Enter a user name in the User name field. This step is optional if This Server requires authentication check box is selected. Enter the password in the Password field. This step is optional if This Server requires authentication check box is selected. Click OK . The Email tab in the Configure Alerts window shows the email addresses of the recipients of the alert notifications. The MegaRAID Storage Manager software sends alert notifications to those email addresses. Use the Configure Alerts window to add or remove email addresses of recipients and to send test messages to recipients that you add. To add email addresses of recipients of the alert notifications, perform the following steps: 1. Click the Email tab in the Configure Alerts window. LSI Corporation - 333 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Testing Email Addresses of Recipients of Alert Notifications Figure 218 Adding Email Settings 2. Enter the email address you want to add in the New recipient email address field. 3. Click Add . The new email address appears in the Recipient email addresses field. 2. 3. 4. Use the Email tab in the Configure Alerts window to send test messages to the email addresses that you added for the recipients of alert notifications. 1. Click the Email tab on the Configure Alerts window. The Email section of the window appears, as shown in . Click an email address in the Recipient email addresses field. Click Test . Confirm whether the test message was sent to the email address. A pop-up message indicates if the test message sent to the email address was successful. If the MegaRAID Storage Manager software cannot send an email message to the email address, an error message appears. Use the Email tab in the Configure Alerts window to remove email addresses of the recipients of alert notifications. 1. 2. Click the Email tab on the Configure Alerts window. The Email section of the window appears, as shown in . Click an email address in the Recipient email addresses field. The Remove button, which was grayed out, is now active. LSI Corporation - 334 - MegaRAID SAS Software User Guide June 2012 3. Click Remove . The email address is deleted from the list. Chapter 9: Monitoring Controllers and Their Attached Devices Saving Backup Configurations You can save an .xml backup file of the entire alert configuration. This includes all the settings on the three tabs ( Alert Settings , Mail Server , and Email ). 1. 2. 3. 4. 5. On the Click Configure Alerts Save Backup . window, click the Alert Setting tab, the Mail Server The drive directory appears. Enter a filename with an .xml extension for the backup configuration (in the format filename.xml ). Click Save . The drive directory disappears. Click OK . The backup configuration is saved, and the Configure Alerts window closes. tab, or the Email tab. You can load all of the values from a previously saved backup into the Configure Alerts window (all tabs) to edit or save these values as the current alert notification configuration. NOTE If you choose to load a backup configuration and the Configure Alerts window currently contains changes that have not yet been saved as the current alert notification configuration, the changes will be lost. You are prompted to confirm your choice. 1. 2. 3. 4. 5. On the Configure Alerts window, click the Alert Setting tab, the Mail Server tab, or the Email tab. Click Load Backup . You are prompted to confirm your choice. The drive directory appears from which you can select a backup configuration to load. Select the backup configuration file (it should be in .xml format). Click Open . The drive directory disappears. Click OK . The backup configuration is saved, and the Configure Alerts window closes. The MegaRAID Storage Manager software enables you to monitor the activity of MegaRAID Storage Manager users in the network. LSI Corporation - 335 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Controllers When a user logs on/logs off from the application, the event message appears in the log displayed at the bottom of the MegaRAID Storage Manager screen (the Vivaldi log/MegaRAID Storage Manager Log). These event message have a severity level, a date and timestamp (User log on / log off time), and a brief description that contains a user name, client IP address, an access mode (full/view only) and a client system time. When the MegaRAID Storage Manager software is running, you can see the status of all the controllers in the left panel. If a controller is operating normally, the controller icon looks like this: . If a controller has failed, a small red circle appears next to the icon. To display the complete controller information, click on a controller icon in the left panel of the MegaRAID Storage Manager main menu. The controller properties appear in the right panel as shown in the following figure. Most of the information on this tab is self-explanatory. Figure 219 Controller Properties The Rebuild rate, Patrol read rate, Reconstruction rate, Consistency check rate, and BGI rate (background initialization) are all user selectable. For more information, see Section , Changing Adjustable Task Rates . The BBU Present field indicates whether a battery backup unit is installed. The Alarm Enabled field indicates whether the controller has an alarm to alert the user with an audible tone when there is an error or a problem on the controller. Options are available for disabling or silencing the alarm by right clicking on a controller icon or by selecting Go To > Controller menu. LSI Corporation - 336 - MegaRAID SAS Software User Guide June 2012 The controller properties are defined in the Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Drives When the MegaRAID Storage Manager software is running, you can see the status of all the drives in the left panel. If a drive is operating normally, the icon looks like this: . If a drive has failed, a small red circle appears to the right of the icon. To display the complete drive Information, click on a drive icon in the left panel of the MegaRAID Storage Manager main menu. The drive properties appear in the right panel as shown in the following figure. The information on this tab is self-explanatory. There are no user-selectable properties for physical devices. Icons for other storage devices, such as CD-ROM drives and DAT drives, can also appear in the left panel. Figure 220 Drive Properties The Power Status property displays the status On when a drive is spun up and displays the status Powersave when a drive is spun down. Note that SSD drives and other drives that never spin down still show On. If the drives are in a disk enclosure, you can identify which drive is represented by a disk icon on the left. To do this, follow these steps: LSI Corporation - 337 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Running a Patrol Read 1. 2. Click the drive icon in the left panel. Select Go To > Physical Drive > Start Locating Drive tab in the right panel. The LED on the drive in the enclosure starts blinking to show its location. NOTE LEDs on drives that are global hot spares do not blink. 3. To stop the drive light on the enclosure from blinking, select Go To > Physical Drive > Stop Locating Drive . A patrol read periodically verifies all sectors of the drives connected to a controller, including the system reserved area in the RAID configured drives. You can run a patrol read for all RAID levels and for all hot spare drives. A patrol read is initiated only when the controller is idle for a defined period and has no other background activities. You can set the patrol read properties and start the patrol read operation, or you can start the patrol read without changing the properties. 1. 2. Click a controller icon in the left panel. Select Go To > Controller > Set Patrol Read Properties , or right-click on a controller and select Set Patrol Read Properties from the menu. The Patrol Read - Set properties window appears, as shown in the following figure. Figure 221 Patrol Read - Set Properties 3. Select an operation mode for patrol read from the following options: — Automatic : Patrol read runs automatically at the time interval you specify on this window. LSI Corporation - 338 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Virtual Drives 4. 5. 6. — — Manual : Patrol read runs only when you manually start it, by selecting Start Patrol Read from the controller options window. Disabled : Patrol read does not run. (Optional) Specify a maximum count of drives to include in the patrol read. The count must be a number from 1 to 255. (Optional) Click virtual drives in the list under the heading Virtual Drives to include in the patrol read and click Add > or click Add All >> to include all of the virtual drives. (Optional) Change the frequency at which the patrol read runs. The default frequency is weekly (168 hours), which is suitable for most configurations. The other options are hourly, daily, and monthly. NOTE Leave the patrol read frequency and other patrol read settings at the default values to achieve the best system performance. If you decide to change the values, record the original default values here so you can restore them later, if necessary: Patrol Read Frequency : ___________________, Continuous Patrolling : Enabled/ Disabled, Patrol Read Task Rate : ___________________. 7. 8. (Optional) Set Patrol Read to run at a specific time. The default setting for the patrol read is to start when you click OK on this window. To change the default setting a. b. Deselect the Perform Patrol Read when I click OK Click OK to enable your patrol read selections. check box. Select the month, year, day, and time to start the patrol read. NOTE Patrol read does not report on its progress while it is running. The patrol read status is reported only in the event log. 9. Click Go to enable these Patrol Read options. To start a patrol read without changing the patrol read properties, follow these steps: 1. 2. 3. Click a controller icon in the left panel of the MegaRAID Storage Manager main menu screen. Select Go To > Controller > Start Patrol Read in the menu bar, or right-click a controller and select Start Patrol Read from the menu. When prompted, click Yes to confirm that you want to start a patrol read. You have the option to change the patrol read task rate . The task rate determines the amount of system resources that are dedicated to a patrol read when it is running. Leave the patrol read task rate at its default setting. If you raise the task rate above the default, the foreground tasks will run more slowly and it may seem that the system is not responding. If you lower the task rate below the default, rebuilds and other background tasks might run very slowly and might not complete within a reasonable time. For more information, about the patrol read task rate, see Section Changing Adjustable Task Rates . When the MegaRAID Storage Manager software is running, you can see the status of all virtual drives. If a virtual drive is operating normally, the icon looks like this: . Color-coded circles appear next to the icon to indicate the following: LSI Corporation - 339 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Virtual Drives Green: The server is operating properly. Yellow: The server is running in a partially degraded state (for example, if a drive has failed); the data is still safe, but data could be lost if another drive fails. Orange: The server is running in a degraded state. Red: The server storage configuration has failed. When the Logical tab is selected, the panel on the left shows which drives are used by each virtual drive. The same drive can be used by multiple virtual drives. To display complete virtual drive information, click the Logical tab in the left panel, and click on a virtual drive icon in the left panel. The properties appear in the right panel as shown in the following figure. The RAID level, strip size, and access policy of the virtual drive are set when the virtual drive is configured. Figure 222 Virtual Drive Properties You can change the read policy, write policy, and other virtual drive properties. To change these properties, see Section, Changing Virtual Drive Properties . NOTE You can change the Read Policy, Write Policy, and other virtual drive properties by selecting the virtual drive icon and then selecting Go To > Virtual Drive > Set Virtual Drive Properties in the menu bar. If the drives in the virtual drive are in a disk enclosure, you can identify them by making their LEDs blink. To identify the drives, follow these steps: LSI Corporation - 340 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Enclosures 1. 2. 3. Click the virtual drive icon in the left panel. Either select Go To > Virtual Drive > Start Locating Virtual Drive , or right-click a virtual drive and select Start Locating Virtual Drive from the menu. The LEDs on the drives in the virtual drive start blinking (except for the hot spare drives). To stop the LEDs from blinking, select Go To > Virtual Drive > Stop Locating Virtual Drive , or right-click a virtual drive and select Stop Locating Virtual Drive from the menu. When the MegaRAID Storage Manager software is running, you can see the status of all enclosures connected to the server by selecting the Physical tab in the left panel. If an enclosure is operating normally, the icon looks like this: . If an enclosure is not functioning normally—for example, if a fan has failed—an orange, yellow, or red circle appears to the right of the icon. Information about the enclosure appears in the right panel when you select the Properties tab on the main menu screen. A graphical display of enclosure information appears when you select the Graphical View tab. The display in the center of the screen shows how many slots of the enclosure are actually populated by the drives and the lights on the drives show the drive status. The information on the right shows you the status of the temperature sensors, fans, and power supplies in the enclosure. To view the enclosure properties, in the physical view click on the Enclosure node. The Enclosure Properties are displayed, as shown in the following figure. Figure 223 Enclosure Properties When the MegaRAID Storage Manager software is running, you can monitor the status of all of the BBUs connected to controllers in the server. If a BBU is operating normally, the icon looks like this: . If a BBU fails, a red dot appears next to the icon. To show the properties for a BBU, perform the following steps: 1. 2. On the main menu screen, click the Select the BBU icon in the left panel. Physical tab to open the physical view. The BBU properties appear in the right panel. The BBU properties include the following: LSI Corporation - 341 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Enclosures — — — — — — — The number of times the BBU has been recharged (cycle count). The full capacity of the BBU, plus the percentage of its current state of charge, and the estimated time until it will be depleted. The current BBU temperature, voltage, current, and remaining capacity. If the battery is charging, the estimated time until it is fully charged. The battery state, which says if it is in operational state. If battery replacement is required. The BBU retention time, which gives the total number of hours the battery can support the current capacity reserve. The BBU Properties are displayed, as shown in the following two figures. LSI Corporation - 342 - MegaRAID SAS Software User Guide June 2012 Figure 224 Battery Backup Unit Properties for iBBU Battery Chapter 9: Monitoring Controllers and Their Attached Devices Battery Learn Cycle Figure 225 Battery Backup Unit Properties for TMM-C Battery Learn cycle is a battery calibration operation that is performed by the controller periodically to determine the condition of the battery. You can start battery learn cycles manually or automatically. To choose automatic battery learn cycles, enable automatic learn cycles. If you enable automatic learn cycles, you can delay the start of the learn cycles for up to 168 hours (7 days). If you select the Generate an event to remind me when to start a learn cycle manually check box in the Set Automatic Learn Cycle Properties dialog, the automatic learn cycle gets disabled and an event is generated to remind you when you need to start a learn cycle. LSI Corporation - 343 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Battery Learn Cycle To set automatic learn cycle properties, perform the following steps: NOTE For TMM-C battery you cannot set automatic learn cycles properties. 1. 2. 3. Click the Physical tab to open the Physical view. Select the BBU icon in the left panel. Select Go To > BBU > Set Automatic Learn Cycle Properties . The Set Automatic Learn Cycle Properties dialog appears, as shown in the following figure. Figure 226 Set Automatic Learn Cycle Properties 4. 5. Select the Generate an event to remind me when to start a learn cycle manually event to be generated to remind you to start a learn cycle manually. check box if you want an Select Enable or Disable from the Learn cycle drop-down list to enable or disable an automatic learn cycle, respectively. If you select Disable , the Start on and Delay next learn cycle by fields are disabled. If a learn cycle is disabled or not scheduled, the value None appears in the Next learn cycle time field. If a learn cycle is already scheduled, the day of the week, date, and time of the next learn cycle appears in the Next learn cycle time field. NOTE After selecting Disable , if you select Enable , the controller firmware resets the battery module properties to initiate an immediate battery learn cycle. The Next Learn cycle dialog) is updated only after the battery relearn is completed. Once the relearning cycle is completed, the value in the Next Learn cycle field displays the new date and the time of the next battery learn cycle. LSI Corporation - 344 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Rebuilds and Other Processes 6. 7. 8. 9. In the Start on field, specify a day and time to start the automatic learn cycle. You can delay the start of the next learn cycle up to 7 days (168 hours) by specifying the day and hours in the Delay next learn cycle by field. If changes are made to the Set Automatic Learn Cycle Properties dialog, click Apply to refresh the dialog with the updated settings, without closing the dialog. Click OK to save the settings and close the dialog. If you selected Disable in the Learn cycle drop-down list, and click OK or Apply , a warning dialog appears asking for your confirmation to disable the automatic learn cycle. If you selected the Generate an event to remind me when to start a learn cycle manually check box and click OK or Apply , an information dialog appears informing you about event generation. To start the learn cycle properties manually, perform the following steps: 1. 2. 3. Click the Select the Perform one of these actions: — — Physical BBU tab to open the Physical view. icon in the left panel. Select Go To > BBU > Start Manual Learn Cycle . Right-click the BBU icon, and select Start Manual Learn Cycle from the pop-up menu. The MegaRAID Storage Manager software allows you to monitor the progress of rebuilds and other lengthy processes in the Group Show Progress window. To monitor the progress of these operations, open the show progress window by selecting Manage > Show Progress on the menu bar. The Group Show Progress window appears, as shown in the following figure. LSI Corporation - 345 - MegaRAID SAS Software User Guide June 2012 Chapter 9: Monitoring Controllers and Their Attached Devices Monitoring Rebuilds and Other Processes Figure 227 Group Show Progress Window The Group Show Progress window displays a percent-complete indicator for drive rebuilds. Rebuilds may take a long time to complete and cannot be aborted. An up-arrow appears above the drive icon while it is being rebuilt. Operations on virtual drives appear in the left panel of the window, and operations on drives appear in the right panel. The type of operations that appear in this window are as follows: Initialization of a virtual drive (see Section, ) Rebuild (see Section, ) Consistency check (see Section, Running a Consistency Check ) Non FDE Physical Drive Erase Virtual Drive Erase A Modify Drive Group process cannot be aborted. To abort any other ongoing process, click the Abort button next to the status indicator. Click Abort All to abort all ongoing processes. Click Close to close the window. LSI Corporation - 346 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Initializing a Virtual Drive This chapter explains how to use the MegaRAID Storage Manager software to maintain and manage storage configurations. Log on to the server in Full Access mode to perform the maintenance and management tasks. When you create a new virtual drive with the Configuration Wizard, you can select the Quick Init or Full Init option to initialize the disk immediately. However, you can select No Init if you want to initialize the virtual drive later. To initialize a virtual drive after completing the configuration process, follow these steps: 1. 2. 3. Select the Logical tab in the left panel of the virtual drive that you want to initialize. Select Go To > Virtual Drive > Start Initialization . The Initialize dialog appears. Select the virtual drives to initialize. MegaRAID Storage Manager window, and click the icon of the CAUTION Initialization erases all data on the virtual drive. Make sure to back up any data you want to keep before you initialize a virtual drive. Make sure the operating system is not installed on the virtual drive you are initializing. 4. 5. Select the Fast Initialization check box if you want to use this option. If you leave the box unselected, the MegaRAID Storage Manager software will run a Full Initialization on the virtual drive. (For more information, see Section , Selecting Virtual Drive Settings .) Click Start to begin the initialization. You can monitor the progress of the initialization. See Section 9.21 , Monitoring Rebuilds and Other Processes for more information. Initialization prepares the storage medium for use. You can run an initialization on multiple drives at one time. Follow these steps to run a group consistency check. 1. Select Manage > Initialize . The Group Initialization dialog appears, as shown in the following figure. LSI Corporation - 347 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Running a Consistency Check Figure 228 Group Initialization Dialog 2. Either check the virtual drives on which to run the initialization, or click Select All to select all of the virtual drives. 3. Click Start . You can monitor the progress of the group initialization. See Section , Monitoring Rebuilds and Other Processes for more information. You should periodically run a consistency check on fault-tolerant virtual drives (RAID 1, 5, 6, 10, 50, or 60 configurations; RAID 0 does not provide data redundancy). A consistency check scans the virtual drive to determine whether the data has become corrupted and needs to be restored. For example, in a system with parity, checking consistency means computing the data on one drive and comparing the results to the contents of the parity drive. You must run a consistency check if you suspect that the data on the virtual drive might be corrupted. LSI Corporation - 348 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Running a Consistency Check NOTE Make sure to back up the data before running a consistency check if you think the data might be corrupted. To run a consistency check, first set the consistency check properties, and then schedule the consistency check. This section explains how to set the properties, schedule the check, and run the consistency check. Follow these steps to set the properties for a consistency check: 1. 2. Click the Click Physical tab or the Logical tab and select a controller. Go To > Controller > Set Consistency Check Properties . The Set Consistency Check Properties dialog appears, as shown in the following figure. Figure 229 Set Consistency Check Properties Dialog 3. 4. Choose one of the two options: — — Stop Consistency Check on Error : The RAID controller stops the consistency check operation if the utility finds an error. Continue Consistency Check and Fix Errors : The RAID controller continues the consistency check if the utility finds and error, and then fixes the errors. Click Ok . Follow these steps to set the properties for a consistency check: 1. 2. Click the Select Physical tab or the Logical tab, and select the controller. Go To > Controller > Schedule Consistency Check . The Schedule Consistency Check dialog appears, as shown in the following figure. LSI Corporation - 349 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Running a Consistency Check Figure 230 Schedule Consistency Check Dialog 3. Perform the following steps to schedule the consistency check: 4. a. Select how often to run the consistency check from the drop-down list. You can click Advanced for more detailed date options. b. c. d. (Optional) Select the Click Ok . Run consistency check continuously Select the time of day to start the consistency check. check box. Select the month, day, and year on which to start the consistency check. You can monitor the progress of the consistency check. See Section , Monitoring Rebuilds and Other Processes for more information. LSI Corporation - 350 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Running a Consistency Check You can run a consistency check on multiple drives at one time. Follow these steps to run a group consistency check. 1. Select Manage > Check Consistency . The Group Consistency Check dialog appears, as shown in the following figure. Figure 231 Group Consistency Check Dialog 2. Either check the virtual drives on which to run the consistency check, or click drives. Select All to select all of the virtual 3. Click Start . You can monitor the progress of the group consistency check. See Section , Monitoring Rebuilds and Other Processes for more information. LSI Corporation - 351 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Scanning for New Drives You can use the Scan for Foreign Configuration option to find drives with foreign configurations. A foreign configuration is a RAID configuration that already exists on a replacement set of physical disks that you install in a computer system. In addition, if one or more drives are removed from a configuration, by a cable pull or drive removal, for example, the configuration on those drives is considered a foreign configuration by the RAID controller. Drives that are foreign are listed on the physical drives list with a special symbol in the MegaRAID Storage Manager software. The utility allows you to import the existing configuration to the RAID controller or clear the configuration so you can create a new configuration using these drives. You can preview the foreign configuration before you decide whether to import it. The MegaRAID Storage Manager software usually detects newly installed drives and displays icons for them in the MegaRAID Storage Manager window. If for some reason the MegaRAID Storage Manager software does not detect a new drive (or drives), you can use the Scan for Foreign Configuration command to find it. Follow these steps to scan for a foreign configuration: 1. 2. 3. Select a controller icon in the left panel of the MegaRAID Storage Manager window. Select Go To > Controller > Scan for Foreign Configuration . If the MegaRAID Storage Manager software detects any new drives, it displays a list of them on the window. If not, it notifies you that no foreign configuration is found. Follow the instructions on the window to complete the drive detection. 3. 4. 5. If a drive in a redundant virtual drive (RAID 1, 5, 6, 10, 50, or 60) fails, the MegaRAID Storage Manager software automatically rebuilds the data on a hot spare drive to prevent data loss. The rebuild is a fully automatic process, so it is not necessary to issue a Rebuild command. You can monitor the progress of drive rebuilds in the Group Show Progress window. To open this window, select Group Operations > Show Progress . If a single drive in a RAID 1, RAID 5, RAID 10, or RAID 50 virtual drive fails, the system is protected from data loss. A RAID 6 virtual drive can survive two failed drives. A RAID 60 virtual drive can survive two failed drives in each span in the drive group. Data loss is prevented by using parity data in RAID 5, RAID 6, RAID 50, and RAID 60, and data redundancy in RAID 1 and RAID 10. The failed drive must be replaced, and the data on the drive must be rebuilt on a new drive to restore the system to fault tolerance. You can choose to rebuild the data on the failed rive if the drive is still operational. If dedicated hot spares or global hot spare disks are available, the failed drive is rebuilt automatically without any user intervention. A red circle to the right of the drive icon indicates that a drive has failed. A yellow circle appears to the right of the icon of the virtual drive that uses this drive which indicates that the virtual drive is in a degraded state; the data is still safe, but data could be lost if another drive fails. Follow these steps to rebuild a drive: 1. 2. Right-click the icon of the failed drive, and select Rebuild . Click Yes when the warning message appears. If the drive is still good, a rebuild will starts. You can monitor the progress of the rebuild in the Group Show Progress window by selecting Manage > Show Progress . If the drive cannot be rebuilt, an error message appears. Continue with the next step. Shut down the system, disconnect the power cord, and open the computer case. Replace the failed drive with a new drive of equal capacity. Close the computer case, reconnect the power cord, and restart the computer. LSI Corporation - 352 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Making a Drive Offline or Missing 6. Restart the MegaRAID Storage Manager software. When the new drive spins up, the drive icon changes back to normal status, and the rebuild process begins automatically. You can monitor the progress of the rebuild in the Group Show Progress window by selecting Manage > Show Progress . If you want to force a drive into Fail status to trigger a rebuild, right-click the drive icon, and select Make Drive Offline . A red circle appears next to the drive icon. Right-click the icon, and select Rebuild from the pop-up menu. When you insert a new drive on a MegaRAID system and if the inserted drive does not contain valid DDF metadata, the drive displays as JBOD for MegaRAID entry-level controllers, such as the SAS 9240-4i/8i. If the drive does contain valid DDF metadata, its drive state is Unconfigured Good. A new drive in JBOD drive state is exposed to the host operating system as a stand-alone drive. Drives in JBOD drive state are not part of the RAID configuration because they do not have valid DDF records. The operating system can install and run anything on JBOD drives. Automatic rebuilds always occur when the drive slot status changes, for example, when you insert a drive or remove a drive, so that a hot spare can be used. However, a new drive in JBOD drive state (without a valid DDF record), does not perform an automatic rebuild. To start an automatic rebuild on the new JBOD drive, you have to change the drive state from JBOD to Unconfigured Good. (Rebuilds start on Unconfigured Good drives only.) After you set the drive state to Unconfigured Good, the drive state information always remains on the drive, and you can use the drive for configuration. If a drive is currently part of a redundant configuration and you want to use it in another configuration, you can use the MegaRAID Storage Manager commands to remove the drive from the first configuration and change the drive state to Unconfigured Good. ATTENTION After you perform this procedure, all data on that drive is lost . To remove the drive from the configuration without harming the data on the virtual drive, follow these steps: 1. 2. In the MegaRAID Storage Manager window, select The drive status changes to Unconfigured Good. Go To > Physical Drive > Make Drive Offline The drive status changes to Offline. Select Go To > Physical Drive > Mark Drive as Missing . . ATTENTION After you perform this step, the data on this drive is no longer valid. 3. If necessary, create a hot spare drive for the virtual drive from which you have removed the drive. (See Section .) When a hot spare is available, the data on the virtual drive will be rebuilt. You can now use the removed drive for another configuration. LSI Corporation - 353 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Removing a Drive ATTENTION If the MegaRAID Storage Manager software detects that a drive in a virtual drive has failed, it makes the drive offline. If this situation occurs, you must remove the drive and replace it. You cannot make the drive usable for another configuration by using the Mark physical disk as missing command and the Rescan commands. You may sometimes need to remove a non-failed drive that is connected to the controller. For example, you may need to replace the drive with a larger drive. Follow these steps to remove a drive safely: 1. 2. 3. Click the icon of the drive in the left panel, and click the Select Prepare for Removal , and click Go . Wait until the drive spins down and remove it. Operations tab in the right panel. If you change your mind, select Undo Prepare for Removal , and click Go . The MegaRAID Storage Manager software enables you to easily upgrade the controller firmware. To avoid data loss because of dirty cache on the controller, the utility forces the virtual disks into Write Through mode after a firmware upgrade. It is in this mode until the server reboots. In Write Through mode, the controller sends a data transfer completion signal to the host when the disk subsystem has received all of the data in a transaction. This way, in case of a power outage, the controller does not discard the dirty cache. Follow these steps to upgrade the firmware: 1. 2. 3. In the left panel of the upgrade. MegaRAID Storage Manager window, click the icon of the controller you need to In the MegaRAID Storage Manager window, select Go To > Controller > Update Controller Firmware . Click Browse to locate the .rom update file, as shown in the following figure. LSI Corporation - 354 - MegaRAID SAS Software User Guide June 2012 Chapter 10: Maintaining and Managing Storage Configurations Upgrading the Firmware Figure 232 Update Controller Firmware Dialog 4. After you locate the file, click Ok . The MegaRAID Storage Manager software displays the version of the existing firmware and the version of the new firmware file. 5. 6. When you are prompted to indicate whether you want to upgrade the firmware, click Yes . The controller is updated with the new firmware code contained in the .rom file. Reboot the system after the new firmware is flashed. The new firmware does not take effect until reboot. LSI Corporation - 355 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software MegaRAID Advanced Software This chapter describes the MegaRAID advanced software offered by the MegaRAID Storage Manager software for certain MegaRAID SAS 6Gb/s RAID controllers and explains how to use these features. The MegaRAID advanced software are features that the MegaRAID Storage Manager software and WebBIOS support on certain MegaRAID SAS 6Gb/s RAID controllers. The following MegaRAID SAS 6Gb/s RAID controllers support advanced software features that offer improved performance, data protection, and availability: MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9280-4i4e MegaRAID SAS 9261-8i MegaRAID SAS 9260 -16i MegaRAID SAS 9280-8e MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-24i4e MegaRAID SAS 9266-8i with SuperCap and BBU09 option MegaRAID SAS 9285CV -8e with SuperCap MegaRAID SAS 9266-4i with SuperCap and BBU09 option MegaRAID SAS 9265-8i with iBBU09 option MegaRAID SAS 9285-8e with iBBU09 option NOTE Record your controller serial number in a safe location in case you need to contact LSI Technical Support. CAUTION Back up your data before you make a change in the system configuration. Failure to do so could result in data loss. The MegaRAID advanced software include the following features. MegaRAID FastPath MegaRAID Recovery MegaRAID CacheCade SSD Read Caching software MegaRAID CacheCade Pro 2.0 SSD Read/Write Caching software MegaRAID RAID 6 MegaRAID RAID 5 LSI Corporation - 356 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software The MegaRAID Software licensing authorizes you to enable the MegaRAID advanced software features present in the MegaRAID Storage Manager application. You have to obtain the activation key to enable, and use the advanced software features present in the controller. You can also implement the rehosting process by configuring the key vault, if you want to transfer the advanced features from one controller to another. The MegaRAID Advanced Software wizard allows you to use the advanced software features. Perform the following steps to enable the activation key to use the advanced controller features: 1. 2. Select the Physical a controller icon. tab or the Logical tab in the left panel of the Choose either of the following options: MegaRAID Storage Manager window, and click — — Select Go To > Controller > Manage MegaRAID Advanced Software Options , Click Manage MegaRAID Advanced Software Options from the dashboard under the feature portlet. The Manage MegaRAID Advanced Software Options wizard appears. — — If none of the advanced software options present in the controller are in a boot mode, Figure 272 appears. If even one of the advanced software options present in the controller is in a boot mode, Figure 273 appears. You cannot activate any advanced software option from this window as this is a view-only window. The Manage MegaRAID Advanced Software Options wizard appears. LSI Corporation - 357 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 233 Manage MegaRAID Advanced Software Options Dialog LSI Corporation - 358 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 234 Manage MegaRAID Advanced Software Options Dialog The Activated MegaRAID Advanced Software Options table consists of the Advanced Software Option , License , and Mode columns. — — — The Advanced Software Option column displays the list of advanced software options present in the controller. The License column displays the license details for the list of advanced software options present in the Advanced Software Option column. The license details validates if the software is under trial period, or if it can be used without any trial period (Unlimited). The Mode column displays the current status of the advanced software. The current status can be Secured, Not secured, or Factory installed. NOTE The Mode column appears only if the Key Vault is present. 3. 4. Click the LSI Advanced Software License Management Portal link to obtain the license authorization code and activation key. If you click the Benefits of each MegaRAID Advanced Software link, you can access http://www.lsi.com/ channel/products/advanced_software . If you click the Tips on activating MegaRAID Advanced Software link, you can access www.lsi.com/channel/licensing . Both the Safe ID field and the Serial Number field consists of a pre-defined value generated by the controller. Alternatively, you can copy the value and paste it in the text box for the applicable field. Click Activate . The Activate MegaRAID Advanced Software – Choose Method wizard appears, as shown in Figure 235 . LSI Corporation - 359 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 235 Activate MegaRAID Advanced Software Options - Choose Method Dialog Perform the following steps to enter the activation key: 1. 2. 3. Click the LSI Advanced Software License Management Portal and activation key. link to obtain a license authorization code (LAC) Use any one of the following options to enter the activation key: — — Select the Enter an Activation Key radio button, and enter the activation key in the text box provided below the Activation Key field. Select the Select an Activation Key file radio button, and click Browse to get the path of the activation key file. Click Next . After you click Next , one of the following two scenarios occurs: — — The Activate MegaRAID Advanced Software Options – Summary dialog appears as shown in . Depending on the relevant scenarios, the application responds by displaying corresponding messages as shown in Section , Application Scenarios and Messages . After you enter the activation key and click Next , the Activate MegaRAID Advanced Software Option – Summary wizard (as shown in the following figure) displays the list of the advanced softwares along with their former status and new status in the controller. The Advanced Software Option column displays the currently available software in the controller. LSI Corporation - 360 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software The Former Status column displays the status of the available advanced software prior to entering the activation key. The New Status column displays the status of the available advanced software, after entering the activation key. Figure 236 Activate MegaRAID Advanced Software Options - Summary Dialog 1. Click Finish . 2. The status of the advanced software is enabled, and the advanced features are secured in the Key Vault. Click Cancel to cancel this action. Scenario # 1 If you enter an invalid activation key, the following message appears. Figure 237 Invalid Activation Key Message Scenario # 2 If you enter an incorrect activation key file, the following message appears. LSI Corporation - 361 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 238 Incorrect Activation Key File Message Scenario # 3 If you enter an incorrect activation key, and if a mismatch exists between the activation key and the controller, the following message appears. Figure 239 Activation Key Mismatch Message NOTE Entering a space in the Activation Key field disables the Next button in . If you click Cancel in the Activate MegaRAID Advanced Software – Choose Method dialog, as shown in Figure 235 , the following confirmation dialog box appears. Figure 240 Activate MegaRAID Advanced Software - Confirmation Dialog When you activate an unlimited key over a trial key, a message, The existing trial key will be deactivated and all the advanced software associated with it will be disabled, appears (indicated in pink text in the following figure). LSI Corporation - 362 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 241 Activating and Unlimited Key over a Trial Key NOTE Except for the yellow shading, the other shadings of the text are provided for easy understanding in the relevant dialogs. 11.2.6.1 Activating a Trial Software When you activate a trial software, a message This trial software expires in 30 days appears (indicated in yellow text in the following figure). LSI Corporation - 363 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software 11.2.6.2 Figure 242 Activating a Trial Software Activating the Unlimited Key When you activate the unlimited key or a trial key, a message Review the summary and go back if you need to make corrections appears (indicated in green text in the following figure). LSI Corporation - 364 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software 11.2.6.3 Figure 243 Activating an Unlimited Key Reusing the Activation Key If you are using an existing activated key, the features are transferred to the key vault, and a message appears, as shown in the following figure. 11.2.6.4 Figure 244 Reusing the Activation Key Securing Advanced MegaRAID Software When you want to transfer the advanced software from the controller to the Key Vault, use the Securing Advanced MegaRAID Software - Confirmation wizard. This wizard is conditional, and appears only when the Key Vault and the unsecured keys exist. 1. Select any one of the following options to view the Securing Advanced MegaRAID Software - Confirmation wizard. — — Select the Physical tab in the left panel of the MegaRAID Storage Manager window, and select a controller icon. Select Go To > Controller > Manage MegaRAID Advanced Software Options wizard. LSI Corporation - 365 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 245 Secure MegaRAID Advanced Software - Confirmation Dialog 2. Select the Confirm check box, if you want to secure the advanced software. After you select the check box, the Yes button is enabled. This situation implies that the advanced software is secured in the keyvault. If the advanced software is not secured, the Secure MegaRAID Advanced Software - Confirmation dialog appears, as shown in Figure 240 . Re-hosting is a process of transferring the advanced software features from one controller to another. To implement the re-hosting process, you must configure the Configure Key Vault button in the Manage MegaRAID Software Options wizard. 1. Choose any one of the following options to configure the Key Vault. — — Click the Configure Key Vault button in the Manage MegaRAID Advanced Software Options wizard. Select Go To > Controller > Manage Premium Feature . The Configure Key Vault-Confirm Re-hosting Process wizard appears, as shown in the following figure. LSI Corporation - 366 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 246 Configure Key Vault 2. 3. Select the Click Next . I acknowledge that I have completed the re-hosting process in the LSI Advanced Software License Management Portal check box. The Configure key Vault- Secure Advanced Software Options wizard appears, as shown in the following figure. LSI Corporation - 367 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 247 Configure Key Vault - Secure Advanced Software Options Dialog 4. Click Finish and the advanced software options are secured in the key vault. NOTE The Next button in the Configure Key Vault wizard is enabled only if you select the check box. This wizard is conditional and appears only if the re-hosting process is necessary, and when both the key vault and the unsecured keys are present at the same time. If you want to transfer the advanced software options from one controller to another, use the re-hosting process. The re-hosting process makes sure that these options are secured in the Key Vault. You have to configure the Key Vault to complete the re-hosting process. 1. Choose any one of the following options to complete the re-hosting process. — — Click the Configure Key Vault b utton from the Manage MegaRAID Advanced Software Options wizard. Select Go To > Controller > Manage MegaRAID Advanced Software Options wizard. The Re-Hosting Process - Complete wizard appears, as shown in the following figure. LSI Corporation - 368 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 248 Re-hosting Process - Complete Dialog 2. 3. Select the I acknowledge that I have completed the re-hosting process in the LSI Advanced Software License Management Portal check box if you want to complete the re-hosting process. This setting makes sure that the advanced software features are transferred to the controller. Click Cancel if you do not want to activate the re-hosting process. When you want to deactivate a trial software, use the Deactivate All Trial Software wizard. Perform the following steps to enable the deactivate trial software button: 1. Click Deactivate All Trial Software in the Manage MegaRAID Advanced Software Options wizard as shown in The Deactivate All Trial Software - Confirmation dialog appears, as shown in the following figure. LSI Corporation - 369 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 249 Deactivate All Trial Software - Confirmation Dialog 2. 3. Select the Click Yes . Confirm check box, if you want to deactivate the software applications, that are used with a trial key. The trial software is deactivated. MegaRAID Recovery, also known as Snapshot, offers a simplified way to recover data and provides automatic protection for the boot volume. You can use the Recovery feature to take a snapshot of a volume and to restore a volume or file. Snapshot functionality allows you to capture data changes to the volume, and, if the data is deleted accidentally or maliciously, you can restore the data from the view or roll back to a snapshot at a previous point-in time (PiT). MegaRAID Recovery supports up to 8 snapshots of PiTs for each volume. Each Recovery PiT volume snapshot is typically a fraction of the original volume size, because it tracks only the changes that are made to a volume after the PiT is created. Disk space for PiTs is reserved in the snapshot repository virtual drive, and the PiT is expanded in small increments as new data is written to the volume. Multiple PiTs of each volume can be retained online, enabling frequent snapshots to be stored in a space-efficient manner. There are three primary scenarios in which to use the Recovery feature: 1. 2. Restore the missing or deleted files (restore from view) with the following steps: a. b. c. Discover which file is missing or corrupted. Review the Snapshot views of the file content (also known as mounting the snapshot) from each PiT until you find an earlier version of the missing or corrupted file. A mounted view appears as another drive letter in the Windows Explorer window. Drag and drop the earlier version of the file from the Snapshot view back into the online storage volume that was the source of the snapshot. If there is a corrupt volume or operating system, roll back the volume to a previous state with the following steps: a. b. c. Restart the system, and press Ctrl+H during the power-on self-test (POST). In the WebBIOS window, select the corrupted virtual drive, and, on the next dialog that appears, select the Adv Opers option. Select Rollback , and designate the most recent PiT from the drop-down list. LSI Corporation - 370 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software 3. d. e. a. b. c. d. Click Go , and exit WebBIOS. The system reboots. Begin debug and verification procedures on the volume. You can follow these same steps to roll back to previous PiTs. Reduce the risk of extended downtime during the application updates and upgrades in the IT center with the following steps: When the application is offline, take a snapshot of the application volume. Install each patch individually, and test for any new defects that might have been introduced. Take a snapshot after you test each patch, and determine that it is clean. If a defect is introduced, roll back to the previous installation, and bypass the installation of the defective patch. NOTE If the volume is still damaged, continue to select from the next most current PiT to the oldest. You can enable the Recovery advanced software in the MegaRAID Storage Manager software. When you enable Recovery, you create two virtual drives, one as a snapshot base or a source and the other as a snapshot repository. The base virtual drive contains the data that is stored in the repository virtual drive. Perform the following these steps to enable MegaRAID recovery: 1. 2. Select the Logical tab on the main menu dialog for the Logical view. Select and highlight a virtual drive from the list of virtual drives. This is the snapshot base virtual drive. NOTE A base virtual drive and a repository virtual drive can be associated with the same drives or a common set of drives, or the two virtual drives can be located on two completely separate set of drives. Using a separate set of drives for the base virtual drive and the repository virtual drives provides a performance advantage over using a common set of drives. 3. Select Go To > Virtual Drive > Enable MegaRAID Recovery on the menu bar. The Enable MegaRAID Recovery wizard appears. This wizard allows you to select the virtual drive to use as the snapshot repository. You can select an existing virtual drive, or create a new virtual drive for the snapshot repository. 1. Select any one of the options to select or create a new virtual drive. — — Select the virtual drive to use as the snapshot repository in the Snapshot Repository field from the Enable MegaRAID Recovery wizard as shown in the following figure. Click Create New to create a new virtual drive to use as the Snapshot Repository. When you create a new virtual drive, the newly created virtual drive is appended to the existing rows in the Snapshot Repository field. LSI Corporation - 371 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 250 Enable MegaRAID Recovery Wizard The Snapshot Repository table displays the details of the default virtual drives existing in the system, if there are any. — — — — Name – Displays the name of the virtual drive. Status – Displays the status of the virtual drive. Available Capacity – Displays the available capacity on the virtual drive. Total Capacity – Displays the total capacity of the virtual drive. If the default virtual drives do not exist in the system, the columns in the Snapshot Repository table are blank. 2. The status of the virtual drive can be optimal, degraded, or partially degraded. In the Select Capacity field, use the drop-down list to select the appropriate capacity to use for changes to the base virtual drive. The capacity depends on how write-intensive the application snapshots are. The available capacity is the largest free block of capacity on the snapshot repository virtual drive. NOTE Refer to the tips provided for allocating capacity in the previous figure. LSI Corporation - 372 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software NOTE If you designate all of the capacity for the virtual drive repository, you cannot use the same virtual drive as a repository for other volumes. 3. Click Next . The Enable MegaRAID Recovery - Displaying the Selected Virtual Drive wizard appears. This wizard lets you to select the virtual drive to be used as the snapshot repository. You can select the virtual drive to use as the snapshot repository, and also allocate the capacity for the virtual drive from the snapshot repository. Perform these steps to select the virtual drive in the Snapshot Repository field: 1. Select the virtual drive to be used as the snapshot repository to hold the snapshot information. The selected virtual drive is highlighted, as shown in the following figure. LSI Corporation - 373 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 251 Enable MegaRAID Recovery Wizard - Displaying the Selected Virtual Drive 2. In the Select Capacity the base virtual drive. field, use the drop-down selector to select the appropriate capacity to use for changes to 3. Click Next . The Enable MegaRAID Recovery – Create Snapshot Schedule wizard appears. This wizard lets you to schedule the snapshots. You can select an existing snapshot schedule or create a new snapshot schedule for the virtual drive. Follow these steps to schedule snapshots. 1. Select any one of the options shown in the Enable MegaRAID Recovery - Create Snapshot Schedule wizard, as shown in the following figure, to schedule snapshots. LSI Corporation - 374 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 252 Enable MegaRAID Recovery - Create Snapshot Schedule Dialog — — — Add virtual drive to the existing schedule – This option allows you to add a virtual drive to a pre-existing schedule already defined in the system. The Schedule table displays the schedule details of the virtual drive. The Frequency column – Displays the frequency of the daily or weekly snapshot schedule. The Next Snapshot column – Displays the date and time of the next scheduled snapshot. The Scheduled Virtual Drives column – Represents the details of the default VDs present in the system. Create new schedule – This option allows you to create a new schedule to the virtual drive. In the Frequency field, use the drop-down selector to select the frequency of the snapshot (daily or weekly). In the Time field, use the drop-down selector to select the time of the scheduled snapshot. Do not schedule any automatic snapshots – This option prevents you from capturing automatic snapshots from the system. 2. Click Next . The Enable MegaRAID Recovery – Editing Snapshot Properties wizard appears, as shown in Figure 253 . You can edit the settings for automatic snapshots. LSI Corporation - 375 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software You can edit the property settings that are already defined for the automatic snapshots using the options as shown in the following figure. Figure 253 Enable MegaRAID Recovery - Editing Snapshot Properties Dialog 1. 2. Select any one of the options to edit the snapshots. — — — Automatically delete the oldest snapshot – This option automatically deletes the oldest snap shot present in the system. Stop taking snapshots – This option, prevents the application from taking the snapshots. Take a snapshot on every reboot(recommended for boot virtual drives) – To use this option, select the Take a snapshot on every reboot (recommended for boot virtual drives) check box. This option provides you a snapshot taken on boot after each successful shutdown. You can use this snapshot of the boot virtual drive to restore the operating system on the virtual drive if it becomes corrupted. Click Finish . The Confirm Enable Snapshots dialog appears. This dialog prompts you to make sure whether you want to enable snapshots on the virtual drive or not. LSI Corporation - 376 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 254 Confirm Enable Snapshots 3. 4. If your answer is yes, select the Confirm check box. When you select the Confirm check box, the Yes button is enabled. The snapshots are enabled on the virtual drive. This virtual drive becomes a snapshot repository. Use it only for storing snapshot-related data. If you click No , the snapshots are not enabled on the selected virtual drive. CAUTION After you enable the snapshots on this virtual drive, you cannot change the allocated percentage of capacity or the snapshot repository without first disabling the snapshots and losing any snapshot data. You can view the snapshot base details of the virtual base drive. Perform the following steps to view the details of the snapshot of the virtual base drive: 1. 2. Select the Logical tab on the MegaRAID Storage Manager window. Click a base virtual drive in the left frame. After you select the base virtual drive, the base virtual drive information appears in the right frame of the Properties tab under Snapshot Base Details (marked in pink in the following figure). LSI Corporation - 377 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 255 Snapshot Base Details You can create snapshots, delete snapshots, create views, and also edit, pause, or delete schedules using the Manage Snapshots wizard. 1. Select Go To > Virtual Drive > Manage Snapshot wizard on the menu ba. The Manage Snapshots dialog appears, as shown in the following figure. LSI Corporation - 378 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 256 Manage Snapshots Dialog You can edit the snapshot schedule using the Edit Schedule button, pause the snapshot schedule using the Pause button, and delete the snapshot schedule using the Delete button. The Snapshots table displays the snapshot details. The Name column displays the name of the snapshot. The Status column displays the status of the snapshot. The Capacity Used column displays the capacity consumed by the snapshot. You can create the snapshot by clicking Create Snapshot , and delete the snapshot by clicking Delete Snapshot . In the View Details frame, you can create a view by clicking Create View and edit the settings for automatic snapshots by clicking Advanced . LSI Corporation - 379 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software You can edit the schedule using the Edit Schedule dialog. You can change the frequency of the snapshot, the day in which the snapshot needs to be taken, and the time during which the snapshot needs to be taken. 1. Click the Edit Schedule button in the Manage Snapshots dialog, if you want to edit the snapshot schedule. The Edit Schedule dialog appears, as shown in the following figure. Figure 257 Edit Schedule — — — In the Frequency field, use the drop-down list to edit the frequency of the snapshot already taken. The frequency can be daily or weekly. In the Day field, use the drop-down list to edit the day of the snapshot already taken. The days can be from Monday through Sunday. In the Time field, use the drop-down list to edit the time of the snapshot already taken. After you select all of the above fields, the virtual drives matching these fields appear in the Virtual drives on this schedule check box. 2. Select the Virtual drives on this schedule check box, and click OK . The virtual drive details are edited. You can edit the settings for the automatic snapshots. You can automatically delete the oldest snapshot, or stop taking snapshots, or take a snapshot on every reboot. 1. Click Advanced in the Manage Snapshots dialog. The Advanced dialog appears, as shown in the following figure. LSI Corporation - 380 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 258 Advanced Dialog You can edit the settings by selecting one of the following options: 2. — — — The Automatically delete the oldest snapshot option, if you want to delete the oldest snapshot. The Stop taking snapshots option, if you want to stop taking snapshots. The Take a snapshot on every reboot (recommended for boot virtual drive) check box, if you want a snapshot on every reboot. Click OK . The settings are edited. You can create views using the Create View button present in the Manage Snapshots area under the View Details field. The view provides the snapshot details of the virtual drive available at that particular time. Follow these steps to create views of the snapshots. 1. Click Create View button in the Manage Snapshots dialog. The Create View dialog appears, as shown in the following figure. LSI Corporation - 381 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 259 Create View Dialog 2. 3. In the View name field, enter the view name. For example, view . In the Write capacity field, use the drop-down list to allocate capacity for writes to the view. 4. Click OK . The capacity is allocated for writes to the view. If the view details of the snapshot are available at that particular time for the virtual drive, these details appear under the view details in the When no view for the snapshot exists, the following message appears in the View details area, as shown in the following figure. LSI Corporation - 382 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 260 Manage Snapshots Dialog - No View Present for the Snapshot When there are virtual drives with no snapshot schedule, the following message appears, as shown in the following figure. LSI Corporation - 383 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Recovery Advanced Software Figure 261 Manage Snapshot Schedules Dialog - Virtual Drives with No Snapshot Schedule Click Add to Schedule t o add a snapshot schedule. Click New Schedule to add a new snapshot schedule. To view the graphical representation of the repository virtual drive, perform the following steps: 1. 2. 3. Click the Click the Logical view on the main menu window. Click the Snapshot Repository virtual drive in the left frame. Snapshots tab in the right frame. The following figure appears, which shows the graphical representation of the virtual drive details. LSI Corporation - 384 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Disabling MegaRAID Recovery Figure 262 Repository Virtual Drive Details NOTE You can delete only the oldest snapshot. Follow these steps to delete a snapshot. 1. 2. 3. 4. 5. Click the Select Logical tab on the main menu window in the Logical view. Select a Required Base virtual drive from the list of virtual drives in the left frame. Go To > Virtual Drive > Manage Snapshots on the menu bar. The window that appears shows the Snapshot Base details and any existing snapshots. Click the oldest snapshot in the timeline. Click the Delete Snapshot button. This action deletes the oldest snapshot. Follow these steps to disable MegaRAID recovery. 1. 2. 3. Click the Select Logical tab on the main menu window in the Logical view. Select and highlight a required base virtual drive from the list of virtual drives. Go To > Virtual Drive > Disable MegaRAID Recovery The following confirmation dialog appears. on the menu bar. LSI Corporation - 385 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Advanced Software Figure 263 Confirm Disable Snapshots 4. Select the Confirm check box if you want to disable snapshots. When you select this check box, the Yes button gets enabled. The snapshots get disabled on the virtual drive. If you click No , the snapshots will not be disabled on the selected virtual drive. The MegaRAID CacheCade software provides you with read caching capability Perform the following steps to use the CacheCade advanced software. 1. 2. 3. Click a RAID controller icon in the left frame. Select Controller > Create CacheCade - SSD Caching on the menu bar. The wizard dialog appears. Click on unconfigured CacheCade - SSD Caching drives in the left frame to select the drives for the CacheCade drive group, as shown in the following figure. LSI Corporation - 386 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Advanced Software Figure 264 Create CacheCade Drive group Dialog After you select the unconfigured drives, the Add > button is available. 4. Click Add > to move the selected drives to the drive group in the right frame, as shown in the following figure. LSI Corporation - 387 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Advanced Software Figure 265 CacheCade Drive group Dialog After you move the selected drives, the Create Drive Group button is available. 5. 6. 7. Click Click Create Drive Group Next . . Use the next dialog that appears to select parameters for the cache disk. Enter a name for the CacheCade - SSD Caching virtual drive in the CacheCade - SSD Caching VD name field, and click Create Virtual Drive . Depending on the number of drives, you might have the option to set the capacity of the CacheCade - SSD Caching drive. The CacheCade drive group icon appears in the menu dialog, as shown in the following figure. LSI Corporation - 388 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Advanced Software Figure 266 Create CacheCade™ - Summary Dialog 8. Click Next . The summary dialog appears, as shown in the following figure. This dialog displays the drive group name, the number of drives, the total capacity, the free capacity, the CacheCade virtual drive name, and the capacity being used. LSI Corporation - 389 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 267 CacheCade Virtual Drive Summary Dialog 9. Click Finish . A confirmation message displays after the CacheCade virtual drive is successfully created. The CacheCade drive icon appears next to the RAID controller in the left frame, in the MegaRAID Storage Manager main window. The MegaRAID CacheCade Pro 2.0 software provides you with read and write caching capability. NOTE The MegaRAID firmware has the provision to monitor I/O performance; changes have been made to accommodate the CacheCade Pro 2.0 software statistics. The CacheCade Pro 2.0 software metrics are captured for each logical drive that has CacheCade enabled. The CacheCade Pro 2.0 software gathers information about the cache windows allocated for a logical drive, the number of new windows allocated in this metrics collection period, the number of windows that are actively used, and the window hit rates. Perform the following steps to use the CacheCade Pro 2.0 software: 1. Perform one of these actions: — — Right-click on a controller in the device tree in the left frame of the MegaRAID Storage Manager window and select Create CacheCade SSD Caching . Select a controller and select Go To > Controller > Create CacheCade SSD Caching in the menu bar. The CacheCade SSD Caching wizard appears, as shown in the following figure. LSI Corporation - 390 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 268 CacheCade SSD Caching Wizard - First Screen 2. Select a RAID level for the CacheCade virtual drive in the RAID level field. 3. Select an unconfigured SSD drive, for the selected RAID level, from Select unconfigured SSD Drives in the left frame. After you select an unconfigured SSD Drive, the Add button is enabled. 4. 5. 6. Click Add to add the selected drive to the CacheCade - SSD Caching Drive groups in the right frame. After you click Add , the Create Drive Group button is enabled. Click Create Drive Group . The newly created drive group appears in CacheCade SSD Caching Drive groups in the right frame. Click Next . The next wizard screen appears. LSI Corporation - 391 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 269 Parameters for CacheCade SSD Caching Virtual Drive 7. Enter a name for the CacheCade virtual drive in the CacheCade - SSD Caching VD name field. 8. 9. Select a write policy from the Write policy drop-down list. A description of the selected write policy appears below. Click Create Virtual Drive . The newly created virtual drive appears in the CacheCade SSD Caching Drive groups in the right frame. The Remove Virtual Drive button is enabled. You can select the newly created virtual drive and click Remove Virtual Drive to delete the virtual drive. 10. Click Next . The summary screen appears. LSI Corporation - 392 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 270 Create CacheCade - SSD Caching - Summary This screen displays the drive group name, the RAID level, the number of drives, the total capacity, the free capacity, the CacheCade virtual drive name, the capacity being used, and the write policy. 11. Click Finish . A confirmation message displays after the CacheCade virtual drive is successfully created. The CacheCade drive icon appears next to the RAID controller in the left frame in the MegaRAID Storage Manager window. You can modify the name and the write policy of a CacheCade virtual drive any time after a CacheCade virtual drive is created. Perform the following steps to change the virtual drive properties: 1. Perform one of these actions: — — Right-click on a controller in the device tree in the left frame of the MegaRAID Storage Manager window, and select Set Virtual Drive Properties . Select a controller, and select Go To > Virtual Drive > Set Virtual Drive Properties . The Set Virtual Drive Properties dialog appears, as shown in the following figure. LSI Corporation - 393 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 271 Set Virtual Drive Properties 2. 3. 4. 5. Edit the name of a CacheCade virtual drive in the Select a write policy from the Click OK . Write Policy Select the Confirm check box, and click OK . Name field. drop-down list. A confirmation dialog appears with a warning note. You can enable SSD caching on a virtual drive. When you enable SSD caching on a virtual drive, that virtual drive becomes associated with an existing or with a future CacheCade SSD Caching virtual drive. This option is only available when the virtual drive’s caching is currently disabled. Perform the following steps to enable SSD caching on a virtual drive: 1. Perform one of these actions: — — Right-click on a virtual drive in the left frame of the MegaRAID Storage Manager window, and select Enable SSD Caching . Select a virtual drive, and select Go To > Virtual Drive > Enable SSD Caching . The Enable SSD Caching dialog appears, as shown in the following figure. LSI Corporation - 394 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 272 Enable SSD Caching 2. Click OK to enable caching for that virtual drive. You can disable caching on a virtual drive. When you disable SSD caching on a virtual drive, any associations that the selected virtual drive has with a CacheCade SSD Caching virtual drive is removed. This option is only available when the virtual drive’s caching is currently enabled. Perform the following steps to enable SSD Caching on a virtual drive: 1. Perform one of these actions: — — Right-click on a virtual drive in the left frame of the MegaRAID Storage Manager window, and select Disable SSD Caching . Select a virtual drive, and select Go To > Virtual Drive > Disable SSD Caching . The Disable SSD Caching dialog appears, as shown in the following figure. Figure 273 Disable SSD Caching 2. Select the Confirm check box, and click OK to disable caching for that virtual drive. You can enable or disable SSD caching on multiple virtual drives at one go. Perform the follow steps to enable or disable SSD caching on multiple drives: 1. Perform one of these actions: — — Right-click a controller in the left frame of the MegaRAID Storage Manager window, and select Manage SSD Caching . Select a controller, and select Go To > Controller > Manage SSD Caching . The Manage SSD Caching dialog appears, as shown in the following figure. LSI Corporation - 395 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 274 Manage SSD Caching The virtual drives that have SSD caching enabled, have the check boxes next to them selected. The virtual drives that have SSD caching disabled, have deselected check boxes. 2. 3. 4. Select or deselect a check box to change the current setting of a virtual drive. Click OK . If you select the All check box, all the virtual drives are enabled. If you deselect the All check box, all the virtual drives are disabled. If you disable SSD caching on a virtual drive, the Disable SSD Caching dialog appears. Select the Confirm check box, and click OK to enable/disable SSD caching on the selected virtual drives. Perform the following steps to modify an existing CacheCade SSD caching drive group: 1. 2. Delete the drive group. Create a new CacheCade drive group. You can clear all existing configurations on a selected controller that has CacheCade Pro 2.0 virtual drives. LSI Corporation - 396 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software 1. Perform one of these actions: — — Right-click on a controller in the left frame of the MegaRAID Storage Manager window, and select Clear Configuration . Select a controller, and select Go To > Controller > Clear Configuration . The Confirm Clear Configuration dialog appears as shown, in the following figure. Figure 275 Confirm Clear Configuration 2. Select the Confirm check box, and click Yes . 3. If the cache becomes inconsistent before the clear configuration operation is performed, the firmware returns an error code. The Confirm Loss of Cache dialog appears as a follow-up dialog to the Confirm Clear Configuration dialog. Select the Confirm check box, and click Yes . At times, an error may occur in the CacheCade virtual drive and this causes a blocked access to the associated virtual drive. An icon appears in front of the affected virtual drive, next to the Optimal status. It is advisable to wait for sometime for the error in the CacheCade virtual drive to get sorted. You can also try to solve the error in the CacheCade virtual drive and bring it back to an optimal status. Once the CacheCade virtual drive is in an optimal status, the blocked virtual drive returns to its former access policy automatically. If it is not possible to bring the CacheCade virtual drive to its optimal status, follow these steps to remove the blocked access from the virtual drive: 1. Right-click on the icon on the virtual drive with the blocked access, and select Remove Blocked Access The Confirm Remove Blocked Access dialog appears, as shown in the following figure. . LSI Corporation - 397 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Using the MegaRAID CacheCade Pro 2.0 Software Figure 276 Confirm Remove Blocked Access 2. Select the Confirm check box, and click Yes . You can delete a virtual drive that has SSD caching enabled on it. Perform the following steps to delete the virtual drive: 1. Perform one of these actions: — — Right-click on a CacheCade virtual drive, and select Delete Virtual Drive . Select a CacheCade virtual drive and click Go To > Virtual Drive > Delete Virtual Drive . The Confirm Delete Virtual Disk dialog appears, as shown in the following figure. LSI Corporation - 398 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Fast Path Advanced Software Figure 277 Confirm Delete Virtual Disk 2. Select the Confirm check box, and click Yes . NOTE If you select the Force the delete to complete quickly check box to delete the virtual drive, the data is not flushed before deleting the virtual drive. In this scenario, if you create this virtual drive after deleting it, there will be no data available. MegaRAID Fast Path is a high-performance I/O accelerator for the CacheCade software drive groups connected to a MegaRAID controller card. The CacheCade software has a read performance advantage over HDDs and uses less power. This feature dramatically boosts storage subsystem bandwidth and overall transactional application performance when used with a 6Gb/s MegaRAID SATA+SAS controller. The Fast Path feature supports full optimization of the CacheCade software and hard disk drive (HDD) virtual disk groups to deliver an improvement in read and write IOPS that is three times greater than MegaRAID controllers not using Fast Path technology. Also, the Fast Path advanced software is faster and more cost-effective than current flash based adapter card solutions. Perform the following steps to use the Fast Path advanced software: 1. 2. 3. Select the Logical tab on the MegaRAID Storage Manager Select a virtual drive icon in the left frame. window for the Logical view. Select Virtual Drive > Set Virtual Drive Properties on the menu bar. The Set Virtual Drive Properties dialog appears. It shows the default settings for the Fast Path advanced software: — Write Policy: Write Thru LSI Corporation - 399 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services 4. 5. — — — — IO Policy: Direct IO Read Policy: No Read Ahead Dish Cache Policy: Enabled Strip Size: 64KB Click OK . A confirmation dialog displays. Select the Confirm check box, and click Yes to confirm that you want to set the virtual drive properties. LSI SafeStore Encryption Services offer the ability to encrypt data on the drives and use the drive-based key management to provide data security. This solution provides data protection in the event of theft or loss of physical drives. If you remove a self-encrypting drive from its storage system or the server in which it resides, the data on that drive is encrypted, and becomes useless to anyone who attempts to access it without the appropriate security authorization. This section describes how to enable, change, and disable the drive security, and how to import a foreign configuration using the SafeStore Encryption Services advanced software. To enable security on the drives, you need to perform the following actions to set drive security: Enter a security key identifier. A security key identifier appears whenever you have to enter a security key. If you have more than one security key, the identifier helps you determine which security key to enter. Enter a security key. After you create a security key, you have the option to create secure virtual drives using the key. You have to use the security key to perform certain operations. You can improve security by entering a password. To provide additional security, you can require the password whenever anyone boots the server. Perform the following steps to enable drive security. 1. 2. Select the Physical tab in the left panel of the MegaRAID Storage Manager window, and select a controller icon. Select Go To > Controller > Enable Drive Security . The Enable Drive Security dialog appears, as shown in the following figure. LSI Corporation - 400 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services Figure 278 Enable Drive Security – Security Key Identifier 3. Either use the default security key identifier, or enter a new security key identifier. NOTE If you create more than one security key, make sure that you change the security key identifier. Otherwise, you cannot differentiate between the security keys. 4. 5. Either click Suggest Security Key to have the system create a security key, or you can enter a new security key. Enter the new security key again to confirm. CAUTION If you forget the security key, you will lose access to your data. Be sure to record your security key information. You might need to enter the security key to perform certain operations. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g., < > @ +). The space character is not permitted. NOTE Non-U.S. keyboard users must be careful not to enter double-byte character set (DBCS) characters in the security key field. The firmware works with the ASCII character set only. The following figure shows the security key entered and confirmed on this dialog. LSI Corporation - 401 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services Figure 279 Enable Drive Security - Security Key 6. 7. 8. (Optional) Select the Pause for password at boot time check box. If you choose this option, you must enter the password whenever you boot the server. (Optional) Select the Enforce strong password security check box. If you choose this option, make sure the password is between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g. < > @ +). The space character is not permitted. The password is case-sensitive. (Optional) Enter a password in the Password field and then enter the same password in the Confirm field. Warning messages appear if a mismatch exists between the characters entered in the Password field and the Confirm field, or if there is an invalid character entered. NOTE Be sure to record the password. If you lose the password, you could lose access to your data. The following figure shows the password entered and confirmed on this dialog. LSI Corporation - 402 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services Figure 280 Enable Drive Security - Password ATTENTION If you forget the security key, you will lose access to your data. Be sure to record your security key. You might need to enter the security key to perform certain operations. 9. Select the I recorded the security settings for future reference check box, and click Yes to confirm that you want to enable drive security on this controller and have recorded the security settings for future reference. The MegaRAID Storage Manager software enables drive security and returns you to the main menu. Perform the following steps to change the encryption settings for the security key identifier, security key, and password. 1. 2. 3. Select the Physical View controller icon. tab in the left panel of the Select Go To > Controller > Change Drive Security . MegaRAID Storage Manager window, and select a The Change Security Settings – Introduction dialog appears. This dialog lists the actions you can perform, which include editing the security key identifier, security key, and the password. Either keep the existing security key identifier, or enter a new security key identifier. LSI Corporation - 403 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services NOTE If you change the security key, you need to change the security key identifier. Otherwise, you cannot differentiate between the security keys. 4. Either select the Use the existing drive security key radio button to use the existing drive security key, or enter a new security key and then enter the new security key again to confirm. ATTENTION If you forget the security key, you will lose access to your data. Be sure to record your security key information. You might need to enter the security key to perform certain operations. The security key is case-sensitive. It must be between 8 and 32 characters and contain at least one number, one lowercase letter, one uppercase letter, and one non-alphanumeric character (e.g., < > @ +). The space character is not permitted. NOTE Non-U.S. keyboard users must be careful not to enter DBCS characters in the Security Key field. The firmware works with the ASCII character set only. 5. 6. 7. 8. If desired, click the option to use a password in addition to the security key. If you chose to use a password, either enter the existing password or enter a new password, and enter the password again to confirm. The text box for the password can hold up to 32 characters. The key must be at least 8 characters. The next dialog that appears describes the changes you made and asks you whether you want to confirm these changes. Click the check box to confirm that you have recorded the security settings for future reference, and click Yes to confirm that you want to change the drive security settings. The Authenticate Drive Security Settings dialog appears. Authentication is required for the changes that you requested to the drive security settings. Enter the current security key to authenticate the changes. The MegaRAID Storage Manager software updates the existing configuration on the controller to use the new security settings and returns you to the main menu. ATTENTION If you disable drive security, your existing data is not secure and you cannot create any new secure virtual drives. Disabling drive security does not affect the security of data on foreign drives. If you removed any drives that were previously secured, you still need to enter the password when you import them. Otherwise, you cannot access the data on those drives. If there are any secure drive groups on the controller, you cannot disable drive security. A warning dialog appears if you attempt to do so. To disable drive security, you must first delete the virtual drives on all of the secure drive groups. Perform the following steps to disable drive security: 1. 2. 3. Select the Physical View controller icon. tab in the left panel of the Select Go To > Controller > Disable Drive Security . MegaRAID Storage Manager window, and select a The Confirm Disable Drive Security dialog appears. To disable drive security, click Yes . The MegaRAID Storage Manager software disables drive security and returns you to the main menu. LSI Corporation - 404 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services NOTE If you disable drive security, you cannot create any new encrypted virtual drives and the data on all encrypted unconfigured drives will be erased. Disabling drive security does not affect the security or data of foreign drives. A foreign configuration is a RAID configuration that already exists on a replacement set of drives that you install in a computer system. You can use the MegaRAID Storage Manager software to import the foreign configuration to the RAID controller or to clear the foreign configuration so you can create a new configuration using these drives. To import a foreign configuration, you must perform the following tasks: Enable security to allow importation of locked foreign configurations. (You can import unsecured or unlocked configurations when security is disabled.) Run a scan for foreign configurations. If a locked foreign configuration is present and security is enabled, enter the security key, and unlock the configuration. Import the foreign configuration. In addition, if one or more drives are removed from a configuration, by a cable pull or drive removal for example, the configuration on those drives is considered a foreign configuration by the RAID controller. Verify whether any drives are left to import because the locked drives can use different security keys. If there are any drives left, repeat the import process for the remaining drives. After all the drives are imported, there is no configuration to import. NOTE When you create a new configuration, the MegaRAID Storage Manager software shows only the unconfigured drives. Drives that have existing configurations, including foreign configurations, do not appear. To use drives with existing configurations, you must first clear the configuration on those drives. Perform the following steps to import or clear a configuration: 1. 2. 3. Enable drive security to allow importation of locked foreign drives. See Section the procedure. , After you create a security key, right-click the controller icon, and select Scan for Foreign Configuration . If locked drives (security is enabled) exist, the Unlock Foreign Drives dialog appears. Enter the security key to unlock the configuration. The Foreign Configuration Detected dialog appears, as shown in the following figure. LSI Corporation - 405 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software LSI MegaRAID SafeStore Encryption Services Figure 281 Foreign Configuration Detected Dialog 4. Choose one of the following options: 5. — — — Click Import to import the foreign configuration from all of the foreign drives. Click Clear to remove the configuration from all foreign drives. Click Advanced to preview and import specific foreign configurations. Click OK . NOTE The operation cannot be reversed after it is started. Imported drives display as Online in the MegaRAID Storage Manager window. 6. Repeat the import process for any remaining drives. Because locked drives can use different security key, you must verify whether there are any remaining drives to be imported. NOTE When you create a new configuration, the MegaRAID Storage Manager software shows only the unconfigured drives. Drives that have existing configurations, including foreign configurations, do not appear. To use drives with existing configurations, you must first clear the configuration on those drives. 11.7.4.1 Foreign Configurations in Cable Pull and Drive Removal Scenarios If one or more drives are removed from a configuration, by a cable pull or drive removal, for example, the configuration on those drives is considered a foreign configuration by the RAID controller. The following scenarios can occur with cable pulls or drive removals. Use the Foreign Configuration Preview dialog to import or clear the foreign configuration in each case. NOTE If you want to import the foreign configuration in any of the following scenarios, you must have all of the drives in the enclosure before you perform the import operation. Scenario #1 : If all of the drives in a configuration are removed and re-inserted, the controller considers the drives to have foreign configurations. Import or clear the foreign configuration. If you select Import , automatic rebuilds will occur in redundant virtual drives. NOTE Start a consistency check immediately after the rebuild is complete to ensure data integrity for the virtual , , for more information about checking data consistency. LSI Corporation - 406 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Managing Link Speed Scenario #2 : If some of the drives in a configuration are removed and re-inserted, the controller considers the drives to have foreign configurations. Import or clear the foreign configuration. If you select Import , automatic rebuilds will occur in redundant virtual drives. NOTE Start a consistency check immediately after the rebuild is complete to ensure data integrity for the virtual , for more information about checking data consistency. Scenario #3: If all of the drives in a virtual drive are removed, but at different times, and re-inserted, the controller considers the drives to have foreign configurations. Import or clear the foreign configuration. If you select Import , all drives that were pulled before the virtual drive became offline will be imported and will be automatically rebuilt. Automatic rebuilds will occur in redundant virtual drives. Scenario #4: If the drives in a non-redundant virtual drive are removed, the controller considers the drives to have foreign configurations. Import or clear the foreign configuration. No rebuilds will occur after the import operation because there is no redundant data to rebuild the drives. The Managing Link Speed feature allows you to change the link speed between the controller and an expander or between the controller and a drive that is directly connected to the controller. All phys in a SAS port can have different link speeds or can have the same link speed. You can select a link speed setting. However, if phys in a SAS port have different link speed settings and if a phy is connected to a drive or an expander, the firmware overrides the link speed setting you have selected and instead uses the common maximum link speed among all the phys. To change the link speed, perform the following steps: 1. Perform one of these actions: — — Right-click a controller in the left frame of the MegaRAID Storage Manager main menu, and select Manage Link Speed . Select a controller in the left frame of the MegaRAID Storage Manager main menu, and then select Go To > Controller > Manage Link Speed in the menu bar. The Manage Link Speed dialog appears, as shown in the following figure. LSI Corporation - 407 - MegaRAID SAS Software User Guide June 2012 Chapter 11: Using MegaRAID Advanced Software Managing Link Speed Figure 282 Manage Link Speed Dialog — The SAS Address column displays the SAS address that uniquely identifies a device in the SAS domain. 2. — — The Phy column displays the system-supported phy link values. The phy link values are from 0 through 7. The Select Link Speed column displays the phy link speeds. Select the desired link speed from the Select Link Speed field using the drop-down selector. The link speed values are Auto,1.5, 3.0 or 6.0 Gbps. NOTE By default, the link speed in the controller is Auto or the value last saved by you. 3. Click OK . The link speed value is now reset. The change takes place after you restart the system. The message box appears, as shown in the following figure. LSI Corporation - 408 - MegaRAID SAS Software User Guide June 2012 Figure 283 System Restart Required Message Chapter 11: Using MegaRAID Advanced Software Managing Link Speed LSI Corporation - 409 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages This appendix lists the MegaRAID Storage Manager events that can appear in the event log. MegaRAID Storage Manager software monitors the activity and performance of all controllers in the workstation and the devices attached to them. When an event occurs, such as the start of an initialization, an event message appears in the log at the bottom of the MegaRAID Storage Manager main menu window. The messages are also logged in the Windows Application log (Event Viewer). Each message that appears in the event log has a Severity level that indicates the severity of the event, as shown in the following table. Table 153 Event Error Levels Severity Level Information Warning Critical Fatal Meaning Informational message. No user action is necessary. Some component might be close to a failure point. A component has failed, but the system has not lost data. A component has failed, and data loss has occurred or will occur. The following table lists all of the MegaRAID Storage Manager event messages. The event message descriptions include placeholders for specific values that are determined when the event is generated. For example, in message No. 1 in the Event Messages table, “%s” is replaced by the firmware version, which is read from the firmware when the event is generated. Table 154 Event Messages Number 0x0000 Severity Level Information 0x0001 0x0002 0x0003 0x0004 0x0005 0x0006 0x0007 0x0008 0x0009 0x000a Information Fatal Information Information Warning Information Information Information Information Fatal Event Text Generic Conditions when each event occurs MegaRAID firmware initialization started (PCI ID %04x/%04x/%04x/%04x) MegaRAID firmware version %s Unable to recover cache data from TBBU Alarm disabled by user Alarm enabled by user Background initialization rate changed to %d%% Controller cache discarded due to memory/battery problems Logged at firmware initialization. Logged at firmware initialization to display firmware version. Currently not logged. Cache data recovered from TBBU successfully Configuration cleared Currently not logged. Logged when controller configuration is cleared. Cluster down; communication with peer lost Currently not logged. Virtual drive %s ownership changed from %02x to %02x Currently not logged. Logged when user disables alarm. Logged when user enables alarm. Logged to display background initialization progress indication in percentage. Logged on cache discard due to hardware problems. LSI Corporation - 410 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x000b Severity Level Fatal 0x000c 0x000d 0x000e 0x000f 0x0010 0x0011 0x0012 0x0013 0x0014 0x0015 0x0016 0x0017 0x0018 0x0019 0x001a 0x001b 0x001c 0x001d 0x001e 0x001f 0x0020 0x0021 0x0022 0x0023 0x0024 0x0025 0x0026 0x0027 Information Fatal Information Fatal Information Information Critical Critical Critical Information Information Critical Critical Critical Critical Critical Information Information Information Information Fatal Warning Fatal Information Information Information Information Information Event Text Generic Conditions when each event occurs Unable to recover cache data due to configuration mismatch Currently not logged. Cache data recovered successfully Logged when cache data is successfully recovered after reboot. Controller cache discarded due to firmware version incompatibility Consistency Check rate changed to %d%% Fatal firmware error: %s Factory defaults restored Flash downloaded image corrupt Flash erase error Flash timeout during erase Flash error Flashing image: %s Flash of new firmware images complete Flash programming error Logged when cache data discarded because of firmware version mismatch. Logged to display Consistency check progress indication percentage. Logged in case of fatal errors and also while entering debug monitor. Logged while controller is reset to factory defaults. Logged to inform downloaded flash image is corrupt. Logged in case of flash erase failure, generally after flash update. Logged to indicate flash erase operation timed out. Generic unknown internal error during flash update flash. Logged to display flash image name string before getting updated to controller. Logged to inform successful updation of flash image(s). Flash timeout during programming Flash chip type unknown Flash command set unknown Logged to notify, write failure during flash update, not being allowed usually due to internal controller settings. Logged to indicate flash write operation timed out. Logged during flash update tried with unsupported flash chip type. Logged while unsupported flash command set detected, most likely because of unsupported flash chip. Flash verify failure Flush rate changed to %d seconds Hibernate command received from host Event log cleared Event log wrapped Multi-bit ECC error: ECAR=%x, ELOG=%x, (%s) Single-bit ECC error: ECAR=%x, ELOG=%x, (%s) Not enough controller memory Logged when compare operation fails between written flash data and original data. Logged to notify modified cache flush frequency in seconds. Logged to inform about reception of hibernation command from host to controller, generally during host shutdown. Logged when controller log has been cleared. Logged when controller log has been wrapped around, when the maximum logs are written. Logged to notify ECC multi bit error in memory, ELOG: ecc info (source, type, syndrome), ECAR:ecc address. Logged to notify ECC single bit error in memory, ELOG: ecc info (source, type, syndrome), ECAR:ecc address. Logged to notify fatal controller condition, when you run out of memory to allocate. Patrol Read complete Patrol Read paused Patrol Read Rate changed to %d%% Logged to indicate progress of patrol read in percentage. Patrol Read resumed Logged when patrol read is resumed. Patrol Read started Logged when patrol read completes. Logged when patrol read is paused. Logged when patrol read is started. LSI Corporation - 411 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0028 Severity Level Information 0x0029 0x002a 0x002b 0x002c 0x002d 0x002e 0x002f 0x0030 0x0031 0x0032 0x0033 0x0034 0x0035 0x0036 0x0038 0x0039 0x003a 0x003b 0x003c 0x003d 0x003e 0x003f Information Information Information Information Information Warning Warning Information Fatal Fatal Critical Progress Information Information Warning Warning Information Information Fatal Critical Fatal Warning Event Text Generic Conditions when each event occurs Reconstruction rate changed to %d%%" Drive group modification rate changed to %d%% Shutdown command received from host Test event: %s Logged to indicate progress of reconstruction in percentage. Logged to indicate the change in Drive group modification frequency. Logged when shutdown command is received from host to controller. General controller event, with a generic string. Time established as %s; (%d seconds since power on) Logged when controller time was set form host, also displaying time since power on in seconds. User entered firmware debugger Logged when user enters controller debug shell. Background Initialization aborted on %s Logged to inform about user aborted background initialization on displayed LD number. Background Initialization corrected medium error (%s at %lx logged to inform about corrected medium error on displayed LD number, LBALBA number, PD number and PDLBA number in that order. Background Initialization completed on %s Logged to inform Background Initialization completion on displayed LD. Background Initialization completed with uncorrectable errors on %s Logged to inform Background Initialization completion with error on displayed LD. Background Initialization detected uncorrectable double medium errors (%s at %lx on %s) Logged to inform Background Initialization completion with double medium error on displayed PD, PDLBA and LD in that order. Background Initialization failed on %s Logged to inform Background Initialization failure on displayed LD. Background Initialization progress on %s is %s Background Initialization started on %s Logged to inform Background Initialization progress in percentage of displayed LD. Logged to inform Background Initialization started for displayed LD. Policy change on %s from %s to %s Consistency Check aborted on %s Logged to inform the changed policy for displayed LD with old and new policies. Logged to inform aborted Consistency check for displayed LD. Logged when Consistency check corrected medium error. Consistency Check corrected medium error (%s at %lx Consistency Check done on %s Logged when Consistency check has completed successfully on the LD. Consistency Check done with corrections on %s Logged when Consistency check completed and inconsistency was found during check and was corrected. Consistency Check detected uncorrectable double medium errors (%s at %lx on %s) Logged when uncorrectable double medium error are detected while consistency check. Consistency Check failed on %s Consistency Check completed with uncorrectable data on %s Logged when Consistency check failed as fatal error was found. Logged when Uncorrectable error occurred during consistency check. Consistency Check found inconsistent parity on %s at strip %lx Logged when consistency check finds inconsistency parity on a strip. LSI Corporation - 412 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0040 Severity Level Warning 0x0041 0x0042 0x0043 0x0044 0x0045 0x0046 0x0047 0x0048 0x0049 0x004a 0x004b 0x004c 0x004d 0x004e 0x004f 0x0050 0x0051 0x0052 0x0053 0x0054 0x0055 0x0056 0x0057 0x0058 0x0059 Progress Information Warning Critical Progress Information Information Information Information Information Fatal Fatal Progress Information Fatal Information Information Information Critical Progress Information Information Warning Information Information Event Text Generic Conditions when each event occurs Consistency Check inconsistency logging disabled on %s (too many inconsistencies) Logged when consistency check finds too many inconsistent parity (greater than 10) and the inconsistency parity logging is disabled. Consistency Check progress on %s is %s Logs Consistency Check progress, the progress is logged only if the progress is greater than 1% at an interval of every 15 seconds. Consistency Check started on %s Initialization aborted on %s Initialization failed on %s Initialization progress on %s is %s Logged when consistency check has started Logged when Consistency check is aborted by you or for some other reason. Logged when initialization has failed. Logs initialization progress, the progress is logged only if the progress is greater than 1% at an interval of every 15 seconds Fast initialization started on %s Full initialization started on %s Initialization complete on %s LD Properties updated to %s (from %s) Logged when quick initialization has started on a LD. The parameter to decide Quick init or Full init is passed by you. Logged when full initialization has started. Logged when initialization has completed successfully. Logged when LD properties has been changed. Reconstruction complete on %s Logged when reconstruction has completed successfully. Reconstruction of %s stopped due to unrecoverable errors Logged when reconstruction has finished due to failure (un recoverable errors). Reconstruct detected uncorrectable double medium errors (%s at %lx on %s at %lx) Logged while reconstructing if an unrecoverable double medium error is encountered. Reconstruction progress on %s is %s Logs reconstruction progress, the progress is logged only if the progress is greater than 1% at an interval of every 15 seconds. Reconstruction resumed on %s Reconstruction resume of %s failed due to configuration mismatch Reconstruction started on %s State change on %s from %s to %s Drive Clear aborted on %s Logged when PD clear is aborted. Drive Clear failed on %s (Error %02x) Logged when drive clear is failed and the even is logged along with error code. Drive Clear progress on %s is %s Drive Clear started on %s Logs drive clear progress, the progress is logged only if the progress is greater than 1% at an interval of every 15 seconds. Logged when drive clear started on a PD. Drive Clear completed on %s Error on %s (Error %02x) Format complete on %s Format started on %s Logged when reconstruction resumes after a power cycle. Logged when reconstruction resume failed due to configuration mismatch. Logged on start of reconstruction on a LD. Logged when there is change in LD state. The event gives the new and old state. The state could be one of the following, LDS_OFFLINE, LDS_PARTIALLY_DEGRADED, LDS_DEGRADED, LDS_OPTIMAL. Logged when PD clear task is completed successfully on a PD. Logged if Read returns with Uncorrectable error or same errors on both the drives or write long returns with an error (ie. puncture operation could failed). Logged when Format has completed. Logged when format unit is started on a PD. LSI Corporation - 413 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x005a Severity Level Critical 0x005b 0x005c 0x005d 0x005e 0x005f 0x0060 0x0061 0x0062 0x0063 0x0064 0x0065 0x0066 0x0067 0x0068 0x0069 0x006a 0x006b 0x006c 0x006d 0x006e 0x006f 0x0070 0x0071 0x0072 Information Warning Warning Progress Fatal Critical Fatal Information Information Information Critical Critical Progress Information Information Information Critical Fatal Fatal Information Fatal Information Warning Information Event Text Generic Conditions when each event occurs Hot Spare SMART polling failed on %s (Error %02x) Drive inserted: %s ??? To ask Sanjay TR Sanjay Logged when drive is inserted and slot/enclosure fields of PD are updated. Drive %s is not supported Logged when the drive is not supported; reason could be the number of drive has exceeded the MAX supported drives or an unsupported drive is inserted like a SATA drive in SAS only enclosure or could be a unsupported drive type. Patrol Read corrected medium error on %s at %lx Logged when Patrol read has successfully completed recovery read and recovered data. Patrol Read progress on %s is %s Patrol Read found an uncorrectable medium error on %s at %lx Predictive failure: CDB: %s Logged when a failure is found during smart (predictive failure) poll. Patrol Read puncturing bad block on %s at %lx Logged when patrol read punctures a block due to unrecoverable medium error. Rebuild aborted by user on %s Rebuild complete on %s Rebuild complete on %s Rebuild failed on %s due to source drive error Rebuild failed on %s due to target drive error Rebuild progress on %s is %s Rebuild resumed on %s Rebuild started on %s Logs patrol read progress, the progress is logged only if the progress is greater than 1% at an interval of every 15 seconds. Logged when Patrol read is unable to recover data. Logged when the user aborts a rebuild operation. Logged when the rebuild operation on a logical drive on a physical drive (which may have multiple LDs) is completed. Logged when rebuild operation is completed for all logical drives on a given physical drive. Logged if one of the source drives for the rebuild operation fails or is removed. Logged if the target rebuild drive (on which rebuild operation is going on) fails or is removed from the controller. Logged to indicate the progress (in percentage) of the rebuild operation on a given physical drive. Logged when the rebuild operation on a physical drive resumes. Logged when the rebuild operation is started on a physical drive. Rebuild automatically started on %s Logged when the rebuild operation kicks in on a spare. Rebuild stopped on %s due to loss of cluster ownership Logged when the rebuild operation is stopped due to loss of ownership. Reassign write operation failed on %s at %lx Logged when a check condition or medium error is encountered for a reassigned write. Unrecoverable medium error during rebuild on %s at %lx Logged when the rebuild I/O encounters an unrecoverable medium error. Corrected medium error during recovery on %s at %lx Logged when recovery completed successfully and fixed a medium error. Unrecoverable medium error during recovery on %s at %lx Logged when the recovery for a failed I/O encounters a medium error. Drive removed: %s Unexpected sense: %s, CDB%s, Sense: %s State change on %s from %s to %s Logged when a drive is removed from the controller. Logged when an I/O fails due to unexpected reasons and sense data needs to be logged. Logged when the state of a drive is changed by the firmware or by you. LSI Corporation - 414 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0073 Severity Level Information 0x0074 0x0075 0x0076 0x0077 0x0078 0x0079 0x007a 0x007b 0x007c 0x007d 0x007e 0x007f 0x0080 0x0081 0x0082 0x0083 0x0084 0x0085 0x0086 0x0087 0x0088 0x0089 0x008a 0x008b 0x008c Warning Information Information Critical Critical Critical Critical Critical Critical Critical Critical Critical Critical Critical Critical Fatal Information Information Critical Information Information Critical Information Information Information Event Text Generic Conditions when each event occurs State change by user on %s from %s to %s Not logged by the firmware. Redundant path to %s broken Not logged by the firmware. Redundant path to %s restored Dedicated Hot Spare Drive %s no longer useful due to deleted drive group SAS topology error: Loop detected Not logged by the firmware Not logged by the firmware. SAS topology error: Unaddressable device Logged when device discovery fails for a SAS device as a loop was detected. Logged when device discovery fails for a SAS device as an unaddressable device was found. SAS topology error: Multiple ports to the same SAS address Logged when device discovery fails for a SAS device multiple ports with same SAS address were detected. SAS topology error: Expander error Not logged by the firmware. SAS topology error: SMP timeout SAS topology error: Out of route entries SAS topology error: SMP CRC error Logged when device discovery fails for a SAS device due to SMP timeout. Logged when device discovery fails for a SAS device as expander route table is out of entries. SAS topology error: Index not found Logged when device discovery fails for a SAS device as expander route table out of entries. SAS topology error: SMP function failed Logged when device discovery fails for a SAS device due to SMP function failure. SAS topology error: Multiple subtractive SAS topology error: Table to table SAS topology error: Multiple paths Logged when device discovery fails for a SAS device due to SMP CRC error. Logged when device discovery fails for a SAS device as a subtractive-to-subtractive link was detected. Logged when device discovery fails for a SAS device as table-to-table link was detected. Not logged by the firmware. Unable to access device %s Dedicated Hot Spare created on %s (%s) Dedicated Hot Spare %s disabled Dedicated Hot Spare %s no longer useful for all drive groups Logged when the inserted drive is bad and unusable. Logged when a drive is configured as a dedicated spare. Logged when a drive is removes as a dedicated spare. Logged when an array with a dedicated spare is resized. The hot spare (dedicated to this array and possibly others) will not be applicable to other arrays. Global Hot Spare created on %s (%s) Logged when a drive is configured as a global hot spare. Global Hot Spare %s disabled Logged when a drive configured as global host spare fails or is unconfigured by you. Global Hot Spare does not cover all drive groups Created %s} Deleted %s} Marking LD %s inconsistent due to active writes at shutdown Logged when the global hotspare is too small (or doesn't meet the SAS/SATA restricitons) to cover certain arrays. Logged as soon as the new logical drive created is added to the firmware configuration. Logged when the firmware removes an LD from it's configuration upon a user request from the applications. Logged when we have active writes on one of the target disks of a Raid 5 LD at the time of shutdown. LSI Corporation - 415 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x008d Severity Level Information 0x008e 0x008f 0x0090 0x0091 0x0092 0x0093 0x0094 0x0095 0x0096 0x0097 0x0098 0x0099 0x009a 0x009b 0x009c 0x009d 0x009e 0x009f 0x00a0 0x00a1 0x00a2 0x00a3 Warning Information Information Critical Warning Information Information Information Fatal Information Information Information Critical Information Information Information Information Information Information Information Information Information Event Text Generic Conditions when each event occurs Battery Present Battery Not Present New Battery Detected Battery has been replaced Battery temperature is high Battery voltage low Battery started charging Battery is discharging Battery temperature is normal Logged during firmware initialization when we check if there is a battery present and the check turns out true. This event is also logged when a battery is inserted or replaced with a new one and the battery present check returns true. Logged if the user has not disabled "Battery Not Present" warning at the boot time or if a battery has been removed. Logged when we have a subsequent boot after a new battery has been inserted. Logged when a new battery has been replaced with an old battery. Logged when we detect that the battery temperature is high during the periodic battery status check. Not logged by the firmware. Logged as part of monitoring the battery status when the battery is getting charged. Logged as part of monitoring the battery status when the battery is getting discharged. Logged as part of monitoring the battery status when the temperature of the battery is normal. Logged when there is not enough capacity left in battery for expected data retention time. Battery has to be replaced. Battery has failed and cannot support data retention. Please replace the battery. Battery relearn started Battery relearn in progress Battery relearn completed Battery relearn timed out Battery relearn pending: Battery is under charge Battery relearn postponed Battery relearn will start in 4 days Battery relearn will start in 2 day Battery relearn will start in 1 day Battery relearn will start in 5 hours Battery removed Current capacity of the battery is below threshold Current capacity of the battery is above threshold logged when the battery relearn started, initiated either by the user or automatically. Logged as part of monitoring the battery status when the battery relearn is in progress. Logged as part of monitoring the battery status when the battery relearn is complete. Not logged by the firmware. Logged as part of monitoring the battery status when the battery relearn is requested but yet to start. Logged as part of monitoring the battery status when the battery relearn is requested but postponed as there is valid pinned cache present. This event can also be logged when learn delay interval has been explicitly set. Logged as part of providing battery learn cycle information when auto learn is enabled. Logged as part of providing battery learn cycle information when auto learn is enabled. Logged as part of providing battery learn cycle information when auto learn is enabled. Logged as part of providing battery learn cycle information when auto learn is enabled. Logged as part of periodic monitoring of the battery status when a battery has been removed. Logged as part of monitoring the battery status when the capacity of the battery is below threshold. Logged as part of monitoring the battery status when the capacity of the battery is above threshold. LSI Corporation - 416 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x00a4 Severity Level Information 0x00a5 0x00a6 0x00a7 0x00a8 0x00a9 0x00aa 0x00ab 0x00ac 0x00ad 0x00ae 0x00af 0x00b0 0x00b1 0x00b2 0x00b3 0x00b4 0x00b5 0x00b6 0x00b7 0x00b8 0x00b9 0x00ba 0x00bb Information Critical Information Critical Information Critical Critical Information Critical Critical Information Critical Warning Critical Warning Critical Critical Warning Critical Warning Critical Critical Critical Event Text Generic Conditions when each event occurs Enclosure (SES) discovered on %s Logged when an Enclosure (SES) is discovered for the first time. Enclosure (SAFTE) discovered on %s Not logged by the firmware. Enclosure %s communication lost Enclosure %s communication restored Logged when the communication with an enclosure has been lost. Logged when the communication with an enclosure has been restored Enclosure %s fan %d failed Enclosure %s fan %d inserted Logged when an enclosure fan has failed. Logged when an enclosure fan has been inserted newly. Enclosure %s fan %d removed Logged when an enclosure fan has been removed. Enclosure %s power supply %d failed Not logged by the firmware. Enclosure %s power supply %d inserted Enclosure %s power supply %d removed Enclosure %s SIM %d failed Enclosure %s SIM %d inserted Logged when power supply has been inserted to an enclosure. Logged when power supply has been removed from an enclosure. Logged when the enclosure SIM has failed. Logged when an enclosure SIM has been inserted. Enclosure %s SIM %d removed Logged when an enclosure initialization was completed but later the SIM was removed. Enclosure %s temperature sensor %d below warning threshold Logged when the enclosure services process has detected a temperature lower than a normal operating temperature or lower than the value indicated by the LOW WARNING THRESHOLD field in the Threshold In diagnostic page. Enclosure %s temperature sensor %d below error threshold Logged when the enclosure services process has detected a temperature lower than a safe operating temperature or lower than the value indicated by the LOW CRITICAL THRESHOLD field in the Threshold In diagnostic page. Enclosure %s temperature sensor %d above warning threshold Logged when the enclosure services process has detected a temperature higher than a normal operating temperature or higher than the value indicated by the HIGH WARNING THRESHOLD field in the Threshold In diagnostic page. Enclosure %s temperature sensor %d above error threshold Logged when the enclosure services process has detected a temperature higher than a safe operating temperature or higher than the value indicated by the HIGH CRITICAL THRESHOLD field in the Threshold In diagnostic page. Enclosure %s shutdown Logged when an unrecoverable condition is detected in the enclosure. Enclosure %s not supported; too many enclosures connected to port Enclosure %s firmware mismatch Enclosure %s sensor %d bad Enclosure %s phy %d bad Logged when the maximum allowed enclosures per port is exceeded. Logged when two ESMs have different firmware versions. Logged when the device is present on the phy, but the status does not indicate its presence. Logged when the status indicates a device presence, but there is no corresponding SAS address is associated with the device. Enclosure %s is unstable Enclosure %s hardware error Logged when the enclosure services process reports the sense errors. Logged when a critical or an unrecoverable enclosure failure has been detected by the enclosure services process. LSI Corporation - 417 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x00bc 0x00bd Severity Level Critical Information 0x00be 0x00bf 0x00c0 0x00c1 0x00c2 0x00c3 0x00c4 0x00c5 0x00c6 0x00c7 0x00c8 0x00c9 0x00ca 0x00cb 0x00cc 0x00cd 0x00ce 0x00cf 0x00d0 Information Information Information Information Information Warning Warning Fatal Information Information Critical Warning Critical Critical Critical Information Critical Information Information Event Text Generic Conditions when each event occurs Enclosure %s not responding SAS/SATA mixing not supported in enclosure; Drive %s disabled Enclosure (SES) hotplug on %s was detected, but is not supported Clustering enabled Logged when there is no response from the enclosure. Logged when the SAS/SATA mixing in an enclosure is being violated. Not reported to the user. Clustering disabled Drive too small to be used for auto-rebuild on %s BBU enabled; changing WT virtual drives to WB BBU disabled; changing WB virtual drives to WT Bad block table on drive %s is 80% full Bad block table on drive %s is full; unable to log block %lx Consistency Check Aborted due to ownership loss on %s Background Initialization (BGI) Aborted Due to Ownership Loss on %s Logged when the clustering is enabled in the controller properties. Logged when the clustering is disabled in the controller properties. Logged when the size of the drive is not sufficient for auto-rebuild. Logged when changing WT virtual drives to WB and the BBU status is good. Logged when changing WB virtual drives to WT and the BBU status is bad. Logged when the Bad block table on a drive is 80% full. Logged when the Bad block table on a drive is full and not able to add the bad block in the Bad block table. Logged when the Consistency Check is aborted due to ownership is lost. Logged when the Background Initialization (BGI) is aborted due to ownership loss. Battery/charger problems detected; SOH Bad Single-bit ECC error: ECAR=%x, ELOG=%x, (%s); warning threshold exceeded Logged when the battery is not presented or removed and SOH is bad. Logged when the Single-bit ECC errors exceeded the warning threshold. Single-bit ECC error: ECAR=%x, ELOG=%x, (%s); critical threshold exceeded Single-bit ECC error: ECAR=%x, ELOG=%x, (%s); further reporting disabled Enclosure %s Power supply %d switched off Enclosure %s Power supply %d switched on Enclosure %s Fan %d returned to normal Logged when the Single-bit ECC errors exceeded the critical threshold. Logged when the Single-bit ECC errors exceeded all the thresholds and disable further logging. Logged when the enclosure services process has detected that the Enclosure Power supply is switched off and it was switched on earlier. Logged when the enclosure services process has detected that the Enclosure Power supply is switched on and it was switched off earlier. Enclosure %s Power supply %d cable removed Logged when the enclosure services process has detected that the Enclosure Power supply cable is removed and it was inserted earlier. Enclosure %s Power supply %d cable inserted Logged when the enclosure services process has detected that the Enclosure Power supply cable is inserted and it was removed earlier. Logged when the enclosure services process has detected that the current status of a fan is good and it was failed earlier. LSI Corporation - 418 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x00d1 Severity Level Information 0x00d2 0x00d3 0x00d4 0x00d5 0x00d6 0x00d7 0x00d8 0x00d9 0x00da 0x00db 0x00dc 0x00dd 0x00de 0x00df 0x00e0 0x00e1 0x00e2 0x00e3 0x00e4 0x00e5 0x00e6 0x00e7 0x00e8 0x00e9 0x00ea 0x00eb 0x00ec 0x00ed Information Critical Information Information Critical Information Critical Information Information Information Information Warning Warning Warning Information Warning Warning Information Warning Information Information Information Information Information Information Warning Warning Information Event Text Generic Conditions when each event occurs BBU Retention test was initiated on previous boot BBU Retention test passed BBU Retention test failed! NVRAM Retention test was initiated on previous boot Logged when the Battery Retention test was initiated on previous boot. Logged when the Battery Retention test passed successfully. Logged when the Battery Retention test failed. Logged when the NVRAM Retention test was initiated on previous boot. NVRAM Retention test passed NVRAM Retention test failed! Logged when the NVRAM Retention test passed successfully. Logged when the NVRAM Retention test failed. %s test completed %d passes successfully Logged when the controller diagnsotics test passes successfully. %s test FAILED on %d pass. Fail data: errorOffset=%x goodData=%x badData=%x Logged when the controller diagnsotics test fails. Self check diagnostics completed Foreign Configuration detected Foreign Configuration imported Foreign Configuration cleared NVRAM is corrupt; reinitializing NVRAM mismatch occurred SAS wide port %d lost link on PHY %d SAS wide port %d restored link on PHY %d Logged when Self check diagnostics is completed. Logged when Foreign Configuration is detected. Logged when Foreign Configuration is imported. Logged when Foreign Configuration is cleared. Logged when NVRAM is corrupt and re-initialized. Logged when NVRAM mismatch occurs. Logged when SAS wide port lost link on a PHY. Logged when a SAS wide port restored link on a PHY. SAS port %d, PHY %d has exceeded the allowed error rate Logged when a SAS PHY on port has exceeded the allowed error rate. Bad block reassigned on %s at %lx to %lx Logged when a Bad block is reassigned on a drive from a error sector to a new sector. Controller Hot Plug detected Logged when a Controller Hot Plug is detected. Enclosure %s temperature sensor %d differential detected Logged when an Enclosure temperature sensor differential is detected. Drive test cannot start. No qualifying drives found Logged when Disk test cannot start. No qualifying disks found. Time duration provided by host is not sufficient for self check Logged when Time duration provided by the host is not sufficient for self check. Marked Missing for %s on drive group %d row %d Replaced Missing as %s on drive group %d row %d Logged when a physical drive is Marked Missing on an array at a particular row. Logged when a physical drive is Replaced Missing on an array at a particular row. Enclosure %s Temperature %d returned to normal Logged when an Enclosure temperature returns to normal. Enclosure %s Firmware download in progress Logged when Enclosure a Firmware download is in progress. (ask SUMANT PATRO what is Enclosure a Firmware?? Enclosure %s Firmware download failed %s is not a certified drive Dirty cache data discarded by user Logged when Enclosure a Firmware download failed. (ask SUMANT PATRO what is Enclosure a Firmware?? Logged if the drive is not certified. Logged when Dirty cache data is discarded by the user. LSI Corporation - 419 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x00ee Severity Level Information 0x00ef 0x00f0 0x00f1 0x00f2 0x00f3 0x00f4 0x00f5 0x00f6 0x00f7 0x00f8 0x00f9 0x00fa 0x00fb 0x00fc 0x00fd 0x00fe 0x00ff 0x0100 0x0101 0x0102 0x0103 0x0104 0x0105 0x0106 0x0107 0x0108 0x0109 Information Information Information Information Information Information Information Information Information Information Information Warning Critical Fatal Warning Warning Warning Warning Warning Warning Warning Critical Information Warning Warning Warning Information Event Text Generic Conditions when each event occurs Drives missing from configuration at boot Logged when physical drives are missing from configuration at boot. Virtual drives (VDs) missing drives and will go offline at boot: %s Logged when virtual drives missing drives and will go offline at boot. VDs missing at boot: %s Previous configuration completely missing at boot Logged when virtual drives missing at boot. Logged when Previous configuration completely missing at boot. Battery charge complete Logged when Battery charge is completed. Enclosure %s fan %d speed changed Logged when an Enclosure fan speed changed. Dedicated spare %s imported as global due to missing arrays Logged when a Dedicated spare is imported as global due to missing arrays. %s rebuild not possible as SAS/SATA is not supported in an array Logged when a rebuild is not possible as SAS/SATA is not supported in an array. SEP %s has been rebooted as a part of enclosure firmware download. SEP will be unavailable until this process completes. Logged when SEP has been rebooted as part of enclosure firmware download. It will be unavailable until reboot completes. Inserted PD: %s Info: %s Logged when a physical drive is inserted. Removed PD: %s Info: %s VD %s is now OPTIMAL Logged when a physical drive is removed. Logged when a logical drive state changes to OPTIMAL. VD %s is now PARTIALLY DEGRADED Logged when a logical drive state changes to a partially degraded state. VD %s is now DEGRADED Logged when a logical drive state changes to degraded state. VD %s is now OFFLINE Battery requires reconditioning; please initiate a LEARN cycle VD %s disabled because RAID-5 is not supported by this RAID key VD %s disabled because RAID-6 is not supported by this controller Logged when a logical drive state changes to offline state. Logged when a Battery requires reconditioning; please initiate a LEARN cycle. Logged when a virtual drive is disabled because RAID-5 is not supported by this RAID key. Logged when a virtual drive is disabled because RAID-6 is not supported by this controller. VD %s disabled because SAS drives are not supported by this RAID key PD missing: %s Puncturing of LBAs enabled Puncturing of LBAs disabled Enclosure %s EMM %d not installed Package version %s Logged when a virtual drive is disabled because SAS drives are not supported by this RAID key. Logged to provide information about the missing drive during boot. Currently not logged in the firmware. Currently not logged in the firmware. Logged when Enclosure SIM is not installed. Prints the Package version number. Global affinity Hot Spare %s commissioned in a different enclosure Logged when a hot spare that is a part of an enclosure is commissioned in a different enclosure. Foreign configuration table overflow Logged when the number of GUIDs to import exceeds the total supported by the firmware. Partial foreign configuration imported, PDs not imported:%s Connector %s is active Logged when all the foreign configuration drives could not be imported. Logged during initial boot when a SAS MUX connector is found for the controller. LSI Corporation - 420 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x010a 0x010b Severity Level Information Warning 0x010c 0x010d 0x010e 0x010f 0x0110 0x0111 0x0112 0x0113 0x0114 0x0115 0x0116 0x0117 0x0118 0x0119 0x011a 0x011b 0x011c 0x011d 0x011e 0x011f 0x0120 0x0121 0x0122 Warning Warning Fatal Fatal Information Warning Warning Fatal Information Information Information Progress Information Information Critical Warning Information Information Information Warning Information Warning Information Event Text Generic Conditions when each event occurs Board Revision %s Command timeout on PD %s, CDB:%s Logged during boot. Logged when command to a PD Timesout. PD %s reset (Type %02x) Logged when PD is reset. VD bad block table on %s is 80% full Logged when number of Bad Blocks entries is at 80 % of what can be supported in the firmware. VD bad block table on %s is full; unable to log block %lx (on %s at %lx) Logged when number of Bad Blocks exceed what can be supported in the firmware. Uncorrectable medium error logged for %s at %lx (on %s at %lx) Logged when an uncorrectable medium error is detected. VD medium error corrected on %s at %lx Logged on the corrected medium error. Bad block table on PD %s is 100% full Logged when Bad block table is 100 % Full. Any more media errors on this physical drive will not be logged in the bad block table. VD bad block table on PD %s is 100% full Logged when Bad block table is 100 % Full. Any more media errors on this logical drive will not be logged in the bad block table. Controller needs replacement, IOP is faulty Currently not logged in the firmware. CopyBack started on PD %s from PD %s Logged when copyback is started. CopyBack aborted on PD %s and src is PD %s Logged when copyback is aborted. Logged when copyback is completed. CopyBack complete on PD %s from PD %s CopyBack progress on PD %s is %s CopyBack resumed on PD %s from %s CopyBack automatically started on PD %s from %s CopyBack failed on PD %s due to source %s error Logged to provide the copyback progress. Logged when copyback operation is resumed. Logged on automatic start of copyback. Logged when the source physical drive of a copyback fails. The copyback stops and rebuild starts on the destination physical drive. Currently not logged in the firmware. Early Power off warning was unsuccessful BBU FRU is %s %s FRU is %s Controller hardware revision ID %s Foreign import shall result in a backward incompatible upgrade of configuration metadata Redundant path restored for PD %s Redundant path broken for PD %s Redundant enclosure EMM %s inserted for EMM %s Logged only for IBM. Logged if FRU data is present. Logged only for IBM. Currently not used in the firmware. Currently not used in the firmware. Logged when new path is added for the physical drives. Logged when one path is removed. Logged when an enclosure is added. LSI Corporation - 421 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0123 Severity Level Information 0x0124 0x0125 0x0126 0x0127 0x0128 0x0129 0x012a 0x012b 0x012c 0x012d 0x012e 0x012f 0x0130 0x0131 0x0132 0x0133 0x0134 0x0135 0x0136 0x0137 0x0138 0x0139 0x013a Warning Information Critical Warning Fatal Information Information Information Information Warning Warning Information Information Information Information Warning Information Information Information Information Warning Warning Information Event Text Generic Conditions when each event occurs Redundant enclosure EMM %s removed for EMM %s Logged when an enclosure is removed Patrol Read can't be started, as PDs are either not ONLINE, or are in a VD with an active process, or are in an excluded VD Logged when none of the disks can start PR. Copyback aborted by user on PD %s and src is PD %s Logged when copyback is aborted by the user. Copyback aborted on hot spare %s from %s, as hot spare needed for rebuild Logged when copyback is aborted on a Hotspare. Copyback aborted on PD %s from PD %s, as rebuild required in the array Logged when copyback is stopped for a higher priority rebuild operation on a drive. Controller cache discarded for missing or offline VD %s When a VD with cached data goes offline or missing during runtime, the cache for the VD is discarded. Because the VD is offline, the cache cannot be saved. Logged when pinned cache lines are discarded for a LD. Copyback cannot be started as PD %s is too small for src PD %s Logged when destination PD is too small for copy back. Copyback cannot be started on PD %s from PD %s, as SAS/SATA is not supported in an array Microcode update started on PD %s Logged when there is a SAS/SATA mixing violation for the destination PD. Logged when PD Firmware download starts. Microcode update completed on PD %s Logged when PD Firmware download completes. Microcode update timeout on PD %s Logged when PD Firmware download does not complete and times out. Microcode update failed on PD %s Controller properties changed Patrol Read properties changed CC Schedule properties changed Logged when PD Firmware download fails. Logged when any of the controller properties has changed. Currently not logged in the firmware. Logged when consistency check scheduling property has changed. Battery properties changed Periodic Battery Relearn is pending. Please initiate manual learn cycle as Automatic learn is not enabled Logged when any of the BBU properties has changed. Logged when BBU periodic relearn is pending. Drive security key created Drive security key backed up Drive security key from escrow, verified Drive security key changed Drive security key, re-key operation failed Drive security key is invalid Drive security key destroyed Logged when controller lock key is created. Logged when controller lock key is backed up. Logged when controller lock key is verified from escrow. Logged when controller lock key is re-keyed. Logged when controller lock re-key operation failed. Logged when the controller lock is not valid. Logged when the controller lock key is destroyed. LSI Corporation - 422 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x013b Severity Level Warning 0x013c 0x013d 0x013e 0x013f 0x0140 0x0141 0x0142 0x0143 0x0144 0x0145 0x0146 0x0147 0x0148 0x0149 0x014a 0x014b 0x014c 0x014d 0x014e 0x014f 0x0150 0x0151 0x0152 0x0153 0x0154 0x0159 Information Warning Information Information Information Information Fatal Fatal Fatal Information Information Warning Warning Warning Warning Information Information Information Information Information Caution Information Information Information Information Critical Event Text Generic Conditions when each event occurs Drive security key from escrow is invalid VD %s is now secured VD %s is partially secured PD %s security activated PD %s security disabled PD %s is reprovisioned PD %s security key changed Security subsystem problems detected for PD %s Logged when the controller escrow key is not valid. This escrow key can not unlock any drive. Logged when secure LD is created. Logged when all the drives in the array are not secure. Logged when PD security key is set. Logged when security key is removed from an FDE drive. Logged when PD security is cleared. Logged when PD lock key is re-keyed. Logged when PD security can not be set. Controller cache pinned for missing or offline VD %s Controller cache pinned for missing or offline VDs: %s Logged when LD cache is pinned. Logged when pinned cache is found during OCR. Controller cache discarded by user for VDs: %s Logged when LD pinned cache is discarded by the user. Controller cache destaged for VD %s Logged when LD pinned cache is recovered. Consistency Check started on an inconsistent VD %s Drive security key failure, cannot access secured configuration Logged when consistency check is started on an inconsistent LD. Logged when an invalid lock key is detected. Drive security password from user is invalid Not logged. Detected error with the remote battery connector cable Not logged. Power state change on PD %s from %s to %s Enclosure %s element (SES code 0x%x) status changed Logged when PD power state (spun up, spun down, in-transition) changes. Not logged. PD %s rebuild not possible as HDD/CacheCade software mix is not supported in a drive group Logged when mixing violation occurs due to HDD/SSD mismatch. Copyback cannot be started on PD %s from %s, as HDD/CacheCade software mix is not supported in a drive group Logged when copyback could not be started on a PD because HDD/CacheCade software mix was not supported in a drive group. VD bad block table on %s is cleared SAS topology error: 0x%lx Logged when a VD bad block table was cleared. Logged when a SAS topology error occurred. VD cluster of medium errors corrected for %s at %lx (on %s at %lx) Logged when medium errors were corrected for a PD for a LD. Controller requests a host bus rescan Logged when controller requested a host bus rescan. Controller repurposed and factory defaults restored Drive security key binding updated Controller encountered a fatal error and was reset Logged when controller repurposed and factory defaults were restored. Logged when drive security key binding was updated. Logged when a controller encountered a fatal error and was reset. LSI Corporation - 423 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x015a Severity Level Information 0x015b 0x015c 0x015d 0x015e 0x015f 0x0160 0x0161 0x0162 0x0163 0x0164 0x0165 0x0166 0x0167 0x0168 0x0169 0x016a 0x016b 0x016c 0x016d 0x016e 0x016f 0x0170 0x0171 0x0172 0x0173 0x0174 0x0175 Information Critical Information Information Information Information Information Fatal Information Information Warning Critical Warning Critical Critical Warning Critical Information Information Critical Information Warning Warning Information Information Information Information Event Text Generic Conditions when each event occurs Snapshots enabled on %s (Repository %s) Snapshots disabled on %s (Repository %s) by the user Snapshots disabled on %s (Repository %s), due to a fatal error Snapshot created on %s at %s Snapshot deleted on %s at %s View created at %s to a snapshot at %s for %s Logged when snapshot was enabled on a LD. Logged when snapshot was disabled on a LD by the user. Logged when snapshot was disabled on a LD due to a fatal error. Logged when snapshot was created on a LD. Logged when snapshot was deleted on a LD. Logged when view was created at a LD. View at %s is deleted, to snapshot at %s for %s Logged when View at a LD was deleted Snapshot rollback started on %s from snapshot at %s Logged when snapshot rollback was started on a LD. Snapshot rollback on %s internally aborted for snapshot at %s Logged when snapshot rollback was internally aborted. Snapshot rollback on %s completed for snapshot at %s Logged when snapshot rollback on a LD was completed. Snapshot rollback progress for snapshot at %s, on %s is %s Snapshot space for %s in snapshot repository %s, is 80%% full Logged to report snapshot rollback progress on a LD. Logged when snapshot space for a LD in a snapshot repository was 80% full. Snapshot space for %s in snapshot repository %s, is full Logged when snapshot space for a LD in a snapshot repository was full. View at %s to snapshot at %s, is 80%% full on snapshot repository %s Logged when view at a LD to a snapshot was 80% full on a snapshot repository. View at %s to snapshot at %s, is full on snapshot repository %s Snapshot repository lost for %s Snapshot repository restored for %s Snapshot encountered an unexpected internal error: 0x%lx Auto Snapshot enabled on %s (snapshot repository %s) Auto Snapshot disabled on %s (snapshot repository %s) Configuration command could not be committed to disk, please retry COD on %s updated as it was stale Power state change failed on %s (from %s to %s) %s is not available %s is available %s is used for CacheCade with capacity 0x%lx logical blocks Logged when view at a LD to a snapshot was full on a snapshot repository. Logged when snapshot repository was lost for a LD. Logged when snapshot repository was restored for a LD. Logged when snapshot encountered an unexpected internal error. Logged when auto snapshot was enabled. Logged when auto Snapshot was disabled. Logged when configuration command could not be committed to disk and was asked to retry. Logged when COD in DDF is updated due to various reasons. Logged when power state change failed on a PD. Logged when a LD was not available. Logged when a LD was available. Logged when a LD was used for CacheCade with the indicated capacity in logical blocks. %s is using CacheCade %s Logged when a LD was using CacheCade. %s is no longer using CacheCade %s Logged when a LD was no longer using CacheCade. LSI Corporation - 424 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0176 Severity Level Critical 0x0177 0x0178 0x0179 0x017a 0x017b 0x017c 0x017d 0x017e 0x017f 0x0180 0x0181 0x0182 0x0183 0x0184 0x0185 0x0186 0x0187 0x0188 0x0189 0x018a 0x018b 0x018c 0x018d 0x018e 0x018f 0x0190 Warning Warning Warning Warning Information Information Information Information Information Information Warning Warning Information Warning Information Information Information Warning Information Information Warning Warning Warning Warning Warning Information Event Text Generic Conditions when each event occurs Snapshot deleted due to resource constraints for %s in snapshot repository %s Auto Snapshot failed for %s in snapshot repository %s Controller reset on-board expander CacheCade (%s) capacity changed and is now 0x%lx logical blocks Logged when the snapshot is deleted due to resource constraints in snapshot repository. Logged when the Auto Snapshot is failed for a VD in snapshot repository. Logged when the chip reset issued to on-board expander. Logged when the CacheCade capacity is changed along with the current capacity. Battery cannot initiate transparent learn cycles Logged when the Battery cannot initiate transparent learn cycles. Premium feature %s key was applied for - %s Logged when the Premium feature key was applied. Snapshot schedule properties changed on %s Logged when the Snapshot schedule properties changed. Snapshot scheduled action is due on %s Logged when the Snapshot scheduled action is due. Logged during the Performance Metrics collection. Performance Metrics: collection command 0x%lx Premium feature %s key was transferred - %s Premium feature serial number %s Premium feature serial number mismatched. Key-vault serial num - %s Logged when the Premium feature key was transferred. Logged when displaying the Premium feature serial number. Logged when Premium feature serial number mismatched. Battery cannot support data retention for more than %d hours. Please replace the battery %s power policy changed to %s (from %s) Logged during the Battery monitoring and it displays the remaining data retention time of the battery. Logged when the power policy of an LD is changed. %s cannot transition to max power savings Logged when LD cannot transition to max power savings. Host driver is loaded and operational This event is not reported to the user. %s mirror broken %s mirror joined %s link %d failure in wide port %s link %d restored in wide port Logged when the mirror is broken for an LD. Logged when joining the LD with its broken mirror. This event is not reported to the user. This event is not reported to the user. Memory module FRU is %s This event is not reported to the user. Cache-vault power pack is sub-optimal. Please replace the pack This event is not reported to the user. Foreign configuration auto-import did not import any drives Cache-vault microcode update required CacheCade (%s) capacity exceeds maximum allowed size, extra capacity is not used LD (%s) protection information lost Diagnostics passed for %s Logged when the Foreign configuration auto-import did not import any drives. Logged when the BMU is not in Normal mode and Cache-vault microcode update required. Logged when CacheCade capacity exceeds maximum allowed size, extra capacity is not used. Logged when the protection information is lost for an LD. Logged when the SHIELD Diagnostics passed for a PD. LSI Corporation - 425 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x0191 0x0192 Severity Level Critical Information 0x0193 0x0194 0x0195 0x0196 0x0197 0x0198 0x0199 0x019a 0x019b 0x019c 0x019d 0x019e 0x019f 0x01a0 0x01a1 0x01a2 0x01a3 0x01a4 0x01a5 0x01a6 0x01a7 0x01a8 0x01a9 0x01aa 0x01ab 0x01ac 0x01ad 0x01ae Information Information Information Warning Information Information Information Information Information Information Information Information Information Information Information Information Information Information Critical Progress Information Information Information Critical Progress Information Information Warning Event Text Generic Conditions when each event occurs Diagnostics failed for %s Server Power capability Diagnostic Test Started Logged when the SHIELD Diagnostics failed for a PD. Logged when the Server Power capability Diagnostic Test starts. Drive Cache settings enabled during rebuild for %s Logged when the Drive Cache settings enabled during rebuild for a PD. Drive Cache settings restored after rebuild for %s Logged when the Drive Cache settings restored after rebuild for a PD. Drive %s commissioned as Emergency spare Reminder: Potential non-optimal configuration due to drive %s commissioned as emergency spare Logged when the Drive commissioned as Emergency spare. Logged when the PD being imported is an Emergency Spare. Consistency Check suspended on %s Logged when the Consistency Check is suspended on an LD. Consistency Check resumed on %s Logged when the Consistency Check is resumed on an LD. Background Initialization suspended on %s Logged when the Background Initialization is suspended on an LD. Background Initialization resumed on % Logged when the Background Initialization is resumed on an LD. Reconstruction suspended on %s Rebuild suspended on % Copyback suspended on %s Reminder: Consistency Check suspended on % Logged when the Reconstruction is suspended on an LD. Logged when the Rebuild is suspended on a PD. Logged when the Copyback is suspended on a PD. Logged as a reminder when the Consistency Check is suspended on an LD. Reminder: Background Initialization suspended on %s Logged as a reminder when the Background Initialization is suspended on an LD. Reminder: Reconstruction suspended on %s Logged as a reminder when the Reconstruction is suspended on an LD. Reminder: Rebuild suspended on %s Logged as a reminder when the Rebuild is suspended on a PD. Reminder: Copyback suspended on %s Logged as a reminder when the Copyback is suspended on a PD. Reminder: Patrol Read suspended Erase aborted on %s Logged as a reminder when the Patrol Read is suspended. Logged when the Erase is aborted on a PD. Erase failed on %s (Error %02x) Erase progress on %s is %s Erase started on %s Erase completed on %s Erase aborted on %s Erase failed on %s Erase progress on %s is %s Logged when the Erase is failed on a PD along with the error. Logged to display the Erase progress on a PD along with its current progress. Logged when Erase is started on a PD. Logged when the Erase is completed on a PD. Logged when the Erase is aborted on an LD. Logged when the Erase is failed on an LD. Logged to display the Erase progress on an LD along with its current progress. Logged when the Erase is started on an LD. Erase started on %s Erase complete on %s Logged when the Erase is complete on an LD. Potential leakage during erase on %s Logged to inform the Potential leakage during erase on an LD. LSI Corporation - 426 - MegaRAID SAS Software User Guide June 2012 Appendix A Events and Messages Number 0x01af Severity Level Warning 0x01b0 0x01b1 0x01b2 0x01b3 0x01b4 0x01b5 0x01b6 0x01b7 0x01b8 0x01b9 0x01ba 0x01bb 0x01bc 0x01bd Information Warning Fatal Information Information Critical Progress Information Information Warning Information Information Information Information Event Text Generic Conditions when each event occurs Battery charging was suspended due to high battery temperature Logged when the Battery charging was suspended due to high battery temperature. NVCache firmware update was successful This event is not reported to the user. NVCache firmware update failed This event is not reported to the user. %s access blocked as cached data in CacheCade is unavailable This event is not reported to the user. CacheCade disassociate started on %s CacheCade disassociate completed on %s This event is not reported to the user. This event is not reported to the user. CacheCade disassociate failed on %s This event is not reported to the user. CacheCade disassociate progress on %s is %s This event is not reported to the user. CacheCade disassociate aborted by user on %s This event is not reported to the user. Link speed changed on SAS port %d and PHY %d Logged when the Link speed changed on SAS port and PHY. This event is not reported to the user. Advanced Software Options was deactivated for - %s %s is now accessible %s is using CacheCade %s is no longer using CacheCade Patrol Read aborted on %s This event is not reported to the user. This event is not reported to the user. This event is not reported to the user. Logged when the Patrol Read is aborted on a PD. LSI Corporation - 427 - MegaRAID SAS Software User Guide June 2012 Appendix B MegaCLI Error Messages This appendix lists the MegaRAID Storage Manager software error messages. The MegaCLI Configuration Utility is a command line interface application you can use to manage MegaRAID SAS Each message that appears in the event log has an error level that indicates the severity of the event, as shown in the following table. Table 155 Error Messages and Descriptions Number 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e Event Text Command completed successfully Invalid command DCMD opcode is invalid Input parameters are invalid Invalid sequence number Abort isn't possible for the requested command Application 'host' code not found Application already in use - try later Application not initialized Given array index is invalid Unable to add missing drive to array, as row has no empty slots Some of the CFG resources conflict with each other or the current config Invalid device ID / select-timeout Drive is too small for requested operation Flash memory allocation failed Flash download already in progress Flash operation failed Flash image was bad Downloaded flash image is incomplete Flash OPEN was not done Flash sequence is not active Flush command failed Specified application doesn't have host-resident code LD operation not possible - CC is in progress LD initialization in progress LBA is out of range Maximum LDs are already configured LD is not OPTIMAL LD Rebuild is in progress LD is undergoing reconstruction LD RAID level is wrong for requested operation LSI Corporation - 428 - MegaRAID SAS Software User Guide June 2012 Appendix B MegaCLI Error Messages Number 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x2d 0x2e 0x2f 0x30 0x31 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 0x4b 0x4c 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a 0x3b 0x3d 0x3e 0x3f 0x40 0x41 0x42 Event Text Too many spares assigned Scratch memory not available - try command again later Error writing MFC data to SEEPROM Required HW is missing (i.e. Alarm or BBU) Item not found LD drives are not within an enclosure PD CLEAR operation is in progress Unable to use SATA(SAS) drive to replace SAS(SATA) Patrol Read is disabled Given row index is invalid SCSI command done, but non-GOOD status was received-see mf.hdr.extStatus for SCSI_STATUS IO request for MFI_CMD_OP_PD_SCSI failed - see extStatus for DM error Matches SCSI RESERVATION_CONFLICT One or more of the flush operations failed Firmware real-time currently not set Command issues while firmware in wrong state (i.e., GET RECON when op not active) LD is not OFFLINE - IO not possible Peer controller rejected request (possibly due to resource conflict) Unable to inform peer of communication changes (retry might be appropriate) LD reservation already in progress I2C errors were detected PCI errors occurred during XOR/DMA operation Diagnostics failed - see event log for details Unable to process command as boot messages are pending Returned in case if foreign configurations are incomplete Returned in case if a command is tried on unsupported hardware CC scheduling is disabled PD CopyBack operation is in progress Selected more than one PD per array Microcode update operation failed Unable to process command as drive security feature is not enabled Controller already has a lock key Lock key cannot be backed-up Lock key backup cannot be verified Lock key from backup failed verification Rekey operation not allowed, unless controller already has a lock key Lock key is not valid, cannot authenticate Lock key from escrow cannot be used Lock key backup (pass-phrase) is required Secure LD exist LD secure operation is not allowed LSI Corporation - 429 - MegaRAID SAS Software User Guide June 2012 Number 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5a 0x5b 0x5c 0xFF Event Text Reprovisioning is not allowed Drive security type (FDE or non-FDE) is not appropriate for requested operation LD encryption type is not supported Cannot mix FDE and non-FDE drives in same array Cannot mix secure and unsecured LD in same array Secret key not allowed Physical device errors were detected Controller has LD cache pinned Requested operation is already in progress Another power state set operation is in progress Power state of device is not correct No PD is available for patrol read Controller reset is required No EKM boot agent detected No space on the snapshot repository VD For consistency SET PiTs, some PiT creations might fail and some succeed Invalid status - used for polling command completion Appendix B MegaCLI Error Messages LSI Corporation - 430 - MegaRAID SAS Software User Guide June 2012 Appendix C History of Technical Changes This appendix lists all the technical changes made to this guide for all the previous releases. Table 156 History of Technical Changes Version and Date Description of Changes 80-00156-01 Rev. K, February 2011 Added Shield State , on page Shield State , in the WebBIOS section. Added Viewing and Changing Battery Backup Unit Information , on page Viewing and Changing Battery Backup Unit Information , in the WebBIOS section. Added Viewing Enclosure Properties , on page Viewing Enclosure Properties , in the WebBIOS section. Added SSD Disk Cache Policy , on page SSD Disk Cache Policy , in the WebBIOS section. Added Emergency Spare , on page Emergency Spare , in the WebBIOS section. Added Emergency Spare for Controllers , on page Emergency Spare for Controllers , in the WebBIOS section. Updated Viewing and Expanding a Virtual Drive , on page Viewing and Expanding a Virtual Drive , in the WebBIOS section. Added Shield State , on page Shield State , in the MSM section. Added Logical View Shield State , on page Logical View Shield State , in the MSM section. Added Viewing the Physical Drive Properties , on page Viewing the Physical Drive Properties , in the MSM section. Added Viewing Server Profile of a Drive in Shield State , on page Viewing Server Profile of a Drive in Shield State , in the MSM section. Added Displaying the Virtual Drive Properties , on page Displaying the Virtual Drive Properties , in the MSM section. Added Emergency Spare , on page Emergency Spare , in the MSM section. Added SSD Disk Cache Policy , on page SSD Disk Cache Policy , in the MSM section. Added Non-SED Secure Erase Support , on page Non-SED Secure Erase Support , in the MSM section. Added Rebuild Write Cache , on page Rebuild Write Cache , in the MSM section. Added Background Suspend or Resume Support , on page Background Suspend or Resume Support , in the MSM section. Added Enclosure Properties , on page Enclosure Properties , in the MSM section. Updated Monitoring Battery Backup Units , on page Monitoring Battery Backup Units , in the MSM section. 80-00156-01, Rev. J, September 2010 Added Managing Software Licensing , on page Managing Software Licensing , in the WebBIOS section. Added EKM and LKM in the WebBIOS section. Added Import Foreign Drive in EKM/EKM Secured Locked Drive, in the WebBIOS section. Added Enable the Snapshot Scheduler in the WebBIOS section. Added WebBIOS Dimmer Switch , on page WebBIOS Dimmer Switch , in the WebBIOS section. Added Software Licensing, EKM and LKM, Dimmer Switch, and other sections in WebBIOS Configuration Utility . Added SafeStore Security Options , on page SafeStore Security Options , in the MegaCLI section. Added Enable the Snapshot Scheduler , on page Enable the Snapshot Scheduler , in the MegaCLI section. Added Enhanced Dimmer Switch Power Settings , on page Enhanced Dimmer Switch Power Settings , in the Configuration section. Added MegaRAID Software Licensing , on page MegaRAID Software Licensing , in the Using MegaRAID Advanced Software section. Added Software Licensing, EKM and LKM, Dimmer Swtich, and other sections in the Using MegaRAID Advanced Software section. 80-00156-01, Rev. I, June 2010 80-00156-01, Rev. H, July 2009 80-00156-01, Rev. G, June 2009 Updated the document with changes to the software utilities. Added Chapter 11 for the MegaRAID advanced software features. Documented the Full Disk Encryption (FDE) feature. Updated the MegaRAID Storage Manager chapters. LSI Corporation - 431 - MegaRAID SAS Software User Guide June 2012 Appendix C History of Technical Changes Version and Date Description of Changes 80-00156-01, Rev. F, March 2009 Updated the WebBIOS Configuration Utility, MegaRAID Storage Manager, and MegaCLI chapters. 80-00156-01, Rev. E, December 2008 Added the Overview chapter. Updated the WebBIOS Configuration Utility, MegaRAID Storage Manager, and MegaCLI chapters. 80-00156-01, Rev. D, April 2008 Updated the RAID Overview section. Updated the WebBIOS Configuration Utility and the MegaRAID Storage Manager. Updated the MegaCLI commands. Updated operating system support for MegaCLI. 80-00156-01, Rev. C, July 2007, Version 2. 80-00156-01, Rev. B, June 2007, Version 2.0 Updated the WebBIOS Configuration Utility and the MegaRAID Storage Manager. Updated the MegaCLI commands. Added the RAID Introduction chapter. 80-00156-01, Rev. A, August 2006, Version 1.1 DB15-000339-00, December 2005, Version 1.0 Corrected the procedure for creating RAID 10 and RAID 50 drive groups in the WebBIOS Configuration Utility. Initial release of this document. LSI Corporation - 432 - MegaRAID SAS Software User Guide June 2012 This appendix provides a glossary for terms used in this document. Glossary A Absolute state of charge Access policy Alarm enabled Alarm present Array Auto learn mode Auto learn period Predicted remaining battery capacity expressed as a percentage of Design Capacity. Note that the Absolute State of Charge operation can return values greater than 100 percent. A virtual drive property indicating what kind of access is allowed for a particular virtual drive. The possible values are Read/Write , Read Only , or Blocked . A controller property that indicates whether the controller’s onboard alarm is enabled. A controller property that indicates whether the controller has an onboard alarm. If present and enabled, the alarm is sounded for certain error conditions. See drive group . The controller performs the learn cycle automatically in this mode. This mode offers the following options: BBU Auto Learn: Firmware tracks the time since the last learn cycle and performs a learn cycle when due. BBU Auto Learn Disabled: Firmware does not monitor or initiate a learn cycle. You can schedule learn cycles manually. BBU Auto Learn Warn: Firmware warns about a pending learn cycle. You can initiate a learn cycle manually. After the learn cycle is complete, the firmware resets the counter and warns you when the next learn cycle time is reached. Time between learn cycles. A learn cycle is a battery calibration operation performed periodically by the controller? to determine the condition of the battery. One-minute rolling average of the predicted remaining battery life. Average time to empty Average time to full Predicted time to charge the battery to a fully charged state based on the one minute rolling average of the charge current. Battery module version Battery replacement B Battery retention time Battery status Battery type BBU present BGI rate BIOS Current revision of the battery pack module. Warning issued by firmware that the battery can no longer support the required data retention time. Time, in hours, that the battery can maintain the contents of the cache memory. Operating status of the battery. Possible values are Missing, Optimal, Failed, Degraded (need attention), and Unknown. Possible values are intelligent Battery Backup Unit (BBU), intelligent Battery Backup Unit (iBBU), intelligent Transportable Battery Backup Unit (iTBBU), and ZCR Legacy. A controller property that indicates whether the controller has an onboard battery backup unit to provide power in case of a power failure. A controller property indicating the rate at which the background initialization of virtual drives will be carried out. Basic Input/Output System. The computer BIOS is stored on a flash memory chip. The BIOS controls communications between the microprocessor and peripheral devices, such as the keyboard and the video controller, and miscellaneous functions, such as system messages. LSI Corporation - 433 - MegaRAID SAS Software User Guide June 2012 Glossary Cache Cache flush interval Caching Capacity Coerced capacity Coercion mode Consistency check Consistency check rate Controller Copyback Current Current write policy Cycle count C D Fast memory that holds recently accessed data. Use of cache memory speeds subsequent access to the same data. When data is read from or written to main memory, a copy is also saved in cache memory with the associated main memory address. The cache memory software monitors the addresses of subsequent reads to see if the required data is already stored in cache memory. If it is already in cache memory (a cache hit), it is read from cache memory immediately and the main memory read is aborted (or not started). If the data is not cached (a cache miss), it is fetched from main memory and saved in cache memory. A controller property that indicates how often the data cache is flushed. The process of using a high speed memory buffer to speed up a computer system’s overall read/write performance. The cache can be accessed at a higher speed than a drive subsystem. To improve read performance, the cache usually contains the most recently accessed data, as well as data from adjacent drive sectors. To improve write performance, the cache can temporarily store data in accordance with its write back policies. A property that indicates the amount of storage space on a drive or virtual drive. A drive property indicating the capacity to which a drive has been coerced (forced) to make it compatible with other drives that are nominally the same capacity. For example, a 4-GB drive from one manufacturer might be 4,196 MB, and a 4-GB from another manufacturer might be 4,128 MB. These drives could be coerced to a usable capacity of 4,088 MB each for use in a drive group in a storage configuration. A controller property indicating the capacity to which drives of nominally identical capacity are coerced (forced) to make them usable in a storage configuration. An operation that verifies that all stripes in a virtual drive with a redundant RAID level are consistent and that automatically fixes any errors. For RAID 1 drive groups, this operation verifies correct mirrored data for each stripe. The rate at which consistency check operations are run on a computer system. A chip that controls the transfer of data between the microprocessor and memory or between the microprocessor and a peripheral device such as a drive. RAID controllers perform RAID functions such as striping and mirroring to provide data protection. The procedure used to copy data from a source drive of a virtual drive to a destination drive that is not a part of the virtual drive. The copyback operation is often used to create or restore a specific physical configuration for a drive group (for example, a specific arrangement of drive group members on the device I/O buses). The copyback operation can be run automatically or manually. Typically, a drive fails or is expected to fail, and the data is rebuilt on a hot spare. The failed drive is replaced with a new drive. Then the data is copied from the hot spare to the new drive, and the hot spare reverts from a rebuild drive to its original hot spare status. The copyback operation runs as a background activity, and the virtual drive is still available online to the host. Measure of the current flowing to (+) or from (-) the battery, reported in milliamperes. A virtual drive property that indicates whether the virtual drive currently supports Write Back mode or Write Through mode. In Write Back mode the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a transaction. In Write Through mode the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data in a transaction. The count is based on the number of times the near fully charged battery has been discharged to a level below the cycle count threshold. LSI Corporation - 434 - MegaRAID SAS Software User Guide June 2012 Glossary Default write policy Design capacity Design charge capacity remaining Design voltage Device chemistry Device ID Device port count Drive cache policy Drive group Drive state Drive state drive subsystem Drive type EKM Estimated time to recharge Expected margin of error E F Fast initialization A virtual drive property indicating whether the default write policy is Write Through or Write Back. In Write Back mode the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a transaction. In Write Through mode the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data in a transaction. Designed charge capacity of the battery, measured in milliampere-hour units (mAh). Amount of the charge capacity remaining, relative to the battery pack design capacity. Designed voltage capacity of the battery, measured in millivolts (mV). Possible values are NiMH (nickel metal hydride) and LiON (lithium ion). A controller or drive property indicating the manufacturer-assigned device ID. A controller property indicating the number of ports on the controller. A virtual drive property indicating whether the virtual drive cache is enabled, disabled, or unchanged from its previous setting. A group of drives attached to a RAID controller on which one or more virtual drives can be created. All virtual drives in the drive group use all of the drives in the drive group. A drive property indicating the status of the drive. A drive can be in one of the following states: Unconfigured Good – A drive accessible to the RAID controller but not configured as a part of a virtual drive or as a hot spare. Hot Spare drive. – A drive that is configured as a hot spare. Online – A drive that can be accessed by the RAID controller and will be part of the virtual Rebuild Failed – A drive to which data is being written to restore full redundancy for a virtual drive. – A drive that was originally configured as Online or Hot Spare, but on which the firmware detects an unrecoverable error. Unconfigured Bad – A drive on which the firmware detects an unrecoverable error; the drive was Unconfigured Good or the drive could not be initialized. Missing – A drive that was Online, but which has been removed from its location. Offline – A drive that is part of a virtual drive but which has invalid data as far as the RAID configuration is concerned. None – A drive with an unsupported flag set. An Unconfigured Good or Offline drive that has completed the prepare for removal operation. A collection of drives and the hardware that controls them and connects them to one or more controllers. The hardware can include an intelligent controller, or the drives can attach directly to a system I/O bus controller. A drive property indicating the characteristics of the drive. External Key Management Estimated time necessary to complete recharge of the battery at the current charge rate. Indicates how accurate the reported battery capacity is in terms of percentage. A mode of initialization that quickly writes zeroes to the first and last sectors of the virtual drive. This allows you to immediately start writing data to the virtual drive while the initialization is running in the background. LSI Corporation - 435 - MegaRAID SAS Software User Guide June 2012 Glossary Fault tolerance Firmware Foreign configuration Formatting Full charge capacity Gas gauge status The capability of the drive subsystem to undergo a single drive failure per drive group without compromising data integrity and processing capability. LSI SAS RAID controllers provides fault tolerance through redundant drive groups in RAID levels 1, 5, 6, 10, 50, and 60. They also support hot spare drives and the auto-rebuild feature. Software stored in read-only memory (ROM) or programmable ROM (PROM). Firmware is often responsible for the behavior of a system when it is first turned on. A typical example would be a monitor program in a system that loads the full operating system from drive or from a network and then passes control to the operating system. A RAID configuration that already exists on a replacement set of drives that you install in a computer system. MegaRAID Storage Manager software allows you to import the existing configuration to the RAID controller, or you can clear the configuration so you can create a new one. The process of writing a specific value to all data fields on a drive, to map out unreadable or bad sectors. Because most drives are formatted when manufactured, formatting is usually done only if a drive generates many media errors. Amount of charge that can be placed in the battery. This value represents the last measured full discharge of the battery. This value is updated on each learn cycle when the battery undergoes a qualified discharge from nearly full to a low battery level. G Hexadecimal value that represents the status flag bits in the gas gauge status register. H Hole Host interface Host port count Host system Hot spare In MegaRAID Storage Manager, a hole is a block of empty space in a drive group that can be used to define a virtual drive. A controller property indicating the type of interface used by the computer host system: for example, PCIX . A controller property indicating the number of host data ports currently in use. Any computer system on which the controller is installed. Mainframes, workstations, and standalone desktop systems can all be considered host systems. A standby drive that can automatically replace a failed drive in a virtual drive and prevent data from being lost. A hot spare can be dedicated to a single redundant drive group or it can be part of the global hot spare pool for all drive groups controlled by the controller. When a drive fails, MegaRAID Storage Manager software automatically uses a hot spare to replace it and then rebuilds the data from the failed drive to the hot spare. Hot spares can be used in RAID 1, 5, 6, 10, 50, and 60 storage configurations. I Initialization IO policy The process of writing zeros to the data fields of a virtual drive and, in fault-tolerant RAID levels, generating the corresponding parity to put the virtual drive in a Ready state. Initialization erases all previous data on the drives. Drive groups will work without initializing, but they can fail a consistency check because the parity fields have not been generated. A virtual drive property indicating whether Cached I/O or Direct I/O is being used. In Cached I/O mode, all reads are buffered in cache memory. In Direct I/O mode, reads are not buffered in cache memory. Data is transferred to cache and the host concurrently. If the same data block is read again, it comes from cache memory. (The IO Policy applies to reads on a specific virtual drive. It does not affect the read ahead cache.) L LSI Corporation - 436 - MegaRAID SAS Software User Guide June 2012 Glossary Learning cycle Learn delay interval Learn mode Learn state Load-balancing Low-power storage mode LKM Manufacturing date Manufacturing name M Max error Maximum learn delay from current start time Media error count A battery calibration operation performed by a RAID controller periodically to determine the condition of the battery. You can start battery learn cycles manually or automatically Length of time between automatic learn cycles. You can delay the start of the learn cycles for up to 168 hours (seven days). Mode for the battery auto learn cycle. Possible values are Auto, Disabled, and Warning. Indicates that a learn cycle is in progress. A method of spreading work between two or more computers, network links, CPUs, drives, or other resources. Load balancing is used to maximize resource use, throughput, or response time. Storage mode that causes the battery pack to use less power, which save battery power consumption. Local Key Management Date on which the battery pack assembly was manufactured. Device code that indicates the manufacturer of the components used to make the battery assembly. Expected margin of error (percentage) in the state of charge calculation. For example, when Max Error returns 10 percent and Relative State of Charge returns 50 percent, the Relative State of charge is more likely between 50 percent and 60 percent. The gas gauge sets Max Error to 100 percent on a full reset. The gas gauge sets Max Error to 2 percent on completion of a learn cycle, unless the gas gauge limits the learn cycle to the +512/–256-mAh maximum adjustment values. If the learn cycle is limited, the gas gauge sets Max Error to 8 percent unless Max Error was already below 8 percent. In this case Max Error does not change. The gas gauge increments Max Error by 1 percent after four increments of Cycle Count without a learn cycle. Maximum length of time between automatic learn cycles. You can delay the start of a learn cycle for a maximum of 168 hours (7 days). Migration Mirroring Multipathing A drive property indicating the number of errors that have been detected on the drive media. The process of moving virtual drives and hot spare drives from one controller to another by disconnecting the drives from one controller and attaching them to another one. The firmware on the new controller will detect and retain the virtual drive information on the drives. The process of providing complete data redundancy with two drives by maintaining an exact copy of one drive’s data on the second drive. If one drive fails, the contents of the other drive can be used to maintain the integrity of the system and to rebuild the failed drive. The firmware provides support for detecting and using multiple paths from the RAID controllers to the SAS devices that are in enclosures. Devices connected to enclosures have multiple paths to them. With redundant paths to the same port of a device, if one path fails, another path can be used to communicate between the controller and the device. Using multiple paths with load balancing, instead of a single path, can increase reliability through redundancy. N Name Next learn time A virtual drive property indicating the user-assigned name of the virtual drive. Time at which the next learn cycle starts. LSI Corporation - 437 - MegaRAID SAS Software User Guide June 2012 Glossary Non-redundant configuration NVRAM NVRAM present NVRAM size A RAID 0 virtual drive with data striped across two or more drives but without drive mirroring or parity. This provides for high data throughput but offers no protection in case of a drive failure. Acronym for nonvolatile random access memory. A storage system that does not lose the data stored on it when power is removed. NVRAM is used to store firmware and configuration data on the RAID controller. A controller property indicating whether an NVRAM is present on the controller. A controller property indicating the capacity of the controller’s NVRAM. O Offline A drive is offline when it is part of a virtual drive but its data is not accessible to the virtual drive. P Patrol read Patrol read rate Predicted battery capacity status (hold 24hr charge) Product info Product name R RAID RAID 0 RAID 00 RAID 1 RAID 5 RAID 6 RAID 10 A process that checks the drives in a storage configuration for drive errors that could lead to drive failure and lost data. The patrol read operation can find and sometimes fix any potential problem with drives prior to host access. This enhances overall system performance because error recovery during a normal I/O operation might not be necessary. The user-defined rate at which patrol read operations are run on a computer system. Indicates whether the battery capacity is capable of supporting a 24-hour data retention time. A drive property indicating the vendor-assigned model number of the drive. A controller property indicating the manufacturing name of the controller. A group of multiple, independent drives that provide high performance by increasing the number of drives used for saving and accessing data. A RAID drive group improves input/output (I/O) performance and data availability. The group of drives appears to the host system as a single storage unit or as multiple virtual drives. Data throughput improves because several drives can be accessed simultaneously. RAID configurations also improve data storage availability and fault tolerance. Redundant RAID levels (RAID levels 1, 5, 6, 10, 50, and 60) provide data protection. Uses data striping on two or more drives to provide high data throughput, especially for large files in an environment that requires no data redundancy. Uses data striping on two or more drives in a spanned drive group to provide high data throughput, especially for large files in an environment that requires no data redundancy. Uses data mirroring on pairs of drives so that data written to one drive is simultaneously written to the other drive. RAID 1 works well for small databases or other small applications that require complete data redundancy. Uses data striping and parity data across three or more drives (distributed parity) to provide high data throughput and data redundancy, especially for applications that require random access. Uses data striping and parity data across three or more drives (distributed parity) to provide high data throughput and data redundancy, especially for applications that require random access. RAID 6 can survive the failure of two drives. A combination of RAID 0 and RAID 1 that uses data striping across two mirrored drive groups. It provides high data throughput and complete data redundancy. LSI Corporation - 438 - MegaRAID SAS Software User Guide June 2012 Glossary RAID 50 RAID 60 RAID level RAID Migration Raw capacity Read policy Rebuild Rebuild rate Reclaim virtual drive Reconstruction rate Redundancy Redundant configuration Relative state of charge Remaining capacity Revertible hot spare Revision level Run time to empty S SAS A combination of RAID 0 and RAID 5 that uses data striping across two drive groups with parity data. It provides high data throughput and complete data redundancy. A combination of RAID 0 and RAID 6 that uses data striping across two drive groups with parity data. It provides high data throughput and complete data redundancy. RAID 60 can survive the failure of two drives in each RAID set in the spanned drive group. A virtual drive property indicating the RAID level of the virtual drive. LSI SAS RAID controllers support RAID levels 0, 1, 5, 6, 10, 50, and 60. A feature in RAID subsystems that allows for changing a RAID level to another level without powering down the system. A drive property indicating the actual full capacity of the drive before any coercion mode is applied to reduce the capacity. A controller attribute indicating the current Read Policy mode. In Always Read Ahead mode, the controller reads sequentially ahead of requested data and stores the additional data in cache memory, anticipating that the data will be needed soon. This speeds up reads for sequential data, but there is little improvement when accessing random data. In No Read Ahead mode (known as Normal mode in WebBIOS), read ahead capability is disabled. The regeneration of all data to a replacement drive in a redundant virtual drive after a drive failure. A drive rebuild normally occurs without interrupting normal operations on the affected virtual drive, though some degradation of performance of the drive subsystem can occur. The percentage of central processing unit (CPU) resources devoted to rebuilding data onto a new drive after a drive in a storage configuration has failed. A method of undoing the configuration of a new virtual drive. If you highlight the virtual drive in the Configuration Wizard and click Reclaim, the individual drives are removed from the virtual drive configuration. The user-defined rate at which a drive group modification operation is carried out. A property of a storage configuration that prevents data from being lost when one drive fails in the configuration. A virtual drive that has redundant data on drives in the drive group that can be used to rebuild a failed drive. The redundant data can be parity data striped across multiple drives in a drive group, or it can be a complete mirrored copy of the data stored on a second drive. A redundant configuration protects the data in case a drive fails in the configuration. Predicted remaining battery capacity expressed as a percentage of Full Charge Capacity. Amount of remaining charge capacity of the battery as stated in milliamp hours. This value represents the available capacity or energy in the battery at any given time. The gas gauge adjusts this value for charge, self-discharge, and leakage compensation factors. When you use the Replace Member procedure, after data is copied from a hot spare to a new drive, the hot spare reverts from a rebuild drive to its original hot spare status. A drive property that indicates the revision level of the drive’s firmware. Predicted remaining battery life at the present rate of discharge in minutes. Acronym for Serial-Attached SCSI. SAS is a serial, point-to-point, enterprise-level device interface that leverages the Small Computer System Interface (SCSI) protocol set. The SAS interface provides improved performance, simplified cabling, smaller connectors, lower pin count, and lower power requirements when compared to parallel SCSI. LSI Corporation - 439 - MegaRAID SAS Software User Guide June 2012 Glossary SATA SCSI device type Serial no. Strip size Stripe size Striping Subvendor ID Temperature Uncorrectable error count Vendor ID Vendor info Virtual drive Virtual drive state Write-back Write policy Write-through Acronym for Serial Advanced Technology Attachment. A physical storage interface standard. SATA is a serial link that provides point-to-point connections between devices. The thinner serial cables allow for better airflow within the system and permit smaller chassis designs. A drive property indicating the type of the device, such as drive. A controller property indicating the manufacturer-assigned serial number. The portion of a stripe that resides on a single drive in the drive group. A virtual drive property indicating the length of the interleaved data segments that the RAID controller writes across multiple drives, not including parity drives. For example, consider a stripe that contains 64 KB of drive space and has 16 KB of data residing on each drive in the stripe. In this case, the stripe size is 64 KB and the strip size is 16 KB. The user can select the stripe size. A technique used to write data across all drives in a virtual drive. Each stripe consists of consecutive virtual drive data addresses that are mapped in fixed-size units to each drive in the virtual drive using a sequential pattern. For example, if the virtual drive includes five drives, the stripe writes data to drives one through five without repeating any of the drives. The amount of space consumed by a stripe is the same on each drive. Striping by itself does not provide data redundancy. Striping in combination with parity does provide data redundancy. A controller property that lists additional vendor ID information about the controller. T Temperature of the battery pack, measured in Celsius. U A controller property that lists the number of uncorrectable errors detected on drives connected to the controller. If the error count reaches a certain level, a drive will be marked as failed. V W A controller property indicating the vendor-assigned ID number of the controller. A drive property listing the name of the vendor of the drive. A storage unit created by a RAID controller from one or more drives. Although a virtual drive can be created from several drives, it is seen by the operating system as a single drive. Depending on the RAID level used, the virtual drive can retain redundant data in case of a drive failure. A virtual drive property indicating the condition of the virtual drive. Examples include Optimal and Degraded. In Write-Back Caching mode, the controller sends a data transfer completion signal to the host when the controller cache has received all of the data in a drive write transaction. Data is written to the drive subsystem in accordance with policies set up by the controller. These policies include the amount of dirty/clean cache lines, the number of cache lines available, and elapsed time from the last cache flush. See Default Write Policy . In Write-Through Caching mode, the controller sends a data transfer completion signal to the host when the drive subsystem has received all of the data and has completed the write transaction to the drive. LSI Corporation - 440 - 51530-00GInstalling and Configuring an SNMP Agent on a Linux Operating System
6.6.5
Installing and Configuring an SNMP Agent on the Solaris Operating System
6.7
6.8
Installing MegaCLI for VMware 5.0
MegaRAID Storage Manager Remotely Connecting to VMware ESX
6.9
Prerequisites to Running MegaRAID Storage Manager Remote Administration
Chapter 7: MegaRAID Storage Manager Window and Menus
7.1
7.2
Starting the MegaRAID Storage Manager Software
Discovery and Login
7.3
LDAP Support
7.4
Configuring LDAP Support Settings
7.5
MegaRAID Storage Manager Main Menu
7.5.1
Dashboard / Physical View/ Logical View
7.5.2
Physical Drive Temperature
7.5.3
7.5.4
Shield State
Shield State Physical View
7.5.5
Logical View Shield State
7.5.6
Viewing the Physical Drive Properties
7.5.7
Viewing Server Profile of a Drive in Shield State
7.5.8
Displaying the Virtual Drive Properties
7.5.9
Emergency Spare
7.5.10
SSD Disk Cache Policy
7.5.11
Non-SED Secure Erase Support
7.5.12
7.5.13
Rebuild Write Cache
Background Suspend or Resume Support
7.5.14
Enclosure Properties
7.6
Monitoring Battery Backup Units
7.7
7.7.1
GUI Elements in the MegaRAID Storage Manager Window and Menus
Icons
7.7.2
Properties and Graphical View Tabs
7.7.3
7.7.4
Event Log Panel
Menu Bar
Chapter 8: Configuration
8.1
8.1.1
Creating a New Storage Configuration
Selecting Virtual Drive Settings
8.1.2
8.1.3
8.1.4
Optimum Controller Settings for CacheCade
Optimum Controller Settings for FastPath
Creating a Virtual Drive Using Simple Configuration
8.1.5
Creating a Virtual Drive Using Advanced Configuration
8.2
Converting JBOD Drives to Unconfigured Good
8.2.1
Converting JBOD to Unconfigured Good from the MegaRAID Storage Manager Window
8.3
Adding Hot Spare Drives
8.4
Changing Adjustable Task Rates
8.5
Changing Power Settings
8.5.1
Enhanced Dimmer Switch Power Settings
8.5.2
Power Save Settings – Advanced
8.5.3
Automatically Spin Up Drives
8.5.4
Power-Save Mode
8.5.5
Power-Save Mode – SSD Drives
8.6
Recovering and Clearing Punctured Block Entries
8.7
Changing Virtual Drive Properties
8.8
Changing a Virtual Drive Configuration
8.8.1
Accessing the Modify Drive Group Wizard
8.8.2
Adding a Drive or Drives to a Configuration
8.8.3
Removing a Drive from a Configuration
8.8.4
Replacing a Drive
8.8.5
Migrating the RAID Level of a Virtual Drive
8.8.6
New Drives Attached to a MegaRAID Controller
8.9
Deleting a Virtual Drive
Chapter 9: Monitoring Controllers and Their Attached Devices
9.1
9.1.1
Alert Delivery Methods
Vivaldi Log/MegaRAID Storage Manager Log
9.1.2
9.1.3
System Log
Pop-up Notification
9.1.4
Email Notification
9.2
Configuring Alert Notifications
9.3
Editing Alert Delivery Methods
9.4
Changing Alert Delivery Methods for Individual Events
9.5
Changing the Severity Level for Individual Events
9.6
Roll Back to Default Individual Event Configuration
9.7
Entering or Editing the Sender Email Address and SMTP Server
9.8
Authenticating the SMTP Server
9.9
Adding Email Addresses of Recipients of Alert Notifications
9.10
Testing Email Addresses of Recipients of Alert Notifications
9.11
Removing Email Addresses of Recipients of Alert Notifications
9.12
Saving Backup Configurations
9.13
Loading Backup Configurations
9.14
Monitoring Server Events
9.15
Monitoring Controllers
9.16
Monitoring Drives
9.17
Running a Patrol Read
9.17.1
Patrol Read Task Rates
9.18
Monitoring Virtual Drives
9.19
Monitoring Enclosures
9.19.1
Monitoring Battery Backup Units
9.20
Battery Learn Cycle
9.20.1
Setting Automatic Learn Cycle Properties
9.20.2
Starting a Learn Cycle Manually
9.21
Monitoring Rebuilds and Other Processes
Chapter 10: Maintaining and Managing Storage Configurations
10.1
Initializing a Virtual Drive
10.1.1
Running a Group Initialization
10.2
Running a Consistency Check
10.2.1
Setting the Consistency Check Settings
10.2.2
Scheduling a Consistency Check
10.2.3
Running a Group Consistency Check
10.3
Scanning for New Drives
10.4
Rebuilding a Drive
10.4.1
New Drives Attached to a MegaRAID Controller
10.5
Making a Drive Offline or Missing
10.6
Removing a Drive
10.7
Upgrading the Firmware
Chapter 11: Using MegaRAID Advanced Software
11.1
MegaRAID Advanced Software
11.2
Recovery Advanced Software
11.2.1
11.2.2
MegaRAID Software Licensing
Managing MegaRAID Advanced Software
11.2.3
Activation Key
11.2.4
Advanced MegaRAID Software Status Summary
11.2.5
Application Scenarios and Messages
11.2.6
Activating an Unlimited Key over a Trial Key
11.2.7
Configuring Key Vault (Re-hosting Process)
11.2.8
Re-hosting Complete
11.2.9
Deactivate Trial Software
11.2.10
MegaRAID Recovery
11.2.11
Recovery Scenarios
11.2.12
Enabling the Recovery Advanced Software
11.2.13
Snapshot Repository
11.2.14
Selecting the Virtual Drive
11.2.15
Scheduling Snapshots
11.2.16
Editing Snapshots
11.2.17
Snapshot Base Details
11.2.18
Manage Snapshots
11.2.19
Editing Schedule
11.2.20
Advanced Settings
11.2.21
Create View Using Manage Snapshots Wizard
11.2.22
Viewing Snapshot Details
11.2.23
No View Details for Snapshot
11.2.24
No Snapshot Schedule
11.2.25
Graphical Representation of Repository Virtual Drive
11.2.26
Deleting a Snapshot
11.3
Disabling MegaRAID Recovery
11.4
Using the MegaRAID CacheCade Advanced Software
11.5
Using the MegaRAID CacheCade Pro 2.0 Software
11.5.1
Modifying the CacheCade Virtual Drive Properties
11.5.2
Enabling SSD Caching on a Virtual Drive
11.5.3
Disabling SSD Caching on a Virtual Drive
11.5.4
Enabling or Disabling SSD Caching on Multiple Virtual Drives
11.5.5
11.5.6
Modifying a CacheCade Drive Group
Clearing Configuration on CacheCade Pro 2.0 Virtual Drives
11.5.7
Removing Blocked Access
11.5.8
Deleting a Virtual Drive with SSD Caching Enabled
11.6
Fast Path Advanced Software
11.6.1
Setting Fast Path Options
11.7
LSI MegaRAID SafeStore Encryption Services
11.7.1
Enabling Drive Security
11.7.2
Changing Security Settings
11.7.3
Disabling Drive Security
11.7.4
Importing or Clearing a Foreign Configuration
11.8
Managing Link Speed
Appendix A Events and Messages
A.1
Error Levels
A.2
Event Messages
Appendix B MegaCLI Error Messages
B.1
Error Messages and Descriptions
Appendix C History of Technical Changes
Glossary

Download
Advertisement
Key features
- Supports all RAID levels, including RAID 0, 1, 5, 6, and 10
- Supports hot-swappable drives for easy maintenance
- Online capacity expansion allows you to add drives to your RAID array without taking it offline
- Data migration allows you to move data between RAID arrays without losing any data
- Advanced caching algorithms improve performance and reduce latency
- Email alerts notify you of any problems with your storage system
- Web-based management interface makes it easy to manage your storage system remotely