rx3600 서버에 MSA1500 붙이기.

1. MSA1500은 다른 장비에서 사용하던것으로, 볼륨구성(unit 0)이 되어 있었음.

2. rx3600에 HBA (single port)추가, SAN 스위치 없이 직접 스토리지와 hba연결.

3.  rx3600에서는 hba와 장치 /dev/fcd0 는 인식되었으나, ioscan -funC disk 에서 msa 장비는 보이지 않음.

# ioscan
H/W Path                   Class                            Description
==============================================
root
0                                    ioa                         System Bus Adapter (4030)
0/0                               ba                          Local PCI-X Bus Adapter (122e)
0/0/1/0                     tty                          PCI class(255,0) (103c1303)
0/0/1/1                      tty                         PCI SimpleComm (103c1302)
0/0/1/2                      tty                   PCI Serial (103c1048)
0/0/2/0                     OO                   USB OHCI Interface
0/0/2/0.0                OO                   USB Composite Device
0/0/2/0.0.0            OO                   Virtual Keyboard
0/0/2/0.0.1                   unknown                   OO Device Driver
0/0/2/0.2                   OO                   USB Composite Device
0/0/2/0.2.0                   OO                   EP1 Interrupt
0/0/2/0.2.1                   OO                   USB Boot Protocol Mouse
0/0/2/1                   OO                   USB OHCI Interface
0/0/2/1.0                   OO                   USB Composite Device
0/0/2/1.0.0                   OO                   USB Bulk Only
0/0/2/1.0.16                   ext_bus                   USB SCSI Stack Adaptor
0/0/2/1.0.16.0                   target
0/0/2/1.0.16.0.0                   disk                   TEAC DVD-ROM DW-224EV
0/0/2/1.0.16.7                   target
0/0/2/1.0.16.7.0                   ctl                   Initiator
0/0/2/2                   OO                   USB EHCI Interface
0/0/4/0                   graphics                   PCI Display (10025159)
0/1                   ba                   Local PCI-X Bus Adapter (122e)
0/2                   ba                   Local PCI-X Bus Adapter (122e)
0/2/1/0                   lan                   HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
0/3                   ba                   Local PCI-X Bus Adapter (12ee)
0/3/1/0                   lan                   HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter
0/3/1/1                   lan                   HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter
0/4                   ba                   Local PCI-X Bus Adapter (122e)
0/4/1/0                   escsi_ctlr                   HP PCI/PCI-X SAS MPT Adapter
0/4/1/0.0.0                   ext_bus                   SAS Device Interface
0/4/1/0.0.0.0                   target
0/4/1/0.0.0.0.0                   disk                   HP IR Volume
0/4/1/0.0.0.3                   target
0/4/1/0.0.0.3.0                   disk                   HP IR Volume
0/4/1/0.0.0.4                   target
0/4/1/0.0.0.4.0                   disk                   HP DG0146BARTP
0/4/1/0.0.0.5                   target
0/4/1/0.0.0.5.0                   disk                   HP DG0146BARTP
0/4/2/0                   lan                   HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
0/4/2/1                   lan                   HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
0/5                   ba Local PCI-X Bus Adapter (122e)
0/5/2/0                   fc                   HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
0/5/2/0.8                   fcp                   FCP Protocol Adapter
0/5/2/0.8.0.101.0                   ext_bus                   FCP Array Interface
0/5/2/0.8.0.101.0.0                   target
0/5/2/0.8.0.101.0.0.0                   disk                   HP MSA VOLUME
0/5/2/0.8.0.255.6                   ext_bus                   FCP Device Interface
0/5/2/0.8.0.255.6.5                   target
0/5/2/0.8.0.255.6.5.0                   ctl                   HP MSA CONTROLLER
0/6                   ba                   Local PCI-X Bus Adapter (122e)
0/6/1/0                   lan                   HP AD331-60001 PCI/PCI-X 1000Base-T Adapter
0/7                   ba                   Local PCI-X Bus Adapter (12ee)
0/7/1/0                   ext_bus                   SCSI Ultra320 A6961-60111
0/7/1/0.3                   target
0/7/1/0.3.0                   tape                   HP C7438A
0/7/1/0.7                   target
0/7/1/0.7.0                   ctl                   Initiator
0/7/1/1                   ext_bus                   SCSI Ultra320 A6961-60111
0/7/1/1.7                   target
0/7/1/1.7.0                   ctl                   Initiator
120                   processor                   Processor
121                   processor                   Processor
250                   ba                   Core I/O Adapter
250/0                   ipmi                   IPMI Controller
250/1                   tty                   Built-in RS232C
250/2                   acpi_node                   Acpi Hardware

