Skip to content

Commit 05d1acd

Browse files
authored
Merge pull request #271590 from sipastak/autoscale-diagnostics-2
AVD monitor Autoscale operations with Insights
2 parents 76ded43 + 7e2e1d6 commit 05d1acd

10 files changed

+285
-69
lines changed

.openpublishing.redirection.virtual-desktop.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,11 @@
404404
"source_path_from_root": "/articles/virtual-desktop/whats-new-client-microsoft-store.md",
405405
"redirect_url": "/azure/virtual-desktop/whats-new-client-windows",
406406
"redirect_document_id": false
407+
},
408+
{
409+
"source_path_from_root": "/articles/virtual-desktop/autoscale-scaling-plan.md",
410+
"redirect_url": "/azure/virtual-desktop/autoscale-create-assign-scaling-plan",
411+
"redirect_document_id": true
407412
}
408413
]
409414
}

articles/virtual-desktop/TOC.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,10 @@
414414
items:
415415
- name: Create and assign a scaling plan
416416
displayName: autoscale, scale, virtual machines, vms
417-
href: autoscale-scaling-plan.md
418-
- name: Set up autoscale diagnostics
419-
displayName: autoscale, scale, virtual machines, vms
420-
href: autoscale-diagnostics.md
417+
href: autoscale-create-assign-scaling-plan.md
418+
- name: Monitor Autoscale operations
419+
displayName: monitoring, scale, scaling, avd insights, avdi
420+
href: autoscale-monitor-operations-insights.md
421421
- name: Azure Automation and Azure Logic Apps
422422
items:
423423
- name: Scale with a runbook and logic app
@@ -520,12 +520,12 @@
520520
href: multimedia-redirection.md
521521
- name: Monitor
522522
items:
523-
- name: Use Azure Virtual Desktop Insights
524-
displayName: avd insights, avdi, monitoring, diagnostics
525-
href: insights.md
526-
- name: Use diagnostics with Log Analytics
523+
- name: Send diagnostic data to Log Analytics
527524
displayName: monitoring
528525
href: diagnostics-log-analytics.md
526+
- name: Enable Insights
527+
displayName: avd insights, avdi, monitoring, diagnostics
528+
href: insights.md
529529
- name: Set up diagnostics to monitor Agent updates
530530
displayName: monitoring
531531
href: agent-updates-diagnostics.md
@@ -538,6 +538,12 @@
538538
- name: Collect and query user connection quality data
539539
displayName: monitoring, network, graphics
540540
href: connection-quality-monitoring.md
541+
- name: Monitor Autoscale operations with Insights
542+
displayName: monitoring, scale, scaling, avd insights, avdi
543+
href: autoscale-monitor-operations-insights.md
544+
- name: Set up diagnostics for Autoscale
545+
displayName: monitoring, scale, scaling
546+
href: autoscale-diagnostics.md
541547
- name: Resolve Azure Advisor recommendations
542548
displayName: monitoring
543549
href: azure-advisor-recommendations.md

articles/virtual-desktop/autoscale-scaling-plan.md renamed to articles/virtual-desktop/autoscale-create-assign-scaling-plan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To use scaling plans, make sure you follow these guidelines:
2929
- Scaling plan configuration data must be stored in the same region as the host pool configuration. Deploying session host VMs is supported in all Azure regions.
3030
- When using autoscale for pooled host pools, you must have a configured *MaxSessionLimit* parameter for that host pool. Don't use the default value. You can configure this value in the host pool settings in the Azure portal or run the [New-AzWvdHostPool](/powershell/module/az.desktopvirtualization/new-azwvdhostpool) or [Update-AzWvdHostPool](/powershell/module/az.desktopvirtualization/update-azwvdhostpool) PowerShell cmdlets.
3131
- You must grant Azure Virtual Desktop access to manage the power state of your session host VMs. You must have the `Microsoft.Authorization/roleAssignments/write` permission on your subscriptions in order to assign the role-based access control (RBAC) role for the Azure Virtual Desktop service principal on those subscriptions. This is part of **User Access Administrator** and **Owner** built in roles.
32-
- If you want to use personal desktop autoscale with hibernation (preview), you will need enable the hibernation feature when [creating VMs](deploy-azure-virtual-desktop.md) for your personal host pool. For the full list of prerequisites for hibernation, see [Prerequisites to use hibernation](../virtual-machines/hibernate-resume.md).
32+
- If you want to use personal desktop autoscale with hibernation (preview), you will need to enable the hibernation feature when [creating VMs](deploy-azure-virtual-desktop.md) for your personal host pool. For the full list of prerequisites for hibernation, see [Prerequisites to use hibernation](../virtual-machines/hibernate-resume.md).
3333

3434
> [!IMPORTANT]
3535
> Hibernation is currently in PREVIEW.
@@ -445,6 +445,6 @@ To assign a scaling plan to existing host pools:
445445
446446
Now that you've created your scaling plan, here are some things you can do:
447447
448-
- [Enable diagnostics for your scaling plan](autoscale-diagnostics.md)
448+
- [Monitor Autoscale operations with Insights](autoscale-diagnostics.md)
449449
450450
If you'd like to learn more about terms used in this article, check out our [autoscale glossary](autoscale-glossary.md). For examples of how autoscale works, see [Autoscale example scenarios](autoscale-scenarios.md). You can also look at our [Autoscale FAQ](autoscale-faq.yml) if you have other questions.

