Home > EMC, HP-UX, Storage > EMC PowerPath basic commands

EMC PowerPath basic commands

PowerPath is a multipathing software for Unix operating systems from EMC. If you have ever worked or you are going to work in an environment that includes EMC storage systems it is more than sure that Powerpath will be installed in the Unix hosts.

Following are some notes and tips I’ve been creating since the very first time I found Powerpath, of course this isn’t a full user guide but a sort of personal quick reference. I decide to put it here in the hope that it will be helpful to anyone and for my personal use.

  • Show powermt command version
[root@totoro] / # powermt version
EMC powermt for PowerPath (c) Version 5.1.0 (build 160)
  • Display PowerPath configuration.
[root@totoro] / # powermt display
Symmetrix logical device count=898
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
 5 0/2/1/0.101.16.19.0           optimal      61      0       -     0      0
 6 0/2/1/0.101.16.19.1           optimal     102      0       -     0      0
 7 0/2/1/0.101.16.19.2           optimal      97      0       -     0      0
 8 0/2/1/0.101.16.19.3           optimal     113      0       -     0      0
 9 0/2/1/0.101.16.19.4           optimal      82      0       -     0      0
 11 0/2/1/0.101.43.19.0           optimal     128      0       -     0      0
 12 0/2/1/0.101.43.19.1           optimal      49      0       -     0      0
 13 0/2/1/0.101.43.19.2           optimal      57      0       -     0      0
 14 0/2/1/0.101.43.19.3           optimal      83      0       -     0      0
 15 0/2/1/0.101.43.19.4           optimal      74      0       -     0      0
 16 0/2/1/0.101.43.19.5           optimal      33      0       -     0      0
 17 0/2/1/0.101.43.19.6           optimal      19      0       -     0      0
 19 0/5/1/0.102.16.19.0           optimal      61      0       -     0      0
 20 0/5/1/0.102.16.19.1           optimal     102      0       -     0      0
 21 0/5/1/0.102.16.19.2           optimal      97      0       -     0      0
 22 0/5/1/0.102.16.19.3           optimal     113      0       -     0      0
 23 0/5/1/0.102.16.19.4           optimal      82      0       -     0      0
 25 0/5/1/0.102.43.19.0           optimal     128      0       -     0      0
 26 0/5/1/0.102.43.19.1           optimal      49      0       -     0      0
 27 0/5/1/0.102.43.19.2           optimal      57      0       -     0      0
 28 0/5/1/0.102.43.19.3           optimal      83      0       -     0      0
 29 0/5/1/0.102.43.19.4           optimal      74      0       -     0      0
 30 0/5/1/0.102.43.19.5           optimal      33      0       -     0      0
 31 0/5/1/0.102.43.19.6           optimal      19      0       -     0      0

[root@totoro] / #
  • Check for death paths and remove them.
[root@sheldon] / # powermt display
Symmetrix logical device count=34
CLARiiON logical device count=0
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
----- Host Bus Adapters ---------  ------ I/O Paths -----  ------ Stats ------
###  HW Path                       Summary   Total   Dead  IO/Sec Q-IOs Errors
==============================================================================
 17 UNKNOWN                       failed        1      1       -     0      0
 31 UNKNOWN                       failed        1      1       -     0      0
 37 1/0/14/1/0.109.85.19.0        optimal      32      0       -     0      0
 39 0/0/14/1/0.110.85.19.0        optimal      32      0       -     0      0

[root@sheldon] / # powermt check
Warning: Symmetrix device path c17t9d6 is currently dead.
Do you want to remove it (y/n/a/q)? y
Warning: Symmetrix device path c31t9d6 is currently dead.
Do you want to remove it (y/n/a/q)? y
[root@sheldon] / #
  • List all devices.
[root@totoro] / # powermt display dev=all
  • Remove all devices.
[root@totoro] / # powermt remove dev=all
  • Add a new disk in HP-UX, configure it and save the config:

After a rescan of the disks with ioscan and the creation of the device files with insf run the following command  to add the new disk to PowerPath

[root@totoro] / # powermt config

