帮忙看一下HP UX 双机+磁阵的备机hba的工作状态是不是有问题
本帖最后由 bjc0312 于 2011-05-09 14:55 编辑
今天检查了一下host1和host2的hba卡信息
host1#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
..............
fc 0 0/4/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td0
fcp 0 0/4/1/0.1 fcp CLAIMED INTERFACE FCP Domain
ext_bus 5 0/4/1/0.1.0.0.0 fcparray CLAIMED INTERFACE FCP Array Interface
target 9 0/4/1/0.1.0.0.0.0 tgt CLAIMED DEVICE
disk 54 0/4/1/0.1.0.0.0.0.0 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 3 0/4/1/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 4 0/4/1/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
ext_bus 6 0/4/1/0.1.0.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface
target 10 0/4/1/0.1.0.255.0.0 tgt CLAIMED DEVICE
ctl 21 0/4/1/0.1.0.255.0.0.0 sctl CLAIMED DEVICE COMPAQ MSA1000
..........................
host2#ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
....
fc 0 0/4/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
....
看到host2上关于0/4/1/0 的信息比host1少了许多,感觉有问题
host1#fcmsutil /dev/td0
Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x010200
N_Port Node World Wide Name = 0x50060b00002cf245
N_Port Port World Wide Name = 0x50060b00002cf244
Driver state = ONLINE
Hardware Path is = 0/4/1/0
Number of Assisted IOs = 1640656
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) PATCH_11.11: libtd.a : Dec 12 2003, 14:34:15, PHSS_28509
host2#fcmsutil /dev/td0
Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Previous Topology = UNINITIALIZED
Link Speed = UNINITIALIZED
Local N_Port_id is = 0x000000
Local Loop_id is = 126
N_Port Node World Wide Name = 0x50060b00002cf247
N_Port Port World Wide Name = 0x50060b00002cf246
Driver state = AWAITING_LINK_UP
Hardware Path is = 0/4/1/0
Number of Assisted IOs = 0
Number of Active Login Sessions = 0
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) PATCH_11.11: libtd.a : Dec 12 2003, 14:34:15, PHSS_28509
host1#cmviewcl -v
CLUSTER STATUS
cluster1 up
NODE STATUS STATE
host1 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/2/1/0 lan1
STANDBY up 0/3/1/0 lan2
PACKAGE STATUS STATE AUTO_RUN NODE
pkg1 up running enabled host1
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Subnet up 192.168.0.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled host1 (current)
Alternate up enabled host2
NODE STATUS STATE
host2 up running
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
PRIMARY up 0/2/1/0 lan1
STANDBY up 0/3/1/0 lan2
host2上的HBA的工作状态是不是有问题啊?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
有问题,检查整条链路,建议先看HBA的灯是否正常?看一下光纤两端是否有光?更换HBA卡试试?
另外,之前做过什么?
前段时间两台HP小机各增加了一个CPU和4G内存,对Oracle 进行内存参数调整,重新分配了一下内存,因为host1是主机,host2是备机,所以先对主机进行了调整,然后想对host2调整的时候,发现host2包切不过来
就开始查原因,从硬件从软件,查到hba,觉得不正常,正常情况下即使包切换不过来,也应该能看到设备。
两台小机分别只有一块hba卡(型号HP a6795a)
host1:pwr/act:绿闪,lnk/spd灯 :常绿
host2:pwr/act:常绿,lnk/spd灯 :灭
不知道是不是host2在待机状态下就应该找不到磁阵上的盘,但至少应该找到设备
ioscan至少能看到disk,你按照我的方法测试了么?
你这问题比较诡异,diskinfo看看那条链路的盘有问题没?看hba状态应该是链路问题呀,怎么disk状态却正常那?
问题出在host2 HBA到SAN switch这条链路上,也检查一下switch对应port的SFP有没有问题,简单检查方法是:先拔掉主机端的光纤线头,看看有没有光,如果有就说明switch那端和光纤线正常;若只拔掉switch那端光纤线头看到有光过来,则主机和光线线正常;若前面两种尝试都看不到光,那么可能就是光纤线有问题,换光纤线再试。
{:3_198:}好复杂
host2#[/]ioscan -FunC disk
scsi:wsio:T:T:F:31:188:0:disk:sdisk:0/0/2/0.0.0.0:5 128 2 50 0 0 0 0 128 221 199
204 0 0 0 0 :0:root.sba.lba.side_ba.side.tgt.sdisk:sdisk:CLAIMEDEVICE:TEAC
DV-28E-C:0
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
scsi:wsio:T:T:F:31:188:131072:disk:sdisk:0/1/1/0.0.0:0 0 3 18 0 0 0 0 86 227 100
34 1 48 118 239 :1:root.sba.lba.c8xx.tgt.sdisk:sdisk:CLAIMEDEVICE:HP 73.4GST3
73453LC:2
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
scsi:wsio:T:T:F:31:188:135168:disk:sdisk:0/1/1/0.1.0:0 0 3 18 0 0 0 0 86 227 100
34 184 151 234 15 :2:root.sba.lba.c8xx.tgt.sdisk:sdisk:CLAIMEDEVICE:HP 73.4GS
T373453LC:2
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
host1 host2各自通过HBA卡连接到盘阵上的光交换,共享盘阵上的卷,host1连接盘阵正常,工作也正常,host2连接盘阵异常,不能使用盘阵上的共享卷,导致包切换错误,结合大家的分析,应该是物理链路的问题