Skip to content

Commit 9e3fccc

Browse files
committed
edit pass: maintenance-configurations
1 parent 1d0e7ae commit 9e3fccc

File tree

3 files changed

+54
-54
lines changed

3 files changed

+54
-54
lines changed

articles/virtual-machines/maintenance-configurations-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ With the Maintenance Configurations feature, you can control when to apply updat
5454

5555
## Assign the configuration
5656

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**.
5858

5959
![Screenshot that shows the button for adding a machine.](media/virtual-machines-maintenance-control-portal/maintenance-configurations-add-assignment.png)
6060

articles/virtual-machines/maintenance-configurations-powershell.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ If you're looking for information about using Maintenance Configurations for sca
2222
> [!IMPORTANT]
2323
> Specific *scopes* support certain machine types and schedules. Be sure to select the right scope for your VM.
2424
25-
## Enable the PowerShell module
25+
## Enable the Azure PowerShell module
2626

2727
Make sure that `PowerShellGet` is up to date:
2828

2929
```azurepowershell-interactive
3030
Install-Module -Name PowerShellGet -Repository PSGallery -Force
3131
```
3232

33-
Install the `Az.Maintenance` PowerShell module:
33+
Install the `Az.Maintenance` Azure PowerShell module:
3434

3535
```azurepowershell-interactive
3636
Install-Module -Name Az.Maintenance
3737
```
3838

39-
Check that you're running the latest version of the `Az.Maintenance` PowerShell module (version 1.2.0):
39+
Check that you're running the latest version of `Az.Maintenance` (version 1.2.0):
4040

4141
```azurepowershell-interactive
4242
Get-Module -ListAvailable -Name Az.Maintenance
@@ -48,7 +48,7 @@ Ensure that you're running the appropriate version of `Az.Maintenance`:
4848
Import-Module -Name Az.Maintenance -RequiredVersion 1.2.0
4949
```
5050

51-
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.
5252

5353
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.
5454

@@ -99,7 +99,7 @@ New-AzMaintenanceConfiguration
9999
-RecurEvery $recurEvery
100100
```
101101

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).
103103

104104
### OS image
105105

@@ -132,7 +132,7 @@ New-AzMaintenanceConfiguration
132132

133133
### Guest
134134

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 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).
136136

137137
```azurepowershell-interactive
138138
$RGName = "myMaintenanceRG"
@@ -185,7 +185,7 @@ Get-AzMaintenanceConfiguration | Format-Table -Property Name,Id
185185

186186
## Assign the configuration
187187

188-
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.
189189

190190
### Isolated VM
191191

articles/virtual-machines/troubleshoot-maintenance-configurations.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,45 @@ ms.author: lnagpal
1313

1414
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.
1515

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
1717

18-
### Problem
18+
#### Problem
1919

2020
A maintenance configuration doesn't install a scheduled patch on the VMs and gives a `ShutdownOrUnresponsive` error.
2121

22-
### Resolution
22+
#### Resolution
2323

2424
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.
2525

2626
If you create a VM with the same name before the cleanup, Maintenance Configurations can't trigger the schedule.
2727

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
2929

30-
### Problem
30+
#### Problem
3131

3232
A maintenance configuration doesn't install a scheduled patch on the VMs and gives a `ShutdownOrUnresponsive` error.
3333

34-
### Resolution
34+
#### Resolution
3535

3636
In a static scope, it's crucial to avoid relying on outdated VM configurations. Instead, prioritize reassigning configurations after you re-create instances.
3737

38-
## Scheduled patching times out or fails
38+
### Scheduled patching times out or fails
3939

40-
### Problem
40+
#### Problem
4141

4242
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.
4343

44-
### Resolution
44+
#### Resolution
4545

4646
This is a known bug, and we're working on resolving it. If you encounter this problem, contact the support team for assistance.
4747

48-
## Scheduled patching stops working after the resource is moved
48+
### Scheduled patching stops working after the resource is moved
4949

50-
### Problem
50+
#### Problem
5151

5252
If you move a resource to a different resource group or subscription, scheduled patching for the resource stop working.
5353

