标签:
RHEL 6.5环境
1、官网下载的文件为:EMCPower.LINUX.6.xxxx.tar.gz (通过解压#tar -xvf EMCPower.LINUX.6xxxx.tar.gz得到安装文件)
选择系统版本相对应的安装包。
EMCPower.LINUX-6.0.1.00.00-043.RHEL6.x86_64.rpm
2、安装EMCPower.LINUX-6.0.1.00.00-043.RHEL6.x86_64.rpm
[root@lk /]# chmod 777 EMCPower.LINUX-6.0.1.00.00-043.RHEL6.x86_64.rpm
[root@lk /]# rpm -ivh EMCPower.LINUX-6.0.1.00.00-043.RHEL6.x86_64.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 .
*** IMPORTANT ***
Please check the following configurations before starting PowerPath:
- Add _netdev to /etc/fstab mount options for PowerPath pseudo devices.
- Ensure netfs service is started.
netfs service is needed to mount devices with _netdev option.
- Set LVM 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 BasicFail
over.
- 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.
3、为多路径软件注册License(注:license由EMC原厂提供,以下格式仅为说明此操作,非真实License)
查看emcpreg命令使用方法:
[root@lk /]# emcpreg
Usage:
emcpreg [opts] -add key [key ...]
emcpreg [opts] -remove key [key ...]
emcpreg [opts] -check key [key ...]
emcpreg [opts] -list
emcpreg [opts] -edit
emcpreg [opts] -install
Options:
-f file license file
注册License:
[root@lk /]# emcpreg -add key A3DF-3BDD-UHYT-CD6F-EV74-KJUT
Key key is invalid, ignored.
1 key(s) successfully added.
4、使用如下两种方式验证license已经安装成功:
[root@lk /]# emcpreg -list
Key A3DF-3BDD-UHYT-CD6F-EV74-KJUT
Product: PowerPath
Capabilities: All
[ root@lk ~]# powermt check_registration
Key A3DF-3BDD-UHYT-CD6F-EV74-KJUT
Product: PowerPath
Capabilities: All
[ root@lk ~]# service powerpath status
powerpath: unrecognized service
[root@lk ~]# ps -ef |grep emc
root 3522 2 0 May17 ? 00:00:01 [emcpd]
root 3523 2 0 May17 ? 00:00:00 [emcpdefd]
root 3524 2 0 May17 ? 00:00:00 [emcprequestd]
root 3525 2 0 May17 ? 00:00:00 [emcpmiscd]
root 3526 2 0 May17 ? 00:00:00 [emcpblkpcd]
root 9793 1 0 May17 ? 00:00:04 /sbin/emcp_mond -S
root 68197 67775 0 11:03 pts/6 00:00:00 grep emc
[root@lk ~]# ps -ef |grep power
root 10323 1 0 May17 ? 00:00:00 /usr/libexec/devkit-power-daemon
gdm 10389 10316 0 May17 ? 00:00:00 gnome-power-manager
root 68264 67775 0 11:03 pts/6 00:00:00 grep power
[ root@lk ~]# powermt display
Symmetrix logical device count=19
==============================================================================
----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats ------
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
1 lpfc optimal 15 0 - 0 0
2 lpfc optimal 15 0 - 0 0
6、安装多路径软件后查看如下:
[root@lk /]# powermt display ports
ERROR: Cannot open PowerPath. Initialization error
经存储工程师建议重启服务器OS:
[root@lk /]# reboot
Broadcast message from root@lk
(/dev/pts/6) at 20:25 ...
The system is going down for reboot NOW!
7、重启后查看磁盘聚合状态如下:
[root@lk ~]# powermt display dev=all
Pseudo name=emcpowera
Symmetrix ID=000190301105
Logical device ID=0719
Device WWN=60060480000190301105533030373139
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdp FA 16c:00 active alive 0 0
2 lpfc sdaf FA 1c:00 active alive 0 0
Pseudo name=emcpowerb
Symmetrix ID=000190301105
Logical device ID=0731
Device WWN=60060480000190301105533030373331
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdq FA 16c:00 active alive 0 0
2 lpfc sdag FA 1c:00 active alive 0 0
Pseudo name=emcpowerc
Symmetrix ID=000190301105
Logical device ID=01E1
Device WWN=60060480000190301105533030314531
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdo FA 16c:00 active alive 0 0
2 lpfc sdae FA 1c:00 active alive 0 0
Pseudo name=emcpowerd
Symmetrix ID=000190301105
Logical device ID=01E0
Device WWN=60060480000190301105533030314530
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdn FA 16c:00 active alive 0 0
2 lpfc sdad FA 1c:00 active alive 0 0
Pseudo name=emcpowere
Symmetrix ID=000190301105
Logical device ID=01DF
Device WWN=60060480000190301105533030314446
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdm FA 16c:00 active alive 0 0
2 lpfc sdac FA 1c:00 active alive 0 0
Pseudo name=emcpowerf
Symmetrix ID=000190301105
Logical device ID=01DE
Device WWN=60060480000190301105533030314445
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdl FA 16c:00 active alive 0 0
2 lpfc sdab FA 1c:00 active alive 0 0
Pseudo name=emcpowerg
Symmetrix ID=000190301105
Logical device ID=01DD
Device WWN=60060480000190301105533030314444
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdk FA 16c:00 active alive 0 0
2 lpfc sdaa FA 1c:00 active alive 0 0
Pseudo name=emcpowerh
Symmetrix ID=000190301105
Logical device ID=0079
Device WWN=60060480000190301105533030303739
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdj FA 16c:00 active alive 0 0
2 lpfc sdz FA 1c:00 active alive 0 0
Pseudo name=emcpoweri
Symmetrix ID=000190301105
Logical device ID=0061
Device WWN=60060480000190301105533030303631
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdi FA 16c:00 active alive 0 0
2 lpfc sdy FA 1c:00 active alive 0 0
Pseudo name=emcpowerj
Symmetrix ID=000190301105
Logical device ID=0049
Device WWN=60060480000190301105533030303439
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdh FA 16c:00 active alive 0 0
2 lpfc sdx FA 1c:00 active alive 0 0
Pseudo name=emcpowerk
Symmetrix ID=000190301105
Logical device ID=0014
Device WWN=60060480000190301105533030303134
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 lpfc sdv FA 1c:00 active alive 0 0
Pseudo name=emcpowerl
Symmetrix ID=000190301105
Logical device ID=0031
Device WWN=60060480000190301105533030303331
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdg FA 16c:00 active alive 0 0
2 lpfc sdw FA 1c:00 active alive 0 0
Pseudo name=emcpowerm
Symmetrix ID=000190301105
Logical device ID=0021
Device WWN=60060480000190301105533030303231
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdc FA 16c:00 active alive 0 0
Pseudo name=emcpowern
Symmetrix ID=000190301105
Logical device ID=0013
Device WWN=60060480000190301105533030303133
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 lpfc sdu FA 1c:00 active alive 0 0
Pseudo name=emcpowero
Symmetrix ID=000190301105
Logical device ID=0012
Device WWN=60060480000190301105533030303132
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 lpfc sdt FA 1c:00 active alive 0 0
Pseudo name=emcpowerp
Symmetrix ID=000190301105
Logical device ID=0011
Device WWN=60060480000190301105533030303131
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
2 lpfc sds FA 1c:00 active alive 0 0
Pseudo name=emcpowerq
Symmetrix ID=000190301105
Logical device ID=0024
Device WWN=60060480000190301105533030303234
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdf FA 16c:00 active alive 0 0
Pseudo name=emcpowerr
Symmetrix ID=000190301105
Logical device ID=0023
Device WWN=60060480000190301105533030303233
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sde FA 16c:00 active alive 0 0
Pseudo name=emcpowers
Symmetrix ID=000190301105
Logical device ID=0022
Device WWN=60060480000190301105533030303232
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 lpfc sdd FA 16c:00 active alive 0 0
附:
安装多路径软件前的磁盘:
[root@lk ~]# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 May 17 20:28 /dev/sda
brw-rw---- 1 root disk 8, 1 May 17 20:28 /dev/sda1
brw-rw---- 1 root disk 8, 2 May 17 20:28 /dev/sda2
brw-rw---- 1 root disk 65, 160 May 17 20:28 /dev/sdaa
brw-rw---- 1 root disk 65, 161 May 17 20:28 /dev/sdaa1
brw-rw---- 1 root disk 65, 176 May 17 20:28 /dev/sdab
brw-rw---- 1 root disk 65, 177 May 17 20:28 /dev/sdab1
brw-rw---- 1 root disk 65, 192 May 17 20:28 /dev/sdac
brw-rw---- 1 root disk 65, 193 May 17 20:28 /dev/sdac1
brw-rw---- 1 root disk 65, 208 May 17 20:28 /dev/sdad
brw-rw---- 1 root disk 65, 209 May 17 20:28 /dev/sdad1
brw-rw---- 1 root disk 65, 224 May 17 20:28 /dev/sdae
brw-rw---- 1 root disk 65, 225 May 17 20:28 /dev/sdae1
brw-rw---- 1 root disk 65, 240 May 17 20:28 /dev/sdaf
brw-rw---- 1 root disk 65, 241 May 17 20:28 /dev/sdaf1
brw-rw---- 1 root disk 66, 0 May 17 20:28 /dev/sdag
brw-rw---- 1 root disk 66, 1 May 17 20:28 /dev/sdag1
brw-rw---- 1 root disk 66, 16 May 17 20:28 /dev/sdah
brw-rw---- 1 root disk 66, 32 May 17 20:28 /dev/sdai
brw-rw---- 1 root disk 8, 16 May 17 20:28 /dev/sdb
brw-rw---- 1 root disk 8, 32 May 17 20:28 /dev/sdc
brw-rw---- 1 root disk 8, 48 May 17 20:28 /dev/sdd
brw-rw---- 1 root disk 8, 64 May 17 20:28 /dev/sde
brw-rw---- 1 root disk 8, 80 May 17 20:28 /dev/sdf
brw-rw---- 1 root disk 8, 96 May 17 20:28 /dev/sdg
brw-rw---- 1 root disk 8, 97 May 17 20:28 /dev/sdg1
brw-rw---- 1 root disk 8, 112 May 17 20:28 /dev/sdh
brw-rw---- 1 root disk 8, 113 May 17 20:28 /dev/sdh1
brw-rw---- 1 root disk 8, 128 May 17 20:28 /dev/sdi
brw-rw---- 1 root disk 8, 129 May 17 20:28 /dev/sdi1
brw-rw---- 1 root disk 8, 144 May 17 20:28 /dev/sdj
brw-rw---- 1 root disk 8, 145 May 17 20:28 /dev/sdj1
brw-rw---- 1 root disk 8, 160 May 17 20:28 /dev/sdk
brw-rw---- 1 root disk 8, 161 May 17 20:28 /dev/sdk1
brw-rw---- 1 root disk 8, 176 May 17 20:28 /dev/sdl
brw-rw---- 1 root disk 8, 177 May 17 20:28 /dev/sdl1
brw-rw---- 1 root disk 8, 192 May 17 20:28 /dev/sdm
brw-rw---- 1 root disk 8, 193 May 17 20:28 /dev/sdm1
brw-rw---- 1 root disk 8, 208 May 17 20:28 /dev/sdn
brw-rw---- 1 root disk 8, 209 May 17 20:28 /dev/sdn1
brw-rw---- 1 root disk 8, 224 May 17 20:28 /dev/sdo
brw-rw---- 1 root disk 8, 225 May 17 20:28 /dev/sdo1
brw-rw---- 1 root disk 8, 240 May 17 20:28 /dev/sdp
brw-rw---- 1 root disk 8, 241 May 17 20:28 /dev/sdp1
brw-rw---- 1 root disk 65, 0 May 17 20:28 /dev/sdq
brw-rw---- 1 root disk 65, 1 May 17 20:28 /dev/sdq1
brw-rw---- 1 root disk 65, 16 May 17 20:28 /dev/sdr
brw-rw---- 1 root disk 65, 32 May 17 20:28 /dev/sds
brw-rw---- 1 root disk 65, 48 May 17 20:28 /dev/sdt
brw-rw---- 1 root disk 65, 64 May 17 20:28 /dev/sdu
brw-rw---- 1 root disk 65, 80 May 17 20:28 /dev/sdv
brw-rw---- 1 root disk 65, 96 May 17 20:28 /dev/sdw
brw-rw---- 1 root disk 65, 97 May 17 20:28 /dev/sdw1
brw-rw---- 1 root disk 65, 112 May 17 20:28 /dev/sdx
brw-rw---- 1 root disk 65, 113 May 17 20:28 /dev/sdx1
brw-rw---- 1 root disk 65, 128 May 17 20:28 /dev/sdy
brw-rw---- 1 root disk 65, 129 May 17 20:28 /dev/sdy1
brw-rw---- 1 root disk 65, 144 May 17 20:28 /dev/sdz
brw-rw---- 1 root disk 65, 145 May 17 20:28 /dev/sdz1
安装多路径软件后聚合的磁盘:
[ root@lk ~]# ls -l /dev/emcpower*
crw-r--r-- 1 root root 10, 55 May 17 20:28 /dev/emcpower
brw-rw---- 1 root disk 120, 0 May 17 20:28 /dev/emcpowera
brw-rw---- 1 root disk 120, 1 May 17 20:28 /dev/emcpowera1
brw-rw---- 1 root disk 120, 16 May 17 20:28 /dev/emcpowerb
brw-rw---- 1 root disk 120, 17 May 17 20:28 /dev/emcpowerb1
brw-rw---- 1 root disk 120, 32 May 17 20:28 /dev/emcpowerc
brw-rw---- 1 root disk 120, 33 May 17 20:28 /dev/emcpowerc1
brw-rw---- 1 root disk 120, 48 May 17 20:28 /dev/emcpowerd
brw-rw---- 1 root disk 120, 49 May 17 20:28 /dev/emcpowerd1
brw-rw---- 1 root disk 120, 64 May 17 20:28 /dev/emcpowere
brw-rw---- 1 root disk 120, 65 May 17 20:28 /dev/emcpowere1
brw-rw---- 1 root disk 120, 80 May 17 20:28 /dev/emcpowerf
brw-rw---- 1 root disk 120, 81 May 17 20:28 /dev/emcpowerf1
brw-rw---- 1 root disk 120, 96 May 17 20:28 /dev/emcpowerg
brw-rw---- 1 root disk 120, 97 May 17 20:28 /dev/emcpowerg1
brw-rw---- 1 root disk 120, 112 May 17 20:28 /dev/emcpowerh
brw-rw---- 1 root disk 120, 113 May 17 20:28 /dev/emcpowerh1
brw-rw---- 1 root disk 120, 128 May 17 20:28 /dev/emcpoweri
brw-rw---- 1 root disk 120, 129 May 17 20:28 /dev/emcpoweri1
brw-rw---- 1 root disk 120, 144 May 17 20:28 /dev/emcpowerj
brw-rw---- 1 root disk 120, 145 May 17 20:28 /dev/emcpowerj1
brw-rw---- 1 root disk 120, 160 May 17 20:28 /dev/emcpowerk
brw-rw---- 1 root disk 120, 176 May 17 20:28 /dev/emcpowerl
brw-rw---- 1 root disk 120, 177 May 17 20:28 /dev/emcpowerl1
brw-rw---- 1 root disk 120, 192 May 17 20:28 /dev/emcpowerm
brw-rw---- 1 root disk 120, 208 May 17 20:28 /dev/emcpowern
brw-rw---- 1 root disk 120, 224 May 17 20:28 /dev/emcpowero
brw-rw---- 1 root disk 120, 240 May 17 20:28 /dev/emcpowerp
brw-rw---- 1 root disk 120, 256 May 17 20:28 /dev/emcpowerq
brw-rw---- 1 root disk 120, 272 May 17 20:28 /dev/emcpowerr
brw-rw---- 1 root disk 120, 288 May 17 20:28 /dev/emcpowers
|