PowerPath在Linux上的安装
版权声明:本文为(haibing.org)原创文章,转载请附上本文链接。
本文永久链接:http://haibing.org/742
一、下载软件
官方有提供45天的试用版,如果想要全部功能,还需要向官方要license才行。
软件包中有不同Linux的安装包:
EMCPower.LINUX-5.7.4.00.00-003.OL5_UEK2_R5.x86_64.rpm
EMCPower.LINUX-5.7.4.00.00-003.OL6_UEK3.x86_64.rpm
EMCPower.LINUX-5.7.4.00.00-003.RHEL5.x86_64.rpm
EMCPower.LINUX-5.7.4.00.00-003.RHEL6.x86_64.rpm
EMCPower.LINUX-5.7.4.00.00-003.SLES10SP4.x86_64.rpm
EMCPower.LINUX-5.7.4.00.00-003.SLES11SP3.x86_64.rpm
OL5表示可以安装在Oracle Linux5的操作系统上。
OL6表示可以安装在Oracle Linux6的操作系统上。
RHEL5表示可以安装在RHEL5(CentOS5)的操作系统上。
RHEL6表示可以安装在RHEL6(CentOS6)的操作系统上。
SLES10SP4表示可以安装在SUSE Linux 10 SP4的操作系统上。
SLES11SP3表示可以安装在SUSE Linux 11 SP3的操作系统上。
二、开始安装
安装PowerPath的操作系统版本:
# cat /etc/issue
CentOS release 6.8 (Final)
选择EMCPower.LINUX-5.7.4.00.00-003.RHEL6.x86_64.rpm进行安装。
# rpm -ivh EMCPower.LINUX-5.7.4.00.00-003.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 BasicFailover. - 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.
这有有个“重要提示”,翻译过来主要是以下几点:
1、设置LVM,让PowerPath支持LVM2:
在/etc/lvm/lvm.conf的“devices {”块中添加以下一句
filter = [ "a/emcpower.*/", "r/sd.*/", "r/disk.*/" ]
2、关闭多路径服务multipathd
在/etc/multipath.conf中屏蔽所有磁盘,并且停止multipathd服务
#cat /etc/multipath.conf
blacklist { devnode "*" }
#service multipathd stop
#chkconfig multipathd off
3、导入PowerPath的license的key,确保存储路径策略不是BasicFailover。
假如没有license,确保有一个HBA端口是激活的状态。
安装完成,并且做了以上设置后,重启一下系统:
#reboot
重启后,确认PowerPath命令是否能正常使用:
# powermt version
EMC powermt for PowerPath (c) Version 5.7 SP 4 (build 3)
用license key注册:
# 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): XXXX-XXXX-XXXX-XXXX-XXXX-XXXX 1 key(s) successfully added. Key successfully installed. Key (Enter if done): 1 key(s) successfully registered.
确认是否注册成功:
# emcpreg -list
Key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX Product: PowerPath Capabilities: All
# powermt check_registration
Key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX Product: PowerPath Capabilities: All
PowerPath专题:PowerPath工具的使用
1、PowerPath简介
2、PowerPath在Linux上的安装方法
3、PowerPath在Solaris上的安装方法
4、PowerPath在HP-UX上的安装方法
5、PowerPath的升级
6、PowerPath常用命令
7、PowerPath常见问题
1 对 “PowerPath在Linux上的安装”的想法;
评论被关闭。