Redhat Linux上PowerPath 5.x的基本排错步骤troubleshooting
2015-01-08 11:35
253 查看
转载请在文首保留原文出处:EMC中文支持论坛- https://community.emc.com/go/chinese
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
software?
EMC Host Connectivity Guide for Linux
PowerPath 5.x
介绍
本文介绍了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 failoversoftware?
EMC Host Connectivity Guide for Linux
应用于
Redhat LinuxPowerPath 5.x
相关文章推荐
- 基本排错步骤――干净启动
- centos安装multipath正确识别、使用存储(最基本的步骤)
- Unity3d入门基础之UGUI-基本控件的学习-搭建界面的常规步骤
- 《Google Android开发入门与实战》11 ---- 开发基本步骤
- 关于在windows环境下安装keras框架的基本步骤
- 05-按钮的基本使用-开发步骤
- Oracle基本步骤前滚和回滚
- 基于halcon10.0二次开发基本步骤(VS2010 C#.net)
- JDBC基本编程步骤
- Anroid之实现菜单几个基本步骤
- 百度统计的 基本集成步骤
- JDBC操作数据库的基本步骤
- Java Excel Api及详细教程,适合第一次在Eclipse上读取Excel同学,基本步骤!
- Delphi 10.2 Linux 程序开发环境部署的基本步骤(网络连接方式要选择桥接或者是Host Only)
- 学习一门计算机语言的基本步骤及要点
- 简述JDBC调用数据库的基本步骤
- VC++ MFC SQL ADO数据库访问技术使用的基本步骤及方法
- JDBC 访问数据库的基本步骤(选出要熟记的部分)
- 【AngularJS学习笔记】开发时候的建议目录结构,基本开发步骤