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
Copy file name to clipboardExpand all lines: articles/virtual-machines/maintenance-configurations-portal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ With the Maintenance Configurations feature, you can control when to apply updat
54
54
55
55
## Assign the configuration
56
56
57
-
1. On the details page of the maintenance configuration, select **Machines**, and then select **Add Machine**.
57
+
1. On the details page of the maintenance configuration, select **Machines**, and then select **Add machine**.
58
58
59
59

If you're installing locally, be sure to open your PowerShell prompt as an administrator.
51
+
If you're installing locally, be sure to open your Azure PowerShell prompt as an administrator.
52
52
53
53
You might be asked to confirm that you want to install from an untrusted repository. Enter **Y** or select **Yes to All** to install the module.
54
54
@@ -99,7 +99,7 @@ New-AzMaintenanceConfiguration
99
99
-RecurEvery $recurEvery
100
100
```
101
101
102
-
Using `$scope = "Host"` ensures that the maintenance configuration is used for controlling updates on host machines. Ensure that you're creating a configuration for the specific scope of the machines that you're targeting. [Learn more about scopes](maintenance-configurations.md#scopes).
102
+
Using `$scope = "Host"` ensures that the maintenance configuration is used for controlling updates on host machines. Be sure to create a configuration for the specific scope of the machines that you're targeting. [Learn more about scopes](maintenance-configurations.md#scopes).
The most recent addition to the Maintenance Configurations feature is the `InGuestPatch` scope. This example shows how to create a maintenance configuration for a guest scope by using PowerShell. For more information about this scope, see [Guest](maintenance-configurations.md#guest).
135
+
The most recent addition to the Maintenance Configurations feature is the `InGuestPatch` scope. This example shows how to create a maintenance configuration for a guest scope by using Azure PowerShell. For more information about this scope, see [Guest](maintenance-configurations.md#guest).
After you create your configuration, you might want to also assign machines to it by using PowerShell. You can use the [New-AzConfigurationAssignment](/powershell/module/az.maintenance/new-azconfigurationassignment) cmdlet.
188
+
After you create your configuration, you might want to also assign machines to it by using Azure PowerShell. You can use the [New-AzConfigurationAssignment](/powershell/module/az.maintenance/new-azconfigurationassignment) cmdlet.
Copy file name to clipboardExpand all lines: articles/virtual-machines/troubleshoot-maintenance-configurations.md
+46-46Lines changed: 46 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,45 +13,45 @@ ms.author: lnagpal
13
13
14
14
This article outlines common problems and errors that might arise during the deployment or use of Maintenance Configurations for scheduled patching on virtual machines (VMs), along with strategies to address them.
15
15
16
-
## A VM shuts down and is unresponsive when you use a dynamic scope in guest maintenance
16
+
###A VM shuts down and is unresponsive when you use a dynamic scope in guest maintenance
17
17
18
-
### Problem
18
+
####Problem
19
19
20
20
A maintenance configuration doesn't install a scheduled patch on the VMs and gives a `ShutdownOrUnresponsive` error.
21
21
22
-
### Resolution
22
+
####Resolution
23
23
24
24
It takes 12 hours to complete the cleanup process for the maintenance configuration assignment. Be sure to keep a buffer of 12 hours before you create a VM with the same name.
25
25
26
26
If you create a VM with the same name before the cleanup, Maintenance Configurations can't trigger the schedule.
27
27
28
-
## A VM shuts down and is unresponsive when you use a static scope in guest maintenance
28
+
###A VM shuts down and is unresponsive when you use a static scope in guest maintenance
29
29
30
-
### Problem
30
+
####Problem
31
31
32
32
A maintenance configuration doesn't install a scheduled patch on the VMs and gives a `ShutdownOrUnresponsive` error.
33
33
34
-
### Resolution
34
+
####Resolution
35
35
36
36
In a static scope, it's crucial to avoid relying on outdated VM configurations. Instead, prioritize reassigning configurations after you re-create instances.
37
37
38
-
## Scheduled patching times out or fails
38
+
###Scheduled patching times out or fails
39
39
40
-
### Problem
40
+
####Problem
41
41
42
42
Scheduled patching fails with a `TimeOut` or `Failed` error after you move a VM by re-creating it with the same name in a different region. The portal might show the same VM twice because the previously created VM is removed from the back end.
43
43
44
-
### Resolution
44
+
####Resolution
45
45
46
46
This is a known bug, and we're working on resolving it. If you encounter this problem, contact the support team for assistance.
47
47
48
-
## Scheduled patching stops working after the resource is moved
48
+
###Scheduled patching stops working after the resource is moved
49
49
50
-
### Problem
50
+
####Problem
51
51
52
52
If you move a resource to a different resource group or subscription, scheduled patching for the resource stop working.
53
53
54
-
### Resolution
54
+
####Resolution
55
55
56
56
The system currently doesn't support moving resources across resource groups or subscriptions. As a workaround, use the following steps for the resource that you want to move.
57
57
@@ -70,121 +70,121 @@ If you're using a dynamic scope:
70
70
71
71
If you miss any of the preceding steps, you can reassign the resource to the original assignment and repeat the steps sequentially.
72
72
73
-
## Creation of a dynamic scope fails
73
+
###Creation of a dynamic scope fails
74
74
75
-
### Problem
75
+
####Problem
76
76
77
77
You can't create a dynamic scope because of role-based access control (RBAC).
78
78
79
-
### Resolution
79
+
####Resolution
80
80
81
81
To create a dynamic scope, you must have the permission at the subscription level or at a resource group level. For more information, see the [list of permissions list for various resources](../update-manager/overview.md#permissions).
If you redeploy a resource to a different cluster, and you create a pending update request by using the old cluster value, the request becomes stuck indefinitely.
90
90
91
-
### Resolution
91
+
####Resolution
92
92
93
93
If the status of an operation to apply an update is closed or not found, retry after 120 hours. If the problem persists, contact the support team for assistance.
94
94
95
-
## A dedicated host is updated after a maintenance configuration is attached
95
+
###A dedicated host is updated after a maintenance configuration is attached
96
96
97
-
### Problem
97
+
####Problem
98
98
99
99
A maintenance configuration doesn't block the update of a dedicated host, and the host is updated even after you attach a maintenance configuration.
100
100
101
-
### Resolution
101
+
####Resolution
102
102
103
103
If you re-create a dedicated host with the same name, Maintenance Configurations retains the old dedicated host ID, which prevents it from blocking updates. You can resolve this problem by removing the maintenance configuration and reassigning it. If the problem persists, contact the support team for assistance.
104
104
105
-
## Patch installation fails for an invalid classification type
105
+
###Patch installation fails for an invalid classification type
106
106
107
-
### Problem
107
+
####Problem
108
108
109
109
Patch installation fails because of an invalid classification type in a maintenance configuration.
110
110
111
111
A previous bug prevented the system's patch operation from performing validation, and the maintenance configuration contained an invalid classification type.
112
112
113
-
### Resolution
113
+
####Resolution
114
114
115
115
The bug is fixed. Update the maintenance configuration and set the correct classification type.
116
116
117
-
## A schedule isn't triggered
117
+
###A schedule isn't triggered
118
118
119
-
### Problem
119
+
####Problem
120
120
121
121
If a resource has two maintenance configurations with the same trigger time and patch installation configuration, and both are assigned to the same VM or resource, only one maintenance configuration is triggered.
122
122
123
-
### Resolution
123
+
####Resolution
124
124
125
125
Modify the start time of one of the maintenance configurations to mitigate the problem. This is a workaround to a current system limitation in which Maintenance Configurations can't identify which maintenance configuration to trigger.
126
126
127
-
## You can't create a dynamic scope for a resource group
127
+
###You can't create a dynamic scope for a resource group
128
128
129
-
### Problem
129
+
####Problem
130
130
131
131
Dynamic scope validation fails because of a null value in the location.
132
132
133
-
### Resolution
133
+
####Resolution
134
134
135
135
This problem with dynamic scope validation causes regression in the validation process. We recommend that you provide the required set of locations for a dynamic scope at the resource-group level.
136
136
137
-
## A dynamic scope isn't executed and no resources are patched
137
+
###A dynamic scope isn't executed and no resources are patched
138
138
139
-
### Problem
139
+
####Problem
140
140
141
141
Dynamic scope flattening fails because of throttling, and the service can't determine which VMs are associated with the VM.
142
142
143
-
### Resolution
143
+
####Resolution
144
144
145
145
Make sure that the number of subscriptions per dynamic scope is less than 30. [Learn more about the service limits of dynamic scoping](../virtual-machines/maintenance-configurations.md#service-limits).
146
146
147
-
## Configuration assignment of a dedicated host isn't cleaned up after the host's removal
147
+
###Configuration assignment of a dedicated host isn't cleaned up after the host's removal
148
148
149
-
### Problem
149
+
####Problem
150
150
151
151
After you delete the dedicated hosts, configuration assignments that are attached to dedicated hosts still exist.
152
152
153
-
### Resolution
153
+
####Resolution
154
154
155
155
Before you delete a dedicated host, be sure to delete the maintenance configuration that's associated with it. If the dedicated host is deleted but still appears in the portal, contact the support team for assistance. Cleanup processes are currently in place for dedicated hosts, to help prevent any impact on customers.
156
156
157
-
## You can't provide multiple tag values for dynamic scopes
157
+
###You can't provide multiple tag values for dynamic scopes
158
158
159
-
### Problem
159
+
####Problem
160
160
161
161
If you use the Azure portal, you can't provide multiple tag values for dynamic scopes.
162
162
163
-
### Resolution
163
+
####Resolution
164
164
165
165
This feature currently isn't available in the portal. As a workaround, you can use the Azure CLI or Azure PowerShell to create a dynamic scope. The system accepts multiple values for tags when you use the Azure CLI or Azure PowerShell option.
166
166
167
-
## A maintenance configuration is triggered again with an older trigger time
167
+
###A maintenance configuration is triggered again with an older trigger time
168
168
169
-
### Problem
169
+
####Problem
170
170
171
171
There's a known issue in Maintenance Configurations related to the caching of old maintenance policies. If an old policy is cached, and a new instance moves the new policy processing, the old machine might trigger the schedule with the outdated start time.
172
172
173
-
### Resolution
173
+
####Resolution
174
174
175
175
We recommend that you update the maintenance configuration at least 1 hour before the scheduled time. If the problem persists, contact the support team for assistance.
176
176
177
-
## A maintenance configuration times out while waiting for an ongoing update to finish on a resource
177
+
###A maintenance configuration times out while waiting for an ongoing update to finish on a resource
178
178
179
-
### Problem
179
+
####Problem
180
180
181
181
In rare cases, if the host update window happens to coincide with the VM guest patching window, and if the guest patching window doesn't have sufficient time to run after the host update, the system shows this error message: "Schedule timeout, waiting for an ongoing update to complete the resource." The reason is that the platform allows only one update at a time.
182
182
183
-
### Resolution
183
+
####Resolution
184
184
185
185
Change the maintenance configuration schedule for the guest update for a time after the ongoing update is finished.
186
186
187
-
## Maintenance Configurations doesn't support an API
187
+
###Maintenance Configurations doesn't support an API
188
188
189
189
The feature currently doesn't support the following APIs:
0 commit comments