This service template shuts down the OSs of multiple virtual servers in a Hyper-V environment.
The general steps for using this service template are as follows:
- The service asks whether CPU and memory settings are to be changed. If you do not want to change either the CPU settings or the memory settings, the service ends abnormally.
- If the virtual server is running, the OS of that virtual server is shut down. If the virtual server is stopped, the processing to shut down the OS is skipped. In all other cases, processing for that virtual server fails.
This processing is run in parallel for the specified virtual servers.
Service Definition and Submit Service Properties
The following table lists the properties shown in the Service Definition window for the service template.
Property key | Property name | Description |
---|---|---|
hyperv.targetHost R | Hyper-V server host name | Specifies the host name or IP address of the Hyper-V server. IPv6 addresses are not supported. |
O: The property can be omitted. However, the property might be mandatory depending on what is specified for other properties. See the Description of each property. R: Required |
The following table lists the properties shown in the Service Definition and the Submit Service windows:
Property key | Property name | Description |
---|---|---|
hyperv.foreachVmName R | 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 displayed 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. |
O: The property can be omitted. However, the property might be mandatory depending on what is specified for other properties. See the Description of each property. R: Required |
Prerequisites
- The name of each virtual server on the Hyper-V server must be unique within a single Hyper-V server.
- The Shut down operating system service of Hyper-V Integration Service on the target virtual server must be enabled.
Server requirements
- Hyper-V server
A server on which Hyper-V is installed.
- Virtual server
A virtual server managed by Hyper-V.