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

参照構成ファイル(RCF)をインストールする

共同作成者 netapp-yvonneo netapp-jolieg

Nexus 92300YC スイッチを初めてセットアップした後、RCF をインストールできます。

スイッチとノードの命名法

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

  • 2つのCiscoスイッチの名前は cs1`そして `cs2

  • ノード名は node1`そして `node2

  • クラスタLIF名は `node1_clus1`そして `node1_clus2`ノード1と `node2_clus1`そして `node2_clus2`ノード2用。

  • その `cluster1::*>`プロンプトはクラスターの名前を示します。

  • 各ノードのクラスタポートの名前は e0a`そして `e0b

    参照"ハードウェアユニバース^"プラットフォームでサポートされている実際のクラスター ポート。見る "HWU にない機器をインストールするには、どのような追加情報が必要ですか?" スイッチのインストール要件の詳細については、こちらをご覧ください。

サポートされているポートとノード接続
  • Nexus 92300YCスイッチでサポートされているスイッチ間リンク(ISL)は、ポート1/65と1/66です。

  • Nexus 92300YCスイッチでサポートされているノード接続は、ポート1/1~1/66です。

  • この手順の例では、2つのノードを使用します。これらのノードは2つの10GbEクラスタ相互接続ポートを使用します e0a`そして `e0b。参照 "Hardware Universe"プラットフォーム上の正しいクラスター ポートを確認します。

開始する前に
  • 最新のRCFが必要です。

  • クラスタが完全に機能している必要があります(ログにエラーがあるなどの問題が発生していない)。

  • NX-OSだけをインストールして現在のRCFバージョンをそのまま使用する場合は、目的のブート イメージを反映するように、RCFで必要なブート設定を確認または設定しておく必要があります。

  • 現在のブート イメージを反映するようにブート設定を変更する必要がある場合は、あとでリブートしたときに正しいバージョンがインスタンス化されるように、RCFを再適用する前に変更する必要があります。

  • スイッチの互換性表を参照する必要があります。 "Ciscoイーサネットスイッチ"サポートされているONTAP、NX-OS、および RCF バージョンについては、ページをご覧ください。

  • RCFのコマンド構文と、NX-OSのバージョンにあるコマンド構文との間には、コマンドの依存関係が存在する場合があります。

タスク概要

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

コマンド出力は、ONTAPのリリースによって異なる場合があります。

手順
  1. クラスタ スイッチを管理ネットワークに接続します。

  2. ping コマンドを使用して、RCF をホストしているサーバーへの接続を確認します。

    次の例では、スイッチがIPアドレス172.19.2.1のサーバに接続できることを確認します。

    cs2# ping 172.19.2.1
    Pinging 172.19.2.1 with 0 bytes of data:
    
    Reply From 172.19.2.1: icmp_seq = 0. time= 5910 usec.
  3. RCF を Nexus 92300YC スイッチにコピーします。

    cs2# copy sftp: bootflash: vrf management
    Enter source filename: /code/Nexus_92300YC_RCF_v1.0.2.txt
    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/Nexus_92300YC_RCF_v1.0.2.txt  /bootflash/nxos.9.2.2.bin
    /code/Nexus_92300YC_R  100% 9687   530.2KB/s   00:00
    sftp> exit
    Copy complete, now saving to disk (please wait)...
    Copy complete.
  4. RCF をスイッチの実行コンフィギュレーションとマージします。

    cs2# copy bootflash:Nexus_92300YC_RCF_v1.0.2.txt running-config
    
    Disabling ssh: as its enabled right now:
     generating ecdsa key(521 bits)......
    generated ecdsa key
    
    Enabling ssh: as it has been disabled
     this command enables edge port type (portfast) by default on all interfaces. You
     should now disable edge port type (portfast) explicitly on switched ports leading to hubs,
     switches and bridges as they may create temporary bridging loops.
    
    Edge port type (portfast) should only be enabled on ports connected to a single
     host. Connecting hubs, concentrators, switches, bridges, etc...  to this
     interface when edge port type (portfast) is enabled, can cause temporary bridging loops.
     Use with CAUTION
    
    Edge Port Type (Portfast) has been configured on Ethernet1/1 but will only
     have effect when the interface is in a non-trunking mode.
    
    ...
    
    Copy complete, now saving to disk (please wait)...
    Copy complete.
  5. スイッチ上で RCF が正常にマージされたことを確認します。

    show running-config

    cs2# show running-config
    !Command: show running-config
    !Running configuration last done at: Wed Apr 10 06:32:27 2019
    !Time: Wed Apr 10 06:36:00 2019
    
    version 9.2(2) Bios:version 05.33
    switchname cs2
    vdc cs2 id 1
      limit-resource vlan minimum 16 maximum 4094
      limit-resource vrf minimum 2 maximum 4096
      limit-resource port-channel minimum 0 maximum 511
      limit-resource u4route-mem minimum 248 maximum 248
      limit-resource u6route-mem minimum 96 maximum 96
      limit-resource m4route-mem minimum 58 maximum 58
      limit-resource m6route-mem minimum 8 maximum 8
    
    feature lacp
    
    no password strength-check
    username admin password 5 $5$HY9Kk3F9$YdCZ8iQJ1RtoiEFa0sKP5IO/LNG1k9C4lSJfi5kesl
    6  role network-admin
    ssh key ecdsa 521
    
    banner motd #
    
    *                                                                              *
    *  Nexus 92300YC Reference Configuration File (RCF) v1.0.2 (10-19-2018)        *
    *                                                                              *
    *  Ports 1/1  - 1/48: 10GbE Intra-Cluster Node Ports                           *
    *  Ports 1/49 - 1/64: 40/100GbE Intra-Cluster Node Ports                       *
    *  Ports 1/65 - 1/66: 40/100GbE Intra-Cluster ISL Ports                        *
    *                                                                              *
    
  6. 実行中の設定を保存して、スイッチを再起動したときにそれがスタートアップ設定になるようにします。

    cs2# copy running-config startup-config
    
    [] 100%
    Copy complete, now saving to disk (please wait)...
    Copy complete.
  7. ONTAP 9.6P8 以降では、次のコマンドを使用して、スイッチ関連のログ ファイルを収集するためのイーサネット スイッチ ヘルス モニタ ログ収集機能を有効にします。 system cluster-switch log setup-password`そして `system cluster-switch log enable-collection

    cluster1::*> system cluster-switch log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system cluster-switch log setup-password
    
    Enter the switch name: cs1
    RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc
    Do you want to continue? {y|n}::[n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log setup-password
    
    Enter the switch name: cs2
    RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1
    Do you want to continue? {y|n}:: [n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log enable-collection
    
    Do you want to enable cluster log collection for all nodes in the cluster?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster1::*>
  8. スイッチを再起動し、実行中の設定が正しいことを確認します。

    reload

    cs2# reload
    
    This command will reboot the system. (y/n)?  [n] y