Skip to content

Commit 0bc6b56

Browse files
authored
Merge pull request #286931 from MicrosoftDocs/main
Publish to Live Thursday 4AM PST, 9/18
2 parents 3f90349 + 74263f1 commit 0bc6b56

14 files changed

+144
-74
lines changed

articles/azure-signalr/signalr-tutorial-build-blazor-server-chat-app.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ description: In this tutorial, you learn how to build and modify a Blazor Server
44
author: vicancy
55
ms.service: azure-signalr-service
66
ms.topic: tutorial
7-
ms.date: 05/22/2022
7+
ms.date: 08/28/2024
88
ms.author: lianwei
99
ms.devlang: csharp
1010
---
1111

1212
# Tutorial: Build a Blazor Server chat app
1313

14-
This tutorial shows you how to build and modify a Blazor Server app. You'll learn how to:
14+
This tutorial shows you how to build and modify a Blazor Server app. You learn how to:
1515
> [!div class="checklist"]
1616
> * Build a simple chat room with the Blazor Server app template.
1717
> * Work with Razor components.
@@ -37,7 +37,10 @@ Ready to start?
3737

3838
## Build a local chat room in Blazor Server app
3939

40-
Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built into the web application publish process to make managing the dependencies between the web app and SignalR service much more convenient. You can work in a local SignalR instance in a local development environment and work in Azure SignalR Service for Azure App Service at the same time without any code changes.
40+
Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built into the web application publish process to make managing the dependencies between the web app and SignalR service much more convenient. You can work without any code changes at the same time:
41+
42+
* in a local SignalR instance, in a local development environment.
43+
* in Azure SignalR Service for Azure App Service.
4144

4245
1. Create a Blazor chat app:
4346
1. In Visual Studio, choose **Create a new project**.
@@ -106,7 +109,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
106109
dotnet add package Microsoft.AspNetCore.SignalR.Client --version 3.1.7
107110
```
108111

109-
1. Create a new [Razor component](/aspnet/core/blazor/components/) called `ChatRoom.razor` under the `Pages` folder to implement the SignalR client. Follow the steps below or use the [ChatRoom.razor](https://github.com/aspnet/AzureSignalR-samples/tree/master/samples/BlazorChat/Pages/ChatRoom.razor) file.
112+
1. To implement the SignalR client, create a new [Razor component](/aspnet/core/blazor/components/) called `ChatRoom.razor` under the `Pages` folder. Use the [ChatRoom.razor](https://github.com/aspnet/AzureSignalR-samples/tree/master/samples/BlazorChat/Pages/ChatRoom.razor) file or perform the following steps:
110113

111114
1. Add the [`@page`](/aspnet/core/mvc/views/razor#page) directive and the using statements. Use the [`@inject`](/aspnet/core/mvc/views/razor#inject) directive to inject the [`NavigationManager`](/aspnet/core/blazor/fundamentals/routing#uri-and-navigation-state-helpers) service.
112115

@@ -363,7 +366,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
363366
}
364367
```
365368

366-
1. Press <kbd>F5</kbd> to run the app. Now, you can initiate the chat:
369+
1. To run the app, press <kbd>F5</kbd>. Now, you can initiate the chat:
367370