Now display all the devices and look the for the Logical device ID of the disk.

[root@totoro] / # powermt display dev=all | more
...
...
Symmetrix ID=000287750035
Logical device ID=0004
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
20 0/0/10/1/0.11.15.0.0.1.3 c20t1d3 SP A0 active alive 0 1
23 0/0/10/1/0.11.47.0.0.1.3 c23t1d3 SP B0 active alive 0 1
26 1/0/8/1/0.21.15.0.0.1.3 c26t1d3 SP A1 active alive 0 1
29 1/0/8/1/0.21.47.0.0.1.3 c29t1d3 SP B1 active alive 0 1
...
...

If everything went fine save the config.

[root@totoro] / # powermt save

And these are the most common tasks I’ve been doing with PowerPath. I’ll try to put some order into my notes and personal how-to files and write more posts like this one.

Juanma.

About these ads
  1. srikanth
    January 7, 2011 at 02:44 | #1

    how to increase the voulem size by useing powervol command

    please gailve example

  2. March 3, 2013 at 18:03 | #2

    Thanks for your effort for writing “EMC PowerPath basic commands | Juanma’s Blog” z-ita.com . I personallymight really be back for even more reading through and writing comments soon. I am grateful, Dennis

  3. Simranjit Singh
    April 4, 2013 at 14:42 | #3

    great , totally helpfull….cheers

  4. April 17, 2013 at 12:51 | #4

    Nice blog right here! Additionally your site so much up very fast!
    What web host are you using? Can I am getting your associate hyperlink on your host?
    I wish my site loaded up as fast as yours lol

  5. April 18, 2013 at 04:13 | #5

    You are so interesting! I do not believe I’ve truly read through anything like this before. So wonderful to discover another person with original thoughts on this issue. Seriously.. many thanks for starting this up. This website is something that is required on the web, someone with a bit of originality!

  6. July 16, 2013 at 20:21 | #6

    I know this site presents quality based posts and additional stuff, is there any other web site which
    provides these kinds of stuff in quality?

  7. July 27, 2013 at 22:24 | #7

    Hello. I learn a few of your other posts and desired to give thanks
    you

  8. August 4, 2013 at 08:47 | #8

    Hi, I do believe this is an excellent website. I stumbledupon it ;) I am going to return yet
    again since i have saved as a favorite it. Money and freedom is the greatest
    way to change, may you be rich and continue to help others.

  9. November 28, 2013 at 05:54 | #9

    I am really loving the theme/design of your website. Do you ever run into any browser compatibility issues?
    A couple of my blog readers have complained about my
    website not operating correctly in Explorer but looks great in Chrome.
    Do you have any ideas to help fix this problem?

  10. February 12, 2014 at 15:03 | #10

    I’m curious to find out what blog platform you’re using?
    I’m having some small security problems with my latest blog and I’d like to find something more safe.
    Do you have any solutions?

  11. March 1, 2014 at 03:56 | #11

    Eveery member of the National Association of thee Remodeling
    Industry NARI is raising awareness of the dangers of lead exposure due to a recent survey.
    From traffic flow to added storage, all your home decor.
    House owners, do-it-yourself projects are a fact
    home remodeling contractors of life. Thiss can yield big dividends forr a small budget, hey usually agree that making the undertaking pleasurable
    is the key to sucxess is too check their license.

  12. March 4, 2014 at 19:15 | #12

    Hi there fantastic blog! Does running a blog such as this require a massive
    amount work? I’ve very little expertise in computer programming however I had been hoping to start my own blog
    soon. Anyways, should you have any recommendations or tips for
    new blog owners please share. I understand this is off subject however I just
    had to ask. Kudos!

  13. March 7, 2014 at 04:19 | #13

    Very son this site will be famous amid all blogging people, due to it’s good content

  14. April 9, 2014 at 11:33 | #14

    I’m truly enjoying the design and layout of your blog.
    It’s a very easy on the eyes which makes it much more pleasant for me to
    come here and visit more often. Did you hire
    out a developer to create your theme? Outstanding work!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 197 other followers

%d bloggers like this: