Redhat Linux上PowerPath 5.x的基本排错步骤troubleshooting

转载请在文首保留原文出处:EMC中文支持论坛https://community.emc.com/go/chinese

 

介绍

 

     本文介绍了PowerPath 5.x在Redhat Linux操作系统中的基本排错步骤。针对四种PowerPath软件不能使用的状况进行分类。1)PowerPath运行中的排错、2)安装中的排错、3)升级中的排错、4)PowerPath在Linux内核升级以后不能运行的情况。分别列出了基本的排错方法与步骤。

更多信息

 

PowerPath运行中的排错:

 

1. 验证PowerPath是否安装正确:


rpm –qa | grep EMC* 
EMCpower.LINUX-5.1.0-194


2. 如果命令没有显示任何信息,参考下面PowerPath安装中的排错部分:


3. 验证PowerPath的模块是否运行正常:


lsmod | grep emc 
Module Size Used by 
emcpdm 31716 0 
emcpgpx 20516 1 emcpdm 
emcpmpx 156600 104 
emcp 895412 3 emcpdm,emcpgpx,emcpmpx 
emcplib 6656 1 emcp

 

4. 如果显示模块有缺失,参考下面PowerPath安装中的排错部分:

 

5. 手动启动PowerPath

 

        /etc/init.d/PowerPath start

 

6. 验证PowerPath是否可以看到磁盘:

 

#powermt display dev=all 
Pseudo name=emcpowere 
CLARiiON ID=CK200050125324 [Host-a] 
Logical device ID=6006016092861400D4AABC125149DB11 [LUN_44] 
state=alive; policy=CLAROpt; priority=0; queued-IOs=0 
Owner: default=SP A, current=SP A Array failover mode: 1 

=============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats --- 

### HW Path I/O Paths Interf. Mode State Q-IOs Errors ============================================================================= 

2 lpfc sdg SP B3 active alive 0 0 
3 lpfc sdm SP A3 active alive 0 0

 

7. 如果PowerPath没有看到任何磁盘,尝试运行powermt config命令。如果命令失败,则需要检查主机本身是不是能看到任何磁盘,运行命令:

 

   cat /proc/scsi/scsi

 

8. 如果只是看不到EMC CLARiion和Symmetrix的磁盘,则问题不在PowerPath软件,需要检测存储阵列:

 

对于EMC CLARiiON,在Navisphere Manager中检查下列内容:


  • 已经将LUN加入到相应的Storage Group内
  • Initiator、Arraycommpath和failovermode设置正确(参考文中第一篇)
  • 主机已经加入到相应的Storage Group内

 

对于EMC Symmetrix阵列,检查一下内容:

 

  • 所有的磁盘设备都被正确地Map到FA前端口,以及Zone的配置
  • 确保主机HBA的WWPN已经被正确Mask到FA前端口。(Linux主机链接手册,参考文章中第二篇)

 

 

PowerPath安装中的排错:

 

     PowerPath安装失败可能由多种不同的原因。比较普遍的是因为不正确的CPU架构(x86_64,AMD),错误的PowerPath对应操作系统版本等原因。对于环境与PowerPath软件兼容性的查询,可以登入ELAB


     并且登录EMC在线支持站点查找PowerPath Installation and Configuration guide手册。

 

PowerPath升级中的排错:

 

1. 升级PowerPath之前,建议备份emcp.conf、powermt.custom和PowerPath的注册号码:


mv /kernel/drv/emcp.conf to a backup directory 
mv /etc/powermt.custom to a backup directory 
mv /etc/emcp_registration to a backup directory

 

2. 根据PowerPath安装手册卸载旧的PowerPath:


      rpm -e EMCpower.LINUX-5.1.<release>-<build>

 

3. 根据PowerPath安装手册安装新的PowerPath:


      rpm -i EMCpower.LINUX-5.1.<x>-<build>.<package>.rpm

 

  

PowerPath在Linux内核升级后的排错:

 

     Linux内核啥升级可能导致PowerPath的相关驱动被覆盖,解决这个问题可以通过重新安装PowerPath软件来解决。


      rpm -Uvh --replacepkgs EMCpower.LINUX-5.X -<build>.<package>.rpm

 

  

参考

 

What are the Initiator, Arraycommpath, and Failovermode settings for PowerPath, DMP, PVLinks, and native failover software?

EMC Host Connectivity Guide for Linux

应用于

 

Redhat Linux

PowerPath 5.x

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值