What I am basically looking for is a script to shut down or suspend the vm because its a domain controller with exchange. A live copy does damage the exchange database. I am now using vmware server 2.0 rc1 and I have a script that uses vmrun to suspend and copy the vm. After that Backup exec backups the vm to tape. And all of this is scheduled of course.
However I do not know how to manage that with ESX3i. Anyone?
Thanks for letting me know.
Use Powershell and VI Toolkit found at http://www.vmware.com/download/sdk/
The scripting looks pretty much the same.
If you are using the non-free version of ESXi, you could try VCB. The latest version incorporates VSS for quiescing in W2K3 and will give you an apllication consistent backup.
Dave
The equivalent command of vmrun on ESX would be vmware-cmd.
You can use it like vmware-cmd <vmx-file> suspend
Execute the vmware-cmd command without parameters to see the help.
You'll need the remote console in order to execute commands (haven't had the time to test this for ESX3i myself, but would expect it to work)
--
Wil