Skip to content

Commit 5abb13e

Browse files
committed
Add details of MQTT broker upgrades
1 parent 9bc549e commit 5abb13e

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

articles/iot-operations/deploy-iot-ops/howto-upgrade.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
title: Upgrade versions
33
description: Upgrade an Azure IoT Operations instance using the Azure portal or CLI.
4-
author: kgremban
5-
ms.author: kgremban
4+
author: dominicbetts
5+
ms.author: dobett
66
ms.topic: how-to
77
ms.custom: devx-track-azurecli
8-
ms.date: 02/14/2025
8+
ms.date: 02/28/2025
99

1010
#CustomerIntent: As an OT professional, I want to manage Azure IoT Operations instances.
1111
---
1212

1313
# Upgrade versions
1414

15-
Upgrade an Azure IoT Operations deployment to a newer version. Azure IoT Operations supports upgrade from version 1.0.x onwards. There is no support for upgrading from any preview version of Azure IoT Operations to any generally available (GA) version.
15+
Upgrade an Azure IoT Operations deployment to a newer version. Azure IoT Operations supports upgrade from version 1.0.x onwards. There's no support for upgrading from any preview version of Azure IoT Operations to any generally available (GA) version.
1616

1717
## Prerequisites
1818

@@ -28,7 +28,7 @@ Upgrade an Azure IoT Operations deployment to a newer version. Azure IoT Operati
2828

2929
You can upgrade an existing Azure IoT Operations instance to any patch of the same minor version, or to the next minor version.
3030

31-
Azure IoT Operations doesn't support downgrading between versions. To move to an older version, uninstall Azure IoT Operations and reinstall the desired version.
31+
Azure IoT Operations doesn't support downgrading between versions. To move to an older version, uninstall Azure IoT Operations and reinstall the desired version.
3232

3333
## Upgrade
3434

@@ -64,13 +64,13 @@ If your Azure IoT Operations deployment is eligible for an upgrade, the Azure po
6464

6565
1. After the upgrade command completes successfully, refresh your instance to see the changes.
6666

67-
The **Version** value displayed on your instance's overview page reflects the version of the Azure IoT Operations instance. However, you may be prompted to upgrade if a required Arc extension has an available upgrade. You can tell that an upgrade was successful if the **Upgrade** option disappears from the instance overview page, even if it doesn't look like anything changed. You can check the versions of the Arc extensions for your Azure IoT Operation deployment on the **Extensions** page of your Arc-enabled cluster in the Azure portal.
67+
The **Version** value displayed on your instance's overview page reflects the version of the Azure IoT Operations instance. However, you might be prompted to upgrade if a required Arc extension has an available upgrade. You can tell that an upgrade was successful if the **Upgrade** option disappears from the instance overview page, even if it doesn't look like anything changed. You can check the versions of the Arc extensions for your Azure IoT Operation deployment on the **Extensions** page of your Arc-enabled cluster in the Azure portal.
6868

6969
### [Azure CLI](#tab/cli)
7070

7171
Use the [az iot ops upgrade](/cli/azure/iot/ops#az-iot-ops-upgrade) command to upgrade an existing Azure IoT Operations deployment to a newer version.
7272

73-
The upgrade command evaluates the entire Azure IoT Operations deployment for available updates, including the arc extensions that are installed in the `az iot ops init` command as well as the Azure IoT Operations instance.
73+
The upgrade command evaluates the entire Azure IoT Operations deployment for available updates, including the arc extensions that are installed in the `az iot ops init` command and the Azure IoT Operations instance.
7474

7575
Use the following steps to upgrade your deployment to the latest version:
7676

@@ -98,3 +98,16 @@ Refer to [IoT Operations versions](https://aka.ms/aio-versions) to find the CLI
9898

9999
---
100100

101+
## MQTT broker upgrade considerations
102+
103+
To ensure zero data loss and high availability during deployment upgrades, the MQTT broker implements rolling updates across the MQTT broker pods. The health manager pod coordinates an incremental upgrade process for the MQTT broker pods to ensure that:
104+
105+
* Active client connections remain uninterrupted.
106+
* Any in-flight messages are preserved.
107+
* Data stored on disk is properly migrated between versions.
108+
109+
If a failure occurs during the upgrade process, the health manager pod automatically restarts the upgrade process while ensuring no loss of data or connectivity.
110+
111+
Rolling updates can only occur if the MQTT broker is deployed with two or more backend replicas. MQTT broker upgrades aren't supported for single-replica deployments. When you deploy Azure IoT Operations, you specify the number of backend replicas to create in the [az iot ops create](/cli/azure/iot/ops#az-iot-ops-create) command with the `--broker-backend-rf` parameter.
112+
113+
Azure IoT Operations doesn't support downgrading between versions. To move to an older version, uninstall Azure IoT Operations and reinstall the desired version.

0 commit comments

Comments
 (0)