A small example, actually setting up the configuration is probably the most work.
Run the following command on a machine that has 'VmWare server console' installed.
vmware-cmd -l > vmware.propertiesThis will create the file
vmware.properties
which contains the the vmx
locations.
Each of these locations represent a VmWare guest deployed on the VmWare host. To make referencing to these
VmWare guests easier, in the java code, each guest gets a guest name. Each guest name within a VmWare host name
must be unique.
TIP: Use the hostname of the guest as guest name.
Each VmMare guest is deployed in a VmWare host. To be able to support multiple VmWare hosts, it is needed to declare each guest within the context of a VmWare host name.
At least one vmHostName is needed. Each host should at least have one vmGuestName. The guest should reference to the
full path location of the *.vmx
files.
Creating a lookup of all the known vmx paths.