跳转到主内容

如何修改集群管理接口的IP地址以避免中断

Views:
521
Visibility:
Public
Votes:
3
Category:
ontap-9
Specialty:
CORE
Last Updated:

执行

执行

适用场景

ONTAP 9.8 及更高版本

描述

本文档将逐步介绍操作步骤如何创建新的集群管理接口、以避免集群管理访问中断

操作步骤

 

警告

由于 LUN VPD 更改,修改节点和群集管理 IP 可能会导致 SAN 存储上数据库的环境中出现 I/O 中断,请安排维护窗口 

注意:此操作步骤假定新接口 与原始接口位于同一广播域中。

 

  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. 确认后、将旧集群管理接口修改为down状态:

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.