You could write a bash or batch script
to do that.
Normal connect format is "virsh -c esx://yournode"
"virsh start [domain]" is what starts a VM. Refer to the man pages
for virsh command set.
On 10/23/2012 02:47 AM, Ali Nikzad wrote:
I am a new libvirt user and I wonder if I can use this library to start or
stop a VM in ESXi 5.0.
For example to write an application using libvirt in windows or linux that
connects to an ESXi 5.0 server and get the list of VMs and start one of
If so, is there any sample about it?