PowerEdge: How to Use the PowerEdge Expandable RAID Controller Command-Line Interface Utility
Summary: This article explains how to download, install, and use the Dell PowerEdge RAID Controller (PERC) Command-Line Interface (CLI) utility to manage your RAID controller. The utility is supported on PERC Series 8 and later family controllers on hosts running Windows, Linux, or ESXi. PERCCLI can also extract RAID controller logs which contain information that allows you or Dell Technical Support to determine the status of RAID controllers and the connected storage devices to narrow down possible sources of error. ...
Instructions
Access the PERCCLI in Microsoft Windows, Linux, or VMware:
PERCCLI in Windows
The videos are in English, more videos can be found in our Video Library.
Using PERCCLI in Windows
Duration: 00:01:55 (hh:mm:ss)
When available, closed caption (subtitles) language settings can be chosen using the CC icon on this video player.
Perform the following procedures to install and use PERCCLI in Windows operating systems:
-
Download the
Windows PERCCLI utilityfrom the Dell support site. Select your system, then Drivers & Downloads filtering by category SAS RAID or by using the keyword PERCCLI -
Extract the self-extracting downloaded file, and copy the
perccli.exeandperccli64.exefiles toC:\Windows\System32 directory -
From the command prompt, run any of the following example
PERCCLIcommands:Note:PERCCLIcommands require Administrative rights in Windows operating systems.Note: Depending upon the version of OS andperccli, the executable may beperccliorperccli64.Command
Action
perccli show
This shows a summary of controller and controller-associated information. The summary includes the number of controllers by index.
perccli /cx show termlog /cX specifies the controller where X is the controller index Example: If the controller index was 0 the command would be "perccli /c0 show termlog"
Creates the RAID controller log (
ttylog)perccli /cX /eall /sall show all > disks.txt /cX specifies the controller where X is the controller index Example: perccli /c0 /eall /sall show all > disks.txt
Creates the RAID controller log with all information for all slots on the controller
perccli /cX show eventloginfo > eventloginfo.txt /cX specifies the controller where X is the controller index Example: perccli /c0 show eventloginfo > eventloginfo.txt
Creates the RAID controller log with history of the log files
-
Download the Linux PERCCLI utility from the Dell support site. Select your system, then Drivers & Downloads filtering by category SAS RAID or by using the keyword PERCCLI
- To install the
percliRPM,run rpm -ivh <percli-x.xx-x.noarch.rpm>,or to upgrade thepercliRPM,run rpm -Uvh <percli-x.xx-x.noarch.rpm>. - Change the directory to
/opt/MegaRAID/perccli. - As a root user, run
./perccli. -
From the terminal window, run any of the following example PERCCLI commands:
Note: PERCCLI commands require root privileges in Linux.Note: Depending upon the version of OS andperccli, the executable may beperccliorperccli64.Command
Action
./perccli show
This shows a summary of controller and controller-associated information. The summary includes the number of controllers by index.
./perccli /cX show termlog /cX specifies the controller where X is the controller index Example: If the controller index was 0 the command would be "./perccli /c0 show termlog"
Creates the RAID controller log (
ttylog)./perccli /cX /eall /sall show all > disks.txt /cX specifies the controller where X is the controller index Example: ./perccli /c0 /eall /sall show all > disks.txt
Creates the RAID controller log with all information for all slots on the controller
./perccli /cX show eventloginfo > eventloginfo.txt /cX specifies the controller where X is the controller index Example: ./perccli /c0 show eventloginfo > eventloginfo.txt
Creates the RAID controller log with history of the log files
-
Download the
VMware PERCCLI utilityfrom the Dell support site. Select your system, then Drivers & Downloads filtering by category SAS RAID or by using the keyword PERCCLI -
Extract the
VMware_PERCCLI_xxxxx_x.x-xxx.xxxx.tar.gzto/vmfs/volume/datastore1on the host -
View the list of installed VIB packages using the following command:
esxcli software vib list -
Install the VIB package using the command:
esxcli software vib install -v /vmfs/volume/datastore1/vmware-perccli-xxx.xxxx.xxxx.xxxx.vib --no-sig-checkwhere/vmfs/volume/datastore1is the path detail of the VIB. -
You can remove the installed VIB by using the command:
esxcli software vib remove -n=vmware-esx-perccli.vib --force -
Run
perccliby browsing to the following location:cd/opt/lsi/perccli -
From the terminal window, run any of the following example PERCCLI commands:
Note: Depending upon the version of OS andperccli, the executable may beperccliorperccli64.Command
Action
./perccli show
This shows a summary of controller and controller-associated information. The summary includes the number of controllers by index.
./perccli /cX show show termlog logfile=log.txt /cX specifies the controller where X is the controller index Example: ./perccli /c0 show termlog logfile=log.txt
Creates the RAID controller log (
ttylog)./perccli /cX /eall /sall show all > disks.txt /cX specifies the controller where X is the controller index Example: ./perccli /c0 /eall /sall show all > disks.txt
Creates the RAID controller log with all information for all slots on the controller
./perccli /cX show eventloginfo > eventloginfo.txt /cX specifies the controller where X is the controller index Example: ./perccli /c0 show eventloginfo > eventloginfo.txt
Creates the RAID controller log with history of the log files
List of available PERC commands
See your PERC User's Guide or CLI Reference Guide for information about the specific commands that the controller supports. For PERC adapter documentation, go to Storage Adapters and Controllers, select your specific storage controller, and click the Documentation tab and then Manuals and Documents section.
In each manual, command lines are listed by category, for example:
Standard
- System commands (Including Show)
- Controller commands
- Drive commands
- Virtual drives commands
- Foreign configurations commands
More
- BIOS-related commands
- Drive group commands
- Dimmer switch commands
- BBU commands
- Enclosure commands
- PHY commands
- Logging commands
- PERC CLI command examples
Additional Information
Install PERCCLI on Red Hat, Ubuntu, ESXi, and Windows.
Duration: 00:08:24 (hh:mm:ss)
When available, closed caption (subtitles) language settings can be chosen using the CC icon on this video player.