• Do not specify in advance any template information that is specified when the virtual server is created.
If a computer name or host name and IP address are already set in the template, virtual server
creation might fail. If virtual server creation fails (for example, static route processing results in an
error), delete the virtual server, re-create a template in which no computer name, host name, or IP
address is set, and then run the service again.
• The IP addresses are set as described in Function. However, depending on the order in which NICs
are set in the virtual server's OS, the IP addresses might not be set as intended. After you create the
virtual server, check if the correct IP addresses are set. If the correct IP addresses are not set, change
them manually.
Get List of Virtual Machines from VMware vSphere: Service details
If no ESX server name is specified, the service template obtains information about all virtual servers on all
ESX servers in the specified vCenter server. By specifying a specific ESX server name, only information
for that specific server is obtained.
The general steps for using this service template to obtain a listing of virtual server information are as
follows:
1.
A list of virtual server information is output in CSV format to a temporary file in the remote system.
2.
The temporary file is forwarded from the remote system to a specified output file on the local system.
3.
The temporary file is deleted from the remote system. The service template outputs the following items
to a CSV file (the items are separated by the comma):
a.
ESX server name (header name: HostName)
b.
Virtual server name (header name: VMName)
c.
Virtual server power status (header name: PowerState)
d.
Number of CPUs in the virtual server#1 (header name: NumCpu)
e.
Virtual server memory capacity (MB) (header name: MemoryMB)
#1: The number of CPUs depends on the VMware vCenter Server version:
If the VMware vCenter Server version is 4.1 or earlier, this is the number of virtual processors.
If the VMware vCenter Server version is 5.0 or later, this is the total number of cores (number of virtual
sockets x number of cores per socket).
Service Definition Properties
The following table lists the properties visible in the
Service Definition
window for the Get List of Virtual
Machines from VMware vSphere service template.
264
Get List of Virtual Machines from VMware vSphere: Service details