PowerStore:將主要裝置移至叢集中的其他裝置

摘要: 本文的目的是協助使用者將叢集主要裝置從一個裝置變更為另一個裝置。在正常操作下,此任務不會影響群集內成員設備上的數據 I/O。瀏覽此作業之前,請先確認您的應用裝置狀況良好。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

主要應用裝置可能因各種原因而變更,例如:

  • 目前的主要應用裝置必須離線,才能進行維護。
  • 目前的主要應用裝置正在經歷長時間的中斷工作。
  • 主要應用裝置由於某種原因已變更,現在想要將其變更回來。

 

如何

在未充分瞭解此舉的影響之前,不應這樣做。
 

識別叢集中的主要裝置和其他裝置。

[SVC:service@DSTxxx1-A user]$ svc_cluster_management GetClusterStatus
=====================================================================
---APPLIANCE INFORMATION---
dell_service_tag : DSTxxx1
serial_number : FNM00xxxxxxxx1
name : Demo-appliance-1
appliance_ip : xx.xx.xx.xx
pacemaker_representation: appliance_fnm00xxxxxxxx1

dell_service_tag : DSTxxx2
serial_number : FNM00xxxxxxxx2
name : Demo-appliance-2
appliance_ip : xx.xx.xx.xx
pacemaker_representation: appliance_fnm00xxxxxxxx2

=====================================================================
---CLUSTER STATUS---

        local is primary: True
        eligible cluster primary ids: [8L, 102L]

---PACEMAKER NODE LIST---

        APPLIANCE: FNM00xxxxxxxx1

                id: 7
                node name: appliance_fnm00xxxxxxxx1_a
                appliance icm ip address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
                online: True
                cluster primary eligible: False

                id: 8
                node name: appliance_fnm00xxxxxxxx1_b
                appliance icm ip address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
                online: True
                cluster primary eligible: True

        APPLIANCE: FNM00xxxxxxxx2

                id: 101
                node name: appliance_fnm00xxxxxxxx2_a
                appliance icm ip address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
                online: True
                cluster primary eligible: False

                id: 102
                node name: appliance_fnm00xxxxxxxx2_b
                appliance icm ip address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
                online: True
                cluster primary eligible: True

 

注意: f NAS services 在主設備上運行,角色轉移到另一個,NAS 僅在原始設備上保持活動狀態。

 

將主要裝置移至其他裝置的步驟:

PowerStoreOS 版本 4 的命令使用方式: PowerStoreOS 版本 3 的命令使用方式: PowerStoreOS 版本 1.x 和 2.x 的命令使用方式:
svc_cluster_management MovePrimaryAppliance -n nodeId svc_cluster_management MovePrimaryAppliance nodeId svc_cluster_management MoveMasterAppliance id


若為 PowerStoreOS v3 及更新版本,請指定裝置的起搏器節點 ID,成為新的主要節點。
若為 PowerStoreOS 版本 1.x 和 v2.x,請指定起搏器裝置的 ID,而非節點。

在我們的範例 (PowerStoreOS v3+) 中, GetClusterStatus 輸出的選項如下:符合條件的叢集主要 ID: [8L, 102L] Select the ID that corresponds to the new primary appliance.

Example (PowerStoreOS v3):

[SVC:service@DSTxxx1-A user]$ svc_cluster_management MovePrimaryAppliance 102
move_primary_appliance: 102

move primary appliance success!

 

Example (PowerStoreOS v4):

[SVC:service@DSTxxx1-A user]$ svc_cluster_management MovePrimaryAppliance -n 102
  waiting for primary appliance to move...

move primary appliance success!

 

Verify

If logged in to the old primary (DSTxxx1 in this example):

[SVC:service@DSTxxx1-A user]$ svc_cluster_management GetClusterStatus
[... truncated ...]
=====================================================================
---CLUSTER STATUS---
        local is primary: False



If logged in to the old secondary, now primary (DSTxxx2 from this example):

[SVC:service@DSTxxx2-A user]$ svc_cluster_management GetClusterStatus
[... truncated ...]
=====================================================================
---CLUSTER STATUS---
        local is primary: True

 


受影響的產品

PowerStore 1000T, PowerStore 3000T, PowerStore 5000T, PowerStore 7000T, PowerStore 9000T
文章屬性
文章編號: 000104969
文章類型: How To
上次修改時間: 07 8月 2025
版本:  10
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。