Name 1a_Shutdown complete
Description Shutdown of the complete environment (with host groups)
MainExecutionBlock
Name '1a_Shutdown 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 True
Assignment 1 ExecutionBlock
Order 1
Disabled False
Type ExecutionBlock
Name CL1-FOO Step1
Description VMs without DSS
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type ShutdownVmsOnHost
Host Group
Name ESXi-Gruppe-01
Description Host group ESX03, ESX04
General
Name ShutdownVmsOnHost on ESXi-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 2
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Total timeout 0
Number of VMs to shutdown in parallel 2
Include configured VMs False
Immediate hard shutdown False
Timeout per soft shutdown operation 300
Power off VM if shutdown fails True
Save shutdown VMs to list var_ESXi-Gruppe-01_vms
Clear list of shutdown VMs True
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name Shutdown VMs without VMware Tools
Description Shut down VMs without VMware Tools via SSH
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.Ssh
Host type Ssh
Task type ExecuteCommands
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 ExecuteCommands on VOIP-GS010-06
Description shutdown
Error Handling
Pass up True
Task settings
Commands
Other
Description shutdown
Command shutdown -h now
Execute in sudo context False
Ignore host disconnect error False
Retry on failure False
Check return code True
ValidReturnCodes
ValidReturnCodes 0
Validate process output with RegEx False
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Ssh
Host type Ssh
Task type ExecuteCommands
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 ExecuteCommands on VOIP-GS010-AVR
Description shutdown
Error Handling
Pass up True
Task settings
Commands
Other
Description shutdown
Command shutdown
Execute in sudo context True
Ignore host disconnect error False
Retry on failure False
Check return code True
ValidReturnCodes
ValidReturnCodes 0
Validate process output with RegEx False
Assignment 3 ExecutionBlock
Order 3
Disabled False
Type ExecutionBlock
Name Shutdown PICMGMT, FILE, vCenter and DC
Description Shutdown explizit VMs
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type VCenter_Vm
Task type Shutdown
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 Shutdown on PICMGMT01
Description PICMGMT01
Error Handling
Pass up True
Task settings
Hard shutdown False
Soft shutdown timeout 300
Hard shutdown after timeout True
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Vm
Task type Shutdown
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 Shutdown on FILE01
Description FILE01
Error Handling
Pass up True
Task settings
Hard shutdown False
Soft shutdown timeout 300
Hard shutdown after timeout True
Assignment 3 Task
Order 3
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 change to appliance shell
Error Handling
Pass up True
Task settings
Commands
Other
Description change to appliance shell
Command chsh -s /bin/appliancesh root
Execute in sudo context False
Ignore host disconnect error False
Retry on failure False
Check return code False
Validate process output with RegEx False
Assignment 4 Task
Order 4
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 SSH Shutdown
Error Handling
Pass up True
Task settings
Commands
Other
Description Shutdown with poweroff
Command shutdown poweroff -r bnits_VMShutdownManager
Execute in sudo context False
Ignore host disconnect error False
Retry on failure False
Check return code True
ValidReturnCodes
ValidReturnCodes 0
Validate process output with RegEx 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 False
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.VMware
Host type ESX_Vm
Task type Shutdown
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 Shutdown on DC01
Description DC01
Error Handling
Pass up True
Task settings
Hard shutdown False
Soft shutdown timeout 300
Hard shutdown after timeout True
Assignment 7 Task
Order 7
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 DC01
Error Handling
Pass up True
Task settings
Wait until host is reachable False
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 DSS
Description Datacore
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogDiskPools
Host Group
Name DSS-Gruppe-01
Description Hostgruppe DSS (DSS03, DSS04)
General
Name LogDiskPools on DSS-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type LogVirtualDisks
Host Group
Name DSS-Gruppe-01
Description Host group DSS (DSS03, DSS04)
General
Name LogVirtualDisks on DSS-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Datacore
Host type Datacore
Task type StopServer
Host Group
Name DSS-Gruppe-01
Description Host group DSS (DSS03, DSS04)
General
Name StopServer on DSS-Gruppe-01
Description
Execution Type Serial
Error Handling
Pass up True
Continue execution True
Task settings
Assignment 4 Task
Order 4
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type VmShutdownManagerHost
Task type Delay
Host
Name VMShutdownManager
Description Host for local VMShutdownManager Tasks
General
Name Delay on VMShutdownManager
Description wait 30 sec for Datacore Stop Server
Error Handling
Pass up True
Task settings
Delay 30
Assignment 5 Task
Order 5
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.PowerShell
Host type PowerShell
Task type Shutdown
Host Group
Name DSS-Gruppe-01
Description Hostgruppe DSS (DSS03, DSS04)
General
Name Shutdown on DSS-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Assignment 6 Task
Order 6
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host Group
Name DSS-Gruppe-01
Description Hostgruppe DSS (DSS03, DSS04)
General
Name Ping on DSS-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Wait until host is reachable False
Required successful results 3
Total Timeout 600
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 5 ExecutionBlock
Order 5
Disabled False
Type ExecutionBlock
Name CL1-FOO Step2
Description Shutdown ESX
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type EnableMaintenanceMode
Host Group
Name ESXi-Gruppe-01
Description Host group ESX03, ESX04
General
Name EnableMaintenanceMode on ESXi-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Timeout 0
vCLS Shutdown True
vCLS waiting time 0
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.VMware
Host type ESX_Host
Task type ShutdownHost
Host Group
Name ESXi-Gruppe-01
Description Hostgruppe ESX03, ESX04
General
Name ShutdownHost on ESXi-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Force True
Assignment 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host Group
Name ESXi-Gruppe-01
Description Host group ESX03, ESX04
General
Name Ping on ESXi-Gruppe-01
Description
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up True
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Wait until host is reachable False
Required successful results 3
Total Timeout 600
Delay between tries 1000
Ping Timeout 15
TTL 128
Dont fragment False
Assignment 6 ExecutionBlock
Order 6
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.Ssh
Host type Ssh
Task type ExecuteCommands
Host
Name QBACKUP04
Description QNAP NAS Veeam Backup
General
Name ExecuteCommands on QBACKUP04
Description Shutdown and Poweroff
Error Handling
Pass up True
Task settings
Commands
Other
Description Shutdown and Poweroff
Command poweroff
Execute in sudo context False
Ignore host disconnect error False
Retry on failure False
Check return code True
ValidReturnCodes
ValidReturnCodes 0
Validate process output with RegEx False
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Ssh
Host type Ssh
Task type ExecuteCommands
Host Group
Name QNAP-Gruppe-01
Description Host group with outsourcing backup QNAPs (QBACKUP02, QBACKUP03)
General
Name ExecuteCommands on QNAP-Gruppe-01
Description Shutdown and Poweroff outsourcing backup QNAPs
Execution Type Parallel
Parallel execution limit 0
Error Handling
Pass up False
Continue execution True
Cancel parallel running tasks or blocks False
Task settings
Commands
Other
Description Shutdown and Poweroff
Command poweroff
Execute in sudo context True
Ignore host disconnect error False
Retry on failure False
Check return code True
ValidReturnCodes
ValidReturnCodes 0
Validate process output with RegEx False
Assignment 7 ExecutionBlock
Order 7
Disabled False
Type ExecutionBlock
Name USVCTRL01
Description
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled True
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type VmShutdownManagerHost
Task type Delay
Host
Name VMShutdownManager
Description Host for local VMShutdownManager Tasks
General
Name Delay on VMShutdownManager
Description wait 120 sec for Admin checks
Error Handling
Pass up True
Task settings
Delay 120
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type VmShutdownManagerHost
Task type Shutdown
Host
Name VMShutdownManager
Description Host for local VMShutdownManager Tasks
General
Name Shutdown on VMShutdownManager
Description shutdown localhost
Error Handling
Pass up True
Task settings
Timeout 30
Forcibly close all open applications True
Message Shutdown initiated by VMShutdownManager