Chinaunix首页 | 论坛 | 博客
  • 博客访问: 660289
  • 博文数量: 109
  • 博客积分: 6081
  • 博客等级: 准将
  • 技术积分: 1318
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-24 10:28
文章分类
文章存档

2011年(8)

2010年(39)

2009年(62)

分类:

2009-11-18 20:25:22

机器 HP superdome,操作系统 HP-UX 11.31

由于之前HBA 卡驱动   FibrChanl-02    B.11.31.0903  ,在做集群时,经常发现vgchange -a e 不能激活,导致集群切换失败。

后来更新驱动为  FibrChanl-02       B.11.31.0909 ,可以解决
vgchange -a e  的问题,但是fcmsutil 命令却不能用了。如果驱动安装的是 FibrChanl-02       B.11.31.0906 应该没有这个问题。

没有 fcmsutil 这个命令怎么查看 HBA 卡的 wwn 呢?可以通过 scsimgr 这个命令是获取!


#[/]ioscan -funCfc

Class     I  H/W Path       Driver S/W State   H/W Type     Description
======================================================================
fc        0  2/0/4/0/0/0/0  fclp   CLAIMED     INTERFACE    HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
                           /dev/fclp0
fc        1  2/0/5/0/0/0/0  fclp   CLAIMED     INTERFACE    HP AD299-60001 4Gb PCIe 1-port Fibre Channel Adapter
                           /dev/fclp1

#[/]fcmsutil /dev/fclp0

Expected FCLP Versions:
    FCLP MAJOR version: 4
    FCLP minor version: 1

Actual FCLP Versions:
    FCLP MAJOR version: 5
    FCLP minor version: 1

fcmsutil /dev/fclp0: The version of this utility is not compatible with the
installed driver.


#[/]scsimgr get_info -D /dev/fclp0

        STATUS INFORMATION FOR SCSI CONTROLLER : /dev/fclp0

Generic Status Information

SCSI services internal state                 = IDLE
Target paths probed                          = 4
Target paths registered (active/inactive)    = 4
LUN paths registered                         = 8
Trace buffer size                            = 0
Port name                                    = 0x5001438004c5cef6
Port id                                      = 0x10700
Protocol                                     = fibre_channel
I/F driver version                           = B.11.31.0909
Firmware version                             = Z3D2.70X5
Operating negotiated/configured speed        = 4Gb
Maximum supported speed                      = 4Gb
Capability                                   = "Boot Dump"
Type                                         = "Physical"
Number of I/O objects                        = 1
I/O objects :
        Object index = 0, cpu = 7


#[/]scsimgr get_attr -D /dev/fclp0

        SCSI ATTRIBUTES FOR CONTROLLER : /dev/fclp0

Generic Attributes :

name = state
current = IDLE
default =
saved =

name = protocol
current = fibre_channel
default =
saved =

name = port_id
current = 67328
default =
saved =

name = port_name
current = 0x5001438004c5cef6
default =
saved =

name = driver_name
current = fclp
default =
saved =

name = driver_rev
current = B.11.31.0909
default =
saved =

name = firmware_rev
current = Z3D2.70X5
default =
saved =

name = cur_speed
current = 4Gb
default =
saved =

name = max_speed
current = 4Gb
default =
saved =

name = capability
current = "Boot Dump"
default =
saved =

name = ctlr_type
current = Physical
default =
saved =

name = lpt_cnt
current = 8
default =
saved =

name = tp_cnt
current = 4
default =
saved =

name = device_file
current = /dev/fclp0
default =
saved =

name = class
current = fc
default =
saved =

name = instance
current = 0
default =
saved =

name = hw_path
current = 2/0/4/0/0/0/0
default =
saved =

name = auto_scan_enable
current = true
default = true
saved =

name = max_internal_hipri
current = 4294967295
default = 4294967295
saved =

name = max_lpt_scan
current = 4294967295
default = 4294967295
saved =

---------------------  fcmsutil  ---命令正常输出结果

ywgldb#[/]fcmsutil /dev/fcd0

                           Vendor ID is = 0x1077
                           Device ID is = 0x2422
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x12D6
                               PCI Mode = PCI-X 133 MHz
                       ISP Code version = 4.4.4
                       ISP Chip version = 3
                               Topology = PTTOPT_FABRIC
                             Link Speed = 4Gb
                     Local N_Port_id is = 0x011100
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x500143800422e1a3
            N_Port Port World Wide Name = 0x500143800422e1a2
            Switch Port World Wide Name = 0x201100051e895ee0
            Switch Node World Wide Name = 0x100000051e895ee0
              N_Port Symbolic Port Name = ywgldb_fcd0
              N_Port Symbolic Node Name = ywgldb_HP-UX_B.11.31
                           Driver state = ONLINE
                       Hardware Path is = 1/0/10/1/0
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                         Driver Version = @(#) fcd B.11.31.0903 Dec 14 2008
阅读(3559) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~