≡ Menu

How To Install and Configure EMC PowerPath on Linux

Question: How do I install and configure EMC Powerpath software on Linux environment?

Answer: Before you start EMC 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 EMC powerlink website. If you’ve purchased EMC support, you should have access to powerlink.

In the following example, EMC Powerpath 5 ( EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm ) is installed on Red Hat 5. (for CLARiiON Array)

# rpm -ivh EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm --test
Preparing...                ########################################### [100%]

# rpm -ivh EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm
Preparing...                ########################################### [100%]
   1:EMCpower.LINUX         ########################################### [100%]
All trademarks used herein are the property of their respective owners.
NOTE:License registration is not required to manage the CLARiiON AX series array.

2. Register EMC Powerpath

Before you can use the EMC powerpath software, you should register it using the EMC Powerpath License key received when you purchased the software from EMC.

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

# emcpreg -install

===========   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): **emc-powerpath-license-key**
1 key(s) successfully added.
Key successfully installed.

Key (Enter if done):
Key  is invalid, ignored.
Try again or press Enter if done.
1 key(s) successfully registered.

3. Verify EMC Powerpath Registration

Use EMC powermt command to check the registration as shown below.

# powermt check_registration

Key **emc-powerpath-license-key**
  Product: PowerPath
  Capabilities: All

4. Verify Multiple Paths

Once you’ve installed EMC powerpath, execute powermt display dev=all as shown below to verify whether multiple paths as displayed accordingly.

# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=00000000000 [db-server]
Logical device ID=12121212121212 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
  1 QLogic Fibre Channel 2300 sdb        SP A4     active  alive      0      0
  1 QLogic Fibre Channel 2300 sdd        SP B4     active  alive      0      0
  2 QLogic Fibre Channel 2300 sdf        SP A5     active  alive      0      0
  2 QLogic Fibre Channel 2300 sdh        SP B5     active  alive      0      0
Add your comment

If you enjoyed this article, you might also like..

  1. 50 Linux Sysadmin Tutorials
  2. 50 Most Frequently Used Linux Commands (With Examples)
  3. Top 25 Best Linux Performance Monitoring and Debugging Tools
  4. Mommy, I found it! – 15 Practical Linux Find Command Examples
  5. Linux 101 Hacks 2nd Edition eBook Linux 101 Hacks Book

Bash 101 Hacks Book Sed and Awk 101 Hacks Book Nagios Core 3 Book Vim 101 Hacks Book

Comments on this entry are closed.

  • Rahul June 21, 2010, 1:12 am

    very useful information. Thanks a lot

  • Juan June 23, 2010, 9:55 am

    nice …! useful … but if i want to add a new LUN to the server, how can i refresh that lun without reboot?

  • Tami June 27, 2010, 6:48 am

    Does it requires a reboot after installation? Another question , could the installation of the Power Path cause to device files to be changed?

  • Mike May 19, 2011, 9:22 pm

    Juan – adding luns to powerpath depends on the OS and it’s ability to scan for new devices. Assuming this can be done without a reboot, as most modern OS’s can, then you would simply run ‘powermt config’ to add the new luns to powerpath for management. Though, often this happens automagically so you don’t have to do anything.

  • Graham December 15, 2011, 1:25 am

    How does PowerPath get started at boot time?
    I have it installed on RHEL 5.3
    I see an start script in /etc/init.d but no link to this in any of the /etc/rc.[0-5].d/ directories.

  • Joao Ferreira March 29, 2012, 3:26 pm

    Hello Ramesh Natarajan,

    Congratulations on the article.

    Ramesh, get me out a doubt I just installed PowerPath and when I type:

    [root @ xxxx emcpower] # powermt display dev = all
    Device (s) not found.

    Sorry, my ignorance more could you give me any tips?

    thank you

  • Fouad Kazma December 2, 2013, 8:23 am

    When I type command # powermt display dev = all on an ESX 5.0.0 U2 ESX host I get an error powermt: not found. Can someone tell me how to resolve this error? Thanks

  • Mike Schwager January 25, 2018, 3:41 pm

    Before you can check your registration, you have to enable and start PowerPath:

    systemctl start PowerPath
    systemctl enable PowerPath

    …This is on RedHat 7 and later.

    The install did not do this for me.