如何在 Linux 上安装和配置EMCPowerPath

举报
Tiamo_T 发表于 2021/12/29 16:59:09 2021/12/29
【摘要】 如何在 Linux 环境中安装和配置EMC Powerpath软件? 在开始 EMC 电源路径安装和配置之前,请确保 HBA 卡已安装在服务器上并且光纤通道交换机已正确分区。

如何在 Linux 环境中安装和配置EMC Powerpath软件?

在开始 EMC 电源路径安装和配置之前,请确保 HBA 卡已安装在服务器上并且光纤通道交换机已正确分区。


1. 在 Linux 上安装 EMC Powerpath

从 EMC powerlink 网站下载 Powerpath 软件。如果您购买了 EMC 支持,您应该可以访问 powerlink。

在以下示例中,EMC Powerpath 5 ( EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm ) 安装在 Red Hat 5 上。(用于CLARiiON Array)

# rpm -ivh EMCpower.LINUX-5.3.0.00.00-185.rhel5.i386.rpm --test
Preparing...                ########################################### [100%]

# 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. 注册 EMC Powerpath

在您可以使用 EMC Powerpath 软件之前,您应该使用从 EMC 购买软件时收到的 EMC Powerpath 许可证密钥注册它。

使用emcpreg 工具安装 EMC Powerpath 许可证密钥,如下所示。


# 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. 验证 EMC Powerpath 注册

使用 EMC powermt 命令检查注册,如下所示。

# powermt check_registration

Key **emc-powerpath-license-key**
  Product: PowerPath
  Capabilities: All

4. 验证多条路径

安装 EMC powerpath 后,执行如下所示的powermt display dev=all以验证是否相应地显示了多个路径。

# powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=00000000000 [db-server]
Logical device ID=12121212121212 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
  1 QLogic Fibre Channel 2300 sdb        SP A4     active  alive      0      0
  1 QLogic Fibre Channel 2300 sdd        SP B4     active  alive      0      0
  2 QLogic Fibre Channel 2300 sdf        SP A5     active  alive      0      0
  2 QLogic Fibre Channel 2300 sdh        SP B5     active  alive      0      0
【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

举报
请填写举报理由
0/200