如果缺少 PPME 叢集資源,如何從設定還原 PowerPath Migration Enabler (PPME) [PPME 錯誤 (82)]

Summary: 如果缺少 PPME 叢集資源,如何從設定還原 PowerPath Migration Enabler (PPME) [PPME 錯誤 (82)]

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

從 SETUP 狀態還原:     
在進階 PPME 還原案例中,您無法還原先前設定的現有叢集控制代碼,因為您 (意外) 刪除叢集中的最後一個 PPME 叢集資源。您嘗試從 WSFC GUI 重新建立資源,但缺少「EMC PowerPath Migration Enabler 資源」類型。在此情況下,您必須從命令列重新建立資源類型和資源。以下為程序。



先決條件

  • 您正在處理叢集 (此範例假設為 2 節點組態。)
  • 您的遷移處於設定狀態
  • 遺失您的非遷移節點
  • 在其他叢集復原期間,PPME 資源被 (意外) 刪除 (由他人)
  • 您嘗試清理之前的設定工作階段,但卻失敗。您的經驗:   
例如:    
C:\lab>powermig query -handle c66 Handle: c66 Source: harddisk5 (1.00 GB, thin) Target: harddisk4 (1.00 GB, thin) Technology: HostCopy Migration state: needsRecovery(cleanup) Throttle Value: 0
注意:在此範例中,我們假設上述「harddisk5」是叢集群組「TEST_GROUP」中的「叢集磁碟 2」。
  • 從這裡,您嘗試還原,但結果:     
例如:     
PPME error(82): The source device does not appear to have a dependent PPME resource instance
  • 您嘗試重新建立 PPME 資源,但 EMC PowerPath Migration Enabler 資源在容錯移轉叢集管理員 GUI新增資源 > 更多資源底下的內容功能表中意外遺失


問題

如果沒有有效的 PPME 資源定義,您就無法從此狀態順利還原。
如果沒有正確的資源類型,您就無法重新建立資源。


解決方法

若要解決此問題,您必須先從命令列重新建立 PPME 定義。

開啟 Powershell。
  1. 若要將資源類型新增回來,請使用「add-clusterresourcetype」:     
PS C:\Program Files> add-clusterresourcetype -name "PPME" -displayname "EMC PowerPath Migration Enabler Resource" -dll "c:\windows\cluster\ppme.dll" -cluster . Name DisplayName ---- ----------- PPME EMC PowerPath Migration Enabler Resource
注意:資源類型名稱和 dll 位置一律相同。您可以複製及貼上上述命令。
 
注意:資源類型名稱必須是「PPME」,否則 GUI 中的 resource online() 動作之後會失敗。
  1. 假設群組 (應用程式)「TEST_GROUP」,其中包含叢集磁碟資源「叢集磁碟 2」(請參閱上文所示),您現在使用「add-clusterresource」新增對應的 PPME 資源至群組:    
PS C:\Program Files> add-clusterresource -group "TEST_GROUP" -name "PPME Cluster Disk 2" -type "PPME" Name State OwnerGroup ResourceType ---- ----- ---------- ------------ PPME Cluster Disk 2 Offline NP_DB PPME
注意:您的群組名稱和 PPME 資源名稱不同。您必須使用下列指示來撰寫正確的 PPME 資源名稱。您無法複製及貼上上述命令。

PPME 資源名稱並非任意的,而是遵循磁碟資源名稱專屬的嚴格命名慣例。PPME 資源的命名必須包含大寫「PPME」,外加一個空格,加上對應的來源磁碟資源名稱。

例如:     
#Pseudocode cluster_disk_resource_name = "Cluster Disk 2" ppme_resource_name = "PPME" + " " + cluster_disk_resource_name
如果叢集磁碟資源名稱為「叢集磁碟 2」,則產生的 PPME 資源名稱是 (而且必須是)「PPME 叢集磁碟 2」。

如果叢集磁碟資源名稱為「CORE_MATERIAL_DB-WEST-INDEX_SPACE-12」,則產生的 PPME 資源名稱必須是「PPME CORE_MATERIAL-WEST-INDEX_SPACE-12」。
  1. 返回容錯移轉叢集 GUI 至線上資源
  • 線上、PPME 資源「PPME 叢集磁碟 2」和
  • 設定「叢集磁碟 2」相依於資源「PPME 叢集磁碟 2」
注意:同樣地,這是說明解決方案路徑的範例。您必須將叢集磁碟資源設定為相依於您重新建立的 PPME 資源。
  1. 返回命令列,然後嘗試再次還原
例如:     
C:\lab>powermig recover -handle c66 Recover migration for handle c66 ? [yes]/no: C:\lab>powermig info -all No migrations found.

程序到此結束。

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows 2012 Server R2
Article Properties
Article Number: 000185238
Article Type: How To
Last Modified: 26 Aug 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.