Hello,
I'm using a script (VISBU) in order to backup all VMs on 5 esx 3.0.2 clusters. Recently, some VMs just crashed (freeze) during the process :
- VM console "black"
- Vm not responding to ping request
- impossible to restart using the VM console
- unable to restart using the vmware-cmd stop hard
Finally, I had to kill the vcbsnapshot and reboot the ESX servers.
I've checked the script + the esx logs and it found the problem is due to the vcbSnapshot command (!). Here what happened during vcbSnapshot :
- pre-freeze-script (not executed since we don't have one)
- start sync driver
- snapshot VM
- stop sync driver
- post thaw-script (not executed since we don't have one)
And then, nothing.... Like the vcbScript freeze and the VM too... from what I know, the next step for vcbSnapshot should be to export the VMDk file.
I've attached some logs (failed + success vcbSnapshot)
I can't find any answer anywhere... Maybe someone have any clue on that problem ?
Failed vcbSnapshot :
2008-06-27 01:07:57.584 'vm:/vmfs/volumes/483410e7-561678ec-83a0-001cc442b142/VM002/VM002.vmx' 88832944 verbose Create snapshot request recieved: Scripted Backup Snapshot, , false, true
2008-06-27 01:07:57.584 'vm:/vmfs/volumes/483410e7-561678ec-83a0-001cc442b142/VM002/VM002.vmx' 88832944 verbose Tools version status: ok
2008-06-27 01:07:57.584 'vm:/vmfs/volumes/483410e7-561678ec-83a0-001cc442b142/VM002/VM002.vmx' 88832944 verbose VMware Tools are current in guest: true
Registered Foundry callback on 2
Adding task: haTask-256-vim.VirtualMachine.createSnapshot-247605
VM State transition requested to VM_STATE_CREATE_SNAPSHOT
State Transition (VM_STATE_ON -> VM_STATE_CREATE_SNAPSHOT)
VM State transition post act for VM_STATE_CREATE_SNAPSHOT
About to run script: c:\windows\pre-freeze-script.bat all
Script c:\windows\pre-freeze-script.bat not found in VM.
About to engage SYNC driver, freeze Timeout 15 sec.
Sync driver Freeze successful.
Tracking progress for method : vim.VirtualMachine.createSnapshot
Snapshot guest reported no errors.
Sync driver Thaw was successful.
About to run script: c:\windows\post-thaw-script.bat all
Successful vcbSnapshot :
Create snapshot request recieved: Scripted Backup Snapshot, , false, true
VMware Tools are current in guest: true
Registered Foundry callback on 2
Adding task: haTask-224-vim.VirtualMachine.createSnapshot-247549
VM State transition requested to VM_STATE_CREATE_SNAPSHOT
State Transition (VM_STATE_ON -> VM_STATE_CREATE_SNAPSHOT)
VM State transition post act for VM_STATE_CREATE_SNAPSHOT
About to run script: c:\windows\pre-freeze-script.bat all
Script c:\windows\pre-freeze-script.bat not found in VM.
About to engage SYNC driver, freeze Timeout 15 sec.
Sync driver Freeze successful.
Tracking progress for method : vim.VirtualMachine.createSnapshot
Snapshot guest reported no errors.
Sync driver Thaw was successful.
About to run script: c:\windows\post-thaw-script.bat all
Script c:\windows\post-thaw-script.bat not found in VM.
DISKLIB-VMFS : "/vmfs/volumes/483410e7-561678ec-83a0-001cc442b142/VM001/VM001-000001-delta.vmdk" : open successful (21) size = 17179869184, hd = -1. Type 8
...
Time to gather snapshot file layout: 138 (msecs)