Zamena FC kartice na Unix-u

Dakle ako vam je na Unix serveru crkla FC kartica, i ona mora da se menja, kako proveriti sve putanje ka diskovima koje idu preko nje.

1. Proveriti da li su sve prisutne FC kartice i “uzete” od strane OS-a :
>ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
fc 0 0/0/10/1/0 td CLAIMED INTERFACE YY Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td0
fc 1 0/0/12/1/0 td CLAIMED INTERFACE YY Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td1

2. Proveriti po pojedinačnim katicama, da li vide mrežu i lepo rade :
>fcmsutil /dev/td0
Vendor ID is = 0x0010bb
Device ID is = 0x0010nn
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x0010bb
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x0b0400
N_Port Node World Wide Name = 0x50060b0000813f31
N_Port Port World Wide Name = 0x50060b0000813f30
Driver state = ONLINE
Hardware Path is = 0/0/10/1/0
Number of Assisted IOs = 19765403
Number of Active Login Sessions = 2
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = …..

3. Proveriti da li server po HW putanji kroz novu FC karticu vidi diskove na storidžu :
>ioscan -fnH 0/0/10/1/0
Class     I  H/W Path       Driver   S/W State   H/W Type     Description
======================================================================
fc        0  0/0/10/1/0     td       CLAIMED     INTERFACE    HP Tachyon XL2 Fibre Channel Mass Storage Adapter /dev/td0
fcp       2  0/0/10/1/0.11  fcp      CLAIMED     INTERFACE    FCP Domain
ext_bus  12  0/0/10/1/0.11.0.0.0        fcparray CLAIMED     INTERFACE    FCP Array Interface
target    3  0/0/10/1/0.11.0.0.0.0      tgt      CLAIMED     DEVICE
ctl      17  0/0/10/1/0.11.0.0.0.0.0    sctl     CLAIMED     DEVICE       XX      HSV200
/dev/rscsi/c12t0d0
disk     15  0/0/10/1/0.11.0.0.0.0.1    sdisk    CLAIMED     DEVICE       XX      HSV200
/dev/dsk/c12t0d1   /dev/rdsk/c12t0d1
disk     17  0/0/10/1/0.11.0.0.0.0.2    sdisk    CLAIMED     DEVICE       XX      HSV200
/dev/dsk/c12t0d2   /dev/rdsk/c12t0d2
disk     19  0/0/10/1/0.11.0.0.0.0.3    sdisk    CLAIMED     DEVICE       XX      HSV200
/dev/dsk/c12t0d3   /dev/rdsk/c12t0d3
…..

4. I na kraju proveriti da li VG vidi sve pripadajuće diskove :
>vgdisplay -v vgXXX
…..
PV Name                     /dev/dsk/c12t0d6
PV Name                     /dev/dsk/c13t0d6 Alternate Link
PV Name                     /dev/dsk/c15t0d6 Alternate Link
PV Name                     /dev/dsk/c16t0d6 Alternate Link
PV Status                   available
Total PE                    6079
Free PE                     39
Autoswitch                  On
Proactive Polling           On

5. Neki primeri za čitanje hardverskih putanja :
HW putanje na HP UX 11

6. Dodatni podaci o HBA :
>fcmsutil /dev/td0 vpd
V I T A L P R O D U C T D A T A
——— ————- ——-
Product Discription :’A6795A 2Gbps/1Gbps Fibre Channel 4X PCI HBA’
Part number :’A6795-62002′
Engineering Date Code :’B-3524′
Part Serial number :’A56A00668111′
Misc. Information :’PW=15W’
Mfd. Date :’A-4521′
Check Sum : 0x42
EFI version : ‘001.17’
Asset Tag :’NA’

Odličan link.

This entry was posted in Unix and tagged , . Bookmark the permalink.

Comments are closed.