368371
[ ![An animated chat between Bob and Alice is shown. Alice says Hello, Bob says Hi.](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat.gif) ](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat.gif#lightbox)
369372

@@ -374,7 +377,7 @@ Beginning in Visual Studio 2019 version 16.2.0, Azure SignalR Service is built i
374377
When you deploy the Blazor app to Azure App Service, we recommend that you use [Azure SignalR Service](/aspnet/core/signalr/scale#azure-signalr-service). Azure SignalR Service allows for scaling up a Blazor Server app to a large number of concurrent SignalR connections. In addition, the SignalR service's global reach and high-performance datacenters significantly aid in reducing latency due to geography.
375378

376379
> [!IMPORTANT]
377-
> In a Blazor Server app, UI states are maintained on the server side, which means a sticky server session is required to preserve state. If there is a single app server, sticky sessions are ensured by design. However, if there are multiple app servers, there are chances that the client negotiation and connection may go to different servers which may lead to an inconsistent UI state management in a Blazor app. Hence, it is recommended to enable sticky server sessions as shown below in *appsettings.json*:
380+
> In a Blazor Server app, UI states are maintained on the server side, which means a sticky server session is required to preserve state. If there is a single app server, sticky sessions are ensured by design. However, if multiple app servers are in use, the client negotiation and connection may be redirected to different servers, which may lead to an inconsistent UI state management in a Blazor app. Hence, it is recommended to enable sticky server sessions as shown in *appsettings.json*:
378381
>
379382
> ```json
380383
> "Azure:SignalR:ServerStickyMode": "Required"
@@ -393,7 +396,7 @@ When you deploy the Blazor app to Azure App Service, we recommend that you use [
393396
394397
[ ![On Publish, the link to Configure is highlighted.](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat-dependency.png) ](media/signalr-tutorial-build-blazor-server-chat-app/blazor-chat-dependency.png#lightbox)
395398
396-
The service dependency will carry out the following activities to enable your app to automatically switch to Azure SignalR Service when on Azure:
399+
The service dependency carries out the following activities to enable your app to automatically switch to Azure SignalR Service when on Azure:
397400
398401
* Update [`HostingStartupAssembly`](/aspnet/core/fundamentals/host/platform-specific-configuration) to use Azure SignalR Service.
399402
* Add the Azure SignalR Service NuGet package reference.
@@ -422,7 +425,7 @@ When you deploy the Blazor app to Azure App Service, we recommend that you use [
422425
dotnet add package Microsoft.Azure.SignalR
423426
```
424427
425-
1. Add a call to `AddAzureSignalR()` in `Startup.ConfigureServices()` as demonstrated below.
428+
1. Add a call to `AddAzureSignalR()` in `Startup.ConfigureServices()` as shown in the following example:
426429

427430
```cs
428431
public void ConfigureServices(IServiceCollection services)
@@ -444,7 +447,7 @@ When you deploy the Blazor app to Azure App Service, we recommend that you use [
444447
> "Azure": {
445448
> "SignalR": {
446449
> "Enabled": true,
447-
> "ConnectionString": <your-connection-string>
450+
> "ConnectionString": <your-connection-string>
448451
> }
449452
> }
450453
>

articles/backup/backup-mabs-unattended-install.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Silent installation of Azure Backup Server V4
33
description: Use a PowerShell script to silently install Azure Backup Server V4. This kind of installation is also called an unattended installation.
44
ms.service: azure-backup
55
ms.topic: how-to
6-
ms.date: 04/18/2024
6+
ms.date: 09/18/2024
77
author: AbhishekMallick-MS
88
ms.author: v-abhmallick
99
---
@@ -28,6 +28,9 @@ To install the Backup Server, run the following command:
2828
3. On the server that hosts Azure Backup Server V4 or later, create a text file. (You can create the file in Notepad or in another text editor.) Save the file as MABSSetup.ini.
2929
4. Paste the following code in the MABSSetup.ini file. Replace the text inside the brackets (\< \>) with values from your environment. The following text is an example:
3030

31+
>[!Caution]
32+
>Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. Ensure that you delete the **MABSSetup.ini** file once the installation is complete.
33+
3134
```text
3235
[OPTIONS]
3336
UserName=administrator

articles/defender-for-iot/organizations/cli-ot-sensor.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ Use the following commands to restart the OT sensor appliance.
6060
|User |Command |Full command syntax |
6161
|---------|---------|---------|
6262
|**admin** | `system reboot` | No attributes |
63-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes |
6463
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes |
6564

6665
For example, for the *admin* user:
@@ -76,7 +75,6 @@ Use the following commands to shut down the OT sensor appliance.
7675
|User |Command |Full command syntax |
7776
|---------|---------|---------|
7877
|**admin** | `system shutdown` | No attributes |
79-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes |
8078
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes |
8179

8280
For example, for the *admin* user:
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Migrate to Azure Monitor Agent from Log Analytics agent
3+
description: Procedure to migrate to Azure Monitor Agent from MMA
4+
author: v-sreedevank
5+
ms.author: prijaisw
6+
ms.topic: how-to
7+
ms.date: 09/18/2024
8+
9+
# Customer intent: As an azure administrator, I want to understand the process of migrating from the MMA agent to the AMA agent.
10+
11+
---
12+
13+
# Agent-based dependency analysis using Azure monitor agent (AMA)
14+
15+
Dependency analysis helps you to identify and understand dependencies across servers that you want to assess and migrate to Azure. We currently perform agent-based dependency analysis by downloading the [MMA agent and associating a Log Analytics workspace](concepts-dependency-visualization.md) with the Azure Migrate project.
16+
17+
[Azure Monitor Agent (AMA)](/azure/azure-monitor/agents/azure-monitor-agent-overview) replaces the Log Analytics agent, also known as Microsoft Monitor Agent (MMA) and OMS, for Windows and Linux machines, in Azure and non-Azure environments, on-premises, and other clouds.
18+
19+
This article describes the impact on agent-based dependency analysis because of Azure Monitor Agent (AMA) replacing the Log Analytics agent (also known as Microsoft Monitor agent (MMA)) and provides guidance to migrate from the Log Analytics agent to Azure Monitor Agent.
20+
21+
> [!IMPORTANT]
22+
> The Log Analytics agent will be [retired on **August 31, 2024**](https://azure.microsoft.com/updates/were-retiring-the-log-analytics-agent-in-azure-monitor-on-31-august-2024/). You can expect the following when you use the MMA or OMS agent after this date.
23+
> - **Data upload:** Cloud ingestion services will gradually reduce support for MMA agents, which may result in decreased support and potential compatibility issues for MMA agents over time. Ingestion for MMA will be unchanged until February 1 2025.
24+
> - **Installation:** The ability to install the legacy agents will be removed from the Azure portal and installation policies for legacy agents will be removed. You can still install the MMA agents extension as well as perform offline installations.
25+
> - **Customer Support:** You will not be able to get support for legacy agent issues.
26+
> - **OS Support:** Support for new Linux or Windows distros, including service packs, won't be added after the deprecation of the legacy agents.
27+
28+
> [!Note]
29+
> Starting July 1, 2024, [Standard Log Analytics charges](https://go.microsoft.com/fwlink/?linkid=2278207) are applicable for Agent-based dependency visualization. We suggest moving to [agentless dependency analysis](how-to-create-group-machine-dependencies-agentless.md) for a seamless experience.
30+
31+
> [!Note]
32+
> The pricing estimation has been covered in [Estimate the price change](#estimate-the-price-change) section.
33+
34+
## Migrate from Log analytics agent (MMA) to Azure Monitor agent (AMA)
35+
36+
If you already set up MMA and the associated Log Analytics workspace with your Azure Migrate project, you can migrate from the existing Log analytics agent to Azure Monitor agent without breaking/changing the association of the Log Analytics workspace with the Azure Migrate project by following these steps.
37+
38+
1. To deploy the Azure Monitor agent, it's recommended to first clean up the existing Service Map to avoid duplicates. [Learn more](/azure/azure-monitor/vm/vminsights-migrate-from-service-map#remove-the-service-map-solution-from-the-workspace).
39+
40+
1. Review the [prerequisites](/azure/azure-monitor/agents/azure-monitor-agent-manage#prerequisites) to install the Azure Monitor Agent.
41+
42+
1. Download and run the script on the host machine as detailed in [Installation options](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal#installation-options). To get the Azure Monitor agent and the Dependency agent deployed on the guest machine, create the [Data collection rule (DCR)](/azure/azure-monitor/agents/azure-monitor-agent-data-collection) that maps to the Log analytics workspace ID.
43+
44+
In the transition scenario, the Log analytics workspace would be the same as the one that was configured for Service Map agent. DCR allows you to enable the collection of Processes and Dependencies. By default, it's disabled.
45+
46+
## Estimate the price change
47+
48+
You'll now be charged for associating a Log Analytics workspace with Azure Migrate project. This was earlier free for the first 180 days.
49+
As per the pricing change, you'll be billed against the volume of data gathered by the AMA agent and transmitted to the workspace. To review the volume of data you're gathering, follow these steps:
50+
51+
1. Sign in to the Log analytics workspace.
52+
1. Navigate to the **Logs** section and run the following query:
53+
54+
```
55+
let AzureMigrateDataTables = dynamic(["ServiceMapProcess_CL","ServiceMapComputer_CL","VMBoundPort","VMConnection","VMComputer","VMProcess","InsightsMetrics"]); Usage
56+
57+
| where StartTime >= startofday(ago(30d)) and StartTime < startofday(now())
58+
59+
| where DataType in (AzureMigrateDataTables)
60+
61+
| summarize AzureMigateGBperMonth=sum(Quantity)/1000
62+
```
63+
64+
## Support for Azure Monitor agent in Azure Migrate
65+
66+
Install and manage Azure Monitor agent as mentioned [here](/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal). Currently, you can download the Log Analytics agent through the Azure Migrate portal.
67+
68+
## Next steps
69+
[Learn](how-to-create-group-machine-dependencies.md) how to create dependencies for a group.

articles/migrate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ items:
228228
href: how-to-discover-applications.md
229229
- name: Discover SQL instances and web apps in an existing project
230230
href: how-to-discover-sql-existing-project.md
231+
- name: Migrate to Azure Monitor agent
232+
href: azure-monitor-agent-migration.md
231233
- name: Analyze machine dependencies (agent-based)
232234
href: how-to-create-group-machine-dependencies.md
233235
- name: Analyze machine dependencies (agentless)

articles/site-recovery/azure-stack-site-recovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Replicate Azure Stack VMs to Azure using Azure Site Recovery
33
description: Learn how to set up disaster recovery to Azure for Azure Stack VMs with the Azure Site Recovery service.
4-
ms.topic: conceptual
5-
ms.date: 02/20/2024
4+
ms.topic: how-to
5+
ms.date: 09/11/2024
66
ms.author: ankitadutta
77
ms.custom: engagement-fy23
88
ms.service: azure-site-recovery

0 commit comments

Comments
 (0)