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

リファレンス構成ファイル( RCF )のインストール

共同作成者

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

スイッチとノードで命名されています

この手順の例では、スイッチとノードで次の命名法を使用しています。

  • 2 つの Cisco スイッチの名前は 'CS1' および CS2' です

  • ノード名は 'node1 と node2 です

  • クラスタ LIF 名は、 node1 の場合は「 node1_clus1' 」、ノード 1 の場合は「 node1_clus1' 」、 node2 の場合は「 node2 _ clus2 」です。

  • 「 cluster1 :: * > 」プロンプトは、クラスタの名前を示します。

  • 各ノードのクラスタ・ポートの名前は 'e0a' および e0b です

    を参照してください "_ Hardware Universe ^_" をクリックします。

サポートされるポートとノード接続
  • 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 が正常にマージされたことをスイッチで確認します。

    'how 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-col関係 」コマンドを使用します

    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. スイッチをリブートし、実行コンフィギュレーションが正しいことを確認します。

    「再ロード」

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