Name 1a_Shutdown complete
Description Shutdown of the complete environment (with Proxmox module)
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 CL01 Step1
Description Shutdown VMs
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Proxmox
Host type ProxmoxNode
Task type ProxmoxNodeShutdownAllVMs
Host Group
Name PVE-Group-01
Description Host group PVE01, PVE02, PVE03
General
Name ProxmoxNodeShutdownAllVMs on PVE-Group-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
Save shutdown VMs to list var_PVE-Group-01_vms
Clear list of shutdown VMs True
Timeout per soft shutdown operation 120
Power off VM if shutdown fails True
Include configured VMs False
Total timeout 600
Number of VMs to shutdown in parallel 4
Assignment 2 ExecutionBlock
Order 2
Disabled False
Type ExecutionBlock
Name Shutdown explicit VMs
Description Shutdown explicit VMs (due to sequence)
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Proxmox
Host type ProxmoxVm
Task type ProxmoxVmShutdown
Host
Name DC01 (qemu/106 on PVE01)
Description automatically created vm. Hosted on PVE01 Id: qemu/106
General
Name ProxmoxVmShutdown on DC01 (qemu/106 on PVE01)
Description
Error Handling
Pass up True
Task settings
Timeout 120
Assignment 3 ExecutionBlock
Order 3
Disabled False
Type ExecutionBlock
Name CL01 Step2
Description Shutdown Proxmox Hosts
Execution Type Serial
Pass up True
Continue execution False
Assignment 1 Task
Order 1
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Proxmox
Host type ProxmoxNode
Task type ProxmoxNodeShutdown
Host Group
Name PVE-Group-01
Description Host group PVE01, PVE02, PVE03
General
Name ProxmoxNodeShutdown on PVE-Group-01
Description Shutdown and Poweroff
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 600
Assignment 2 Task
Order 2
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.CommonTasks
Host type BasicIpHost
Task type Ping
Host Group
Name PVE-Group-01
Description Host group PVE01, PVE02, PVE03
General
Name Ping on PVE-Group-01
Description wait for no ping response
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 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 PBS, SAN und NAS systems
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 PBS01
Description Proxmox Backup Server
General
Name ExecuteCommands on PBS01
Description Shutdown and Poweroff
Error Handling
Pass up True
Task settings
Commands
Other
Description Shutdown and Poweroff
Command systemctl 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
Name SAN01
Description open-e SAN (Veeam Backup)
General
Name ExecuteCommands on SAN01
Description open-e shutdown
Error Handling
Pass up True
Task settings
Commands
Other
Description Shutdown
Command shutdown --force
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 3 Task
Order 3
Disabled False
Type Task
Module BnIts.VmShutdownManager.Modules.Ssh
Host type Ssh
Task type ExecuteCommands
Host Group
Name QNAP-Group-01
Description Host group QBACKUP01, QBACKUP02 (outsourcing backup)
General
Name ExecuteCommands on QNAP-Group-01
Description Shutdown and Poweroff
Execution Type Serial
Error Handling
Pass up False
Continue execution 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 5 ExecutionBlock
Order 5
Disabled False
Type ExecutionBlock
Name USVCTRL01
Description shutdown localhost
Execution Type Serial
Pass up True
Continue execution True
Assignment 1 Task
Order 1
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
Error Handling
Pass up True
Task settings
Timeout 30
Forcibly close all open applications True
Message Shutdown initiated by VMShutdownManager