光纤交换机和光纤卡安装使用手册.doc_第1页
光纤交换机和光纤卡安装使用手册.doc_第2页
光纤交换机和光纤卡安装使用手册.doc_第3页
光纤交换机和光纤卡安装使用手册.doc_第4页
光纤交换机和光纤卡安装使用手册.doc_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

fb2b167e82e9fd39c999060a4f0967d4 pdf 1 光纤交换机光纤交换机 光纤卡安装使用手册光纤卡安装使用手册 目录目录 第一章第一章 光纤卡的安装和使用光纤卡的安装和使用 4 1 1 前言 4 1 2 光纤卡 HP A6795A 安装 4 1 3 光纤卡 EMULEX 9002L 安装 5 fb2b167e82e9fd39c999060a4f0967d4 pdf 2 1 4 JNI FCE6410 光纤卡安装和使用 10 1 5 光纤卡 IBM 6228 的安装 FOR IBM AIX 4 3 10 第二章第二章 光纤交换机的安装和使用光纤交换机的安装和使用 12 2 1 光纤交换机的管理方式 12 2 2 光纤交换机的维护和使用 13 2 3 如何使用光纤交换机了解 SAN 网络的工作状态 20 第一章第一章 光纤卡的安装和使用光纤卡的安装和使用 1 1 前言前言 由于不同的主机类型可适配的光纤卡类型不同 故本章只描述常用的一些光纤卡的安 装过程 在实际开局时 需要根据具体配置的光纤卡 参照其安装使用说明和适配表进行 fb2b167e82e9fd39c999060a4f0967d4 pdf 3 安装 一般情况下光纤卡的安装和配置由供应商的工程师完成 即使是与本章描述相同型号的光纤卡安装 由于产品的批号有可能不同 安装方法也 有可能存在差异 所以安装时一定要仔细阅读光纤卡的安装说明 注意是否有特殊要求 本章内容仅供参考 1 2 1 2 光纤卡光纤卡 HPHP A6795AA6795A 安装安装 说明 HPHP 公司声明 光纤卡的安装必须由公司声明 光纤卡的安装必须由 HPHP 工程师完成 所以以上工程师完成 所以以上 的安装过程只是对的安装过程只是对 HPHP 工程师安装过程的一个描述 具体安装时工程师安装过程的一个描述 具体安装时 请联系请联系 HPHP 公司 公司 a 安装驱动程序 驱动程序在随机光盘的第一张盘 b 关机 c 装卡 d 重启 e 确认驱动程序安装成功 swlist A6795A B 11 00 10 PCI Tachyon TL TS XL2 Fibre Channel f 扫描FC卡 ioscan fn grep fc 输出此型号的光纤卡 安装即算是成功 1 3 1 3 光纤卡光纤卡 EmulexEmulex 9002L9002L 安装安装 1 3 1 Emulex 9002L 在在 IBM AIX 安装安装 a 关机 装卡 b 从新启动 以root登录系统 fb2b167e82e9fd39c999060a4f0967d4 pdf 4 c 将安装文件 通常是lpfc installp文件 拷贝到本机的一个目录 例如 tmp cd tmp d 进行软件安装 输入 installp a d tmp lpfc installp all e 如果需要从软盘安装 输入 installp a all f 重启系统 sync reboot 系统将重启至多用户模式 Emulex LightPulse 驱动自动加载 g 验证FC卡安装成功 lsdev C grep lpfc 应该有0 31个设备 h 查看FC卡实用程序 usr lpp diagnostics lputil i 通过AIX smit 查看FC卡参数 Smit Device Communication Fibre Channel FC Adapter adapter Change Show characteristics of fabre channel Adapter 说明 默认情况下 Emulex 9002L 为 loop 模式 可改为 fabric 模式 Smit Device Communication Fibre Channel FC Adapter adapter Change Show characteristics of fabre channel Adapter lpfc0 link topology identifier 值原为 4 改为 2 1 3 2 1 3 2 EmulexEmulex 9002L9002L 在在 sunsun solarissolaris 下的安装下的安装 1 3 2 1 1 3 2 1 安装过程安装过程 a 关机 装卡 b 系统重启动 以 root 登录系统 c 将安装文件 通常是 lpfc sparc tar 文件 拷贝到本机的一个目录 例如 tmp cd tmp tar xvf lpfc sparc tar d 安装软件包 fb2b167e82e9fd39c999060a4f0967d4 pdf 5 pkgadd d 显示 Select package s you wish to process or all to process all packages default all q 选择 lpfc 安装包对应的数字 如果需要查看帮助 请输入 help 选择安装后您还必须回答以下的几个问题 如无特殊需要请选择默认值 Rebuild manual pages database for section 7d y n 回车 Use IP networking over Fibre Channel y n n 如果您不需要基于光纤通道的 IP 选择 n 如果需要选择 y 选择 y 后您还必须完成以下 问题 Network hostname for first adapter q 请输入该主机的主机名 e 确认上面的选项选择 y 否则选 n Do you want to continue with the installation of y n y 进入安装进程 请仔细观察屏幕的输出值 注意 1 安装结束后 请注意以下问题 关于关于 SCSISCSI 如果您需要通过 lpfc 访问磁盘 请务必检查配置文件 sd conf 以确认是否与您的硬件配置相同 保证系统能够使用所有 的 lun 具体操作请见下一节内容 热插拔功能热插拔功能 默认安装的驱动程序没有启用 Solaris 的热插拔功能 如果 您需要启用热插拔功能 您必须执行一下操作 cp kernel drv sparcv9 lpfc hotplug kernel drv sparcv9 lpfc 或者或者 cp kernel drv lpfc hotplug kernel drv lpfc f 安装的最后您将再次看到 Select package s you wish to process or all to pocess all packages default all q q 这时如果您不需要再安装其他软件 可以选择退出 q 退出后 您将看到以下信息 IMPORTANT NOTICE This machine must now be rebooted in order to ensure sane operation g 在重启系统之前 请查看配置文件确定是否与您的硬件配置相同 以免造成不必要的 fb2b167e82e9fd39c999060a4f0967d4 pdf 6 再次重启 1 检查 lpfc conf 如果您有特殊的要求 请修改设置信息以满足您的需求 具 体请依据光纤卡配套使用指导书 一般情况下不需作更改 2 如果您在同一个 target 上有多个 LUN 您必须手动更改配置文件 kernel drv sd conf 在驱动程序安装后 此文件将自动加载 target0 至 target17 的 LUN0 如果您有大于 17 的 Target 或者同一个 target 有多个 LUN 必须手工将其他 Taget 和 LUN 加进配置文件 3 如果同一台主机装有两块以上的 LightPulse HBA 并且需要启用其 IP 功能 您 必须为除第一块外的每一块 HBA 手工建立一个地址文件 驱动安装过程只自动为 第一块 HBA 建立地址文件 etc hostname lpfn0 h 重启系统 sync reboot 1 3 2 2 1 3 2 2 关于关于 kernel drv sd conf kernel drv sd conf 的修改的修改 1 3 2 2 1 1 3 2 2 1 EmulexEmulex 关于修改关于修改 sd confsd conf 的说明的说明 The following discussion applies only when you have enabled FCP functionality in lpfc Solaris target drivers must be instructed which disks to probe for at boot time These instructions are contained in a configuration file specific to each target driver On SPARC the disk target driver is called sd on x86 the disk target driver is called sd for Solaris 7 and cmdk for Solaris 2 6 The configuration files are respectively sd conf and cmdk conf and are usually found in kernel drv There will only be one of these two target drivers on your system See the driver conf 4 man page for additional details The tape target driver is called st conf and entries must be included in this file in order to run tape devices Each disk drive on the Fibre Channel must have an entry in sd conf or cmdk conf The system administrator may have to define additional targets and LUNs in these files For FCP there can be up to 512 targets with a maximum of 256 Logical Unit Numbers LUN per target Initially the sd conf or cmdk conf file has entries of the format name sd class scsi target 0 lun 0 We use the class keyword to ensure that Solaris specifically probes all adapters controlled by all drivers that register themselves as class scsi for the specified targets and LUNs The lpfc driver registers itself as class scsi The installation procedure for lpfc automatically updates sd conf or cmdk conf to search for Fibre Channel disk drives The instructions added to the configuration file look like this fb2b167e82e9fd39c999060a4f0967d4 pdf 7 name sd parent lpfc target 0 lun 0 On x86 Solaris 2 6 you will see name cmdk One such line is added for the first 18 targets i e targets 0 through 17 We do not automatically add a line for every possible LUN Instead we only search the first 18 targets for devices at LUN 0 No entries are automatically added to the st conf file If you want to use disks e g RAID arrays with non zero LUNs or more than 18 targets simply add lines to the target driver configuration file specifying the desired target ID and LUN s For instance we have already included this example in your target driver configuration file name sd parent lpfc target 17 lun 0 name sd parent lpfc target 17 lun 1 name sd parent lpfc target 17 lun 2 name sd parent lpfc target 17 lun 3 On x86 Solaris 2 6 you will see name cmdk We use the parent keyword to ensure that Solaris specifically probes all adapters controlled by the lpfc driver for the specified targets and LUNs Note that changes to a target driver s configuration file will only take effect after the system has been rebooted 1 3 2 2 2 1 3 2 2 2 如何知道如何知道TargetTarget和和LUNLUN是多少 是多少 1 进入 PROM 的方法 当系统激活时 同时按下 STOP 键和 a 键 这时系统出现提示 符 ok 即表明系统当前处于 PROM 监控等级 2 在 PROM 状态提示符下确认当前系统所连接的 SCSI 设备状况 ok probe scsi all 这时 系统将显示所能识别的 SCSI 设备极其设备号 Target ID 和逻辑单元号 Unit 或 Lun 3 记下屏幕上的 output 进入系统后修改 sd conf 文件 关于修改方法这里简单举 例说一下 例 你的系统连接了两台阵列 知道其配置为 阵列 1 Target 0 Lun0 CxT0D0 Target 0 Lun1 CxT0D1 Target 0 Lun2 CxT0D2 Target 0 Lun3 CxT0D3 Target 0 Lun4 CxT0D4 fb2b167e82e9fd39c999060a4f0967d4 pdf 8 阵列 2 Target 24 Lun0 CxT24D0 Target 25 Lun0 CxT25D0 Target 26 Lun0 CxT26D0 Target 27 Lun0 CxT27D0 因为 Emulex 驱动程序在安装时只对 Target0 17 Lun 为 0 的设备自动加载 需要在修改 kernel drv sd conf 文件 在 Emulex 自动生成的字段中间 务必加在中间 否则卸栽驱 动程序时不会自动将您加入的行删除 加入 name sd parent lpfc target 0 lun 1 name sd parent lpfc target 0 lun 2 name sd parent lpfc target 0 lun 3 name sd parent lpfc target 0 lun 4 name sd parent lpfc target 24 lun 0 name sd parent lpfc target 25 lun 0 name sd parent lpfc target 26 lun 0 name sd parent lpfc target 27 lun 0 注意在这己行前不要加 1 4 1 4 JNI FCE6410 光纤卡安装和使用光纤卡安装和使用 1 4 1 JNI FCE6410 光纤卡安装和使用光纤卡安装和使用 for sun solaris 8 a 关机 装卡 b 重启 以 ROOT 用户登录 c 安装 OS Patch 108940 01 108434 07 108435 07 showrev p grep 108940 查看 Patch 是否已安装 一般 solary 8 都已经打过 patch 可从 下载 d 安装 JNI FCE6410 光纤卡的驱动软件 jnic pkg pkgadd d jnic pkg e 安装 JNI FCE6410 光纤卡的 JNI easy fibre 管理介面软件 ezf 22m tar tar xvf ezf 22m tar 解包 cd ezf 22m TMPDIR tmp export TMPDIR 建立一个临时交换空间 fb2b167e82e9fd39c999060a4f0967d4 pdf 9 install sh 安装软件 f 确认安装成功 可以打开管理界面在其界面上观察光纤卡的状态 1 4 2 JNIJNI easyeasy fibrefibre 管理介面的使用管理介面的使用 a 进入 JNI easy fibre 管理介面 cd opt jni ezfibre standalone ezfnetmask 255 255 248 0 gateway 10 11 203 254 请按照如下步骤操 作 IBM 3534 FC Switch admin ipaddrset Ethernet IP Address 10 11 203 28 10 11 203 28 Ethernet Subnetmask 255 255 248 0 255 255 248 0 Fibre Channel IP Address none Fibre Channel Subnetmask 255 255 255 0 Gateway Address none 10 11 203 254 Set IP addresses now y set now n next reboot y IBM 3534 FC Switch admin 2 2 2 通过通过 LED 指示灯了解光纤交换机连接状况指示灯了解光纤交换机连接状况 2 2 2 1 2 2 2 1 光纤交换机的光纤交换机的 LEDLED 指示灯介绍 以指示灯介绍 以 brocadebrocade 32003200 为例 为例 a 电源灯 Switch Power LED 在交换机的前面板上 b 端口状态灯 Port Status LED 在每个端口的左上方 c 端口速率灯 Port Speed LED 在每个端口的右上方 d 以太网速率灯 Ethernet Speed LED 在交换机的前面板上 fb2b167e82e9fd39c999060a4f0967d4 pdf 12 e 以太网活动灯 Ethernet Activity LED 在交换机的前面板上 f 端口准备就绪灯 Port Readiness LED 在交换机的后面板上 2 2 2 2 光纤交换机指示灯含义光纤交换机指示灯含义 下面主要介绍端口状态和速率灯 LEDLED灯灯LEDLED灯颜色灯颜色硬件状态硬件状态 端口速率灯常绿 2G 常灭 1G 端口状态灯常绿连接正常 没有数据传输 常橙收到光信号 没有online 常灭没有光信号 2 2 3 2 2 3 光纤交换机常用命令光纤交换机常用命令 2 2 3 1 help2 2 3 1 help 命令命令 作用 提供帮助 IBM 3534 FC Switch admin help agtcfgSet Set SNMP agent configuration agtcfgShow Print SNMP agent configuration agtcfgDefault Reset SNMP agent to factory default aliasShow Print Alias Server information backSpace Set clear alternate backspace char bsn Display set Brocade serial number configure Set switch config parameters configShow Print switch config parameters configDefault Reset config to factory default configDownload Load switch config from a server configUpload Save switch config to a server date Print set the system date and time errDump Print error log no page breaks errShow Print error log fabricShow Print fabric membership info faShow Display Fabric Assist info faStatsShow Display Fabric Assist Statistics fanShow Print fan status fastboot Reboot this switch bypassing POST fb2b167e82e9fd39c999060a4f0967d4 pdf 13 firmwareDownload Download firmware into switch fpgaDownload Download FPGA netlist into switch Type to continue Q to stop 具体命令帮助 用法 具体命令帮助 用法 help IBM 3534 FC Switch admin help nsshow NAME nsShow display local Name Server information SYNOPSIS nsShow AVAILABILITY all users DESCRIPTION This command displays local Name Server information which includes information about devices connected to this switch and cached information about devices connected to other switches in the Fabric The message There is no entry in the Local Name Server is displayed if there is no information in this switch but there still may be devices connected to other switches in the Fabric The command nsAllShow shows information from all switches Each line of output shows an asterisk indicates a cached entry from another switch Type U for unknown N for N Port NL for NL Port Pid The 24 bit Fibre Channel address Type to continue Q to stop fb2b167e82e9fd39c999060a4f0967d4 pdf 14 2 2 3 2 2 2 3 2 switchshowswitchshow 命令命令 作用 查看交换机状态 IBM 3534 FC Switch admin switchshow switchName IBM 3534 FC Switch 交换机名 switchType 16 2 switchState Online 交换机状态 switchMode Native switchRole Principal switchDomain 1 交换机域名 switchId fffc01 switchWwn 10 00 00 60 69 c0 08 0e 交换机 wwn switchBeacon OFF Zoning OFF Zoning 设置 off port 0 id N2 Online L Port 1 public 1 phantom port 1 id N1 Online F Port 20 00 00 e0 69 f0 29 48 port 2 id N2 Online F Port 50 06 0b 00 00 10 0b 26 port 3 id N2 Online F Port 10 00 00 00 c9 2e 05 48 port 4 id N2 Online F Port 50 06 0b 00 00 10 0b 1e port 5 id N2 Online F Port 10 00 00 00 c9 28 c8 98 port 6 id N1 Online F Port 10 00 00 e0 02 22 12 20 port 7 id N1 Online L Port 1 public 2 2 3 3 2 2 3 3 nsshownsshow 命令命令 作用 查看名字服务 IBM 3534 FC Switch admin nsshow Type Pid COS PortName NodeName TTL sec NL 011001 2 3 10 00 00 00 c9 29 2f 65 20 00 00 00 c9 29 2f 65 na FC4s FCP Fabric Port Name 20 00 00 60 69 c0 08 0e N 011100 2 3 20 00 00 e0 69 f0 29 48 10 00 00 e0 69 f0 29 48 na Fabric Port Name 20 01 00 60 69 c0 08 0e N 011200 3 50 06 0b 00 00 10 0b 26 50 06 0b 00 00 10 0b 27 na fb2b167e82e9fd39c999060a4f0967d4 pdf 15 FC4s FCP Fabric Port Name 20 02 00 60 69 c0 08 0e N 011300 2 3 10 00 00 00 c9 2e 05 48 20 00 00 00 c9 2e 05 48 na FC4s FCP Fabric Port Name 20 03 00 60 69 c0 08 0e N 011400 3 50 06 0b 00 00 10 0b 1e 50 06 0b 00 00 10 0b 1f na FC4s FCP Fabric Port Name 20 04 00 60 69 c0 08 0e N 011500 2 3 10 00 00 00 c9 28 c8 98 20 00 00 00 c9 28 c8 98 na FC4s FCP Fabric Port Name 20 05 00 60 69 c0 08 0e N 011600 3 10 00 00 e0 02 22 12 20 10 00 00 e0 02 02 12 20 na FC4s FCP HP C7200 131D Fabric Port Name 20 06 00 60 69 c0 08 0e NL 0117ef 3 20 01 00 60 45 16 23 6a 10 00 00 60 45 16 23 6a na FC4s FCP Fabric Port Name 20 07 00 60 69 c0 08 0e The Local Name Server has 8 entries IBM 3534 FC Switch admin 说明 NL 011001 2 3 10 00 00 00 c9 29 2f 65 20 00 00 00 c9 29 2f 65 na FC4s FCP Fabric Port Name 20 00 00 60 69 c0 08 0e 释义 释义 对端连接拓扑为 loop 方式 PID 011001 Wwpn 10 00 00 00 c9 29 2f 65 wwnn 20 00 00 00 c9 29 2f 65 交换机端口 wwpn 20 00 00 60 69 c0 08 0e 一般来说 如果在交换机上能看到 FC 端口的 wwn 那么这个 FC 连接是正确的 2 2 3 4 2 2 3 4 nsallshownsallshow 命令命令 作用 查看名字服务器信息 IBM 3534 FC Switch admin nsallshow 011001 011100 011200 011300 011400 011500 011600 0117ef 8 Nx Ports in the Fabric IBM 3534 FC Switch admin fb2b167e82e9fd39c999060a4f0967d4 pdf 16 2 2 3 5 2 2 3 5 portshowportshow 命令命令 作用 查看交换机端口状态 用法 portshow IBM 3534 FC Switch admin portshow 3 portFlags 0 x23805b portLbMod 0 x0 PRESENT ACTIVE F PORT G PORT U PORT LOG IN NOELP LED ACCEPT portType 4 1 portState 1 Online portPhys 6 In Sync portScn 6 F Port portRegs 0 x81030000 portData 0 x102cc750 portId 011300 portWwn 20 03 00 60 69 c0 08 0e portWwn of device s connected 10 00 00 00 c9 2e 05 48 Distance normal Speed N2Gbps Interrupts 41 Link failure 0 Frjt 0 Unknown 2 Loss of sync 2 Fbsy 0 Lli 12 Loss of sig 0 Proc rqrd 29 Protocol err 0 Timed out 0 Invalid word 0 Rx flushed 0 Inval

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论