Name 1b_Startup complete
Description Restart SAN01 (productive storage) and VMware systems (incl. DC01, vCenter, FILE01, PICMGMT01 remaining VMs are then started from global variables)
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 False
Continue execution False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name SAN01
Description productive Storage must be switched on manually or via IPMI
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 SAN01
Description open-e SAN (productive Storage)
General
Name Ping on SAN01
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 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type WaitForOpenPort
Host
Name SAN01
Description open-e SAN (productive Storage)
General
Name WaitForOpenPort on SAN01
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.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name SAN01
Description open-e SAN (productive Storage)
General
Name WaitForHttpService on SAN01
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 False
Allowed HTTP response status codes
Allowed HTTP response status codes 200
Check response body False
Valid response bodies
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name CL1-FOO Step1
Description ESXi starten
Execution Type Parallel
Parallel execution limit 2
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name ESX01
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 ESX01
Description ESXi Host
General
Name Ping on ESX01
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 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name ESX01
Description ESXi Host
General
Name WaitForHttpService on ESX01
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 ESX01
Description ESXi Host
General
Name DisableMaintenanceMode on ESX01
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_Host
Task type RescanHBA
Host
Name ESX01
Description ESXi Host
General
Name RescanHBA on ESX01
Description
Error Handling
Pass up True
Task settings
Delay after finished 30
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name ESX02
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 ESX02
Description ESXi Host
General
Name Ping on ESX02
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 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type WaitForHttpService
Host
Name ESX02
Description ESXi Host
General
Name WaitForHttpService on ESX02
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 ESX02
Description ESXi Host
General
Name DisableMaintenanceMode on ESX02
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_Host
Task type RescanHBA
Host
Name ESX02
Description ESXi Host
General
Name RescanHBA on ESX02
Description
Error Handling
Pass up True
Task settings
Delay after finished 30
Assignment 3 ExecutionBlock
Order 3
Disabled False
Type ExecutionBlock
Name VMs PowerOn (Basis VMs)
Description Switch VMs on (DC, FILE, vCenter, PICMGMT)
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 DC01
Description DC01 automatically created vm. Hosted on ESX02 Id: {"Uuid":"420f89ec-3e75-e429-8b24-b4c2f94d46b7","InstanceUuid":"500f8a09-6a10-a887-354e-8dd9f92d1b8e","LocationId":"564d714c-f12b-9616-6c32-58b2ccc51415","Name":"DC01"}
General
Name PowerOn on DC01
Description DC01
Error Handling
Pass up True
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 DC01
Description DC01 automatically created vm. Hosted on ESX02 Id: {"Uuid":"420f89ec-3e75-e429-8b24-b4c2f94d46b7","InstanceUuid":"500f8a09-6a10-a887-354e-8dd9f92d1b8e","LocationId":"564d714c-f12b-9616-6c32-58b2ccc51415","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 3 Task
Order 3
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 ESX02 Id: {"Uuid":"420f89ec-3e75-e429-8b24-b4c2f94d46b7","InstanceUuid":"500f8a09-6a10-a887-354e-8dd9f92d1b8e","LocationId":"564d714c-f12b-9616-6c32-58b2ccc51415","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 1
Delay between tries 1000
Port 389
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 VCENTER01
Description vCenter Server
General
Name PowerOn on VCENTER01
Description
Error Handling
Pass up True
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 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 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 VCENTER01
Description vCenter Server
General
Name WaitForHttpService on VCENTER01
Description
Error Handling
Pass up True
Task settings
Total Timeout 1200
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 7 Task
Order 7
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 vCenter 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 FILE01
Description FILE01 automatically created vm. Hosted on VCENTER01 Id: {"Uuid":"420f2d15-0715-875d-c8b6-e0966971fe07","InstanceUuid":"500f37d7-3990-5f65-b1b2-c92e7f4f37d2","LocationId":"564d95c1-a203-fb44-cdc9-097369ff7a17","Name":"FILE01"}
General
Name PowerOn on FILE01
Description FILE01
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 9 Task
Order 9
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":"420fec5c-83b4-f42f-d5f9-c8c75c77db79","InstanceUuid":"500f0338-9df6-e74c-e336-8d4153353bd9","LocationId":"564db90e-b2de-f1fb-1ecd-8dc1690de05c","Name":"PICMGMT01"}
General
Name PowerOn on PICMGMT01
Description PICMGMT01
Error Handling
Pass up True
Task settings
Wait for VMware Tools False
Assignment 10 Task
Order 10
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 VCENTER01 Id: {"Uuid":"420f2d15-0715-875d-c8b6-e0966971fe07","InstanceUuid":"500f37d7-3990-5f65-b1b2-c92e7f4f37d2","LocationId":"564d95c1-a203-fb44-cdc9-097369ff7a17","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 11 Task
Order 11
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":"420fec5c-83b4-f42f-d5f9-c8c75c77db79","InstanceUuid":"500f0338-9df6-e74c-e336-8d4153353bd9","LocationId":"564db90e-b2de-f1fb-1ecd-8dc1690de05c","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 4 ExecutionBlock
Order 4
Disabled False
Type ExecutionBlock
Name CL1-FOO Step2
Description Remaining VMs PowerOn (stored in global variables)
Execution Type Parallel
Parallel execution limit 2
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.VMware
Host type ESX_Host
Task type StartupVmsOnHost
Host
Name ESX01
Description ESXi Host
General
Name StartupVmsOnHost on ESX01
Description
Error Handling
Pass up True
Task settings
List of VMs to be started var_esx01_vms
Remove VMs from the list after power on True
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 ESX02
Description ESXi Host
General
Name StartupVmsOnHost on ESX02
Description
Error Handling
Pass up True
Task settings
List of VMs to be started var_esx02_vms
Remove VMs from the list after power on True
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 SAN03
Description Windows SAN (Veeam Backup)
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 SAN03
Description Backup SAN Windows (Veeam Backup)
General
Name Ping on SAN03
Description Windows SAN muss manuell oder ueber IPMI eingeschaltet 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