MainExecutionBlock
|
Name
|
'1b_Startup complete' 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
|
CL1 Step1
|
|
Description
|
ESXi Cluster1, Startup ESX
|
|
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
|
ESXi-Gruppe-01
|
|
Description
|
Host group TS-ESX11, TS-ESX12
|
|
General
|
Name
|
Ping on ESXi-Gruppe-01
|
|
Description
|
|
|
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.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
WaitForHttpService
|
|
Host Group
|
|
Name
|
ESXi-Gruppe-01
|
|
Description
|
Host group TS-ESX11, TS-ESX12
|
|
General
|
Name
|
WaitForHttpService on ESXi-Gruppe-01
|
|
Description
|
|
|
Execution Type
|
Parallel
|
|
Parallel execution limit
|
0
|
|
Error Handling
|
Pass up
|
True
|
|
Continue execution
|
False
|
|
Cancel parallel running tasks or blocks
|
False
|
|
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 Group
|
|
Name
|
ESXi-Gruppe-01
|
|
Description
|
Host group TS-ESX11, TS-ESX12
|
|
General
|
Name
|
DisableMaintenanceMode on ESXi-Gruppe-01
|
|
Description
|
|
|
Execution Type
|
Parallel
|
|
Parallel execution limit
|
0
|
|
Error Handling
|
Pass up
|
True
|
|
Continue execution
|
False
|
|
Cancel parallel running tasks or blocks
|
False
|
|
|
Task settings
|
|
Assignment 4 Task
|
Order
|
4
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.VMware
|
|
Host type
|
ESX_Host
|
|
Task type
|
RescanHBA
|
|
Host Group
|
|
Name
|
ESXi-Gruppe-01
|
|
Description
|
Host group TS-ESX11, TS-ESX12
|
|
General
|
Name
|
RescanHBA on ESXi-Gruppe-01
|
|
Description
|
|
|
Execution Type
|
Parallel
|
|
Parallel execution limit
|
0
|
|
Error Handling
|
Pass up
|
True
|
|
Continue execution
|
False
|
|
Cancel parallel running tasks or blocks
|
False
|
|
|
Task settings
|
|
|
Assignment 2 ExecutionBlock
|
Order
|
2
|
|
Disabled
|
False
|
|
Type
|
ExecutionBlock
|
|
Name
|
VMs PowerOn explizit
|
|
Description
|
Switch on explicitly configured VM's 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_Vm
|
|
Task type
|
PowerOn
|
|
Host
|
|
Name
|
TS-DC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"423773c0-fbc6-a429-54b2-a3149f7e42f7","instanceUuid":"5037bf24-a061-495b-561e-200951c5c153","locationId":"564dff98-fc8f-c85a-8d4f-868cc52312e9","name":"TS-DC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
PowerOn on TS-DC11
|
|
Description
|
|
|
|
Error Handling
|
Task settings
|
Wait for VMware Tools
|
False
|
|
|
Assignment 2 Task
|
Order
|
2
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
Ping
|
|
Host
|
|
Name
|
TS-DC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"423773c0-fbc6-a429-54b2-a3149f7e42f7","instanceUuid":"5037bf24-a061-495b-561e-200951c5c153","locationId":"564dff98-fc8f-c85a-8d4f-868cc52312e9","name":"TS-DC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
Ping on TS-DC11
|
|
Description
|
|
|
|
Error Handling
|
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 3 Task
|
Order
|
3
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
WaitForOpenPort
|
|
Host
|
|
Name
|
TS-DC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"423773c0-fbc6-a429-54b2-a3149f7e42f7","instanceUuid":"5037bf24-a061-495b-561e-200951c5c153","locationId":"564dff98-fc8f-c85a-8d4f-868cc52312e9","name":"TS-DC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
WaitForOpenPort on TS-DC11
|
|
Description
|
wait for LDAP Port 389
|
|
|
Error Handling
|
Task settings
|
Total Timeout
|
600
|
|
Required successful results
|
1
|
|
Delay between tries
|
1000
|
|
Port
|
3389
|
|
Timeout per single request
|
10
|
|
|
Assignment 4 Task
|
Order
|
4
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.VMware
|
|
Host type
|
ESX_Vm
|
|
Task type
|
PowerOn
|
|
Host
|
|
Name
|
TS-VC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"564d66e2-c106-7475-189b-46cfc328d336","instanceUuid":"52efe483-941e-892e-61f6-eb4d0071a569","locationId":"564d66e2-c106-7475-189b-46cfc328d336","name":"TS-VC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
PowerOn on TS-VC11
|
|
Description
|
|
|
|
Error Handling
|
Task settings
|
Wait for VMware Tools
|
False
|
|
|
Assignment 5 Task
|
Order
|
5
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
Ping
|
|
Host
|
|
Name
|
TS-VC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"564d66e2-c106-7475-189b-46cfc328d336","instanceUuid":"52efe483-941e-892e-61f6-eb4d0071a569","locationId":"564d66e2-c106-7475-189b-46cfc328d336","name":"TS-VC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
Ping on TS-VC11
|
|
Description
|
|
|
|
Error Handling
|
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 6 Task
|
Order
|
6
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
WaitForHttpService
|
|
Host
|
|
Name
|
TS-VC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"564d66e2-c106-7475-189b-46cfc328d336","instanceUuid":"52efe483-941e-892e-61f6-eb4d0071a569","locationId":"564d66e2-c106-7475-189b-46cfc328d336","name":"TS-VC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
WaitForHttpService on TS-VC11
|
|
Description
|
|
|
|
Error Handling
|
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 7 Task
|
Order
|
7
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.Ssh
|
|
Host type
|
Ssh
|
|
Task type
|
ExecuteCommands
|
|
Host
|
|
Name
|
TS-VC11
|
|
Description
|
automatically created vm. Hosted on TS-ESX11
Id: {"Type":0,"uuid":"564d66e2-c106-7475-189b-46cfc328d336","instanceUuid":"52efe483-941e-892e-61f6-eb4d0071a569","locationId":"564d66e2-c106-7475-189b-46cfc328d336","name":"TS-VC11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
ExecuteCommands on TS-VC11
|
|
Description
|
wait for vCenter Service
|
|
|
Error Handling
|
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 8 Task
|
Order
|
8
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.VMware
|
|
Host type
|
VCenter_Vm
|
|
Task type
|
PowerOn
|
|
Host
|
|
Name
|
TS-SQL11
|
|
Description
|
automatically created vm. Hosted on TS-VC11
Id: {"Type":0,"uuid":"4237f437-c915-8ad3-13f1-83e7c0298a3e","instanceUuid":"503704f2-fb55-5ea4-9fe2-80564e305dfd","locationId":"564d7fa9-5d65-66d2-26e5-dbae80ebe93a","name":"TS-SQL11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
PowerOn on TS-SQL11
|
|
Description
|
SQL-Server
|
|
|
Error Handling
|
Task settings
|
Wait for VMware Tools
|
False
|
|
|
Assignment 9 Task
|
Order
|
9
|
|
Disabled
|
False
|
|
Type
|
Task
|
|
Module
|
BnIts.VmShutdownManager.Modules.CommonTasks
|
|
Host type
|
BasicIpHost
|
|
Task type
|
Ping
|
|
Host
|
|
Name
|
TS-SQL11
|
|
Description
|
automatically created vm. Hosted on TS-VC11
Id: {"Type":0,"uuid":"4237f437-c915-8ad3-13f1-83e7c0298a3e","instanceUuid":"503704f2-fb55-5ea4-9fe2-80564e305dfd","locationId":"564d7fa9-5d65-66d2-26e5-dbae80ebe93a","name":"TS-SQL11","vAppInstanceUuid":null,"vAppName":null}
|
|
General
|
Name
|
Ping on TS-SQL11
|
|
Description
|
|
|
|
Error Handling
|
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 3 ExecutionBlock
|
Order
|
3
|
|
Disabled
|
False
|
|
Type
|
ExecutionBlock
|
|
Name
|
CL1 Step2
|
|
Description
|
ESXi Cluster1, Startup VMs (stored in global variables)
|
|
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
|
StartupVmsOnHost
|
|
Host Group
|
|
Name
|
ESXi-Gruppe-01
|
|
Description
|
Hostgruppe TS-ESX11, TS-ESX12
|
|
General
|
Name
|
StartupVmsOnHost on ESXi-Gruppe-01
|
|
Description
|
|
|
Execution Type
|
Parallel
|
|
Parallel execution limit
|
0
|
|
Error Handling
|
Pass up
|
True
|
|
Continue execution
|
False
|
|
Cancel parallel running tasks or blocks
|
False
|
|
Task settings
|
List of VMs to be started
|
var_ESXi-Gruppe-01_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 4 ExecutionBlock
|
Order
|
4
|
|
Disabled
|
False
|
|
Type
|
ExecutionBlock
|
|
Name
|
SAN und NAS Systeme
|
|
Description
|
Switch on storage systems again
|
|
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-TRUENAS11
|
|
Description
|
NAS System
|
|
General
|
Name
|
Ping on TS-TRUENAS11
|
|
Description
|
Switch on manually or via IPMI (ping is only a hint that the backup systems are not forgotten)
|
|
|
Error Handling
|
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
|
|
|
|
|