Power path installation and config in Linux servers




1. Before install power path ,modify the lvm.conf file filter options

#vi /etc/lvm/lvm.conf

 filter =[ "a|/dev/cciss|", "a|/dev/emc|", "r/.*/" ]

Note : Modify the filter as needed using standard shell-scripting regular    
expressions. For example, to include partitions sda1 to sda9 for LVM2 while filtering out the remaining sd device nodes, set the filter  field to
 filter=["a/sda[1-9]$/", "r/sd*/", "a/.*/"].


2. Rebuild the LVM2 cache. Enter:


 # vgscan -v

3.verify the filter is working fine

 # lvmdiskscan


4. Recreate the initrd image to reflect the changes to the /etc/lvm/lvm.conf file. Enter:

 # mkinitrd

 ( ex  - /sbin/mkinitrd -v -f /boot/initrd-2.6.18-164.el5.img  initrd-2.6.18-164.el5 )
===========================

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.


# 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.Start the Power path service

# /etc/init.d/PowerPath start

5. Verify Multiple Paths using below commands

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

root:ngmlx003# powermt display dev=all |more
Pseudo name=emcpowerac
Symmetrix ID=000290103691
Logical device ID=15AA
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
==============================================================================
   2 qla2xxx                  sdaa      FA 10aA   active  alive       0      0
   3 qla2xxx                  sdbe      FA  7aA   active  alive       0      0
   4 qla2xxx                  sdci      FA 13aA   active  alive       0      0
   5 qla2xxx                  sddm      FA  4aA   active  alive       0      0

Pseudo name=emcpowerab
Symmetrix ID=000290103691
Logical device ID=1628
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
==============================================================================
   2 qla2xxx                  sdab      FA 10aA   active  alive       0      0
   3 qla2xxx                  sdbf      FA  7aA   active  alive       0      0
   4 qla2xxx                  sdcj      FA 13aA   active  alive       0      0
   5 qla2xxx                  sddn      FA  4aA   active  alive       0      0



Post a Comment

0 Comments