メインコンテンツへスキップ

中断を回避するためにクラスタ管理インターフェイスのIPアドレスを変更する方法

Views:
4,304
Visibility:
Public
Votes:
5
Category:
ontap-9
Specialty:
CORE
Last Updated:

​

​

環境

ONTAP 9.8以降

概要

  • このドキュメントでは、クラスターの管理アクセスの中断を避けるために、新しいクラスター管理インターフェイスを作成する手順を段階的に説明します。
  • 「network interface modify」コマンドを使用して IP アドレスを変更することもできます。

手順

 

警告

注記:この手順では、新しいインターフェイスが元のインターフェイスと同じブロードキャストドメインにあることを前提としています。

 

  1. SSH経由でクラスター内の任意のノードの SP/BMC に接続し、「system console」コマンドを入力します。
  2. ONTAP にログインします。
  3. まず、現在の設定情報を収集します。
    1. 管理 SVM は、クラスタ管理 LIF のホストに使用されます:

cluster1::>vserver show -type admin -fields vserver

vserver
--------
cluster1

  1. 管理用SVM上で、ゲートウェイ情報を含むネットワークルートを表示します:

cluster1::>network route show -vserver cluster1

Vserver        Destination    Gateway      Metric
------------------- --------------- --------------- ------
cluster1
          0.0.0.0/0   10.10.10.1   20

  1. 現在のクラスタ管理 LIF の詳細を表示します:

cluster1::>network interface show -vserver cluster1 -service-policy default-management -failover-policy broadcast-domain-wide -fields vserver,lif,address,netmask,home-node,home-port,broadcast-domain

vserver  lif      address    netmask     home-node   home-port broadcast-domain
-------- ------------ ------------ ------------- ----------- --------- ----------------
cluster1 cluster_mgmt 10.10.10.10 255.255.255.0 cluster1-01 e0a   MGMT

  1. 新しいクラスタ管理LIFが新しいポートまたはVLANを使用する場合は、以下の手順に従ってポートを同じブロードキャストドメインに追加します。 ブロードキャストドメインのポートを追加または削除する(ONTAP 9.8以降)。
  2. 新しいクラスタ管理インターフェイスを作成します:

cluster1::>network interface create -vserver cluster1 -lif cluster_mgmt_new -service-policy default-management -failover-policy broadcast-domain-wide -address 10.20.20.20 -netmask 255.255.255.0 -home-node cluster1-01 -home-port e0c-100

  1. 新しいLIFが異なるゲートウェイを使用する場合は、管理SVM上の既存のルートを削除し、新しいルートを作成します:

cluster1::>network route delete -vserver cluster1 -destination 0.0.0.0/0 -gateway 10.10.10.1

cluster1::>network route create -vserver cluster1 -destination 0.0.0.0/0 -gateway 10.20.20.1

  1. 新しく作成したクラスター管理インターフェイスにpingが通ること、およびフルアクセス権限があることを確認してください。
  2. 確認後、古いクラスター管理インターフェイスをダウン状態に変更します:

cluster1::>network interface modify -vserver cluster1 -lif cluster_mgmt -status-admin down

  1. 以前の古いクラスター管理インターフェイスを削除します:

cluster1::>network interface delete -vserver cluster1 -lif cluster_mgmt

  1. 必要に応じて、新しいインターフェイスの名前を元の名前に変更します。 

cluster1::>network interface rename -vserver cluster1 -lif cluster_mgmt_new -newname cluster_mgmt

  1. 新しいクラスタ管理インターフェイスがステップ4のリンクに従って使用しなくなったブロードキャストドメイン内の以前のポートをすべて削除します。
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.