Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

Cisco Nexus 3232C ストレージ スイッチのアップグレード

共同作成者 netapp-yvonneo netapp-jolieg

Cisco Nexus 3232C スイッチでCisco NX-OS ソフトウェアと参照コンフィギュレーション ファイル (RCF) をアップグレードするには、次の手順に従います。

要件の確認

開始する前に

ストレージ スイッチ上の NX-OS ソフトウェアと RCF をアップグレードする前に、次の条件が満たされていることを確認してください。

  • スイッチは完全に機能しています (ログにエラーや同様の問題は発生しないはずです)。

  • NX-OS のみをインストールし、現在の RCF バージョンを維持する場合は、必要なブート イメージを反映するように、RCF で必要なブート変数をチェックまたは設定しておきます。

    現在のブート イメージを反映するようにブート変数を変更する必要がある場合は、将来の再起動時に正しいバージョンがインスタンス化されるように、RCF を再適用する前に変更する必要があります。

  • 適切なソフトウェアおよびアップグレードガイドを参照しました。 "Cisco Nexus 3000 シリーズ スイッチ" Ciscoストレージのアップグレードおよびダウングレード手順に関する完全なドキュメントについては、このページをご覧ください。

  • 10 GbEおよび40/100 GbEポートの数は、 "Cisco® イーサネットスイッチ"ページ。

スイッチを交換する

例について

この手順の例で使用するスイッチとノードの名前は次のとおりです。

  • 2 つのストレージ スイッチの名前は S1 と S2 です。

  • ノードは node1 と node2 です。

この手順の例では、2 つのノード (2 つのストレージ ポートを持つ node1 と 2 つのストレージ ポートを持つ node2) を使用します。参照"Hardware Universe"プラットフォーム上の正しいストレージ ポートを確認します。見る "HWU にない機器をインストールするには、どのような追加情報が必要ですか?" スイッチのインストール要件の詳細については、こちらをご覧ください。

メモ この手順では、ONTAPコマンドとCisco Nexus 3000シリーズ スイッチ コマンドの両方を使用する必要があります。特に明記されていないかぎり、ONTAPコマンドを使用します。コマンド出力は、ONTAPのリリースによって異なる場合があります。

ステップ1: スイッチとポートのヘルスステータスを確認する

  1. AutoSupportが有効になっている場合は、 AutoSupportメッセージを呼び出して自動ケース作成を抑制します。 system node autosupport invoke -node * -type all - message MAINT=xh

    x はメンテナンス ウィンドウの期間 (時間単位) です。

    メモ AutoSupportメッセージはテクニカル サポートにこのメンテナンス タスクについて通知し、メンテナンス時間中はケースの自動作成が停止されます。
  2. ストレージ スイッチが使用可能であることを確認します。

    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::*>
  3. ノード ポートが正常で動作していることを確認します。

    storage port show -port-type ENET

    例を表示
    storage::*> storage port show -port-type ENET
                                          Speed                       VLAN
    Node               Port Type  Mode    (Gb/s) State    Status        ID
    ------------------ ---- ----- ------- ------ -------- ----------- ----
    node1
                       e3a  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
    node2
                       e3a  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
  4. ストレージ スイッチまたはケーブル接続に問題がないことを確認します。

    system health alert show -instance

    例を表示
    storage::*> system health alert show -instance
    There are no entries matching your query.

ステップ2: RCFをCiscoスイッチS2にコピーする

  1. FTP、HTTP、TFTP、SFTP、または SCP のいずれかの転送プロトコルを使用して、スイッチ S2 上の RCF をスイッチのブートフラッシュにコピーします。

    Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ 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#
  2. 以前にダウンロードした RCF をブートフラッシュに適用します。

    copy bootflash:

    例を表示

    次の例はRCFファイルを示しています `Nexus_3232C_RCF_v1.6-Storage.txt`スイッチS2にインストールされます:

    S2# copy Nexus_3232C_RCF_v1.6-Storage.txt running-config echo-commands
  3. RCF ファイルが正しい新しいバージョンであることを確認します。

    show running-config

    次の情報が正しいことを確認してください。

    • RCFのバナー

    • ノードとポートの設定

    • カスタマイズ

      出力内容はサイトの構成によって異なります。ポートの設定を確認し、インストールしたRCFに固有の変更がないかリリース ノートを参照してください。

    メモ

    バナー出力では、 `show banner motd`コマンドを実行する前に、重要な注意事項 セクションの指示を読んで従い、スイッチの適切な構成と操作を確実に実行する必要があります。

    + .例を表示

    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 を初めて適用する場合、「エラー: VSH コマンドの書き込みに失敗しました」というメッセージが表示されることがありますが、これは無視できます。
  4. ソフトウェアのバージョンとスイッチの設定が正しいことを確認したら、 `running-config`ファイルに `startup-config`スイッチ S2 上のファイル。

    Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス"

    例を表示

    次の例は、 `running-config`ファイルは正常にコピーされました `startup-config`ファイル:

    S2# copy running-config startup-config
    [########################################] 100% Copy complete.

ステップ3: NX-OSイメージをCiscoスイッチS2にコピーして再起動する

  1. 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.
    
    cs2# 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.
  2. スイッチ 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#
  3. 設定を保存します。

    Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス"

    システムを再起動するように求められます。

    例を表示
    S2# copy running-config startup-config
    [] 100% Copy complete.
    S2# reload
    This command will reboot the system. (y/n)?  [n] y
  4. 新しい 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: スイッチとポートのヘルスステータスを再確認する

  1. 再起動後にストレージ スイッチが使用可能であることを再確認します。

    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
    
    2 entries were displayed.
    storage::*>
  2. 再起動後にスイッチ ポートが正常に動作していることを確認します。

    storage port show -port-type ENET

    例を表示
    storage::*> storage port show -port-type ENET
                                          Speed                       VLAN
    Node               Port Type  Mode    (Gb/s) State    Status        ID
    ------------------ ---- ----- ------- ------ -------- ----------- ----
    node1
                       e3a  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
    node2
                       e3a  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
  3. クラスターにストレージ スイッチまたはケーブル接続の問題がないことを再度確認します。

    system health alert show -instance

    例を表示
    storage::*> system health alert show -instance
    There are no entries matching your query.
  4. 手順を繰り返して、スイッチ S1 の NX-OS ソフトウェアと RCF をアップグレードします。

  5. 自動ケース作成を抑制した場合は、 AutoSupportメッセージを呼び出して再度有効にします。

    system node autosupport invoke -node * -type all -message MAINT=END