Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to get a command line prompt to a hosted virtual machine in vmware server like xm console <name> does in Xen?

I know the graphic UI to conect to vmware-servers but I'm under low latency ssh only access and I need something more "text friendly"

share|improve this question
    
I take it the VMs aren't networked with SSH, otherwise you'd just SSH to them directly right? –  dunxd Feb 7 '11 at 21:55
    
ssh got locked. I was looking for a "virtual terminal port" like xen console does –  theist Feb 8 '11 at 9:40

4 Answers 4

http://www.vmware.com/support/developer/vcli/

The vSphere Command-Line Interface (vSphere CLI) command set allows you to run common system administration commands against ESX/ESXi systems from any machine with network access to those systems.

share|improve this answer
    
That looks like it's for running commands against ESX, not targeting hosted VMs. –  MikeyB Feb 7 '11 at 20:43

Try this: http://labs.vmware.com/flings/vgc

VGC will let you run commands in guests. Have tried it on Windows guests, but not on Linux.

Let us know if it works for you.

share|improve this answer
    
Hmmmmpf windows stufff. I'll try it but it will take me some time. –  theist Feb 18 '11 at 13:50

Obviously it depends on the guest OS but if it's a *nix variant couldn't you just SSH/Telnet/RDP into it or use powershell if it's Windows?

share|improve this answer
    
Not that day. Mi ssh went unresponsive And I was triying to find another way to log into machine. Using Xen when I put the virtual machine under a firewall or remove ssh and other services I allways have the oportunity to use xen console. And I was looking for something similar. –  theist Feb 8 '11 at 9:37

If you have VMware tools installed in the guest OS, the API will let you invoke commands. For instance, the VMware PowerCLI command is Invoke-VmScript. vMA might have one as well.

Side note: VMware Server is EOL 2011/06/30.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.