PPDM – Obnovení virtuálního počítače s ohledem na aplikace selhalo s chybou "Unable to reset disks to read/write mode after VSS tiesce operation set them to read-only"
Summary: Obnovení virtuálních počítačů s podporou aplikací se nezdařilo s chybou "Nelze resetovat disky do režimu čtení/zápisu poté, co operace nečinnosti služby VSS nastavila je jen pro čtení" kvůli nedostatku paměti na vyhledávacím uzlu. ...
Symptoms
Unable to reset disks to read-write mode after VSS quiesce operation set them to read-only
V části "PowerProtect Data Manager_*******.log"
vmdm.log: 2024-06-19T01:51:39.916Z ERROR [] [request-dispatch-update-91] [00000000-0000-4000-a000-000000000000][][][TRACE_ID:b78abd00d05a58d4;JOB_ID:af29df7e344de2ee][] [c.e.b.v.r.a.BaseRestoreOp.doFailureStatus(561)] - Recover VM failed. vmdm.log: 2024-06-19T01:51:39.917Z ERROR [] [request-dispatch-update-91] [00000000-0000-4000-a000-000000000000][][][TRACE_ID:b78abd00d05a58d4;JOB_ID:af29df7e344de2ee][] [c.e.b.v.r.a.BaseRestoreOp.getSessionError(740)] - VM Proxy restore job session failed. Session '8fbda571-ab2d-4597-8fe7-4791993b836d' is unsuccessful: Unable to reset disks to read-write mode after VSS quiesce operation set them to read-only.
Vmdirect_******.log hlášena níže VAROVÁNÍ, indikující nedostatek paměti, před vyhozením CHYBY pro resetování disků do režimu čtení/zápisu.
2024-06-19 09:36:57+0800 164 WARNING ppdm.local 58736 processmanager.go(336) main.(*ProcessManager).isThresholdMemoryConsumptionReached Available system memory (364 MB) is less than minimum required system resources (800 MB)
2024-06-19 09:36:57+0800 165 WARNING ppdm.local 58736 processmanager.go(251) main.(*ProcessManager).waitForCurrentSearchClientProcessesToComplete Max number of vm-file-extractor processes are running. Cancelling run of vm-file-extractor for vm EC020DB01 after 10 minutes
2024-06-19 09:36:57+0800 166 WARNING ppdm.local 58736 main.go(323) main.main Max number of vm-file-extractor processes are running. Cancelling the process after 10 minutes as not enough system resources are available. The metadata extraction and indexing of this VM will be handled later by the offline-indexing process.
2024-06-19 09:36:57.001+0800 167 ERROR ppdm.local 58736 main.go(838) main.exitWithError abort extraction with Max number of vm-file-extractor processes are running. Cancelling the process after 10 minutes as not enough system resources are available. The metadata extraction and indexing of this VM will be handled later by the offline-indexing process.
2024-06-19 09:36:57.001+0800 169 ERROR ppdm.local 58736 main.go(848) main.exitWithError {"State":"Skipped","Error":"Max number of vm-file-extractor processes are running. Cancelling the process after 10 minutes as not enough system resources are available. The metadata extraction and indexing of this VM will be handled later by the offline-indexing process.","LogFile":"","DetailedStatus":"{\"State\":\"Skipped\",\"Error\":\"\",\"DiskStatus\":[]}"}
2024-06-19 09:36:57.001+0800 170 ERROR ppdm.local 58736 main.go(855) main.exitWithError abort extraction of VM metadata for asset EC020DB01 (vm-53132)
RecoverVmSessions-b1d958e1-f05b-46a8-af3c-d7d1e5840631.log: 2024-06-19T01:36:57.092Z WARN: [aaa7a1018b9ad483;86443860fffb28d7] VM File Extractor plugin was unsuccessful. Max number of vm-file-extractor processes are running. Cancelling the process after 10 minutes as not enough system resources are available. The metadata extraction and indexing of this VM will be handled later by the offline-indexing process.
RecoverVmSessions-b1d958e1-f05b-46a8-af3c-d7d1e5840631.log: 2024-06-19T01:36:57.092Z ERROR: [aaa7a1018b9ad483;86443860fffb28d7] Unable to repair disk properties which were modified by the VSS Quiesce operation. VM File Extractor plugin was unsuccessful. Max number of vm-file-extractor processes are running. Cancelling the process after 10 minutes as not enough system resources are available. The metadata extraction and indexing of this VM will be handled later by the offline-indexing process.
RecoverVmSessions-b1d958e1-f05b-46a8-af3c-d7d1e5840631.log: 2024-06-19T01:36:57.092Z ERROR: [aaa7a1018b9ad483;86443860fffb28d7] Unable to reset disks to read-write mode after VSS quiesce operation set them to read-only.Cause
Proces vm-file-extractor nelze spustit kvůli nedostatku paměti ve vyhledávacím uzlu PowerProtect Data Manager. Minimální požadavek na volnou paměť je 800 MB. Selhání spuštění nástroje vm-file-extractor způsobilo, že bit jen pro čtení nebyl správně nastaven. To vede k chybě "Nelze resetovat disky do režimu čtení/zápisu poté, co je operace nečinnosti VSS nastavila na pouze pro čtení."
Resolution
1. Přihlaste se do zařízení PowerProtect Data Manager pomocí SSH, přepněte na uživatele root a spuštěním níže uvedených příkazů získejte heslo vyhledávacího uzlu PowerProtect Data Manager.
source /opt/emc/vmdirect/unit/vmdirect.env && /opt/emc/vmdirect/bin/infranodemgmt get -secret -node_type SearchNode
2. Přihlaste se ke každému vyhledávacímu uzlu pomocí přihlašovacích údajů získaných v kroku 1.
3. Spuštěním níže uvedených příkazů zkontrolujte využití paměti vyhledávacím uzlem.
free -m
4. Pokud je volná paměť skutečně menší než 800 MB, přidejte do vyhledávacího uzlu další paměť nebo restartujte vyhledávací uzel, když je nástroj PowerProtect Data Manager nečinný, a uvolněte tak přidělenou paměť.
5. Znovu spusťte obnovení virtuálního počítače.