Thursday, 5 February 2009

Basic power path commands

With EMC's PowerPath product it may be useful to check the status of what is available as far as PowerPath is concerned.

Use the "powermt display" command for this.

EXAMPLE:

# powermt display
total emcpower devices: 94, highest device number: 93
==============================================================================
------------ Adapters ------------ ----- Device Paths ------ --- Queued ---
## Switch Name Summary Total Closed IOs Blocks
==============================================================================
0 Enabled sbus@1f/fcaw@0 Optimal 94 0 0 0
1 Enabled sbus@1f/fcaw@2 Optimal 94 0 0 0

This shows us that there are 2 paths that PowerPath is using and both of them are online and functioning at optimal performance.



It is possible to search further by using the "powermt display dev=" command.

EXAMPLE:

# powermt display dev=c1t0d93
emcpower91: state=operational, policy=symm_opt, priority=0, IOs in progress=0
Symmetrix ID=0184502576
==============================================================================
------ Adapter ------ --------- Device Path ---------- Serial Queued Errs
## Name Mode Link ID State Number IOs
==============================================================================
0 sbus@1f/fcaw@0 Active c1t0d93 sd2681 Open 7611D000 0 0
1 sbus@1f/fcaw@2 Active c2t1d93 sd2572 Open 7611D000 0 0



To see all devices use the following command :"powermt display dev=all"

No comments: