You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an option to ignore the source path when determining workload to be migrated; fixes the proactively locked host issue
See merge request fozzy-winadmins/AutomaticMaintenance!25
$Message= ('Skipping the computer {0} because it is locked by other sources for more than {1} already and $SkipPreventivelyLocked is {2}.'-f$ComputerName, [string]$PreventiveLockThreshold, [string]$SkipPreventivelyLocked)
Copy file name to clipboardExpand all lines: docs-additional/Configuration.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,13 @@ Each attribute is usually a name of a PowerShell script, located in the `$Module
55
55
56
56
Workload objects have the following attributes:
57
57
58
-
* Path - Path where VM's configuration is located.
58
+
* Path - Path where VM's configuration is located and where VM's configuration will be stored after maintenance.
59
59
* DestinationName - Destination host's name where to move virtual machines.
60
60
* DestinationPath - Local path on the destination host.
61
61
* Filter - Defines a filter which will be used to pick VMs from the source host. For example, if you wish for some VMs not to mirate, but stay at the source host during maintenance, you can filter them out here.
62
+
* DestinationFilter - This setting specifies the filter that will be applied to VMs on the migration hypervisor before the migration starts and allows to ignore a workload that is already on the hypervisor. Otherwise, the module's default behavior will stop processing, assuming that the migration hypervisor is already busy. It could be useful when the "Workload" block contains several sets of settings, or the migration hypervisor already has the virtual machines that are not related to ongoing maintenance.
63
+
* SourcePathFilterDisabled - When set to `false` or not specified, the module applies the `Filter` option to the VMs located in the `Path` folder, therefore the module migrates filtered VMs from the `Path` folder only. When set to `true`, the module applies the `Filter` option to all VMs on the source host and migrates all filtered VMs. If both `SourcePathFilterDisabled` is `true` and `Filter` is not specified, all VMs will be considered as a workload to be migrated.
0 commit comments