Brocade SAN 스위치의 초기 설정 과정은 네트워크와 SAN 환경에 맞게 설정을 구성하는 중요한 작업입니다. 아래는 Brocade SAN 스위치의 초기 설정 방법을 단계별로 설명합니다.
브로드케이드 SAN 스위치의 초기 설정 방법
1. 콘솔 연결
- Brocade 스위치와 PC를 시리얼 케이블로 연결하고, 터미널 프로그램(예: PuTTY, Tera Term)을 사용하여 시리얼 포트로 접속합니다.
- 터미널 설정:
- 속도: 9600 bps
- 데이터 비트: 8
- 패리티: None
- 스톱 비트: 1
- 흐름 제어: None
2. 로그인
- 스위치를 부팅하고, 관리자로 로그인합니다.
- 기본 관리자 계정은
admin
이며, 비밀번호는 기본적으로password
로 설정되어 있습니다.
login: admin
password: password
SAN1:admin> configure
Configure...
Fabric parameters (yes, y, no, n): [no] yes
Domain: (1..239) [2] 1
WWN Based persistent PID (yes, y, no, n): [no]
R_A_TOV: (4000..120000) [10000]
E_D_TOV: (1000..5000) [2000]
WAN_TOV: (0..30000) [0]
MAX_HOPS: (7..19) [7]
Data field size: (256..2112) [2112]
Sequence Level Switching: (0..1) [0]
Disable Device Probing: (0..1) [0]
Suppress Class F Traffic: (0..1) [0]
Per-frame Route Priority: (0..1) [0]
Long Distance Fabric: (0..1) [0]
BB credit: (1..27) [16]
Disable FID Check (yes, y, no, n): [no]
Insistent Domain ID Mode (yes, y, no, n): [no]
Configure edge hold time (yes, y, no, n): [no]
Virtual Channel parameters (yes, y, no, n): [no]
F-Port login parameters (yes, y, no, n): [no]
Zoning Operation parameters (yes, y, no, n): [no]
RSCN Transmission Mode (yes, y, no, n): [no]
Arbitrated Loop parameters (yes, y, no, n): [no]
System services (yes, y, no, n): [no]
Portlog events enable (yes, y, no, n): [no]
ssl attributes (yes, y, no, n): [no]
rpcd attributes (yes, y, no, n): [no]
cfgload attributes (yes, y, no, n): [no]
webtools attributes (yes, y, no, n): [no]
WARNING: The domain ID will be changed. The port level zoning may be affected
SAN1:admin>
SAN1:admin> switchshow
switchName: SAN1
switchType: 66.1
switchState: Offline
switchMode: Native
switchRole: Disabled
switchDomain: 2 (unconfirmed)
switchId: fffc02
switchWwn: 10:00:00:05:1e:81:e4:08
zoning: ON (test)
switchBeacon: OFF
FC Router: OFF
FC Router BB Fabric ID: 1
Address Mode: 0
Index Port Address Media Speed State Proto
==============================================
0 0 020000 id N4 In_Sync FC Disabled
1 1 020100 id N4 In_Sync FC Disabled
2 2 020200 -- N8 No_Module FC Disabled
3 3 020300 -- N8 No_Module FC Disabled
...
38 38 022600 -- N8 No_Module FC Disabled
39 39 022700 id N4 No_Sync FC Disabled
SAN1:admin>
SAN1:admin> switchenable
SAN1:admin> switchshow
switchName: SAN1
switchType: 66.1
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 2 (unconfirmed)
switchId: fffc02
switchWwn: 10:00:00:05:1e:81:e4:08
zoning: ON (test)
switchBeacon: OFF
FC Router: OFF
FC Router BB Fabric ID: 1
Address Mode: 0
Index Port Address Media Speed State Proto
==============================================
0 0 020000 id N4 In_Sync FC Disabled (Switch not ready for F or L ports)
1 1 020100 id N4 In_Sync FC Disabled (Switch not ready for F or L ports)
2 2 020200 -- N8 No_Module FC
3 3 020300 -- N8 No_Module FC
4 4 020400 id N4 No_Sync FC Disabled (Switch not ready for F or L ports)
5 5 020500 id N4 No_Sync FC Disabled (Switch not ready for F or L ports)
6 6 020600 -- N8 No_Module FC
7 7 020700 -- N8 No_Module FC
...
38 38 022600 -- N8 No_Module FC
39 39 022700 id N4 No_Light FC
SAN1:admin> switchshow

3. 기본 설정 확인
- 기본 설정 확인을 위해 몇 가지 명령어를 사용할 수 있습니다:
switchshow # 스위치 상태 확인
ipaddrshow # IP 주소 확인
4. 스위치 IP 설정
- 네트워크에서 관리할 수 있도록 스위치의 IP 주소, 서브넷 마스크, 게이트웨이를 설정합니다.
ipaddrset
입력 예:
Ethernet IP Address [192.168.1.1]: <스위치 IP 주소>
Ethernet Subnetmask [255.255.255.0]: <서브넷 마스크>
Ethernet IP Address of Gateway [192.168.1.254]: <게이트웨이>
5. 시간 설정
- 시간 및 시간대 설정을 변경하려면 다음 명령어를 사용합니다:
tsclockserver "NTP 서버 IP 주소" # NTP 서버 설정
date # 시간 설정 확인
6. 패스워드 변경
- 기본 비밀번호는 보안상 취약하므로, 반드시 관리자의 비밀번호를 변경해야 합니다.
passwd # 관리자 비밀번호 변경
7. 패브릭 ID 설정 (선택 사항)
- 스위치가 패브릭에 참여하려면, 패브릭 ID를 설정할 수 있습니다.
fabricshow # 현재 패브릭 ID 확인
fabricprincipal -f <패브릭 ID> # 패브릭 ID 설정
8. 라이센스 설치 (필요 시)
- Advanced Zoning, Trunking과 같은 기능을 사용하려면 라이센스 키를 설치해야 합니다.
licenseadd <라이센스 키>
9. 포트 구성 및 상태 확인
- 포트 활성화 및 설정을 위해 다음 명령을 사용할 수 있습니다.
portshow # 포트 상태 확인
portenable <포트 번호> # 포트 활성화
10. 저장 및 적용
- 설정이 완료되면 스위치 설정을 저장합니다.
configsave # 설정 저장
이제 스위치는 SAN 환경에서 사용할 준비가 되었으며, 추가로 영역 설정(Zone configuration) 등을 통해 스토리지 및 서버 연결을 구성할 수 있습니다.