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- 通过运行以下命令,检查当前服务器 (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
在本例中,服务器 179 是决胜局。
2- 如果当前服务器是主 MDM,请使用 switch_mdm_ownership 命令更改其状态,如 PowerFlex CLI 参考指南中所述。
3- 通过在主 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
4- 您可以通过运行以下命令来查看命令的结果:
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.
5- 通过运行以下命令,将当前 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 appliance Intelligent Catalog SoftwareProducts
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: 03 Feb 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.