Name 4b_Startup Hyper-V
Description Startup complete Hyper-V environment
MainExecutionBlock
Name '4b_Startup Hyper-V' Main Execution Block
Description This is the main execution Block, which defines the Tasks to be executed when the job is run.
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name SAN und NAS Systeme
Description
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name TS-HVSAN01
Description Windows iSCSI SAN for Hyper-V
General
Name Ping on TS-HVSAN01
Description Switch on manually or via IPMI
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 600
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.PowerShell
Host type PowerShell
Task type WindowsServiceControl
Host
Name TS-HVSAN01
Description Windows iSCSI SAN for Hyper-V
General
Name WindowsServiceControl on TS-HVSAN01
Description wait for service WinTarget
Error Handling
Pass up True
Task settings
ServiceName WinTarget
Actions
Other
ActionType WaitForServiceStatus
WaitForServiceStatus Running
TimeoutSeconds 120
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name HYPER-V Step1
Description Startup HyperV Hosts and Start Cluster
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host Group
Name HyperV-Gruppe-01
Description Host group TS-HYPERV01, TS-HYPERV02
General
Name Ping on HyperV-Gruppe-01
Description Switch on manually or via IPMI
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 600
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.PowerShell
Host type PowerShell
Task type WindowsServiceControl
Host Group
Name HyperV-Gruppe-01
Description Host group TS-HYPERV01, TS-HYPERV02
General
Name WindowsServiceControl on HyperV-Gruppe-01
Description wait for service MSiSCSI
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Task settings
ServiceName MSiSCSI
Actions
Other
ActionType WaitForServiceStatus
WaitForServiceStatus Running
TimeoutSeconds 120
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.PowerShell
Host type PowerShell
Task type WindowsServiceControl
Host Group
Name HyperV-Gruppe-01
Description Host group TS-HYPERV01, TS-HYPERV02
General
Name WindowsServiceControl on HyperV-Gruppe-01
Description wait for ClusterService ClusSvc
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Task settings
ServiceName ClusSvc
Actions
Other
ActionType WaitForServiceStatus
WaitForServiceStatus Running
TimeoutSeconds 180
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.PowerShell
Host type PowerShell
Task type WindowsServiceControl
Host Group
Name HyperV-Gruppe-01
Description Hostgruppe TS-HYPERV01, TS-HYPERV02
General
Name WindowsServiceControl on HyperV-Gruppe-01
Description wait for HyperV Service vmms
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Task settings
ServiceName vmms
Actions
Other
ActionType WaitForServiceStatus
WaitForServiceStatus Running
TimeoutSeconds 120
Assignment 3 ExecutionBlock
Order 3
Disabled False
Type ExecutionBlock
Name VMs PowerOn explizit
Description explizit konfigurierte VM's wieder einschalten ( in der richtigen Reihenfolge)
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.HyperV
Host type HyperVClusterVm
Task type PowerOn
Host
Name TS-DC21HV
Description automatically created vm. Hosted on TS-HVCL01 Id: {"type":0,"vmId":"f10803d4-946d-49c0-8cdd-18ed48e0fa59","vmName":"TS-DC21HV","vmGroupId":"00000000-0000-0000-0000-000000000000","vmGroupName":null}
General
Name PowerOn on TS-DC21HV
Description via Cluster
Error Handling
Pass up True
Task settings
Wait for VM Heartbeat True
Heartbeat timeout 120
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name TS-DC21HV
Description automatically created vm. Hosted on TS-HVCL01 Id: {"type":0,"vmId":"f10803d4-946d-49c0-8cdd-18ed48e0fa59","vmName":"TS-DC21HV","vmGroupId":"00000000-0000-0000-0000-000000000000","vmGroupName":null}
General
Name Ping on TS-DC21HV
Description
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 600
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 4 ExecutionBlock
Order 4
Disabled False
Type ExecutionBlock
Name HYPER-V Step2
Description alle HV VMs wieder einschalten (gespeichert in globalen Variablen)
Execution Type Parallel
Parallel execution limit 0
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.HyperV
Host type HyperVCluster
Task type PowerOnVms
Host
Name TS-HVCL01
Description HyperV Cluster IP
General
Name PowerOnVms on TS-HVCL01
Description
Error Handling
Pass up True
Task settings
List of VMs to be started var_HYPERV-Cluster_vms
Remove VMs from the list after power on False
Number of VMs to power on in parallel 8
Wait for VM Heartbeat True
Total heartbeat wait timeout 600
Per VM Heartbeat wait timeout 120