How To Install and Configure DellEMC PowerPath on Linux (RHEL/CentOS)

NOTICE: Before you start DellEMC powerpath installation and configuration, make sure HBA cards are installed on the server and Fiber channel switches are zoned properly.

  1. Install EMC Powerpath on Linux
    Download the Powerpath software from DellEMC powerlink website. If you’ve purchased EMC support, you should have access to powerlink.
[root@unixonline ~]# tar -xzf DellEMCPower.LINUX-7.4.0.b201.tar.gz 
[root@unixonline ~]# ls
DellEMCPower.LINUX-7.4.0.00.00-201.OL7.x86_64.rpm    DellEMCPower.LINUX-7.4.0.00.00-201.RHEL8.x86_64.rpm      DellEMCPower.LINUX-7.4.0.b201.tar.gz
DellEMCPower.LINUX-7.4.0.00.00-201.OL8.x86_64.rpm    DellEMCPower.LINUX-7.4.0.00.00-201.SLES12SP5.x86_64.rpm
DellEMCPower.LINUX-7.4.0.00.00-201.RHEL7.x86_64.rpm  DellEMCPower.LINUX-7.4.0.00.00-201.SLES15SP3.x86_64.rpm

In this example, DellEMC Powerpath 7 ( DellEMCPower.LINUX-7.4.0.00.00-201.RHEL7.x86_64.rpm ) is installed on Red Hat 7.

[root@unixonline ~]# DellEMCPower.LINUX-7.4.0.00.00-201.RHEL7.x86_64.rpm --test
Preparing...                ########################################### [100%]


[root@unixonline ~]# rpm -ivh DellEMCPower.LINUX-7.4.0.00.00-201.RHEL7.x86_64.rpm
Preparing...               ################################# [100%]                     
Updating / installing...   ################################# [100%]
   1:EMCpower.LINUX-7.4.0.00.00-201.el                                  
All trademarks used herein are the property of their respective owners.
  
*** IMPORTANT *** 
Please check the following configurations before starting PowerPath:
   - Set LVM global_filter in /etc/lvm/lvm.conf according to PowerPath recommendation.
   - Blacklist all devices in /etc/multipath.conf and stop multipathd service.
   - Install PowerPath license(s) and ensure that policy is not set to BasicFailover.
   - If no license is available, ensure that only one HBA port is active in the host.
     PowerPath supports only single-HBA configuration when unlicensed.
Refer to PowerPath Installation and Administration Guide for details.
  

Installation or use of PowerPath software indicates agreement with the
End User License Agreement available at /etc/opt/emcpower/EULA.pdf.

Non Disruptive Upgrade (NDU) is supported from PowerPath Linux 6.5 or higher releases.
Please refer to support documents for more information.

2. Start DellEMC Powerpath Service

[root@unixonline ~]# systemctl start PowerPath.service
  1. Register DellEMC Powerpath License
    Before you can use the DellEMC powerpath software, you should register it using the DellEMC Powerpath License key received when you purchased the software from EMC.

Use emcpreg tool to install DellEMC Powerpath license key as shown below.

[root@unixonline ~]# emcpreg -install

===========   Dell EMC PowerPath Registration ===========
Do you have a new registration key or keys to enter?[n] y
                  Enter the registration keys(s) for your product(s),
                  one per line, pressing Enter after each key.
                  After typing all keys, press Enter again.

Key (Enter if done): xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
1 key(s) successfully added.
Key successfully installed.

Key (Enter if done): 
1 key(s) successfully registered.
  1. Verify DellEMC Powerpath Registration
    Use DellEMC powermt command to check the registration as shown below.
[root@unixonline ~]# powermt check_registration

Key xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
  Product: PowerPath
  Capabilities: All

5. Checks for available EMC SAN logical devices and add those to PowerPath configuration list.

[root@unixonline ~]# powermt config
  1. Verify Multiple Paths and Disks

Once you’ve installed DellEMC powerpath, execute powermt display as shown below to displays information about HBAs or devices configured for and managed by PowerPath.

[root@unixonline ~]# powermt display
XtremIO logical device count=1 (SCSI)
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
  3  qla2xxx                       optimal       2      0       -     0      0
  4  qla2xxx                       optimal       2      0       -     0      0
  
  
[root@unixonline ~]# powermt display dev=all
Pseudo name=emcpowera
XtremIO ID=CKM00175730921 [TS-W1-X1]
Logical device ID=514F0D7F0R90033T [W1-X1_unixonline]
state=alive; policy=ADaptive; queued-IOs=0; protocol=SCSI; size=1.00T
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
  4  qla2xxx               sdf         X3-C1-f1  active   alive       0      0
  4  qla2xxx               sde         X4-C1-f1  active   alive       0      0
  3  qla2xxx               sdd         X2-C1-f2  active   alive       0      0
  3  qla2xxx               sdc         X1-C1-f2  active   alive       0      0

7. Saves the PowerPath settings in the file powermt.custom

[root@unixonline ~]# powermt save

Leave a Comment