PowerFlex 如何從單一節點叢集的主要 MDM 變更/移除資料 IP

Summary: 使用者想要從單一節點叢集的叢集使用中移除過時網路的資料 IP。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

使用一個管理網路 (管理IP) 和兩個資料網路 (data1、data2 IP) 在單一節點模式中,data2 網路發生故障,因此無法將模式切換至 3 節點叢集。
為了解決此問題,我們從系統中刪除所有 data2 IP。

管理IP:10.66.0.x
data1 IP:100.100.0.x
data2 IP:200.200.0.x (要移除的網路)

Primary_mdm_name:MDM2 (10.66.0.102、100.100.0.102)
Standby_mdm_name:MDM1 (10.66.0.101、100.100.0.101)
Standby_mdm_name:TB1 (100.100.0.200)

步驟:
1- 使用 ScaleIO GUI 或使用命令行介面 (CLI) 命令,從所有 SDS 中移除 data2 IP:

scli --remove_sds_ip (--sds_id  | --sds_name  | --sds_ip  [--sds_port ]) --sds_ip_to_remove 

2 - 移除所有待機節點。Scli --remove_standby_mdm --remove_mdm_name 即。

scli --remove_standby_mdm --remove_mdm_name MDM1
scli --remove_standby_mdm --remove_mdm_name TB1

3- 重新新增沒有資料的待機節點2 IP

scli --add_standby_mdm --mdm_role  --new_mdm_ip  [--new_mdm_management_ip ] --new_mdm_name  --allow_asymmetric_ips --force_clean
--allow_asymmetric_ips -> Allow the added node to have a different number of IPs from the primary node
--force_clean -> Clean previous configuration of the MDM
ie.
scli --add_standby_mdm --mdm_role manager --new_mdm_ip 100.100.0.101 --new_mdm_management_ip 10.66.0.101 --new_mdm_name MDM1 --allow_asymmetric_ips --force_clean

scli --add_standby_mdm --mdm_role tb --new_mdm_ip 100.100.0.200 --new_mdm_name TB1 --allow_asymmetric_ips --force_clean

4- 將叢集模式從單一節點切換至 3 節點叢集

scli --switch_cluster_mode --cluster_mode  --add_slave_mdm_name  --add_tb_name 
ie.
scli --switch_cluster_mode --cluster_mode 3-node --add_slave_mdm_name MDM1 --add_tb_name TB1

5- 將主要 MDM 的所有權切換至新增的 mdm 節點

scli --switch_mdm_ownership --new_master_mdm_name 
ie.
scli --switch_mdm_ownership --new_master_mdm_name MDM1

6- 將叢集切換至單一節點。

scli --switch_cluster_mode --cluster_mode  --remove_slave_mdm_name  --remove_tb_name 
ie.
scli --switch_cluster_mode --cluster_mode 1_node --remove_slave_mdm_name MDM2 --remove_tb_name TB1

7- 移除包含 data2 IP 的待機 mdm 節點。

scli --remove_standby_mdm --remove_mdm_name 
ie.
scli --remove_standby_mdm --remove_mdm_name MDM2

8- 重新新增不含 data2 IP 的待機 mdm 節點

scli --add_standby_mdm --mdm_role  --new_mdm_ip  [--new_mdm_management_ip ] --new_mdm_name  --allow_asymmetric_ips --force_clean
--allow_asymmetric_ips -> Allow the added node to have a different number of IPs from the primary node
--force_clean -> Clean previous configuration of the MDM
ie.
scli --add_standby_mdm --mdm_role manager --new_mdm_ip 100.100.0.102 --new_mdm_management_ip 10.66.0.102 --new_mdm_name MDM2 --allow_asymmetric_ips --force_clean

9- 將叢集切換至 3 節點。

scli --switch_cluster_mode --cluster_mode  --add_slave_mdm_name  --add_tb_name 
ie.
scli --switch_cluster_mode --cluster_mode 3_node --add_slave_mdm_name MDM2 --add_tb_name TB1

10- (選用) 將主要 MDM 的所有權切換回原始節點

scli --switch_mdm_ownership --new_master_mdm_name MDM2

 

Additional Information

註解:
- 如果從單節點切換到 5 節點,則相同的步驟有效。
- 此方法已在未為群集配置虛擬IP的情況下進行測試。
- 如果設定了虛擬IP,則必須先刪除所有虛擬IP

Affected Products

PowerFlex rack, VxFlex Product Family
Article Properties
Article Number: 000009841
Article Type: How To
Last Modified: 27 Feb 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.