本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
修改 MetroCluster IP 介面的內容
貢獻者
建議變更
從ONTAP 版本號《E59.10.1》開始、您可以變更MetroCluster 下列功能:IP位址和遮罩、以及閘道。您可以使用任何參數組合來更新。
例如、如果偵測到重複的IP位址、或是因為路由器組態變更而需要變更第3層網路的閘道、您可能需要更新這些內容。
修改IP位址、網路遮罩和閘道
您所遵循的程序取決於您是使用 ONTAP 系統管理員還是使用 CLI 。
系統管理員
使用 System Manager 修改 IP 位址、網路遮罩和閘道內容。
步驟
更新每個節點和介面的 IP 位址、網路遮罩和閘道。
CLI
使用 CLI 修改 IP 位址、網路遮罩和閘道內容。
關於這項工作
-
一次只能變更一個介面。在更新其他介面並重新建立連線之前、該介面會造成流量中斷。
-
使用「MetroCluster 靜態組態設定介面modify」命令來變更MetroCluster 任何的任何靜態IP介面屬性。
這些命令會變更特定連接埠之特定節點的組態。若要還原完整的網路連線能力、其他連接埠也需要類似的命令。同樣地、網路交換器也需要更新其組態。例如、如果閘道已更新、則理想情況下會在HA配對的兩個節點上變更閘道、因為它們相同。連接到這些節點的交換器也需要更新其閘道。 -
使用
metrocluster configuration-settings interface show
、metrocluster connection check`和 `metrocluster connection show
命令來驗證所有的連線功能是否都能在所有介面中運作。
步驟
-
更新單一節點和介面的IP位址、網路遮罩和閘道:MetroCluster 「修改組態設定介面」
下列命令顯示如何更新IP位址、網路遮罩和閘道:
cluster_A::* metrocluster configuration-settings interface modify -cluster-name cluster_A -home-node node_A_1 -home-port e0a-10 -address 192.168.12.101 -gateway 192.168.12.1 -netmask 255.255.254.0 (metrocluster configuration-settings interface modify) Warning: This operation will disconnect and reconnect iSCSI and RDMA connections used for DR protection through port “e0a-10”. Partner nodes may need modifications for port “e0a-10” in order to completely establish network connectivity. Do you want to continue?" yes [Job 28] Setting up iSCSI target configuration. (pass2:iscsi13:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported [Job 28] Establishing iSCSI initiator connections. (pass6:iscsi14:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported (pass8:iscsi15:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported (pass9:iscsi16:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported [Job 28] Job succeeded: Interface Modify is successful. cluster_A::*> metrocluster configuration-settings interface modify -cluster-name cluster_A -home-node node_A_2 -home-port e0a-10 -address 192.168.12.201 -gateway 192.168.12.1 -netmask 255.255.254.0 (metrocluster configuration-settings interface modify) Warning: This operation will disconnect and reconnect iSCSI and RDMA connections used for DR protection through port “e0a-10”. Partner nodes may need modifications for port “e0a-10” in order to completely establish network connectivity. Do you want to continue?" yes [Job 28] Job succeeded: Interface Modify is successful
-
確認所有連線功能都適用於所有介面:MetroCluster 「介紹組態設定介面」
下列命令說明如何驗證所有連線功能是否適用於所有介面:
cluster_A::*> metrocluster configuration-settings interface show (metrocluster configuration-settings interface show) DR Config Group Cluster Node Network Address Netmask Gateway State ----- ------- ------- --------------- --------------- --------------- --------- 1 cluster_A node_A_2 Home Port: e0a-10 192.168.12.201 255.255.254.0 192.168.12.1 completed Home Port: e0b-20 192.168.20.200 255.255.255.0 192.168.20.1 completed node_A_1 Home Port: e0a-10 192.168.12.101 255.255.254.0 192.168.12.1 completed Home Port: e0b-20 192.168.20.101 255.255.255.0 192.168.20.1 completed cluster_B node_B_1 Home Port: e0a-10 192.168.11.151 255.255.255.0 192.168.11.1 completed Home Port: e0b-20 192.168.21.150 255.255.255.0 192.168.21.1 completed node_B_2 Home Port: e0a-10 192.168.11.250 255.255.255.0 192.168.11.1 completed Home Port: e0b-20 192.168.21.250 255.255.255.0 192.168.21.1 completed 8 entries were displayed.
-
「組態設定連線顯示」MetroCluster
下列命令顯示如何驗證所有連線是否正常運作:
cluster_A::*> metrocluster configuration-settings connection show (metrocluster configuration-settings connection show) DR Source Destination Group Cluster Node Network Address Network Address Partner Type Config State ----- ------- ------- --------------- --------------- ------------ ------------ 1 cluster_A node_A_2 Home Port: e0a-10 192.168.10.200 192.168.10.101 HA Partner completed Home Port: e0a-10 192.168.10.200 192.168.11.250 DR Partner completed Home Port: e0a-10 192.168.10.200 192.168.11.151 DR Auxiliary completed Home Port: e0b-20 192.168.20.200 192.168.20.100 HA Partner completed Home Port: e0b-20 192.168.20.200 192.168.21.250 DR Partner completed Home Port: e0b-20 192.168.20.200 192.168.21.150 DR Auxiliary completed node_A_1 Home Port: e0a-10 192.168.10.101 192.168.10.200 HA Partner completed Home Port: e0a-10 192.168.10.101 192.168.11.151 DR Partner completed Home Port: e0a-10 192.168.10.101 192.168.11.250 DR Auxiliary completed Home Port: e0b-20 192.168.20.100 192.168.20.200 HA Partner completed Home Port: e0b-20 192.168.20.100 192.168.21.150 DR Partner completed Home Port: e0b-20 192.168.20.100 192.168.21.250 DR Auxiliary completed