VMware Communities
apridgen
Contributor
Contributor

Workstation 8.0.4: Using vmware-vim-cmd

I am running WS 8 on Ubuntu 12.04 in a 64-bit environment and I am trying to use vmware-vim-cmd.  My three questions are as follows:

1) With WS 8, can I use the vmware-vim-cmd commands to query and control virtual machines (below is an example of what is happening)?

2) If so, do I need to install or configure any of the components in a special manner to get achieve this or is the base install of WS 8 all I need?

3) If I can't use this facility, what are some tools I can leverage to register/unregister and query machines for their IP Addresses from a command line in Linux?

Here are two instances of me running vmsvc/getallvms.

bravosixactual:~$ vmware-vim-cmd -d trivia vmsvc/getallvms
filename:       /lib/modules/3.2.0-25-generic/misc/vmmon.ko
supported:      external
license:        GPL v2
description:    VMware Virtual Machine Monitor.
author:         VMware, Inc.
srcversion:     0845FE74CACDC7B6DF8502C
depends:      
vermagic:       3.2.0-25-generic SMP mod_unload modversions
2012-06-25T17:09:13.366-05:00 [7F053C743740 info 'Default'] Initialized channel manager
2012-06-25T17:09:13.366-05:00 [7F053C743740 info 'Default'] Current working directory: /opt/Vmware Machines
2012-06-25T17:09:13.369-05:00 [7F053C743740 info 'Default'] Vmacore::InitSSL: handshakeTimeoutUs = 20000000
2012-06-25T17:09:13.372-05:00 [7F0538BF5700 warning 'Libs'] SSL_MatchX509SubjectName: Subject mismatch: 'localhost' != 'VMware'
2012-06-25T17:09:13.372-05:00 [7F0538BF5700 warning 'Libs'] SSL_MatchX509SubjectName: Subject mismatch: 'localhost' != 'VMware'
Failed to login: vmodl.fault.SystemError
bravosixactual:~$ vmware-vim-cmd -H VMware -d trivia vmsvc/getallvms
filename:       /lib/modules/3.2.0-25-generic/misc/vmmon.ko
supported:      external
license:        GPL v2
description:    VMware Virtual Machine Monitor.
author:         VMware, Inc.
srcversion:     0845FE74CACDC7B6DF8502C
depends:      
vermagic:       3.2.0-25-generic SMP mod_unload modversions
2012-06-25T17:09:34.099-05:00 [7FD3CAF02740 info 'Default'] Initialized channel manager
2012-06-25T17:09:34.099-05:00 [7FD3CAF02740 info 'Default'] Current working directory: /opt/Vmware Machines
2012-06-25T17:09:34.102-05:00 [7FD3CAF02740 info 'Default'] Vmacore::InitSSL: handshakeTimeoutUs = 20000000
2012-06-25T17:09:34.104-05:00 [7FD3C3FFF700 error 'HttpConnectionPool'] [ConnectComplete] Connect error Resource temporarily unavailable
Failed to login: Resource temporarily unavailable

Thanks in advance for any help.

0 Kudos
0 Replies