Property key
Property name
Description
Required or optional
hyperv.targetHost
Hyper-V server host
name
Specifies the host name
or IP address of the
Hyper-V server. IPv6
addresses are not
supported.
R
Service Definition and Submit Service Properties
The following table lists the properties shown in the
Service Definition
window and the
Submit Service
window.
Property key
Property name
Description
Required or optional
hyperv.foreachVmName Virtual server names
(multiple names can be
specified)
Specifies one or more
names for the virtual
server. (This is the name
of the virtual server as it
is visible in Hyper-V.
This is not the host
name in the OS.) If
specifying multiple
names, separate them
with commas. You can
specify up to 99 names.
R
Restart virtual server: Service details
The processing overview is as follows:
1.
If the virtual server is running, it is restarted. If the virtual server is running, processing is skipped. In all
other cases, processing for that virtual server ends in an error.
2.
If the network connection check is enabled, this service template obtains the IP address (IPv4) set for
the restarted virtual server. Then, network connectivity is checked by sending an ICMP echo request
from the local server to the restarted virtual server.
The above processing is performed in parallel for the specified virtual servers.
After a virtual server is started, a check of the virtual server status is performed for the number of times
specified by the property hyperv.checkVmStateEnabledCount, at the interval specified (in seconds) by the
property hyperv.checkVmStateEnabledInterval. Adjust the values of these properties based on your
environment.
Server requirements
The following servers are needed:
• Hyper-V server
Server on which Hyper-V is installed.
• Virtual server
Virtual server managed by Hyper-V
354
Restart virtual server: Service details