查询应用服务器fc端口wwn号,几种操作系统下如何查看FC HBA卡WWN号
在Linux、UNIX、Windows环境下查看FC HBA卡WWN号的方法介绍。
windows:
使用操作系统软件:
Qlogic:SANsurfer
Emulex:HBAnyware
Suse 9:
# cat /proc/scsi/qla2xxx/* | grep adapter-port
scsi-qla0-adapter-port=21000018822c8a2c;
scsi-qla1-adapter-port=21000018822c8a2d;
Suse 10:
# cat /sys/class/fc_host/host*/port_name
0x210000e08b907955
0x210000e08b902856
RedHat Linux AS4
# grep scsi /proc/scsi/qla2xxx/3
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
scsi-qla0-adapter-node=20000018822d7834;
scsi-qla0-adapter-port=21000018822d7834;
scsi-qla0-target-0=202900a0b8423858;
scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;
RedHat Linux AS5
# cat /sys/class/fc_host/hostx/port_name
Solaris 10:
提供了fcinfo命令,可以用fcinfo hba-port 查看HBA的WWN
# fcinfo hba-port
查看光纤卡端口的路径及连接状态:
# luxadm -e port
查看端口的WWN:
# luxadm -e dump_map fibre_channel_HBA_port(上一命令的输出)
# prtconf –vp | grep -i wwn
# prtpicl –v | grep -i wwn (prtpicl - print PICL tree)
HP-UX:
# ioscan –funC fc(找到HBA卡,再用fcmsutil查看HBA卡信息)
# fcmsutil /dev/fcd0(1)
AIX:
# lsdev -Cc adapter (找出HBA卡)
# lscfg –vpl fcs0 |grep network address
Emulex的HBA的WWN的第一个数字为1
Qlogic的HBA的WWN的第一个数字为2
HP Tachyon HBA的WWN的第一个数字为5
Qlogic参数:
Connection Options
0 - Loop only
1 - Point-to-point only
2 - Loop preferred,otherwise point
-to-point.
按服务器那边的建议,DAS直连存储时选择loop only,通过光纤交换机连接存储时选择point-to-point only
Data Rate
该配置项定义FC端口速率
0 - 1Gb/s
1 - 2Gb/s
2 - Auto
查询应用服务器fc端口wwn号,几种操作系统下如何查看FC HBA卡WWN号
在Linux、UNIX、Windows环境下查看FC HBA卡WWN号的方法介绍。
windows:
使用操作系统软件:
Qlogic:SANsurfer
Emulex:HBAnyware
Suse 9:
# cat /proc/scsi/qla2xxx/* | grep adapter-port
scsi-qla0-adapter-port=21000018822c8a2c;
scsi-qla1-adapter-port=21000018822c8a2d;
Suse 10:
# cat /sys/class/fc_host/host*/port_name
0x210000e08b907955
0x210000e08b902856
RedHat Linux AS4
# grep scsi /proc/scsi/qla2xxx/3
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
scsi-qla0-adapter-node=20000018822d7834;
scsi-qla0-adapter-port=21000018822d7834;
scsi-qla0-target-0=202900a0b8423858;
scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;
RedHat Linux AS5
# cat /sys/class/fc_host/hostx/port_name
Solaris 10:
提供了fcinfo命令,可以用fcinfo hba-port 查看HBA的WWN
# fcinfo hba-port
查看光纤卡端口的路径及连接状态:
# luxadm -e port
查看端口的WWN:
# luxadm -e dump_map fibre_channel_HBA_port(上一命令的输出)
# prtconf –vp | grep -i wwn
# prtpicl –v | grep -i wwn (prtpicl - print PICL tree)
HP-UX:
# ioscan –funC fc(找到HBA卡,再用fcmsutil查看HBA卡信息)
# fcmsutil /dev/fcd0(1)
AIX:
# lsdev -Cc adapter (找出HBA卡)
# lscfg –vpl fcs0 |grep network address
Emulex的HBA的WWN的第一个数字为1
Qlogic的HBA的WWN的第一个数字为2
HP Tachyon HBA的WWN的第一个数字为5
Qlogic参数:
Connection Options
0 - Loop only
1 - Point-to-point only
2 - Loop preferred,otherwise point
-to-point.
按服务器那边的建议,DAS直连存储时选择loop only,通过光纤交换机连接存储时选择point-to-point only
Data Rate
该配置项定义FC端口速率
0 - 1Gb/s
1 - 2Gb/s
2 - Auto