#fcmsutil /dev/fcd0

Vendor ID is = 0x001077
Device ID is = 0x002422
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x0012d6
PCI Mode = PCI-X 66 MHz
ISP Code version = 4.0.22
ISP Chip version = 3
Topology = PRIVATE_LOOP
Link Speed = 2Gb
Local N_Port_id is = 0x000001
Previous N_Port_id is = 0x000001
Local Loop_id is = 125
N_Port Node World Wide Name = 0x5001438007d191d3
N_Port Port World Wide Name = 0x5001438007d191d2
Switch Port World Wide Name = N/A
Switch Node World Wide Name = N/A
Driver state = ONLINE
Hardware Path is = 0/5/2/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx & 24xx Driver B.11.23.06 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Jun 23 2006,14:06:46

#ioscan -funC disk
Class      I      H/W Path      Driver      S/W State      H/W Type      Description
=========================================================
disk  0      0/0/2/1.0.16.0.0      sdisk      CLAIMED      DEVICE      TEAC      DVD-ROM DW-224EV
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0
disk 2 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG0146BARTP
/dev/dsk/c3t4d0 /dev/rdsk/c3t4d0
disk 3 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP DG0146BARTP
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0

4.  MSA1500 에 콘솔 연결(RJ45z, 19600 bps). connection 생성

CLI-1> SHOW CONNECTIONS

Connection Name: <Unknown>
Host WWNN = 50014380-07D191D3
Host WWPN = 50014380-07D191D2
Profile Name = Default
Unit Offset = 0
Controller 1 Port 1 Status = Offline
Controller 2 Port 1 Status = Offline

Connection Name: rx6600-1
Host WWNN = 50060B00-00689589
Host WWPN = 50060B00-00689588
Profile Name = HP
Unit Offset = 0

Connection Name: rx6600-2
Host WWNN = 50060B00-0068958B
Host WWPN = 50060B00-0068958A
Profile Name = HP
Unit Offset = 0

CLI-1> SHOW ACL

ACL is enabled:
Connection WWPN Units
rx6600-1 50060B00-00689588 0
rx6600-2 50060B00-0068958A 0
Inaccessible Units: None

connection 생성. profile은 os에 따라서 달라짐.

CLI-1> add connection RX3600 wwpn=50014380-07D191D2 profile=HP

CLI-1> Connection has been added successfully.
Profile HP is set for the new connection.

CLI-1> show connections

Connection Name: RX3600
Host WWNN = 50014380-07D191D3
Host WWPN = 50014380-07D191D2
Profile Name = HP
Unit Offset = 0
Controller 1 Port 1 Status = Offline
Controller 2 Port 1 Status = Offline

Connection Name: rx6600-1
Host WWNN = 50060B00-00689589
Host WWPN = 50060B00-00689588
Profile Name = HP
Unit Offset = 0

Connection Name: rx6600-2
Host WWNN = 50060B00-0068958B
Host WWPN = 50060B00-0068958A
Profile Name = HP
Unit Offset = 0

SAN스위치를 거치지 않는경우에는 ACL을 만들 필요도 없고, 기존 ACL도 삭제해야함.

CLI-2> delete acl wwpn=rx6600-1 unit=0
WWPN must be entered in the following format: wwpn=xxxxxxxx-xxxxxxxx

CLI-2> delete acl wwpn=50060B00-00689588 unit=0
The connection wwpn=50060b00-00689588 does not exist!

LI-2> show acl

ACL is enabled:
Connection WWPN Units
rx6600-1 50060B00-00689588 0
rx6600-2 50060B00-0068958A 0
Inaccessible Units: None

CLI-2> delete acl connection=rx6600-1 unit=0
Disallowing 50060B00-00689588 access to unit 0.

CLI-2> delete acl connection=rx6600-2 unit=0
Disabling ACL. All hosts now have access to all units.

CLI-2> show acl

ACL is disabled. To enable ACL use ‘add acl’.

5. os 에서 ioscan 하여 디스크가 인식되는지 확인

#ioscan

#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
===============================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c3t3d0 /dev/rdsk/c3t3d0
disk 2 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG0146BARTP
/dev/dsk/c3t4d0 /dev/rdsk/c3t4d0
disk 3 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP DG0146BARTP
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 5 0/5/2/0.8.0.101.0.0.0 sdisk CLAIMED DEVICE HP MSA VOLUME
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0

6. 이후, 화일시스템 생성하여 사용.

 

답글 남기기

Your email address will not be published.