开始新对话

未解决

此帖子已超过 5 年

1713

2013年1月23日 20:00

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

​ ​
​ ​

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

​ ​
​ ​

​ ​

​转载请在文首保留原文出处:​​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. - ​

​ ​

​ ​

​ ​

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

​ ​


​ ​

​ rpm -i EMCpower.LINUX-5.1. - . .rpm ​

​ ​

​ ​

​ ​

​ ​

​ ​

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

​ ​

​ ​

​ ​

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

​ ​


​ ​

​ rpm -Uvh --replacepkgs EMCpower.LINUX-5.X - . .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​

​ ​

​ ​

​ ​
没有回复!
找不到事件!

Top