articles/virtual-desktop/autoscale-diagnostics.md

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,23 @@
11
---
2-
title: Set up diagnostics for autoscale in Azure Virtual Desktop
2+
title: Set up diagnostics for Autoscale in Azure Virtual Desktop
33
description: How to set up diagnostic reports for the scaling service in your Azure Virtual Desktop deployment.
44
author: Heidilohr
55
ms.topic: how-to
66
ms.date: 11/01/2023
77
ms.author: helohr
88
---
9-
# Set up diagnostics for autoscale in Azure Virtual Desktop
9+
# Set up diagnostics for Autoscale in Azure Virtual Desktop
1010

11-
Diagnostics lets you monitor potential issues and fix them before they interfere with your autoscale scaling plan.
11+
Diagnostics lets you monitor potential issues and fix them before they interfere with your Autoscale scaling plan.
1212

13-
Currently, you can either send diagnostic logs for autoscale to an Azure Storage account or consume logs with Microsoft Azure Event Hubs. If you're using an Azure Storage account, make sure it's in the same region as your scaling plan. Learn more about diagnostic settings at [Create diagnostic settings](../azure-monitor/essentials/diagnostic-settings.md). For more information about resource log data ingestion time, see [Log data ingestion time in Azure Monitor](../azure-monitor/logs/data-ingestion-time.md).
13+
Currently, you can either send diagnostic logs for Autoscale to an Azure Storage account or consume logs with Microsoft Azure Event Hubs. If you're using an Azure Storage account, make sure it's in the same region as your scaling plan. Learn more about diagnostic settings at [Create diagnostic settings](../azure-monitor/essentials/diagnostic-settings.md). For more information about resource log data ingestion time, see [Log data ingestion time in Azure Monitor](../azure-monitor/logs/data-ingestion-time.md).
1414

15-
## Enable diagnostics for scaling plans
16-
17-
#### [Pooled host pools](#tab/pooled-autoscale)
18-
19-
To enable diagnostics for your scaling plan for pooled host pools:
20-
21-
1. Open the [Azure portal](https://portal.azure.com).
22-
23-
1. In the search bar, type *Azure Virtual Desktop* and select the matching service entry.
24-
25-
1. Select **Scaling plans**, then select the scaling plan you'd like the report to track.
15+
> [!TIP]
16+
> For pooled host pools, we recommend you use Autoscale diagnostic data integrated with Insights in Azure Virtual Desktop, which providing a more comprehensive view of your Autoscale operations. For more information, see [Monitor Autoscale operations with Insights in Azure Virtual Desktop](autoscale-monitor-operations-insights.md).
2617
27-
1. Go to **Diagnostic Settings** and select **Add diagnostic setting**.
28-
29-
1. Enter a name for the diagnostic setting.
30-
31-
1. Next, select **Autoscale logs for pooled host pools** and choose either **storage account** or **event hub** depending on where you want to send the report.
32-
33-
1. Select **Save**.
34-
35-
#### [Personal host pools](#tab/personal-autoscale)
18+
## Enable diagnostics for scaling plans
3619

37-
To enable diagnostics for your scaling plan for personal host pools:
20+
To enable diagnostics for your scaling plan:
3821

3922
1. Open the [Azure portal](https://portal.azure.com).
4023

@@ -46,13 +29,14 @@ To enable diagnostics for your scaling plan for personal host pools:
4629

4730
1. Enter a name for the diagnostic setting.
4831

49-
1. Next, select **Autoscale logs for personal host pools** and choose either **storage account** or **event hub** depending on where you want to send the report.
32+
1. Next, select **Autoscale logs** and choose either **Archive to a storage account** or **Stream to an event hub** depending on where you want to send the report.
5033

5134
1. Select **Save**.
5235

53-
---
36+
> [!NOTE]
37+
> If you select **Archive to a storage account**, you'll need to [Migrate from diagnostic settings storage retention to Azure Storage lifecycle management](../azure-monitor/essentials/migrate-to-azure-storage-lifecycle-policy.md).
5438
55-
## Find autoscale diagnostic logs in Azure Storage
39+
## Find Autoscale diagnostic logs in Azure Storage
5640

5741
After you've configured your diagnostic settings, you can find the logs by following these instructions:
5842

@@ -105,4 +89,4 @@ The following JSON file is an example of what you'll see when you open a report:
10589
- [Assign your scaling plan to new or existing host pools](autoscale-new-existing-host-pool.md).
10690
- Learn more about terms used in this article at our [autoscale glossary](autoscale-glossary.md).
10791
- For examples of how autoscale works, see [Autoscale example scenarios](autoscale-scenarios.md).
108-
- View our [autoscale FAQ](autoscale-faq.yml) to answer commonly asked questions.
92+
- View our [autoscale FAQ](autoscale-faq.yml) to answer commonly asked questions.

0 commit comments

Comments
 (0)