SAN switch - Zoning Practice

2019.02.01 20:31

ischo 조회 수:2689

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++



SAN Swtich Zoning 예제


[ 시나리오 ]
SAN Switch Port 연결은 다음과 같다.
0번포트 : 스토리지 SP-A 포트1
1번포트 : 스토리지 SP-B 포트1
2번포트 : SERVER1 포트1
3번포트 : SERVER1 포트2
4번포트 : SERVER2 포트1
5번포트 : SERVER2 포트2
6번포트 : SERVER3 포트1
7번포트 : SERVER3 포트2

현재 스토리지:SERVER1,  SERVER1:SERVER2  조닝이 되어있는데,
SERVER1:SERVER2 조닝을 삭제하고 스토리지:SERVER3 조닝을 추가하라.



[ Practice ]

# 현재 구성 확인

DS_300B:admin> zoneshow
Defined configuration:
 cfg:   sw_config
                STG_SERVER1; SERVER1_SERVER2;
 zone:  STG_SERVER1
                STG_SPA_P1; STG_SPB_P1; SERVER1_01; SERVER1_02 
 zone:  SERVER1_SERVER2
                SERVER2_01; SERVER1_02; SERVER2_01; SERVER2_02
 alias: STG_SPA_P1
                1,0
 alias: STG_SPB_P1
                1,1
 alias: SERVER1_01
                1,2
 alias: SERVER1_02
                1,3  
 alias: SERVER2_01
                1,4
 alias: SERVER2_02
                1,5


# SERVER3 alias 추가 (포트조닝)
    
DS_300B:admin> alicreate "SERVER3_01","1,6"
DS_300B:admin> alicreate "SERVER3_02","1,7"


DS_300B:admin> zoneshow
Defined configuration:
 cfg:   sw_config
                STG_SERVER1; SERVER1_SERVER2;
 zone:  STG_SERVER1
                STG_SPA_P1; STG_SPB_P1; SERVER1_01; SERVER1_02 
 zone:  SERVER1_SERVER2
                SERVER2_01; SERVER1_02; SERVER2_01; SERVER2_02
 alias: STG_SPA_P1
                1,0
 alias: STG_SPB_P1
                1,1
 alias: SERVER1_01
                1,2
 alias: SERVER1_02
                1,3  
 alias: SERVER2_01
                1,4
 alias: SERVER2_02
                1,5
 alias: SERVER3_01
                1,6
 alias: SERVER3_02
                1,7
    

# SERVER1:SERVER2 조닝 삭제
    
DS_300B:admin> zonedelete "SERVER1_SERVER2"
DS_300B:admin> cfgremove "sw_config","SERVER1_SERVER2"


# 스토리지:SERVER3 조닝 추가

DS_300B:admin> zonecreate "STG_SPA_SERVER3","STG_SPA_P1;SERVER3_01;SERVER3_02"
DS_300B:admin> zonecreate "STG_SPB_SERVER3","STG_SPB_P1;SERVER3_01;SERVER3_02"
DS_300B:admin> cfgadd "sw_config","STG_SPA_SERVER3;STG_SPB_SERVER3"


# 설정내용 저장

DS_300B:admin> cfgsave
DS_300B:admin> cfgenable sw_config


# 적용된 조닝 config 확인

DS_300B:admin> zoneshow
Defined configuration:
 cfg:   sw_config
                STG_SERVER1; STG_SPA_SERVER3; STG_SPB_SERVER3
 zone:  STG_SERVER1
                STG_SPA_P1; STG_SPB_P1; SERVER1_01; SERVER1_02 
 zone:  STG_SPA_SERVER3
                STG_SPA_P1; STG_SPB_P1; SERVER3_01; SERVER3_02
 zone:  STG_SPB_SERVER3
                STG_SPB_P1; STG_SPB_P1; SERVER3_01; SERVER3_02
 alias: STG_SPA_P1
                1,0
 alias: STG_SPB_P1
                1,1
 alias: SERVER1_01
                1,2
 alias: SERVER1_02
                1,3  
 alias: SERVER2_01
                1,4
 alias: SERVER2_02
                1,5
 alias: SERVER3_01
                1,6
 alias: SERVER3_02
                1,7


서버에 요청 중입니다. 잠시만 기다려 주십시오...