Chinaunix首页 | 论坛 | 博客
  • 博客访问: 26918
  • 博文数量: 21
  • 博客积分: 185
  • 博客等级: 入伍新兵
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-11 13:20
文章分类
文章存档

2011年(21)

我的朋友

分类:

2011-05-19 18:23:38

原文地址:AIX在线更换HBA卡 作者:Jackychen83

 AIX在线更换HBA卡
document.body.oncopy = function () { if (window.clipboardData) { setTimeout(function () { var text = clipboardData.getData("text"); if (text && text.length > 300) { text = text + "\r\n\n本文来自CSDN博客,转载请标明出处:" + location.href; clipboardData.setData("text", text); } }, 100); } } function StorePage() { d = document; t = d.selection ? (d.selection.type != 'None' ? d.selection.createRange().text : '') : (d.getSelection ? d.getSelection() : ''); void (keyit = window.open('' + escape(d.title) + '&u=' + escape(d.location.href) + '&c=' + escape(t), 'keyit', 'scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes')); keyit.focus(); }

环境:AIX5.3+HDS9990 更换步骤:

1、 显示热插拔 PCI 插槽的编号、位置以及功能

[root@:/] lsslot -c pci
# Slot Description Device(s)
U5791.001.99B00L8-P1-C06 PCI-X capable, 64 bit, 133MHz slot ent0
U5791.001.99B00L8-P1-C07 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P1-C08 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P1-C09 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P2-C01 PCI-X capable, 64 bit, 133MHz slot fcs0
U5791.001.99B00L8-P2-C02 PCI-X capable, 64 bit, 133MHz slot ent1
U5791.001.99B00L8-P2-C03 PCI-X capable, 64 bit, 133MHz slot Empty
U5791.001.99B00L8-P2-C04 PCI-X capable, 64 bit, 133MHz slot sa0
U5791.001.99B00L8-P2-C05 PCI-X capable, 64 bit, 133MHz slot fcs1

2、确定当前设备及path状态

–查看系统日志
[root@:/] errpt |more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
B8FBD189 0307151608 T S fscsi0 SOFTWARE PROGRAM ERROR
A39F8A49 0307151608 T S syserrlg ERROR LOGGING BUFFER OVERFLOW

–查看设备状态
[root@:/] lsdev -Cc adapter|grep fcs
fcs0 Available 0E-08 FC Adapter
fcs1 Available 0J-08 FC Adapter

–查看path状态
dlnkmgr view -path|grep Offline
000002 08.0E.0000000000010900.0000 HITACHI .DF600F .8168 0000 1B Offline(E) Non
0 0 0 dlmfdrv0
000003 08.0E.0000000000010800.0000 HITACHI .DF600F .8168 0000 0B Offline(E) Own 16018444
7 13 0 dlmfdrv0
……

3、更换HBA卡

–删除设备
[root@:/] dlmhbadel fscsi0
KAPL10620-I The dlmHBAdel utility completed normally.

[root@:/] rmdev -dl fcs0 -R

#diag,选择Task Selection–>Hot Plug Task–>Hot Plug Manager–>PCI Plug Slot–

选择 Replace/Remove a PCI Hot Plug Adapter

Move cursor to desired item and press Enter. List PCI Hot Plug Slots
Add a PCI Hot Plug Adapter
Replace/Remove a PCI Hot Plug Adapter
Identify a PCI Hot Plug Slot
Unconfigure a Device
Configure a Defined Device
Install/Configure Devices Added After IPL

选择要卸载的设备名fsc0,回车确认后开始更换卡。

4、完成设备更换后运行cfgmgr重认设备

[root@:/] cfgmgr -v
–确认设备已正确识别
[root@:/] lsdev -Cc adapter|grep fcs
fcs0 Available 0E-08 FC Adapter
fcs1 Available 0J-08 FC Adapter

5、在存储上重新邦定WWN,然后重认LUN设备

#cfgmgr
–重认LUN

#dlmcfgmgr

#dlnkmgr view -path–确认path正常,即更换完毕。

阅读(1030) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~