NETWORK ENGINEER BLOG

Tips and Reviews for Engineers

NetApp Data ONTAP アップデート手順

FAS3210A クラスタモデルでのソフトウェアアップデート例になります。

Data ONTAP のダウンロード

下記 URL からソフトウェアをダウンロードします。
http://support.netapp.com/NOW/cgi-bin/software/

Web Server の準備

本例では、mongoose を使用して、端末を Web Server とします。
http://code.google.com/p/mongoose/
mongoose では、c:\ がデフォルトの Web Root folder になります。

Filer への Data ONTAP ダウンロード

"software get"コマンドを使用して、Data ONTAP をダウンロードします。

head1> software get http://192.168.1.100/736P5_setup_q.exe 736P5_setup_q.exe

正常にダウンロードした事を確認します。

head1> software list
736P5_setup_q.exe

head1> priv set advanced
head1*> ls /etc/software
.   
..   
736P5_setup_q.exe   

head1> priv set
Filer の Data ONTAP アップデート

バージョン情報を確認します。

head1> sysconfig
	NetApp Release 7.3.5.1P5: Wed Jun 15 15:37:59 PDT 2011
	System ID: ******* (head1); partner ID: ******* (head2)
<...snip...>

クラスタ状態を確認します。

head1> cf status
Cluster enabled, head2 is up.
Negotiated failover enabled (network_interface).
Interconnect status: up.

raid.back オプションを無効にしておきます。

head1> options raid.back
raid.background_disk_fw_update.enable on   (value might be overwritten in takeover)

head1> option raid.background_disk_fw_update.enable off
You are changing option raid.background_disk_fw_update.enable which applies to both members of the cluster in takeover mode.
This value must be the same in both cluster members prior to any takeover or giveback, or that next takeover/giveback may not work correctly.

head1> options raid.back
raid.background_disk_fw_update.enable off  (value might be overwritten in takeover)

"software update"コマンドを使用して、Data ONTAP をアップデートします。

head1> software update 736P5_setup_q.exe -r
software: You can cancel this operation by hitting Ctrl-C in the next 6 seconds.
software: Depending on system load, it may take many minutes
software: to complete this operation. Until it finishes, you will
software: not be able to use the console.
software: installing software, this could take a few minutes...
software: Data ONTAP(R) Package Manager Verifier 1
software: Validating metadata entries in /etc/boot/NPM_METADATA.txt
software: Checking sha1 checksum of file checksum file: /etc/boot/NPM_FCSUM-x86-64.sha1.asc
software: Checking sha1 file checksums in /etc/boot/NPM_FCSUM-x86-64.sha1.asc
software: installation of 736P5_setup_q.exe completed.
software: Reminder: upgrade both the nodes in the Cluster
software: Reminder: You may need to upgrade Volume SnapMirror source filers
software: associated with this filer. Volume SnapMirror can not mirror if the
software: version of ONTAP on the source filer is newer than that on the
software: destination filer.
download: Downloading boot device
download: If upgrading from a version of Data ONTAP prior to 7.3, please ensure
download: there is at least 3% of available space on each aggregate before
download: upgrading.  Additional information can be found in the release notes.
download: Downloading boot device (Service Area)
.................
Please type "reboot" for the changes to take effect.

バージョンが更新されている事を確認します。

head1> version -b
1:/x86_64/kernel/primary.krn: OS 7.3.6P5
1:/backup/x86_64/kernel/primary.krn: OS 7.3.5.1P5
1:/x86_64/diag/diag.krn:  5.5.2
1:/x86_64/firmware/excelsio/firmware.img: Firmware 1.9.0
1:/x86_64/firmware/DrWho/firmware.img: Firmware 2.5.0
1:/x86_64/firmware/SB_XV/firmware.img: Firmware 4.4.0
1:/x86_64/firmware/SB_XVI/firmware.img: Firmware 5.1.1
1:/boot/loader: Loader 1.8
1:/x86_64/freebsd/image1/kernel: OS 8.0.3P1
1:/common/firmware/zdi/zdi_fw.zpk: Flash Cache Firmware 2.2 (Build 0x201012201350)
1:/common/firmware/zdi/zdi_fw.zpk: PAM II Firmware 1.10 (Build 0x201012200653)
1:/common/firmware/zdi/zdi_fw.zpk: X1936A FPGA Configuration PROM 1.0 (Build 0x200706131558)

"cf takeover"コマンドを使用して、takeover します。
※takeover: head2 で head1 を引き継ぎます。実行はクラスタペアで行います。

head2> cf takeover
cf: takeover initiated by operator

head2 が head1 を正常に引き継いでいる(takeover している)事を確認します。

head2(takeover)> cf status
head2 has taken over head1.
head1 is ready for giveback.
Takeover due to negotiated failover, reason: operator initiated cf takeover

"cf giveback"コマンドを使用して、giveback します。
※giveback: head2 から head1 へ返還します。実行はクラスタペアで行います。

head2(takeover)> cf giveback

head2> cf status
Cluster enabled, head1 is up.
Negotiated failover enabled (network_interface).
Interconnect status: up.

Data ONTAP が更新している事を確認して完了です。

head1> sysconfig
	NetApp Release 7.3.5.1P5: Wed Jun 15 15:37:59 PDT 2011
	System ID: ******* (head1); partner ID: ******* (head2)
<...snip...>