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/iot-operations/deploy-iot-ops/howto-upgrade.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
2
title: Upgrade versions
3
3
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
6
6
ms.topic: how-to
7
7
ms.custom: devx-track-azurecli
8
-
ms.date: 02/14/2025
8
+
ms.date: 02/28/2025
9
9
10
10
#CustomerIntent: As an OT professional, I want to manage Azure IoT Operations instances.
11
11
---
12
12
13
13
# Upgrade versions
14
14
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.
16
16
17
17
## Prerequisites
18
18
@@ -28,7 +28,7 @@ Upgrade an Azure IoT Operations deployment to a newer version. Azure IoT Operati
28
28
29
29
You can upgrade an existing Azure IoT Operations instance to any patch of the same minor version, or to the next minor version.
30
30
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.
32
32
33
33
## Upgrade
34
34
@@ -64,13 +64,13 @@ If your Azure IoT Operations deployment is eligible for an upgrade, the Azure po
64
64
65
65
1. After the upgrade command completes successfully, refresh your instance to see the changes.
66
66
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.
68
68
69
69
### [Azure CLI](#tab/cli)
70
70
71
71
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.
72
72
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.
74
74
75
75
Use the following steps to upgrade your deployment to the latest version:
76
76
@@ -98,3 +98,16 @@ Refer to [IoT Operations versions](https://aka.ms/aio-versions) to find the CLI
98
98
99
99
---
100
100
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