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-edge/how-to-configure-proxy-support.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ This article walks through the following four steps to configure and then manage
17
17
18
18
1.**Install the IoT Edge runtime on your device.**
19
19
20
-
The IoT Edge installation scripts pull packages and files from the internet, so your device needs to communicate through the proxy server to make those requests. For detailed steps, see the [Install the runtime through a proxy](#install-the-runtime-through-a-proxy) section of this article. For Windows devices, the installation script also provides an [Offline installation](how-to-install-iot-edge-windows.md#offline-installation) option.
20
+
The IoT Edge installation scripts pull packages and files from the internet, so your device needs to communicate through the proxy server to make those requests. For detailed steps, see the [Install the runtime through a proxy](#install-the-runtime-through-a-proxy) section of this article. For Windows devices, the installation script also provides an [Offline installation](how-to-install-iot-edge-windows.md#offline-or-specific-version-installation) option.
21
21
22
22
This step is a one-time process performed on the IoT Edge device when you first set it up. The same connections are also required when you update the IoT Edge runtime.
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-install-iot-edge-windows.md
+14-27Lines changed: 14 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,14 +128,14 @@ When you install and provision a device automatically, you can use additional pa
128
128
129
129
For more information about these installation options, continue reading this article or skip to learn about [All installation parameters](#all-installation-parameters).
130
130
131
-
## Offline installation
131
+
## Offline or specific version installation
132
132
133
133
During installation two files are downloaded:
134
134
135
135
* Microsoft Azure IoT Edge cab, which contains the IoT Edge security daemon (iotedged), Moby container engine, and Moby CLI.
136
-
* Visual C++ redistributable package (VC runtime) msi
136
+
* Visual C++ redistributable package (VC runtime) MSI
137
137
138
-
You can download one or both of these files ahead of time to the device, then point the installation script at the directory that contains the files. The installer checks the directory first, and then only downloads components that aren't found. If all the files are available offline, you can install with no internet connection. You can also use this feature to install a specific version of the components.
138
+
If your device will be offline during installation, or if you want to install a specific version of IoT Edge, you can download one or both of these files ahead of time to the device. When it's time to install, point the installation script at the directory that contains the downloaded files. The installer checks that directory first, and then only downloads components that aren't found. If all the files are available offline, you can install with no internet connection.
139
139
140
140
For the latest IoT Edge installation files along with previous versions, see [Azure IoT Edge releases](https://github.com/Azure/azure-iotedge/releases).
141
141
@@ -146,7 +146,17 @@ To install with offline components, use the `-OfflineInstallationPath` parameter
You can also use the offline installation path parameter with the Update-IoTEdge command, introduced later in this article.
149
+
>[!NOTE]
150
+
>The `-OfflineInstallationPath` parameter looks for a file named **Microsoft-Azure-IoTEdge.cab** in the directory provided. Starting with IoT Edge version 1.0.9-rc4, there are two .cab files available to use, one for AMD64 devices and one for ARM32. Download the correct file for your device, then rename the file to remove the architecture suffix.
151
+
152
+
The `Deploy-IoTEdge` command installs the IoT Edge components, and then you need to continue to the `Initialize-IoTEdge` command to provision the device with its IoT Hub device ID and connection. Either run the command directly and provide a connection string from IoT Hub, or use one of the links in the previous section to learn how to automatically provision devices with Device Provisioning Service.
You can also use the offline installation path parameter with the Update-IoTEdge command.
150
160
151
161
## Verify successful installation
152
162
@@ -200,29 +210,6 @@ The engine URI is listed in the output of the installation script, or you can fi
200
210
201
211
For more information about commands you can use to interact with containers and images running on your device, see [Docker command-line interfaces](https://docs.docker.com/engine/reference/commandline/docker/).
202
212
203
-
## Update an existing installation
204
-
205
-
If you've already installed the IoT Edge runtime on a device before and provisioned it with an identity from IoT Hub, then you can update the runtime without having to reenter your device information.
206
-
207
-
For more information, see [Update the IoT Edge security daemon and runtime](how-to-update-iot-edge.md).
208
-
209
-
This example shows an installation that points to an existing configuration file, and uses Windows containers:
When you update IoT Edge, you can use additional parameters to modify the update, including:
217
-
218
-
* Direct traffic to go through a proxy server, or
219
-
* Point the installer to an offline directory
220
-
* Restarting without a prompt if necessary
221
-
222
-
You can't declare an IoT Edge agent container image with script parameters because that information is already set in the configuration file from the previous installation. If you want to modify the agent container image, do so in the config.yaml file.
223
-
224
-
For more information about these update options, use the command `Get-Help Update-IoTEdge -full` or refer to [all installation parameters](#all-installation-parameters).
225
-
226
213
## Uninstall IoT Edge
227
214
228
215
If you want to remove the IoT Edge installation from your Windows device, use the following command from an administrative PowerShell window. This command removes the IoT Edge runtime, along with your existing configuration and the Moby engine data.
Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-update-iot-edge.md
+34-7Lines changed: 34 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ keywords:
5
5
author: kgremban
6
6
manager: philmea
7
7
ms.author: kgremban
8
-
ms.date: 11/19/2019
8
+
ms.date: 02/07/2020
9
9
ms.topic: conceptual
10
10
ms.service: iot-edge
11
11
services: iot-edge
@@ -27,14 +27,19 @@ Check the version of the security daemon running on your device by using the com
27
27
28
28
### Linux devices
29
29
30
-
On Linux x64 devices, use apt-get or your appropriate package manager to update the security daemon.
30
+
On Linux x64 devices, use apt-get or your appropriate package manager to update the security daemon to the latest version.
31
31
32
32
```bash
33
33
apt-get update
34
34
apt-get install libiothsm iotedge
35
35
```
36
36
37
-
On Linux ARM32 devices, use the steps in [Install Azure IoT Edge runtime on Linux (ARM32v7/armhf)](how-to-install-iot-edge-linux-arm.md) to install the latest version of the security daemon.
37
+
If you want to update to a specific version of the security daemon, find the version you want to target from [IoT Edge releases](https://github.com/Azure/azure-iotedge/releases). In that version, locate the appropriate **libiothsm-std** and **iotedge** files for your device. For each file, right-click the file link and copy the link address. Use the link address to install the specific versions of those components:
@@ -46,7 +51,16 @@ On Windows devices, use the PowerShell script to update the security daemon. The
46
51
47
52
Running the Update-IoTEdge command removes and updates the security daemon from your device, along with the two runtime container images. The config.yaml file is kept on the device, as well as data from the Moby container engine (if you're using Windows containers). Keeping the configuration information means that you don't have to provide the connection string or Device Provisioning Service information for your device again during the update process.
48
53
49
-
If you want to install a specific version of the security daemon, download the appropriate Microsoft-Azure-IoTEdge.cab file from [IoT Edge releases](https://github.com/Azure/azure-iotedge/releases). Then, use the `-OfflineInstallationPath` parameter to point to the file location. For more information, see [Offline installation](how-to-install-iot-edge-windows.md#offline-installation).
54
+
If you want to update to a specific version of the security daemon, find the version you want to target from [IoT Edge releases](https://github.com/Azure/azure-iotedge/releases). In that version, download the **Microsoft-Azure-IoTEdge.cab** file. Then, use the `-OfflineInstallationPath` parameter to point to the local file location. For example:
55
+
56
+
```powershell
57
+
. {Invoke-WebRequest -useb aka.ms/iotedge-win} | Invoke-Expression; Update-IoTEdge -ContainerOs <Windows or Linux> -OfflineInstallationPath <absolute path to directory>
58
+
```
59
+
60
+
>[!NOTE]
61
+
>The `-OfflineInstallationPath` parameter looks for a file named **Microsoft-Azure-IoTEdge.cab** in the directory provided. Starting with IoT Edge version 1.0.9-rc4, there are two .cab files available to use, one for AMD64 devices and one for ARM32. Download the correct file for your device, then rename the file to remove the architecture suffix.
62
+
63
+
For more information about update options, use the command `Get-Help Update-IoTEdge -full` or refer to [all installation parameters](how-to-install-iot-edge-windows.md#all-installation-parameters).
50
64
51
65
## Update the runtime containers
52
66
@@ -103,14 +117,27 @@ If you use specific tags in your deployment (for example, mcr.microsoft.com/azur
103
117
104
118
## Update to a release candidate version
105
119
106
-
Azure IoT Edge regularly releases new versions of the IoT Edge service. Before each stable release, there is one or more release candidate (RC) versions. RC versions include all the planned features for the release, but are still going through the testing and validation processes required for a stable release. If you want to test a new feature early, you can install the RC version and provide feedback through GitHub.
120
+
Azure IoT Edge regularly releases new versions of the IoT Edge service. Before each stable release, there is one or more release candidate (RC) versions. RC versions include all the planned features for the release, but are still going through testing and validation. If you want to test a new feature early, you can install an RC version and provide feedback through GitHub.
107
121
108
122
Release candidate versions follow the same numbering convention of releases, but have **-rc** plus an incremental number appended to the end. You can see the release candidates in the same list of [Azure IoT Edge releases](https://github.com/Azure/azure-iotedge/releases) as the stable versions. For example, find **1.0.7-rc1** and **1.0.7-rc2**, the two release candidates that came before **1.0.7**. You can also see that RC versions are marked with **pre-release** labels.
109
123
110
-
As previews, release candidate versions aren't included as the latest version that the regular installers target. Instead, you need to manually target the assets for the RC version that you want to test. Depending on your IoT Edge device operating system, use the following sections to update IoT Edge to a specific version:
124
+
The IoT Edge agent and hub modules have RC versions that are tagged with the same convention. For example, **mcr.microsoft.com/azureiotedge-hub:1.0.7-rc2**.
125
+
126
+
As previews, release candidate versions aren't included as the latest version that the regular installers target. Instead, you need to manually target the assets for the RC version that you want to test. For the most part, installing or updating to an RC version is the same as targeting any other specific version of IoT Edge except for one difference for Windows devices.
127
+
128
+
In a release candidate, the PowerShell script that lets you install and manage the IoT Edge security daemon on a Windows device may have different functionality than the latest generally available version. In addition to downloading the IoT Edge .cab file for the RC, also download the **IotEdgeSecurityDaemon.ps1** script. Use [dot sourcing](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_scripts?view=powershell-7#script-scope-and-dot-sourcing) to run the downloaded script in the current source. For example:
129
+
130
+
```powershell
131
+
. <path>\IoTEdgeSecurityDaemon.ps1
132
+
Update-IoTEdge -OfflineInstallationPath <path>
133
+
```
134
+
135
+
Use the sections in this article to learn how to update an IoT Edge device to a specific version of the security daemon or runtime modules.
136
+
137
+
If you're installing IoT Edge on a new machine, use the following links to learn how to install a specific version depending on your device operating system:
0 commit comments