您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > 技术专题如何在Solaris下进行SAN存储配置
如何在Solaris下进行SAN存储配置2020-1-2华赛资料,未经许可不得扩散第1页,共19页如何在Solaris下配置SAN存储服务工程师:何凯文档版本:B012009年06月13日华为赛门铁克科技有限公司2009年6月如何在Solaris下进行SAN存储配置2020-1-2华赛资料,未经许可不得扩散第2页,共19页目录SolarisforFCSAN设置..................................................................................................................................3检查Solaris下FCHBA卡的WWN信息..............................................................................................3在OBP状态下查看FCHBA信息..................................................................................................3在Solaris系统下查看FCHBA信息...............................................................................................5在FCSAN存储端将存储资源分配给FCHBA卡................................................................................7在Solaris下发现FCSAN磁盘...............................................................................................................7为FCSAN磁盘设置多路径..................................................................................................................11检查FC多路径信息...............................................................................................................................13SolarisforiSCSISAN设置.............................................................................................................................15在Solaris下设置网卡IP信息...............................................................................................................15检查iSCSIinitiator软件.........................................................................................................................15设置iscsiinitiatorname..........................................................................................................................16设置iscsitargetaddress...........................................................................................................................17在iSCSISAN存储端将存储资源分配给Solaris..................................................................................17在Solaris下识别iSCSISAN磁盘资源................................................................................................17常见故障处理.................................................................................................................................................19如何取消FC多路径功能.......................................................................................................................19如何在Solaris下进行SAN存储配置2020-1-2华赛资料,未经许可不得扩散第3页,共19页SolarisforFCSAN设置SolarisforFCSAN的设置过程包含以下几个主题:检查Solaris下FCHBA卡的WWN信息在存储阵列端将存储资源分配给FCHBA卡在Solaris下配置光纤存储资源根据业务情况为Solaris多路径进行配置检查Solaris下FCHBA卡的WWN信息在OBP状态下查看FCHBA信息1、在ok提示符下输入show-devs命令以列出已安装的设备。从输出信息中查找FCHBA信息。{0}okshow-devs.../pci@7c0/pci@0/pci@8/SUNW,qlc@0---QLOGIC单端口FCHBA卡第一端口/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/pci@7c0/pci@0/pci@8/SUNW,qlc@0/fp@0,0/disk.../pci@780/pci@0/pci@8/SUNW,qlc@1---QLOGICcc双端口FCHBA卡第一端口/pci@780/pci@0/pci@8/SUNW,qlc@1,1---QLOGICcc双端口FCHBA卡第二端口...说明:(1)若为Qlogic的HBA卡,其关键字为”qla”(2)若为Emulex的HBA卡,其关键字为:”emlxs”(3)SUNW,qlc@n可以用来识别FCHBA卡,其中n通常为介于0到9之间的单个数字。如何在Solaris下进行SAN存储配置2020-1-2华赛资料,未经许可不得扩散第4页,共19页(4)/pci@780/pci@0/pci@8/SUNW,qlc@0,n可以用来识别FCHBA卡的FC端口,其中n通常为介于1到9之间的单个数字。对于单端口FCHBA卡不显示此字段。2、在ok提示符下进入到FCHBA卡端口所在的目录,用.properties命令查看端口的具体信息{0}okcd/pci@7c0/pci@0/pci@9/SUNW,qlc@0{0}ok.propertiesassigned-addresses8109001000000000000040000000000000000100820900140000000003a000000000000000004000820900300000000003a400000000000000040000manufacturerQLGCversionQLE2460HostAdapterDriver(SPARC):1.2411/15/06modelQLE2460nameSUNW,qlcport-wwn2100001b32870331node-wwn2000001b32870331reg000900000000000000000000000000000000000001090010000000000000000000000000000001000309001400000000000000000000000000001000compatiblepciex1077,142.1077.142.3pciex1077,142.1077.142pciex1077,142pciex1077,2432.3pciex1077,2432pciclass,c0400short-version1.2411/15/06devsel-speed00000000max-latency00000000min-grant00000000device_typescsi-fcp#size-cells00000000#address-cells00000002fcode-rom-offset0000b000interrupts00000001cache-line-size00000010class-code000c0400subsystem-id00000142subsystem-vendor-id00001077revision-id00000003device-id00002432vendor-id000010773、在OK提示符下通过applyshow-children来检查HBA端口下挂载硬盘{12}okapplyshow-children/pci@7c0/pci@0/pci@9/SUNW,qlc@0QLogicQLE2460HostAdapterDriver(SPARC):1.2411/15/06Firmwareversion4.00.26如何在Solaris下进行SAN存储配置2020-1-2华赛资料,未经许可不得扩散第5页,共19页AdapterportID-20300**************FabricAttachedDevices**************说明:(1)在输入applyshow-children之前,可能需要使用reset-all命令在Solaris系统下查看FCHBA信息1、在系统下配置FCHBA卡。#cfgadm-aAp_IdTypeReceptacleOccupantConditionc0scsi-busconnectedunconfiguredunknownc1scsi-busconnectedconfiguredunknownc1::dsk/c1t0d0CD-ROMconnectedconfiguredunknownc2scsi-busconnectedunconfiguredunknownc3fcconnectedunconfiguredunknownc4fc-fabricconnectedunconfiguredunknownusb0/1unknownemptyunconfiguredokusb0/2unknownemptyunconfiguredokusb1/1.1unknownemptyunconfiguredokusb1/1.2unknownemptyunconfiguredokusb1/1.3unknownemptyunconfiguredokusb1/1.4unknownemptyunconfiguredokusb1/2unknownemptyunconfiguredok2、检查HBA驱动程序。方法一:#
本文标题:技术专题如何在Solaris下进行SAN存储配置
链接地址:https://www.777doc.com/doc-2446846 .html