Name Startup Datacore and VMware
Description Restart Datacore and VMware systems (incl. VMs stored in global variables), (with single hosts)
MainExecutionBlock
Name 'Startup Datacore and VMware' 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 False
Continue execution False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name CL1-FOO Step1
Description Start ESXi and switch on DSS (in parallel)
Execution Type Parallel
Parallel execution limit 2
Pass up True
Continue execution False
Cancel parallel running tasks or blocks False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name ESX03
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 ESX03
Description ESXi Host
General
Name Ping on ESX03
Description Switch on manually or via IPMI (ping is only a hint and waits until the systems are reached)
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
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.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name ESX03
Description ESXi Host
General
Name WaitForHttpService on ESX03
Description
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 1
Delay between tries 1000
Timeout per single request 10
Protocol Https
Port 443
Relative URL /
Check HTTP response status code True
Allowed HTTP response status codes
Allowed HTTP response status codes 200
Check response body False
Valid response bodies
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type DisableMaintenanceMode
Host
Name ESX03
Description ESXi Host
General
Name DisableMaintenanceMode on ESX03
Description
Error Handling
Pass up True
Task settings
Timeout 0
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type PowerOn
Host
Name DSS03
Description Datacore DSS03 on ESX03
General
Name PowerOn on DSS03
Description
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name ESX04
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 ESX04
Description ESXi Host
General
Name Ping on ESX04
Description manuell oder ueber IPMI einschalten (ping ist nur ein Hinweis und wartet bis die Systeme erreicht werden)
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
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.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name ESX04
Description ESXi Host
General
Name WaitForHttpService on ESX04
Description
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 1
Delay between tries 1000
Timeout per single request 10
Protocol Https
Port 443
Relative URL /
Check HTTP response status code True
Allowed HTTP response status codes
Allowed HTTP response status codes 200
Check response body False
Valid response bodies
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type DisableMaintenanceMode
Host
Name ESX04
Description ESXi Host
General
Name DisableMaintenanceMode on ESX04
Description
Error Handling
Pass up True
Task settings
Timeout 0
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type PowerOn
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name PowerOn on DSS04
Description
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name DSS
Description
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name DSS03
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 DSS03
Description Datacore DSS03 on ESX03
General
Name Ping on DSS03
Description
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
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.CommonTasks
Host type BasicIpHost
Task type WaitForOpenPort
Host
Name DSS03
Description Datacore DSS03 on ESX03
General
Name WaitForOpenPort on DSS03
Description
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 10
Delay between tries 1000
Port 443
Timeout per single request 10
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type StartServer
Host
Name DSS03
Description Datacore DSS03 on ESX03
General
Name StartServer on DSS03
Description
Error Handling
Pass up True
Task settings
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogDiskPools
Host
Name DSS03
Description Datacore DSS03 on ESX03
General
Name LogDiskPools on DSS03
Description
Error Handling
Pass up True
Task settings
Assignment 5 Task
Order 5
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogVirtualDisks
Host
Name DSS03
Description Datacore DSS03 on ESX03
General
Name LogVirtualDisks on DSS03
Description
Error Handling
Pass up True
Task settings
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name DSS04
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 DSS04
Description Datacore DSS04 on ESX04
General
Name Ping on DSS04
Description
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
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.CommonTasks
Host type BasicIpHost
Task type WaitForOpenPort
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name WaitForOpenPort on DSS04
Description
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 10
Delay between tries 1000
Port 443
Timeout per single request 10
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type StartServer
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name StartServer on DSS04
Description
Error Handling
Pass up True
Task settings
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type WaitForAllVirtualDisksStatusOnline
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name WaitForAllVirtualDisksStatusOnline on DSS04
Description wait max 1200 sec, then go on without sync
Error Handling
Pass up False
Task settings
Timeout 1200
Assignment 5 Task
Order 5
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogDiskPools
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name LogDiskPools on DSS04
Description
Error Handling
Pass up True
Task settings
Assignment 6 Task
Order 6
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogVirtualDisks
Host
Name DSS04
Description Datacore DSS04 on ESX04
General
Name LogVirtualDisks on DSS04
Description
Error Handling
Pass up True
Task settings
Assignment 3 ExecutionBlock
Order 3
Disabled False
Type ExecutionBlock
Name VMs PowerOn explizit
Description Switch on explicitly configured VMs again (in the correct order)
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type RescanHBA
Host
Name ESX03
Description ESXi Host
General
Name RescanHBA on ESX03
Description
Error Handling
Pass up True
Task settings
Delay after finished 30
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type RescanHBA
Host
Name ESX04
Description ESXi Host
General
Name RescanHBA on ESX04
Description
Error Handling
Pass up True
Task settings
Delay after finished 30
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type PowerOn
Host
Name DC01
Description DC01 (automatically created vm. Hosted on ESX03Id: {"Uuid":"4219bfd8-b18a-9bee-4824-8793fc85f429","InstanceUuid":"50198913-18ae-caac-2227-5014bbc5aa2b","LocationId":"564d7424-1572-7981-2b5e-b3ef99869c39","Name":"DC01"})
General
Name PowerOn on DC01
Description DC01
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name DC01
Description DC01 (automatically created vm. Hosted on ESX03Id: {"Uuid":"4219bfd8-b18a-9bee-4824-8793fc85f429","InstanceUuid":"50198913-18ae-caac-2227-5014bbc5aa2b","LocationId":"564d7424-1572-7981-2b5e-b3ef99869c39","Name":"DC01"})
General
Name Ping on DC01
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 5 Task
Order 5
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type WaitForOpenPort
Host
Name DC01
Description DC01 (automatically created vm. Hosted on ESX03Id: {"Uuid":"4219bfd8-b18a-9bee-4824-8793fc85f429","InstanceUuid":"50198913-18ae-caac-2227-5014bbc5aa2b","LocationId":"564d7424-1572-7981-2b5e-b3ef99869c39","Name":"DC01"})
General
Name WaitForOpenPort on DC01
Description wait for LDAP Port 389
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 3
Delay between tries 1000
Port 389
Timeout per single request 10
Assignment 6 Task
Order 6
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type PowerOn
Host
Name VCENTER01
Description vCenter Server
General
Name PowerOn on VCENTER01
Description
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 7 Task
Order 7
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name VCENTER01
Description vCenter Server
General
Name Ping on VCENTER01
Description
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 8 Task
Order 8
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name VCENTER01
Description vCenter Server
General
Name WaitForHttpService on VCENTER01
Description URL /ui/
Error Handling
Pass up True
Task settings
Total Timeout 600
Required successful results 1
Delay between tries 1000
Timeout per single request 10
Protocol Https
Port 443
Relative URL /ui/
Check HTTP response status code True
Allowed HTTP response status codes
Allowed HTTP response status codes 200
Check response body False
Valid response bodies
Assignment 9 Task
Order 9
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Ssh
Host type Ssh
Task type ExecuteCommands
Host
Name VCENTER01
Description vCenter Server
General
Name ExecuteCommands on VCENTER01
Description wait for vCenter Service
Error Handling
Pass up True
Task settings
Commands
Other
Description wait for vmware-vapi-endpoint service
Command service-control --status vmware-vapi-endpoint
Execute in sudo context False
Ignore host disconnect error False
Retry on failure True
Retry delay 30
Max number of retries 40
Check return code False
Validate process output with RegEx True
RegEx Match Pattern Running:
Assignment 10 Task
Order 10
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type PowerOn
Host
Name FILE01
Description FILE01 automatically created vm. Hosted on ESX03Id: {"Uuid":"42193259-0a42-6177-ede6-5b3288f71821","InstanceUuid":"5019cede-d7b7-30d1-3205-cbaeec45fd93","LocationId":"564d4d72-9d14-b492-0e1c-3ebd02819a37","Name":"FILE01"}
General
Name PowerOn on FILE01
Description FILE01
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 11 Task
Order 11
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name FILE01
Description FILE01 automatically created vm. Hosted on ESX03Id: {"Uuid":"42193259-0a42-6177-ede6-5b3288f71821","InstanceUuid":"5019cede-d7b7-30d1-3205-cbaeec45fd93","LocationId":"564d4d72-9d14-b492-0e1c-3ebd02819a37","Name":"FILE01"}
General
Name Ping on FILE01
Description FILE01
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 12 Task
Order 12
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type VCenter_Vm
Task type PowerOn
Host
Name PICMGMT01
Description PICMGMT01, automatically created vm. Hosted on VCENTER01Id: {"Uuid":"42196a79-d20a-0b44-c2b4-915ee84ab84d","InstanceUuid":"5019315a-0ac7-fee7-fca1-85849acf913a","LocationId":"564d751c-d2fb-be54-0a70-71c784cb1c66","Name":"PICMGMT01"}
General
Name PowerOn on PICMGMT01
Description PICMGMT01
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 13 Task
Order 13
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name PICMGMT01
Description PICMGMT01, automatically created vm. Hosted on VCENTER01Id: {"Uuid":"42196a79-d20a-0b44-c2b4-915ee84ab84d","InstanceUuid":"5019315a-0ac7-fee7-fca1-85849acf913a","LocationId":"564d751c-d2fb-be54-0a70-71c784cb1c66","Name":"PICMGMT01"}
General
Name Ping on PICMGMT01
Description PICMGMT01
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 14 Task
Order 14
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type VCenter_Vm
Task type PowerOn
Host
Name VOIP-GS010-06
Description automatically created vm. Hosted on VCENTER01 Id: {"Uuid":"420a8e48-eeda-c4fe-272f-617b71f54529","InstanceUuid":"500a7199-f8f2-3aec-56ef-e7ad2048d92e","LocationId":"564d6bdb-00fe-9e29-6b01-e3cc722b9b11","Name":"VOIP-GS010-06"}
General
Name PowerOn on VOIP-GS010-06
Description Reporting Server Innoaphone
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 15 Task
Order 15
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type VCenter_Vm
Task type PowerOn
Host
Name VOIP-GS010-AVR
Description automatically created vm. Hosted on VCENTER01 Id: {"Uuid":"420a112d-c140-09c0-364d-749130b94a94","InstanceUuid":"500aec15-046b-2a55-7045-b2ded4fbf7d2","LocationId":"564ddd1b-640c-cda7-75d7-1132700a8d61","Name":"VOIP-GS010-AVR"}
General
Name PowerOn on VOIP-GS010-AVR
Description Apresa Sprachaufzeichnung
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 4 ExecutionBlock
Order 4
Disabled False
Type ExecutionBlock
Name CL1-FOO Step2 - VMs PowerOn
Description Switch on all shutdown VMs (saved in global variables)
Execution Type Parallel
Parallel execution limit 2
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.VMware
Host type ESX_Host
Task type StartupVmsOnHost
Host
Name ESX03
Description ESXi Host
General
Name StartupVmsOnHost on ESX03
Description Switch on all shutdown VMs (saved in global variables)
Error Handling
Pass up True
Task settings
List of VMs to be started var_esx03_vms
Remove VMs from the list after power on False
Number of VMs to power on in parallel 2
Wait after power on 120
Skip wait when tools are running True
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type StartupVmsOnHost
Host
Name ESX04
Description ESXi Host
General
Name StartupVmsOnHost on ESX04
Description Switch on all shutdown VMs (saved in global variables)
Error Handling
Pass up True
Task settings
List of VMs to be started var_esx04_vms
Remove VMs from the list after power on False
Number of VMs to power on in parallel 2
Wait after power on 120
Skip wait when tools are running True
Assignment 5 ExecutionBlock
Order 5
Disabled False
Type ExecutionBlock
Name SAN und NAS Systeme
Description
Execution Type Parallel
Parallel execution limit 0
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host
Name QBACKUP04
Description QNAP NAS Veeam Backup
General
Name Ping on QBACKUP04
Description Switch on manually or via IPMI (ping is only a hint that the backup systems are not forgotten)
Error Handling
Pass up True
Task settings
Wait until host is reachable True
Required successful results 3
Total Timeout 0
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False