一、环境
1、服务器:HP DL360(HBA卡)
2、确保服务器和EMC的光纤交换机连接正常
3、系统的selinux和iptables最后关闭
二、软件安装
1、Navisphere agent的安装
rpm -ivh naviagent-6.28.20.1.40-1.noarch.rpm
2、PowerPath的安装
rpm -ivh EMCPower.LINUX-5.6.0.00.00-143.RHEL5.x86_64.rpm
3、注册POWERPATH
#emcpreg –install
=========== EMC PowerPath Registration ===========
Do you have a new registration key or keys to enter? [n]
输入y,按回车继续。
Enter the registration key(s) for your product(s),one per line, pressing Enter after each key.After typing all keys, press Enter again.
Key (Enter if done): BYPK-6B4U-MFCE-QAW4-MP97-M9Y6
输入powerpath注册码,然后按回车继续,成功后会显示以下提示信息。
1 key(s) successfully added.
Key successfully installed.
*license key在一张纸上, 和设备及软件光盘介质一起到货*
或者你也可以从已经安装了的系统上查看key:
[root@navy tmp]# powermt check_registration
Key BAP4-6B4H-GFCX-QSR3-M997-E7N6
Product: PowerPath
Capabilities: All
4、启动Navisphere和PowerPath
[root@navy tmp]# /etc/init.d/naviagent;/etc/init.d/PowerPath start
三、在EMC上注册次服务器,划分lun给该服务器,正常的话在系统执行如下命令,可以看到指定的lun
[root@navy tmp]# powermt display dev=all
Pseudo name=emcpowerk
CLARiiON ID=CKM00094900291 [ftpbackup_SG]
Logical device ID=60060160010027000262B490D725DF11 [LUN 83]
state=dead; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=Unknown, current=SP B Array failover mode: 1
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdk SP B2 active dead 0 1
Pseudo name=emcpowerg
CLARiiON ID=CKM00094900291 [ftpbackup_SG]
Logical device ID=60060160010027000CAF6BE4C0EEDE11 [LUN 60]
state=dead; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=Unknown, current=SP B Array failover mode: 1
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdg SP B2 active dead 0 1