PowerFlex:如何更换 MDM 群集中的节点成员

Summary: 更换 MDM 群集的成员以更换故障服务器或更改服务器 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

如果您有一个额外的服务器来替换当前服务器,则无需更改群集模式(3 节点或 5 节点)。如果您没有额外的服务器,则必须降低群集模式(从 5 节点降为 3 节点,或从 3 节点降为单节点)。

注意: 建议不要在生产系统中使用单模式,除非是在临时情况下使用。
 
无论在何种情况下,以下规则都适用:
  • 要删除群集成员,您必须首先使其成为备用成员,然后删除该备用成员。要将成员添加到群集中,请先使其成为备用成员,然后将该备用成员添加到群集。
  • 群集必须始终包含 5 个、3 个或 1 个成员,而决不能为其他数字。要进一步了解此主题,请参阅了解 Dell PowerFlex 指南的“体系结构”部分中的“MDM 群集”。转至描述您的环境的部分:
    • “通过添加新服务器来更换群集成员”
    • “不通过向群集添加新服务器来更换群集成员”

 

向 MDM 群集添加或替换服务器

开始之前,请执行以下操作:为更换服务器分配必要的 IP 地址。

在服务器上安装 MDM 程序包。

在此示例中,我们将 IP 地址为 10.3.1.179 的服务器(当前是 5 节点 MDM 群集的成员)替换为 IP 地址为 10.3.1.57 的服务器(当前位于任何 PowerFlex 系统外部)。此过程可用于替换 MDM 群集中的任何角色。

步骤

1- 使用管理员登录登录到主 MDM。如果密码包含特殊字符,请使用单引号 ' '

3.x 
scli --login --username admin --password '<password>'

4.x 
scli --login --username admin --password '<password>' --management_system_ip <pfmp_ip>

  

 

2- 通过运行以下命令,检查当前服务器 (179) 是否不是主 MDM:

scli --query_cluster

将显示类似以下内容的输出:

# scli --query_cluster
Cluster:
Mode: 5_node, State: Normal, Active: 5/5, Replicas: 3/3
Master MDM:
Name: mdm17, ID: 0x5d07497754427fd0
IPs: 10.3.1.17, 192.168.1.17, Management IPs: 10.3.1.17, Port: 9011
Version: 2.0.972
Slave MDMs:
Name: mdm19, ID: 0x26ee566356362451
IPs: 10.3.1.19, 192.168.1.19, Management IPs: 10.3.1.19, Port: 9011
Status: Normal, Version: 2.0.972
Name: mdm18, ID: 0x5843c4d16d8f1082
IPs: 10.3.1.18, 192.168.1.18, Management IPs: 10.3.1.18, Port: 9011
Status: Normal, Version: 2.0.972
Tie-Breakers:
Name: mdm179, ID: 0x7380b70e2f73d346
IPs: 10.3.1.179, 192.168.1.179, Port: 9011
Status: Normal, Version: 2.0.972
Name: mdm20, ID: 0x6dfe1c5f4062b5b3
IPs: 192.168.1.20, 10.3.1.20, Port: 9011
Status: Normal, Version: 2.0.972

在此例中,节点名称 mdm179 是仲裁。

3 - 如果当前服务器是主 MDM,请使用 switch_mdm_ownership 命令更改其状态

对于 PowerFlex 3.5,请参阅 Dell EMC PowerFlex v3.5.x CLI 参考指南  

对于 PowerFlex 4.X,请参阅 《Dell PowerFlex 4.5.x CLI 参考指南》  

 

4- 通过在主 MDM 上运行以下命令,使替换 MDM 服务器成为备用 MDM,并为其分配名称(在我们的示例中为 mdm57):

scli --add_standby_mdm --mdm_role tb --new_mdm_ip 10.3.1.57,192.168.1.57 --new_mdm_management_ip 10.3.1.57 --new_mdm_name mdm57

5- 您可以通过运行以下命令来查看命令的结果:

scli --query_cluster

将显示类似以下内容的输出:

# scli --query_cluster
Cluster:
Mode: 5_node, State: Normal, Active: 5/5, Replicas: 3/3
...
Tie-Breakers:
Name: mdm179, ID: 0x7380b70e2f73d346
IPs: 10.3.1.179, 192.168.1.179, Port: 9011
Status: Normal, Version: 2.0.972
Name: mdm20, ID: 0x6dfe1c5f4062b5b3
IPs: 192.168.1.20, 10.3.1.20, Port: 9011
Status: Normal, Version: 2.0.972
Standby MDMs:
Name: mdm57, ID: 0x073e4c8b1d20d124, Tie Breaker
IPs: 10.3.1.57, 192.168.1.57, Port: 9011
mdm57 has been added as a standby MDM. When it is a standby MDM, it can be added to the cluster.

6- 通过运行以下命令,将当前 mdm179 替换为备用 mdm57:

scli --replace_cluster_mdm --remove_tb_name mdm179 --add_tb_name mdm57

系统将显示以下输出:

Successfully replaced the cluster MDM

已替换当前服务器。

Additional Information

配置和自定义 Dell PowerFlex v3.6.x

在 PowerFlex 3.6 中,我们使用术语主 MDM 和从属 MDM

#scli --switch_cluster_mode --cluster_mode 3_node --remove_slave_mdm_name  --remove_tb_name  --
#scli --switch_cluster_mode --cluster_mode 5_node --add_slave_mdm_name   --add_tb_name 

在 PowerFlex 4.X 中,我们使用术语主 MDM 和辅助 MDM 

#scli --switch_cluster_mode --cluster_mode 3_node --remove_secondary_mdm_name  --remove_tb_name 
#scli --switch_cluster_mode --cluster_mode 5_node --add_secondary_mdm_name --add_tb_name 

Affected Products

PowerFlex rack, ScaleIO

Products

PowerFlex rack, VxFlex Ready Nodes, PowerFlex Appliance, PowerFlex custom node, ScaleIO, PowerFlex appliance R650, PowerFlex appliance R6525, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760 , PowerFlex appliance R7625, PowerFlex custom node, PowerFlex custom node R650, PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, PowerFlex rack connectivity, PowerFlex rack HW, PowerFlex rack RCM Software, PowerFlex Software, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525, PowerFlex appliance R840, VxFlex Ready Node R840 ...
Article Properties
Article Number: 000249601
Article Type: How To
Last Modified: 01 يوليو 2026
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.