I've installed ESXi 4.0 on a computer, and would like to create and manage VMs via command line (via SSH). I tried installing the command line tools on Linux, but the commands don't work - they complain about some missing PERL library, and I haven't been able to get them to work.
I have gotten some command line access to work by using the console to enable ssh access, and then sshing in from another host, but despite going through teh command line documentation, it's still not clear to me how to do this. So here's what I want to do:
1) Create one or more virtual machines (say, with Linux or Windows server running on them)
2) Power on a VM
3) Suspend a VM
4) Wake a suspended VM
5) Power off a VM
6) Shut down the machine hosting ESXi.
7) Get actual CPU usage for a hosted VM.
Can someone please tell me what the correct commands are to do this? Even if you know just one, it would be helpful.
Thanks!