Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

vmware-cmd

Synopsis

vmware-cmd [options][vmxpath command]

Console-based virtual machine manager. This command can work on the local system, or connect to a remote system using the Simple Object Access Protocol (SOAP). To connect to a remote system you may need to alter your firewall settings on the system issuing the commands so that it will allow outgoing connections to port 443. See the example in esxcfg-firewall.

The guest you want to work on is identified by the full path to its .vmx configuration file (vmxpath). The path must include the UUID of the vmfs volume and so can be quite long. Use the -l option to get the correct path for all registered virtual machines. While vmware-cmd has options for getting and setting virtual machine configuration values, we don’t cover those here.

Options

-h

Print basic usage and commands.

-H host

Connect to remote host. This can be given as a domain name or IP address.

-s [un]register configfile

Add or remove the guest described in .vmx file found at path from server control.

-l

List virtual machines registered with server.

-O port

Connect to alternative port, specified by port number. The default is port 443.

-P password

Provide password for the user specified in the -U option.

-q

Quiet mode. Minimize output.

-U username

Connect with the given username.

-v

Verbose mode.

Command

Return values for the command generally show the command function and whether they succeed (value 1) or fail (value 0.) Power-related commands generally take an option power operation ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page