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
+25-14Lines changed: 25 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,28 +16,27 @@ Upgrade an Azure IoT Operations deployment to a newer version. Azure IoT Operati
16
16
17
17
## Prerequisites
18
18
19
-
* Azure CLI. This scenario requires Azure CLI version 2.53.0 or higher. Use `az --version` to check your version and `az upgrade` to update if necessary. For more information, see [Get started with Azure CLI](/cli/azure/get-started-with-azure-cli).
19
+
- An Azure account with an active subscription. If you don't have an account, you can create a [free account](https://azure.microsoft.com/free).
20
+
- Azure CLI version 2.53.0 or higher. Use `az --version` to check your version and `az upgrade` to update if necessary. For more information, see [Get started with Azure CLI](/cli/azure/get-started-with-azure-cli).
20
21
21
-
* The Azure IoT Operations extension for Azure CLI. Use the following command to add the extension or update it to the latest version:
22
+
## Understand upgrade support
22
23
23
-
```azurecli
24
-
az extension add --upgrade --name azure-iot-ops
25
-
```
24
+
- You can upgrade an existing Azure IoT Operations instance to any patch of the same minor version, or to the next minor version.
26
25
27
-
## Understand upgrade support
26
+
- Azure IoT Operations doesn't support downgrading between versions. To move to an older version, uninstall Azure IoT Operations and reinstall the desired version.
28
27
29
-
You can upgrade an existing Azure IoT Operations instance to any patch of the same minor version, or to the next minor version.
28
+
-You can't upgrade from a preview installation to a GA version, or from a GA version to a preview version, it has to be a fresh deployment. If this is the case, you need to [uninstall Azure IoT Operations](howto-manage-update-uninstall.md#uninstall) and reinstall the new version.
30
29
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.
30
+
For more information, see [Upgrade to preview version](howto-upgrade.md#upgrade-to-preview-version).
32
31
33
32
> [!NOTE]
34
33
> Azure IoT Operations doesn't support live upgrades. Please expect some downtime during the upgrade process.
35
34
36
35
## Upgrade
37
36
38
-
Azure IoT Operations supports upgrading instances to new GA versions as they're released.
37
+
Azure IoT Operations supports upgrading instances to new GA versions as they're released. If your Azure IoT Operations instance is eligible for an upgrade, you can use the Azure portal or the Azure CLI to perform the upgrade.
39
38
40
-
You can't upgrade from a preview installation to a GA version. To move to version 1.0.x, [uninstall Azure IoT Operations](howto-manage-update-uninstall.md#uninstall) and reinstall the new version.
39
+
If the latest version of the Azure IoT Operations is in preview, see [Upgrade to preview version](howto-upgrade.md#upgrade-to-preview-version).
41
40
42
41
### [Azure portal](#tab/portal)
43
42
@@ -77,7 +76,7 @@ The upgrade command evaluates the entire Azure IoT Operations deployment for ava
77
76
78
77
Use the following steps to upgrade your deployment to the latest version:
79
78
80
-
1.You need to use the latest version of the Azure IoT Operations CLI extension to get the latest version of Azure IoT Operations. If you didn't update the extension as part of the prerequisites, do so now.
79
+
1.Add the latest version of the Azure IoT Operations CLI extension.
81
80
82
81
```azurecli
83
82
az extension add --upgrade --name azure-iot-ops
@@ -91,16 +90,28 @@ Use the following steps to upgrade your deployment to the latest version:
91
90
92
91
1. The CLI outputs a table of the components that have available upgrades. Enter `Y` to continue with the upgrade.
93
92
94
-
If you want to upgrade to a specific version of Azure IoT Operations that isn't the latest, use the related CLI extension version. Each version of Azure IoT Operations maps to a version of the Azure IoT Operations CLI extension.
95
-
96
-
Refer to [IoT Operations versions](https://aka.ms/aio-versions) to find the CLI extension version associated with the Azure IoT Operations version that you want. Then, upgrade the CLI extension:
93
+
1. If you want to upgrade to a specific version of Azure IoT Operations that isn't the latest, use the related CLI extension version. Refer to [IoT Operations versions](https://aka.ms/aio-versions) to find the CLI extension version associated with the Azure IoT Operations version that you want and run the following command:
97
94
98
95
```azurecli
99
96
az extension add --upgrade --name azure-iot-ops --version <VERSION_NUMBER>
100
97
```
101
98
102
99
---
103
100
101
+
## Upgrade to preview version
102
+
103
+
Sometimes the latest version of Azure IoT Operations is in preview. If you want to upgrade to a preview version, you can do so using the Azure CLI.
104
+
105
+
1. Add the latest version of the Azure IoT Operations CLI extension with the `--allow-preview` flag.
106
+
107
+
```azurecli
108
+
az extension add --upgrade --name azure-iot-ops --allow-preview
109
+
```
110
+
111
+
112
+
113
+
114
+
104
115
## MQTT broker upgrade considerations
105
116
106
117
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:
0 commit comments