Monitoring of the production environment is a VMware virtual machine deployed on a win2008 server, there is nothing wrong with it, but there are still some problems, what is the problem? The problem is not self-booting, unlike deployment on Vmesxi virtualization that can be started with a physical machine boot.
The problem that needs to be solved now, that is to let the VMware Workstation virtual function to boot from the host system and start, of course, there is no manual intervention from the start, or what is called self-booting.
Since can propose the demand, that certainly has the solution, the search is sure to find the method, that is the VMware Workstation with the command line startup mode, that is good to do, write a simple bat file, put in the task plan is not done. Need to note here, the startup file of the virtual machine can not be Chinese, or it will be garbled at startup, it will not be able to find the startup file, of course, I would like to definitely have the character set encoding set way, here does not go tangled this problem, because my needs is able to self-start, the virtual machine startup file renamed quickly resolved, Note the startup file for the virtual machine ends in VMX
vmrun.exe start D:\test\test.vmx
Add the above command to the WIN2008 R2 Server Task Scheduler, it is important to note that the task plan is that whether the user is logged on or not, you need to enter a user name and password, if you do not enter the system can not execute the plan at startup, other problems I have not met
This article is from the "Morrowind" blog, make sure to keep this source http://morrowind.blog.51cto.com/1181631/1713476
VMware Workstation virtual machine self-booting