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,請依照 PowerFlex CLI 參考指南中的說明,使用 switch_mdm_ownership 命令變更其狀態。
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 |Dell US
在 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.