54-
### Resolution
54+
#### Resolution
5555

5656
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.
5757

@@ -70,121 +70,121 @@ If you're using a dynamic scope:
7070

7171
If you miss any of the preceding steps, you can reassign the resource to the original assignment and repeat the steps sequentially.
7272

73-
## Creation of a dynamic scope fails
73+
### Creation of a dynamic scope fails
7474

75-
### Problem
75+
#### Problem
7676

7777
You can't create a dynamic scope because of role-based access control (RBAC).
7878

79-
### Resolution
79+
#### Resolution
8080

8181
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).
8282

83-
## An update is stuck and not progressing
83+
### An update is stuck and not progressing
8484

85-
### Problem
85+
#### Problem
8686

8787
**Applies to:** :heavy_check_mark: Dedicated Hosts :heavy_check_mark: VMs
8888

8989
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.
9090

91-
### Resolution
91+
#### Resolution
9292

9393
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.
9494

95-
## A dedicated host is updated after a maintenance configuration is attached
95+
### A dedicated host is updated after a maintenance configuration is attached
9696

97-
### Problem
97+
#### Problem
9898

9999
A maintenance configuration doesn't block the update of a dedicated host, and the host is updated even after you attach a maintenance configuration.
100100

101-
### Resolution
101+
#### Resolution
102102

103103
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.
104104

105-
## Patch installation fails for an invalid classification type
105+
### Patch installation fails for an invalid classification type
106106

107-
### Problem
107+
#### Problem
108108

109109
Patch installation fails because of an invalid classification type in a maintenance configuration.
110110

111111
A previous bug prevented the system's patch operation from performing validation, and the maintenance configuration contained an invalid classification type.
112112

113-
### Resolution
113+
#### Resolution
114114

115115
The bug is fixed. Update the maintenance configuration and set the correct classification type.
116116

117-
## A schedule isn't triggered
117+
### A schedule isn't triggered
118118

119-
### Problem
119+
#### Problem
120120

121121
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.
122122

123-
### Resolution
123+
#### Resolution
124124

125125
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.
126126

127-
## You can't create a dynamic scope for a resource group
127+
### You can't create a dynamic scope for a resource group
128128

129-
### Problem
129+
#### Problem
130130

131131
Dynamic scope validation fails because of a null value in the location.
132132

133-
### Resolution
133+
#### Resolution
134134

135135
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.
136136

137-
## A dynamic scope isn't executed and no resources are patched
137+
### A dynamic scope isn't executed and no resources are patched
138138

139-
### Problem
139+
#### Problem
140140

141141
Dynamic scope flattening fails because of throttling, and the service can't determine which VMs are associated with the VM.
142142

143-
### Resolution
143+
#### Resolution
144144

145145
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).
146146

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
148148

149-
### Problem
149+
#### Problem
150150

151151
After you delete the dedicated hosts, configuration assignments that are attached to dedicated hosts still exist.
152152

153-
### Resolution
153+
#### Resolution
154154

155155
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.
156156

157-
## You can't provide multiple tag values for dynamic scopes
157+
### You can't provide multiple tag values for dynamic scopes
158158

159-
### Problem
159+
#### Problem
160160

161161
If you use the Azure portal, you can't provide multiple tag values for dynamic scopes.
162162

163-
### Resolution
163+
#### Resolution
164164

165165
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.
166166

167-
## A maintenance configuration is triggered again with an older trigger time
167+
### A maintenance configuration is triggered again with an older trigger time
168168

169-
### Problem
169+
#### Problem
170170

171171
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.
172172

173-
### Resolution
173+
#### Resolution
174174

175175
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.
176176

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
178178

179-
### Problem
179+
#### Problem
180180

181181
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.
182182

183-
### Resolution
183+
#### Resolution
184184

185185
Change the maintenance configuration schedule for the guest update for a time after the ongoing update is finished.
186186

187-
## Maintenance Configurations doesn't support an API
187+
### Maintenance Configurations doesn't support an API
188188

189189
The feature currently doesn't support the following APIs:
190190

0 commit comments

Comments
 (0)