PPDM — przywracanie maszyny wirtualnej z uwzględnieniem aplikacji nie powiodło się z komunikatem "Unable to reset disks to read/write mode after VSS quiesce operation set them to read-only"
Summary: Przywracanie maszyny wirtualnej z uwzględnieniem aplikacji nie powiodło się z komunikatem "Unable to reset disks to read/write mode after VSS quiesce operation set them to read-only" z powodu braku pamięci w węźle wyszukiwania. ...
Symptoms
Unable to reset disks to read-write mode after VSS quiesce operation set them to read-only
W "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 zgłaszany poniżej OSTRZEŻENIE, wskazujący na brak pamięci, przed wyrzuceniem BŁĘDU resetowania dysków do trybu odczytu/zapisu.
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
Nie można uruchomić procesu vm-file-extractor z powodu braku pamięci w węźle wyszukiwania PowerProtect Data Manager. Minimalna wymagana ilość wolnej pamięci to 800 MB. Niepowodzenie uruchomienia vm-file-extractor spowodowało, że bit tylko do odczytu nie został prawidłowo ustawiony. Prowadzi to do błędu "Nie można zresetować dysków do trybu odczytu/zapisu po ustawieniu operacji spoczynku VSS na tylko do odczytu".
Resolution
1. Zaloguj się do urządzenia PowerProtect Data Manager za pomocą SSH, przełącz się na użytkownika root i uruchom poniższe polecenia, aby uzyskać hasło do węzła wyszukiwania PowerProtect Data Manager.
source /opt/emc/vmdirect/unit/vmdirect.env && /opt/emc/vmdirect/bin/infranodemgmt get -secret -node_type SearchNode
2. Zaloguj się do każdego węzła wyszukiwania przy użyciu poświadczeń uzyskanych w kroku 1.
3. Uruchom poniższe polecenie, aby sprawdzić użycie pamięci przez węzeł wyszukiwania.
free -m
4. Jeśli ilość wolnej pamięci jest mniejsza niż 800 MB, dodaj więcej pamięci do węzła wyszukiwania lub uruchom ponownie węzeł wyszukiwania, gdy PowerProtect Data Manager jest bezczynny, aby zwolnić przydzieloną pamięć.
5. Uruchom ponownie przywracanie maszyny wirtualnej.