I am trying to write a script that will enable creating a consistent snapshot of a Lun.
Assuming there are a few VM on the same Lun, I would need somehow to quiesce all VM's and then create the snapshot on the storage device.
Is there a way to quiesce a VM without creating a VM.snapshot ?
Thanks!
Lun snapshots are not a built in function of vmware, it would be much easier to do this from the storage side depending on your storage vendor.
I know how to create the snapshot on the storage level, that was not my question.
What I want to do is quiesce the VM before I issue the storage snapshot (without creating a VM.snapshot)
Thanks,
Gil.
Are these guests running Windows or Linux or a mix of both ?
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
could be both,
does it matter?
The solution is pretty vendor specific. Equallogic has an "AutoSnapshot Manager VMWare Edition" (ASM/VE) that makes a coordinated LUN snap for you. It's quite nice.
"a coordinated LUN snap" is NOT possible without some API support from VMware...
I think so if you want to do the quiesce from within the guest.
I was thinking of using the Invoke-VmScript.
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference