Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

How to Install PERCCLI utility on Red Hat Linux, Ubuntu Linux, VMware ESXi, and Windows Server.

Summary: How to Install PERCCLI utility on Red Hat Linux, Ubuntu Linux, VMware ESXi, and Windows Server.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

How to Install PERCCLI utility on Red Hat Linux, Ubuntu Linux, VMware ESXi, and Windows Server.

 
NOTE: Often in other PERCCLI utility documentation, you see examples of PERCCLI commands referencing the utility name as "perccli."  The name of the most recent iterations of PERCCLI show as "perccli64." 
 

Table of Contents


1:  Installing PERCCLI on Red Hat Linux:
2: Installing PERCCLI on Ubuntu Linux
3:  Installing PERCLI on VMware ESXi
4:  Installing PERCLI on Windows Server

 

1:  Installing PERCCLI on Red Hat Linux:

 

Copy PERCCLI utility to server


If the customer has a user interface and can browse, you can navigate to the Dell.com/support site and download the utility.
When working in the command line, there are a couple of different methods we can use.

Method 1:  Transferring using SSH and FTP client.

Open the terminal on Red Hat Installation.
Opening Terminal in RHEL

Figure 1:  Opening Terminal in RHEL

Change to root user.  This is optional, but you may need to input "sudo" for commands that require root privileges.
                Command: 

su -


Changing to root user

Figure 2:  Changing to root user

In this example, we have an SSH service.  You can use scp commands to transfer files from another Linux host to this.  A more user friendly option would be to use an FTP Client, such as Filezilla, or WinSCP.  For this example, I am using WinSCP.



WinSCP details connecting via SFTP to server.
Figure 3: WinSCP details connecting using SFTP to the server.

In the above screenshot you see key points in WinSCP. 
NOTE: Some personally identifiable information is blacked out.
1 - Create a new Session.  This opens a submenu to put server information in.
2 - Click New Site to begin entering server information.
3 - Input server information.  Use SFTP and Port 22 as the protocol to transfer over the SSH tunnel.  Enter hostname or IP address, user credentials to connect.

Once logged in to the server, you can browse the file structure of the server.
  I have moved to the /tmp directory as an example for this article.
Drag the PERCCLI file over to the right side to begin transferring to the server.  You see the file in the file system once transfer completes.
Use the ls command to list items in the directory within the terminal.


WinSCP directories of workstation and server.
Figure 4: WinSCP directories of workstation and server.

WinSCP showing file transferred.
Figure 5: WinSCP showing file transferred.

File shown in terminal after transferred via WinSCP.
Figure 6: File shown in the terminal after transferred using WinSCP.
 

Method 2:  Using the wget command


Browse to the Dell.com/support site and find the PERCCLI utility file. 
Copy the Link Address of the file.
Downloading PERCCLI utility Linux package from Dell support site

Figure 7:  Downloading PERCCLI utility Linux package from Dell support site

Back on the server, type the command:
             
wget <PERCCLI link>


In this example, I am using the iDRAC Virtual Console’s Virtual Clipboard to send the copied link to the server through the iDRAC.
wget command in terminal
Figure 8:  wget command in terminal



Copy and Paste function in iDRAC virtual clipboard to sent file link to server
Figure 9:  Copy and Paste function in iDRAC virtual clipboard to send file link to server

wget command with full link in terminal after pasting via iDRAC virtual clipboard
Figure 10:  wget command with full link in terminal after pasting using iDRAC virtual clipboard

Press Enter and you see the file downloading, and can verify it once complete with the ls command.

File downloaded with wget command

Figure 11:  File downloaded with the wget command  


Extract the File


Extract and Untar the file. 
NOTE: When typing the command, you can type the first letters of the PERC utility and press <Tab>, and it finishes the line for you.  IT is case sensitive, so make sure to use CAPITALS if the filename uses capitals. 
Use the command:                
tar xzvf PERCCLI_7.2313.0_A14.Linux.tar.gz

