Knowledge Base

13G PowerEdge Servers – RAID controller log export using PercCLI tool on Windows and Linux hosts


This article provides detailed information about the export of RAID controller logs via the PERCCLI tool on Windows and Linux hosts. The tool is designed for Dell PowerEdge servers of the 13th generation with Windows, Linux or ESXi installed. The logs contain data, which alllow the Dell Tech Support to determine the status of RAID controllers and the connected disk devices to narrow down possible sources of error. ​


Table of Contents:

  1. Advanced Information

  2. Directions

  3. Download and Installation

  4. Video: Using PERCCLI in Windows


1. Advanced Information

To export information about the status of the RAID controller and its attached hard drives, you can use the PERCCLI tool. Below you will find all the necessary steps to create the appropriate diagnostic files. The tool only captures information about the hardware status and operations, but not about about any data written on the devices. Furthermore it can be used without a restart of the server and it delivers the results instantly.


2. Directions

Supported OS

  • Windows (Windows Server 2003/2008/2012)

  • Linux (SLES, RHEL, XenServer, other distributions)

  • ESXi (5.x and above)

Supported Controllers:

  • PERC H330

  • PERC H730

  • PERC H730P

  • PERC H830


3. Download and Installation

  1. Download the PERCCLI tool in the latest version from the Dell support website via the following link PERCCLI

  2. Unzip the downloaded file and copy the contents to a directory on the server or host system.

    E.g.:
    In Windows - C:\temp\perccli
    In Linux - /tmp/perccli

  3. Prepare PERCCLI for usage:

    1. Installation on Windows:

      • on Windows systems, no additional installation is required

    2. Installation on Linux:

      • on Linux systems the installation of <perccli-x.x.x.x.noarch.rpm> RPM is required, which is part of the perccli-1.x.x.x.x.tar.gz in the perccli-1.x.x.x.x.tar file.

      • The following steps are required for installation:

        1. To install, run the following command:
          rpm -ivh < perccli-x.x.x.x.noarch.rpm >

        2. to upgrade the PERCCLI RPM, execute the following command:
          rpm -Uvh < perccli-x.x.x.x.noarch.rpm >

    Note: PERCCLI must be run with administrator privileges!

  4. Open a terminal in Linux or a command prompt in Windows operating systems and navigate to the folder created before.

    Note: Under Linux PERCCLI is installed by default in the following directory: /opt/MegaRAID/perccli

  5. Now run the following commands sequentially:

    /cx = Controller (c0 = first controller; c1 = secound controller)


    Windows

    Command

    Description

    perccli /cx show termlog > termlog.txt

    Creates the RAID controller log (ttylog).

    perccli /cx /eall /sall show all > disks.txt

    Creates a list with information about the RAID controllers, virtual disks and hard disks installed.

    perccli /cx/bbu show all > battery.txt

    Creates a detailed list of the battery status of the RAID controller (state of charge, learning cycle, etc.).

    perccli -AdpEventLog -IncludeDeleted
    -f deleted.txt -aALL

    Creates the RAID controller log (ttylog) with all information since very first controller initialisation.


    Linux

    Command

    Description

    ./perccli /cx show termlog > termlog.txt

    Creates the RAID controller log (ttylog).

    ./perccli /cx /eall /sall show all > disks.txt

    Creates a list with information about the RAID controllers, virtual disks and hard disks installed.

    ./perccli /cx/bbu show all > battery.txt

    Creates a detailed list of the battery status of the RAID controller (state of charge, learning cycle, etc.)

    ./perccli -AdpEventLog -IncludeDeleted
    -f deleted.txt -aALL

    Creates the RAID controller log (ttylog) with all information since very first controller initialisation.


    A list of all other commands can be found in the reference guide.

  6. Create a ZIP archive out of the text files and send it to Dell Support for further diagnosis.


4. Video: Using PERCCLI in Windows


Need more help?
Find additional PowerEdge and PowerVault articles

Visit and ask for support in our Communities

Create an online support Request




Article ID: SLN295890

Last Date Modified: 03/27/2017 10:44 PM


Rate this article

Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Feedback shows invalid character, not accepted special characters are <> () &#92;
Sorry, our feedback system is currently down. Please try again later.

Thank you. Your feedback has been sent.