The ESX(i) host must be version 4.0 or above and the VM version must be at least 7.
To enable CBT using PowerCLI run the following: (Thanks Lazywinadmin.com !):
$vmtest = Get-vm myvmname| get-view
$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
$vmConfigSpec.changeTrackingEnabled = $true
$vmtest.reconfigVM($vmConfigSpec)
This can be run against a VM which is powered on. (The VM must be powered off using the method in the VMWare KB).$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
$vmConfigSpec.changeTrackingEnabled = $true
$vmtest.reconfigVM($vmConfigSpec)
To "fully" activate CBT, the VM must go through a "stun-unstun" cycle. I typically just create a snapshot, then immediately delete it.
To confirm that CBT has been activated, browse to the folder of the VM and confirm that for each vmdk file, there is a corresponding xxxx-ctk.vmdk file:
Thanks for the mention ;-)
ReplyDelete