Once complete, you can use the ls command and see a PERCCLI directory.

PERCCLI directory after extraction of file.
Figure 12:  PERCCLI directory after extraction of file.

Navigate to the extracted directory.  Like when untarring a file, you can type the cd command, and then the first letters of the directory name and press <Tab> to auto-complete.
When in the directory, you see files.  For this Red Hat environment, we use the .rpm file.
List of files in extracted directory.  In RHEL, the rpm file is used.
Figure 13:    List of files in the extracted directory.  In RHEL, the rpm file is used.

Highlighting rpm file in terminal.
Figure 14:    Highlighting rpm file in terminal.
 

Install PERCCLI


In this Red Hat Installation, we use the rpm command to install.  Press <Tab> to auto-complete the file name.
               
rpm -ivh perccli-007.2313.0000.0000-1.noarch.rpm


RPM command to install utility.

Figure 15:    RPM command to install utility.

Once Installed, navigate to the install location.  You see the PERCCLI utility. 
               
 cd /opt/MegaRAID/perccli



Navigation to PERCCLI install directory.
Figure 16:  Navigation to the PERCCLI install directory.

PERCCLI utility perccli64 shown in terminal.
Figure 17:  PERCCLI utility perccli64 shown in terminal.
 

Run Some Commands


You can now run your PERCCLI commands.  When in the PERCCLI directory, start the command with ./perccli64.  If you are not in that directory, you can type out the full directory to invoke it, /opt/MegaRAID/perccli/perccli64.

Here as an example, we issue commands to show controllers, and then show details about that controller.
               
./perccli64 show


Running command ./perccli64 /show.
Figure 18:  Running command ./perccli64 /show.

Details show we have one controller, an HBA330.  The Controller has been enumerated as controller 0.
NOTE: In most installations there will be a single PERC controller, listed as controller 0.  Be aware of configurations that may have more than one controller. Be sure you are targeting Controller 0, Controller 1, and so forth

Now we can call out controller 0 in other commands.  Commands in the format of ./perccli64 /cx, where "x" is the number of the controller we want to use. 
               
 ./perccli64 /c0 show



Running command ./perccli64 /c0 show.
Figure 19:  Running command ./perccli64 /c0 show.

Output of PERCCLI show commands.
Figure 20:  Output of PERCCLI show commands.

You see it displays different aspects of the controller, such as Firmware version and SAS Address.
 

2: Installing PERCCLI on Ubuntu Linux


In this example, we do not have a user interface like in the Red Hat example.  This does not change anything however, we did everything from the terminal anyway.  Use an FTP client to transfer over SSH, or the wget command to download the utility.

The only real difference in Ubuntu is the file that we use to install.  Instead of the rpm file, we install using the .deb file.
Debian file .deb shown in Ubuntu command shell.
Figure 21:  Debian file .deb shown in the Ubuntu command shell.  

Like in Red Hat, you can press the <Tab> key after typing the first characters of the file to auto-complete.  Install using the command:
               
dpkg -i perccli_007.1623.0000.0000_all.deb



Once installed you can navigate to /opt/MegaRAID/perccli and begin running commands, same as in the Red Hat example.
 

3:  Installing PERCLI on VMware ESXi

 

Copy PERCCLI utility to server


In this example we have a fresh install of ESXi 7.0. 
To use an FTP client as we did in the Linux examples, we first must enable SSH.  We also must enable the Command Shell to run perccli commands once it gets installed.
On the opening Screen press the <F2> key, and it brings up a login menu.  Once you enter credentials the System Menu pulls up.  Navigate to "Troubleshooting Options."
Enable "ESXi Shell", also enable "SSH."

ESXi new install
Figure 22:  new ESXi install 

ESXi login
Figure 23:  ESXi login

ESXi Troubleshooting Options.
Figure 24:  ESXi Troubleshooting Options.

