위로 아래

순서

  1. 조닝
  2. WW 정보 확인

 
 


Zoning

zoning

  1. 조닝은 SAN Switch 엔지니어가 할 것

 
스위치 명령어
ww정보 확인
switchshow

 
조닝 확인
zoneshow

구성되어 있는 cfg, alias, zone 3가지 항목 출력
 
맨 아래에 유효한 구성 출력

 
 
 


필요한 WWN 정보 확인

Networker Server
lspci | grep -i fibre
HBA 카드의 포트 번호 확인

 
ls -lsrt /sys/class/scsi_host | grep -i 3b:00
포트 번호 host 확인

host 15, 16
 
ls -lsrt /sys/class/fc_host
fc 연결된 host 확인

host 15, 16
 
cat /sys/class/scsi_host/host15/device/fc_host/host15/port_name
ww정보 확인

0x100000109bf82145 = 10:00:00:10:9b:f8:21:45
0x100000109bf82146 = 10:00:00:10:9b:f8:21:46
 
WW정보 모아서 확인
cat /sys/class/scsi_host/host*/device/fc_host/host*/port_name

 
 
DD에서 initiator 확인
scsitarget initiator show list

처음 연결되면 initiator-1 이런 식으로 뜬다
 
initiator 이름 변경
scsitarget initiator rename initiator-1 kibksvp1l

 
이름 확인
scsitarget initiator show detailed

 
initiator 수동 추가
scsitarget initiator add [name] system-address [ww정보]

 
 
endpoint 확인
initiator와 연결되어 있는 endpoint 확인
scsitarget endpoint show list
scsitarget endpoint show detailed

System Address : 4b
FC WWPN : 50:02:18:85:0a:21:13:9d
 
initiator와 endpoint 확인
initiator   :  10:00:00:10:9b:f8:21:45   ( kibksvp1l )
endpoint  :  50:02:18:85:0a:21:13:9d   ( 4b )
 
 
 
 


FC Device 스캔

scsi 조회
Networker Server에서
scsi 디바이스 확인
lsscsi

조닝이 되면 여기에 목록이 뜬다
 
조닝된 ww정보가 들어 있는 host 숫자 확인
/sys/class/scsi_host/host1/device/fc_host/host1/port_name 안에 ww 정보가 입력되어 있다
 
ls -lsrt /sys/class/scsi_host
host 목록 확인

 
ww정보가 들은 host 확인
grep -r 명령어로 검색
grep -r [ww정보 구분자 없이] /파일경로

# grep -r 100000109bf82145 /sys/class/scsi_host/host{15..16}/device/fc_host/host{15..16}/port_name 2>/dev/null
>> /sys/class/scsi_host/host15/device/fc_host/host15/port_name:0x100000109bf82145

 
host15 파일 안에 조닝한 ww정보가 들어 있다
 
reboot 없이 device를 스캔
echo "1" > /sys/class/fc_host/host15/issue_lip

echo "- - -"> /sys/class/scsi_host/host15/scan

 
 
scsi 목록을 확인하면 L180 (Changer)와 Drive가 조회된다

 
inquire
SCSI 및 FC(파이버 채널) 장치 정보 출력하는 Networker 명령어

Auto Changer인 L180은 STK@2.1.0으로 되어 있다
 


NMC에 Device 등록

Storage node 생성

클라이언트에 storage node 깔고 vtl 연결했으면, 클라이언트의 storage node를 잡아줘야 한다

NMC > Devices > Storage Nodes > 우클릭 > New

 

storage node 이름은 클라이언트 hostname과 일치해야 한다

 

넷워커 서버 (hfmbkp01 외의 tibero01이 생겼다)

 

 

Device Scan
NMC > Devices > Scan for Devices

 

스캔할 storage node 선택

(Use Persistent Names를 Yes로 선택)

 

Start Scan

 

스캔 시작. 로그창 확인 

 
드라이브 스캔 완료 
Storage Nodes 탭에서 확인

(Changer 1개와 Drive 4개 확인)

 

Devices 탭에서 확인

(Changer 없이 Drive 4개 확인) 

 

라이브러리 등록 전

Devices 탭

Parent jukebox가 비어 있다

라이브러리가 잡히면 inquire에서 확인한 STK@2.1.0 등이 쓰여 있다

 

아이콘이 공구 모양

 

 

라이브러리 등록

Libraries 우클릭 > Configure All Libraries

 

 

Use Persistent Names : Yes 설정

 
Device가 제대로 잡혔다

 
VTL Library 확인

 
 
Auto Changer 들어가면 Drive와 Tape을 볼 수 있다

 
 
 
 


Label 라벨링

Pool 생성

 
Backup Pool 선택

Label template 입력 안 하면 자동 생성
 
생성 완료

 
 
라벨링
Label을 입력해주어야 사용할 수 있다

 
방금 만든 Pool과 Label 선택

 
 
1번부터 tape이 drive에 꽂혀서 labeling 된 후 다시 slot으로 돌아온다

 
 
라벨링 완료

 
 
 
 
 
 
 


에러

drive는 스캔되었는데, Parent jukebox에 Auto Changer 이름이 없는 경우




networker server에 접속해서 jukebox 수동으로 config
jbconfig

 
auto changer 할당 완료

 
 

 

 


라이브러리 안 잡힐 때

아래처럼 새로 등록한 tibero01 스토리지 노드가 라이브러리 configure도 안 되고 Ready도 안 되는 상태

라이브러리가 안 잡힌다

 

수동으로 잡아줘야한다

storage node인 서버에서 명령어 수행

jbconfig

(처음에 NSR server hostname은 서버 이름을, hostname to use as a prefix에는 storage node 이름을 입력)

 

1번 선택

jukebox 이름 선택

(자동으로 'rd=hostname:jukebox' 식의 이름으로 설정된다)

 

설정은 다 default로 넘기기

 


Drive path 입력

(local path인 /dev/nst0부터 차례로 입력)

 

drive type 선택

(LTO-7으로 만들었으면 13번)

모두 같은 모델로 선택

 

 

잡혔다

 

 

 

그러나 이렇게 수동으로 잡으면 Serial 번호 같은 건 안 나온다