Cisco Nexus 3232C ストレージスイッチのアップグレード
Cisco Nexus 3232C ストレージスイッチの NX-OS ソフトウェアおよびリファレンス構成ファイル(RCF)をアップグレードして、ONTAP との互換性を維持し、最新機能にアクセスできるようにします。
要件の確認
ストレージスイッチ上の NX-OS ソフトウェアおよび RCF をアップグレードする前に、以下の条件が満たされていることを確認してください。
-
スイッチは完全に機能しています(ログにエラーや同様の問題がないことを確認してください)。
-
NX-OSのみをインストールし、現在のRCFバージョンを維持する場合は、RCF内の必要なブート変数を確認または設定して、必要なブートイメージを反映させるようにしてください。
現在のブートイメージを反映させるためにブート変数を変更する必要がある場合は、RCF を再適用する前に変更を行う必要があります。そうすることで、今後の再起動時に正しいバージョンがインスタンス化されます。
-
"Cisco Nexus 3000 シリーズスイッチ"ページで入手可能な適切なソフトウェアおよびアップグレード ガイドを参照し、Ciscoストレージのアップグレードおよびダウングレード手順に関する完全なドキュメントを確認してください。
-
10 GbE ポートと 40/100 GbE ポートの数は、"Cisco® イーサネットスイッチ"ページで入手できるリファレンス構成ファイル(RCF)で定義されています。
スイッチを交換する
この手順の例で使用するスイッチとノードの名前は次のとおりです。
-
2 つのストレージ スイッチの名前は s1 と s2 です。
-
ノードは cluster1-01 と cluster1-02 です。
この手順の例では、2つのノードを使用します。2つのストレージポートを持つcluster1-01と、2つのストレージポートを持つcluster1-02です。プラットフォーム上の正しいストレージポートを確認するには、"Hardware Universe"を参照してください。スイッチの設置要件の詳細については、"HWU にない機器をインストールするには、どのような追加情報が必要ですか?"を参照してください。
|
|
この手順では、ONTAPコマンドとCisco Nexus 3000シリーズ スイッチ コマンドの両方を使用する必要があります。特に明記されていないかぎり、ONTAPコマンドを使用します。コマンド出力は、ONTAPのリリースによって異なる場合があります。 |
ステップ1:スイッチとポートの健全性状態を確認する
-
AutoSupportが有効になっている場合は、AutoSupportメッセージを呼び出して自動ケース作成を抑制します:
system node autosupport invoke -node * -type all - message MAINT=xhx はメンテナンス ウィンドウの期間 (時間単位) です。
AutoSupportメッセージはテクニカル サポートにこのメンテナンス タスクについて通知し、メンテナンス時間中はケースの自動作成が停止されます。 -
ストレージスイッチが使用可能であることを確認してください。
system switch ethernet show例を表示
storage::*> system switch ethernet show Switch Type Address Model ----------------------- ------------------ ---------------- --------------- s1 storage-network 172.17.227.5 NX3232C Serial Number: FOC221206C2 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(3) Version Source: CDP s2 storage-network 172.17.227.6 NX3232C Serial Number: FOC220443LZ Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(3) Version Source: CDP 2 entries were displayed. storage::*> -
ノード ポートが正常で動作していることを確認します。
storage port show -port-type ENET例を表示
storage::*> storage port show -port-type ENET Speed VLAN Node Port Type Mode (Gb/s) State Status ID ------------------ ---- ----- ------- ------ -------- ----------- ---- cluster1-01 e5a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 cluster1-02 e5a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 . . -
ストレージスイッチやケーブルに問題がないことを確認してください。
system health alert show -instance例を表示
storage::*> system health alert show -instance There are no entries matching your query.
ステップ2:RCFをCiscoスイッチs2にコピーする
-
FTP、HTTP、TFTP、SFTP、または SCP のいずれかの転送プロトコルを使用して、スイッチ s2 上の RCF をスイッチ bootflash にコピーします。
Ciscoコマンドの詳細については、"Cisco Nexus 3000 Series NX-OS コマンドリファレンス"の適切なガイドを参照してください。
例を表示
次の例は、HTTP を使用して RCF をスイッチ s2 のブートフラッシュにコピーする方法を示しています:
s2# copy http://172.16.10.1//cfg/Nexus_3232C_RCF_v1.6-Storage.txt bootflash: vrf management % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3254 100 3254 0 0 8175 0 --:--:-- --:--:-- --:--:- 8301 Copy complete, now saving to disk (please wait)... Copy complete. s2# -
以前ダウンロードしたRCFファイルをブートフラッシュに適用します。
copy bootflash:例を表示
次の例は、スイッチ s2 にインストールされる RCF ファイル `Nexus_3232C_RCF_v1.6-Storage.txt`を示しています:
s2# copy Nexus_3232C_RCF_v1.6-Storage.txt running-config echo-commands
-
RCF ファイルが正しい新しいバージョンであることを確認します。
show running-config次の情報が正しいことを確認してください。
-
RCFのバナー
-
ノードとポートの設定
-
カスタマイズ
出力内容はサイトの構成によって異なります。ポートの設定を確認し、インストールしたRCFに固有の変更がないかリリース ノートを参照してください。
`show banner motd`コマンドのバナー出力において、スイッチの適切な設定と動作を確保するために、*IMPORTANT NOTES*セクションの指示を読み、従う必要があります。
+ .例を表示
Details
s2# show banner motd ****************************************************************************** * NetApp Reference Configuration File (RCF) * * Switch : Cisco Nexus 3232C * Filename : Nexus_3232C_RCF_v1.6-Storage.txt * Date : Oct-20-2020 * Version : v1.6 * * Port Usage : Storage configuration * Ports 1-32: Controller and Shelf Storage Ports * Ports 33-34: Disabled * * IMPORTANT NOTES* * - This RCF utilizes QoS and requires TCAM re-configuration, requiring RCF * to be loaded twice with the Storage Switch rebooted in between. * * - Perform the following 4 steps to ensure proper RCF installation: * * (1) Apply RCF first time, expect following messages: * - Please save config and reload the system... * - Edge port type (portfast) should only be enabled on ports... * - TCAM region is not configured for feature QoS class IPv4 ingress... * * (2) Save running-configuration and reboot Cluster Switch * * (3) After reboot, apply same RCF second time and expect following messages: * - % Invalid command at '^' marker * - Syntax error while parsing... * * (4) Save running-configuration again ****************************************************************************** s2#
+
RCFを初めて適用する際には、ERROR: Failed to write VSH commands というメッセージが表示されることがありますが、これは想定内のことであり、無視して構いません。 -
-
ソフトウェアのバージョンとスイッチの設定が正しいことを確認したら、 `running-config`ファイルをスイッチ s2 上の `startup-config`ファイルにコピーします。
Ciscoコマンドの詳細については、"Cisco Nexus 3000 Series NX-OS コマンドリファレンス"の適切なガイドを参照してください。
例を表示
次の例は、 `running-config`ファイルが正常に `startup-config`ファイルにコピーされた場合を示しています:
s2# copy running-config startup-config [########################################] 100% Copy complete.
ステップ3:NX-OSイメージをCiscoスイッチs2にコピーして再起動する
-
NX-OS イメージをスイッチ s2 にコピーします。
例を表示
s2# copy sftp: bootflash: vrf management Enter source filename: /code/nxos.9.3.4.bin Enter hostname for the sftp server: 172.19.2.1 Enter username: user1 Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 user1@172.19.2.1's password: sftp> progress Progress meter enabled sftp> get /code/nxos.9.3.4.bin /bootflash/nxos.9.3.4.bin /code/nxos.9.3.4.bin 100% 1261MB 9.3MB/s 02:15 sftp> exit Copy complete, now saving to disk (please wait)... Copy complete. s2# copy sftp: bootflash: vrf management Enter source filename: /code/n9000-epld.9.3.4.img Enter hostname for the sftp server: 172.19.2.1 Enter username: user1 Outbound-ReKey for 172.19.2.1:22 Inbound-ReKey for 172.19.2.1:22 user1@172.19.2.1's password: sftp> progress Progress meter enabled sftp> get /code/n9000-epld.9.3.4.img /bootflash/n9000-epld.9.3.4.img /code/n9000-epld.9.3.4.img 100% 161MB 9.5MB/s 00:16 sftp> exit Copy complete, now saving to disk (please wait)... Copy complete.
-
システムイメージをインストールして、スイッチ S2 が次回再起動されたときに新しいバージョンがロードされるようにします。
スイッチは、以下の出力に示すように、10秒後に新しいイメージで再起動されます:
例を表示
s2# install all nxos bootflash:nxos.9.3.4.bin Installer will perform compatibility check first. Please wait. Installer is forced disruptive Verifying image bootflash:/nxos.9.3.4.bin for boot variable "nxos". [] 100% -- SUCCESS Verifying image type. [] 100% -- SUCCESS Preparing "nxos" version info using image bootflash:/nxos.9.3.4.bin. [] 100% -- SUCCESS Preparing "bios" version info using image bootflash:/nxos.9.3.4.bin. [] 100% -- SUCCESS Performing module support checks. [] 100% -- SUCCESS Notifying services about system upgrade. [] 100% -- SUCCESS Compatibility check is done: Module bootable Impact Install-type Reason ------ -------- -------------- ------------ ------ 1 yes disruptive reset default upgrade is not hitless Images will be upgraded according to following table: Module Image Running-Version(pri:alt) New-Version Upg-Required ------ ---------- ---------------------------------------- -------------------- ------------ 1 nxos 9.3(3) 9.3(4) yes 1 bios v08.37(01/28/2020):v08.23(09/23/2015) v08.38(05/29/2020) no Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] y input string too long Do you want to continue with the installation (y/n)? [n] y Install is in progress, please wait. Performing runtime checks. [] 100% -- SUCCESS Setting boot variables. [] 100% -- SUCCESS Performing configuration copy. [] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [] 100% -- SUCCESS Finishing the upgrade, switch will reboot in 10 seconds. s2# -
設定を保存します。
Ciscoコマンドの詳細については、"Cisco Nexus 3000 Series NX-OS コマンドリファレンス"の適切なガイドを参照してください。
システムの再起動を求められます。
例を表示
s2# copy running-config startup-config [] 100% Copy complete. s2# reload This command will reboot the system. (y/n)? [n] y
-
スイッチに新しい NX-OS のバージョン番号が設定されていることを確認します。
例を表示
s2# show version Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (C) 2002-2020, Cisco and/or its affiliates. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under their own licenses, such as open source. This software is provided "as is," and unless otherwise stated, there is no warranty, express or implied, including but not limited to warranties of merchantability and fitness for a particular purpose. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or GNU General Public License (GPL) version 3.0 or the GNU Lesser General Public License (LGPL) Version 2.1 or Lesser General Public License (LGPL) Version 2.0. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://opensource.org/licenses/gpl-3.0.html and http://www.opensource.org/licenses/lgpl-2.1.php and http://www.gnu.org/licenses/old-licenses/library.txt. Software BIOS: version 08.38 NXOS: version 9.3(4) BIOS compile time: 05/29/2020 NXOS image file is: bootflash:///nxos.9.3.4.bin NXOS compile time: 4/28/2020 21:00:00 [04/29/2020 02:28:31] Hardware cisco Nexus3000 C3232C Chassis (Nexus 9000 Series) Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory. Processor Board ID FOC20291J6K Device name: S2 bootflash: 53298520 kB Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s) Last reset at 157524 usecs after Mon Nov 2 18:32:06 2020 Reason: Reset due to upgrade System version: 9.3(3) Service: plugin Core Plugin, Ethernet Plugin Active Package(s): s2#
ステップ4:スイッチとポートの健全性ステータスを再確認する
-
再起動後、ストレージスイッチが使用可能であることを再度確認してください。
system switch ethernet show例を表示
storage::*> system switch ethernet show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- s1 storage-network 172.17.227.5 NX3232C Serial Number: FOC221206C2 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(4) Version Source: CDP s2 storage-network 172.17.227.6 NX3232C Serial Number: FOC220443LZ Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(4) Version Source: CDP -
再起動後、スイッチポートが正常に動作していることを確認してください。
storage port show -port-type ENET例を表示
storage::*> storage port show -port-type ENET Speed VLAN Node Port Type Mode (Gb/s) State Status ID ------------------ ---- ----- ------- ------ -------- ----------- ---- cluster1-01 e5a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 cluster1-02 e5a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 -
クラスターにストレージスイッチやケーブル接続の問題がないことを再度確認してください。
system health alert show -instance例を表示
storage::*> system health alert show -instance There are no entries matching your query.
-
手順を繰り返して、スイッチ s1 の NX-OS ソフトウェアと RCF をアップグレードします。
-
自動ケース作成を抑制した場合は、 AutoSupportメッセージを呼び出して再度有効にします。
system node autosupport invoke -node * -type all -message MAINT=END
スイッチをアップグレードしたら、"スイッチのヘルスモニタリングを設定する"できます。