Enable ESXi Shell, Enable SSH
Figure 25:  Enable ESXi Shell, Enable SSH

With SSH Enabled, we cannot transfer using an FTP client, same as in the Linux examples. 
For this example, I use the vSphere user interface to transfer to the datastore.
Use the IP Address for the host found on the main screen.


IP Address shown on ESXi main screen.
Figure 26:  IP Address shown on the ESXi main screen.

Use that IP address and type it in to a browser on any machine on the network.  It brings up the login portal, and you can enter the credentials to log in.

ESXi web client login through browser.
Figure 27:  ESXi web client login through browser.

Once in, go to Storage, and then click on the datastore.  Then clock on the datastore browser.
A submenu appears, and you can then click Upload.

Web Client main screen navigation to Storage.
Figure 28:  Web Client main screen navigation to Storage.

Datastore selection in web client.
Figure 29:  Datastore selection in web client.

Datastore Browser.
Figure 30:  Datastore Browser.

The VMware install file comes as a .zip file.  It is advised to extract this .zip file. 
Once extracted, drill down into the directories to find the .vib file.
              <Extracted .zip folder> à  <ESXi version folder> à  vib20 à  vmware_perccl64 à .vib file


Extraction of ESXi PERCCLI zip file on Windows workstation.
Figure 31:  Extraction of ESXi PERCCLI .zip file on Windows workstation.

Upload of .vib file to datastore.
Figure 32:  Upload of .vib file to datastore.

Now that the file is uploaded, let us go back to the server console.
We want to access the command line shell.  Press <Alt> + <F1> to get to the command line, and login.
 

Install PERCCLI

Once logged in, navigate to the datastore directory. 
On this clean install of ESXi with no additional modification, you can navigate to:
/vmfs/volumes/datastore1/
 
NOTE: datastore1 is the default name of this datastore.  Customers may have modified this.

Once there you can use the ls command to verify the .vib file is there.
List content of datastore to verify file is uploaded.
Figure 33:  List the content of the datastore to verify a file is uploaded.

To install, use the command:
               
esxcli software vib install -v /vmfs/volumes/datastore1/<filename of .vib file>

                Remember to use <TAB> key to autofill the rest of the filename.

Command to install PERCCLI .vib file.
Figure 34:  Command to install PERCCLI .vib file.

Now we must navigate to the directory.  The directory in ESXi is different than that of Linux installs.
Navigate to:
 /opt/lsi/perccli64


Commands can now be run same as in the Linux examples.

Navigation to PERCCLI directory.
Figure 35:  Navigation to the PERCCLI directory.

Running PERCCLI commands in ESXi command shell.
Figure 36:  Running PERCCLI commands in the ESXi command shell.

4:  Installing PERCLI on Windows Server


Starting by downloading the package from the Dell support website.  Once downloaded, run the package and it extracts PERCCLI contents to a folder.
In this example, I changed the default folder to C:\PERCCLI

Windows PERCCLI utility on Dell support site download.

Figure 37:  Windows PERCCLI utility on Dell support site download.

PERCCLI EXE file downloaded on Windows server.
Figure 38:  PERCCLI EXE file downloaded on Windows server.

Extraction of PERCCLI file.
Figure 39:  Extraction of PERCCLI file.

Navigate to the folder in the command line.  An easy way to do this in to navigate there in the Windows Explorer user interface.  Then type "cmd" on the address bar, and it opens a command line already in that folder.
We can then invoke the PERCCLI utility as in other examples.



Extracted PERCCLI file.
Figure 40:  Extracted PERCCLI file.


PERCCLI show command.
Figure 41:  PERCCLI show command.


PERCCLI controller show command.
Figure 42:  PERCCLI controller show command.












 
 
 
 

Article Properties


Affected Product

PowerEdge

Last Published Date

28 Sep 2023

Version

1

Article Type

How To