【正文】
換機(jī)能自適應(yīng)光纖卡的速率、連接拓?fù)浞绞?、學(xué)習(xí) wwn 等;由于在 SAN 環(huán)境下設(shè)備連通測(cè)試的工具很少,通過(guò)光纖交換機(jī)來(lái)做排錯(cuò)測(cè)試是最簡(jiǎn)單有效的方法。按提示重啟系統(tǒng)后,可對(duì) 3 中所選設(shè)備進(jìn)行操作。 起 JNI easy fibre 管理介面b) 從介面中可以查看到掛到 JNI FCE6410 光纖卡上的設(shè)備(包括了 Target ID和 LUN 號(hào)) 。export TMPDIR #建立一個(gè)臨時(shí)交換空間 9./ #安裝軟件f) 確認(rèn)安裝成功,可以打開管理界面在其界面上觀察光纖卡的狀態(tài)。注意在這己行前不要加。name=sd parent=lpfc target=26 lun=0。name=sd parent=lpfc target=24 lun=0。name=sd parent=lpfc target=0 lun=3。name=sd parent=lpfc target=0 lun=1。關(guān)于修改方法這里簡(jiǎn)單舉例說(shuō)一下:例:你的系統(tǒng)連接了兩臺(tái)陣列,知道其配置為陣列 1: Target 0,Lun0 (CxT0D0) Target 0,Lun1 (CxT0D1)Target 0,Lun2 (CxT0D2)Target 0,Lun3 (CxT0D3)Target 0,Lun4 (CxT0D4) 8陣列 2:Target 24,Lun0 (CxT24D0)Target 25,Lun0 (CxT25D0)Target 26,Lun0 (CxT26D0)Target 27,Lun0 (CxT27D0)因?yàn)?Emulex驅(qū)動(dòng)程序在安裝時(shí)只對(duì) Target017,Lun 為 0的設(shè)備自動(dòng)加載,需要在修改/kernel/drv/。 3) 記下屏幕上的 output。(On x86, Solaris , 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 driver39。name=sd parent=lpfc target=17 lun=2。(On x86, Solaris , you will see name=cmdk.)One such line is added for the first 18 targets, ., 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 file.If you want to use disks (., RAID arrays) with nonzero 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。 on x86, the disk target driver is called sd for Solaris 7 and cmdk for Solaris . The configuration files are, respectively, and and are usually found in /kernel/drv. There will only be one of these two target drivers on your system. See the (4) man page for additional details. The tape target driver is called , 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 or . 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 or file has entries of the format:name=sd class=scsi target=0 lun=0。驅(qū)動(dòng)安裝過(guò)程只自動(dòng)為第一塊 HBA 建立地址文件: /etc/ 。在驅(qū)動(dòng)程序安裝后,此文件將自動(dòng)加載 target0至target17的 LUN0,如果您有大于 17的 Target或者同一個(gè) target有多個(gè)LUN,必須手工將其他 Taget和 LUN加進(jìn)配置文件。 如果您有特殊的要求,請(qǐng)修改設(shè)置信息以滿足您的需求(具體請(qǐng)依據(jù)光纖卡配套使用指導(dǎo)書,一般情況下不需作更改。退出后,您將看到以下信息:***IMPORTANT NOTICE ***This machine must now be rebooted in order to ensure sane operation.g) 在重啟系統(tǒng)之前,請(qǐng)查看配置文件確定是否與您的硬件配置相同,以免造成不必要的 6再次重啟。all39。具體操作請(qǐng)見(jiàn)下一節(jié)內(nèi)容。e) 確認(rèn)上面的選項(xiàng)選擇 y,否則選 nDo you want to continue with the installation of lpfc [y,n,?]:y進(jìn)入安裝進(jìn)程,請(qǐng)仔細(xì)觀察屏幕的輸出值。選擇安裝后您還必須回答以下的幾個(gè)問(wèn)題,如無(wú)特殊需要請(qǐng)選擇默認(rèn)值:Rebuild manual pages database for section 7d [y,n,?]:回車 Use IP working over Fibre Channel [y,n,?]:n如果您不需要基于光纖通道的 IP,選擇 n;如果需要選擇 y,選擇 y 后您還必須完成以下問(wèn)題。all39。g) 驗(yàn)證FC 卡安裝成功lsdev C | grep lpfc(應(yīng)該有031 個(gè)設(shè)備)h) 查看FC 卡實(shí)用程序/usr/lpp/diagnostics/lputili) 通過(guò)AIX smit 查看FC卡參數(shù)SmitDeviceCommunicationFibre Channel(FC) AdapteradapterChange/Show characteristics of fabre channel Adapter ? 說(shuō)明:默認(rèn)情況下,Emulex 9002L 為 loop 模式,可改為 fabric 模式:SmitDeviceCommunicationFibre Channel(FC) AdapteradapterChange/Show characteristics of fabre channel Adapter lpfc0link topology identifier(值原為 4,改為 2). Emule