커피향이 나는 *NIX
커피닉스
시스템/네트웍/보안을 다루는 곳
*
HanIRC의 #coffeenix 방
[
장비 및 회선 후원
]
> Forum <
IT 일정
N
e
w
!
자동화 프로젝트
HOME
>
네트워크(network)
>
SAN / NAS / 스토리지
도움말
검색 :
사이트
WHOIS
웹서버 종류
Brocade SAN 스위치 펌웨어 업그레이드
작성일 : 2012/09/11 08:38
글쓴이 : 좋은진호 (
http://coffeenix.net/
)
조회수 : 24445
[
이전화면
/
수정
] 비밀번호 :
제 목 : Brocade SAN 스위치 펌웨어 업그레이드
작성자 : 좋은진호(truefeel,
http://coffeenix.net/
)
작성일 : 2012.5.17(목), 5.23(수)
정리일 : 2012.9.3(월)
SAN 스위치는 설치 후에 버전상의 문제가 없다면 펌웨어를 업그레이드 할 일이 거의 없다.
저는 SAN 스위치(SAN Switch)를 운영하지만 스토리지 전문 엔지니어가 아니다. SAN에서 CLI명령을 조금 사용하는 정도다. 이번에 펌웨어 업그레이드할 기회가 생겼고, 직접 해보고 싶어서 전문 엔지니어에 맡기지 않고 해봤다.
참고로 Brocade SAN 스위치의 Febric OS는 리눅스 기반으로 만들어졌다. OS적 관점에서 몇가지 특징을 이야기 하면 다음과 같다.
- 패키지는 rpm으로 되어 있다.
- CLI접속시 restricted bash(rbash)가 동작한다.
- CLI용 명령은 쉘스크립트로 이뤄진 것이 많다. (memshow, version, ... 등)
- CLI는 admin ID로 접속하지만 리눅스 기반이니 root ID도 있을 것이다. 하지만 ssh접속은 admin만 가능하게 제한되어 있을 것이다. (추측)
1. 현재 SAN 스위치 정보 확인하기
version, firmwareshow 등으로 버전 정보를 미리 확인한다.
SAN2:admin>
switchshow
switchName: SAN2
switchType: 71.2 <-- 스위치 타입
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 2
... 생략 ...
SAN2:admin>
firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.4.2a <-- Primary 버전
v6.4.2a <-- Secondary 버전
SAN2:admin>
SAN2:admin>
version
Kernel: 2.6.14.2 <-- 기반 OS인 리눅스 커널 버전
Fabric OS: v6.4.2a <-- OS버전
Made on: Mon Jul 18 22:27:42 2011
Flash: Tue Feb 21 18:35:31 2012
BootProm: 1.0.9
SAN2:admin>
2. FTP 설정
펌웨어 v6.4.2a -> v6.4.2b로 업그레이드 한다고 가정하자. 펌웨어 파일 v6.4.2b.zip을 FTP서버에 풀어놓는다.
[ Windows에서 풀었을 때 펌웨어 디렉토리구조의 일부다. ]
FTP 서버 종류는 다양하므로 FTP서버 셋팅은 따로 설명하지는 않겠다.
저는 /data/brocade/v6.4.2b/ 디렉토리에 펌웨어가 있고, /data/brocade/ 를 FTP의 root 디렉토리로 지정했다.
3. SAN 스위치 펌웨어 업그레이드 (CLI 환경)
firmwaredownload 명령 하나로 쉽게 업그레이드할 수 있다.
SAN2:admin>
firmwaredownload -s
Server Name or IP Address: 10.10.10.10 (FTP 서버의 IP를 지정)
User Name:
ftpuser
File Name:
/v6.4.2b/release.plist
(FTP의 release.plist 파일 경로를 지정한다. 경로 지정 주의. 아래에 별도 설명)
Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]:
2
Password:
Do Auto-Commit after Reboot [Y]:
y
(리부팅 후 auto commit 여부)
Reboot system after download [N]:
y
(download후 자동으로 rebooting 여부)
Server IP: 10.10.10.10, Protocol IPv4
Checking system settings for firmwaredownload...
System settings check passed.
You are running firmwaredownload with auto-reboot and auto-commit enabled. After the firmware is downloaded the system will reboot and commit firmware automatically.
Do you want to continue (Y/N) [Y]:
y
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
Preparing for firmwaredownload...
Start to install packages...
dir ##################################################
ldconfig ##################################################
... 생략 ...
awk ##################################################
ipsec ##################################################
Removing unneeded files, please wait ...
Finished removing unneeded files.
All packages have been downloaded successfully.
Firmware has been downloaded to the secondary partition of the switch.
HA Rebooting ...
위에서 'File Name: '에 release.plist 경로를 지정할 때 주의가 필요하다.
release.plist 파일은 /v6.4.2b/ 아래에 스위치 타입 디렉토리(SWBD??/)마다 존재한다. 업그레이드시에 타입은 자동으로 파악된다. 따라서 /v6.4.2b/SWBD83/release.plist 로 지정하지 않고 /v6.4.2b/release.plist 처럼 지정해야 한다.
4. 펌웨어 업그레이드 후 정보 확인
SAN2:admin>
version
<-- version 업 확인
Kernel: 2.6.14.2
Fabric OS: v6.4.2b <-- v6.4.2a에서 업그레이드 되었다.
Made on: Wed Sep 21 02:57:39 2011
Flash: Thu May 17 17:07:47 2012
BootProm: 1.0.9
SAN2:admin>
firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.4.2b <-- Primary 버전이 바뀐 것을 확인
v6.4.2a <-- Secondary 버전은 아직 변경되지 않았으나 곧 auto commit될 것이다.
SAN2:admin>
firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.4.2b
v6.4.2b <-- 시간이 조금 지난 후 Secondary 버전도 바뀌었다. 진행중에는 Unknown으로 표시되기도 한다.
SAN2:admin>
clihistory
<-- 리부팅된 후에는 CLI history가 지워진다.
May 17 17:08:30.267 1 admin, 10.10.10.10, version
May 17 17:08:45.816 1 admin, 10.10.10.10, firmwareshow
May 17 17:09:13.146 1 admin, 10.10.10.10, zoneshow
May 17 17:09:16.971 1 admin, 10.10.10.10, date
May 17 17:10:57.374 1 admin, 10.10.10.10, firmwareshow
펌웨어 업데이트시에 auto commit을 선택하지 않았을 경우에 리부팅 후 firmwarecommit 을 한번 해주면 commit이 된다.
5. SAN 스위치 펌웨어 업그레이드 (GUI 화면)
SAN 스위치 GUI화면을 실행한 후 Manage -> Switch Admin을 클릭한다.
CLI에서와 같은 방법으로 FTP서버 IP와 경로를 지정해서 업그레이드를 진행하면 된다.
6. 참고 메시지들
1) 펌웨어를 받아올 FTP 서버 접속 실패시 에러는 다음과 같다.
SAN2:admin>
firmwaredownload -s
... 생략 ...
Checking system settings for firmwaredownload...
Failed to access ftp://ftpuser:********@10.10.10.10//v6.4.2b/release.plist
The server is inaccessible or firmware path is invalid. Please make sure the server name or IP address, the user/password and the firmware path are valid.
SAN2:admin>
2) 어떻게 펌웨어 업그레이드가 진행됐는지 상황을 살펴본다.
SAN2:admin>
firmwaredownloadstatus
[1]: Thu May 17 17:05:59 2012
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
[2]: Thu May 17 17:10:03 2012
Firmware has been downloaded to the secondary partition of the switch.
[3]: Thu May 17 17:07:59 2012
The firmware commit operation has started. This may take up to 10 minutes.
[4]: Thu May 17 17:10:45 2012
The commit operation has completed successfully.
[5]: Thu May 17 17:10:45 2012
Firmwaredownload command has completed successfully. Use firmwareshow to verify the firmware versions.
[6]: Thu May 17 17:10:51 2012
The firmware commit operation has started. This may take up to 10 minutes.
[7]: Thu May 17 17:10:51 2012
The commit operation has completed successfully.
SAN2:admin>
커피닉스 카페 최근 글
[06/16]
[질문]SAN 스위치 브로드케이드 dcx8510-4 장비관련입니다.
[04/22]
Re: 영화속에 컴퓨터 이야기 ~스워드피쉬(2001)
[10/20]
Cross Compiler 깔
[07/14]
SSL АО
[04/26]
Re: 도스화면 원격조종 여부
[04/25]
도스화면 원격조종 여부
[10/30]
Cshell에서 난수 설정
[10/23]
공항철도주식회사 SE 구인 件
[01/26]
Re: wget으로 다른서버에있는 디렉토리를 가져오려고합니다.
[01/25]
wget으로 다른서버에있는 디렉토리를 가져오려고합니다.
[01/11]
특정 안드로이드 WebView 버전에서 SSL 문제 (WebView 버그)
[08/01]
DNS forwarder (전달자) 서버를 통해서 쿼리하면 역방향을 받아오질 못합니다.
[05/16]
(주)후이즈 시스템엔지니어 (경력자) 모집
[02/15]
[AWS] Cloudfront edge 확인하기
[01/20]
Mobile Service/eCommerce 기업에서 Server / Java / PHP 개발자 구인
N
e
w
! 최근에 등록한 페이지
KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
오픈캐스케이드 캐드 (OpenCASCADE CAD)
QCad for Windows --- GNU GPL (Free Software)
The Hello World Collection
IPMI를 활용한 리눅스 서버관리
DNS 설정 검사
nagiosgraph 설치 방법
Slony-I 설치 방법 (postgresql replication tool)
Qmail기반의 Anti spam 시스템 구축하기
clusterssh
[ 함께하는 사이트 ]
운영진 :
좋은진호(truefeel)
, 야수(yasu), 범냉이, sCag
2003년 8월 4일~