|
You do not need to install the Azure Industrial IoT (IIoT) Stack at this time. It is part of the remaining Step topics. Follow Step 2 through Step 9, to complete the installation of this Azure IIoT OPC UA integration with ThingWorx.
|
Required Resource
|
Requirements
|
Notes
|
---|---|---|
The tested versions of the Microsoft Azure IIoT Stack
|
Version 2.8 of the Microsoft Azure IIoT Stack
Do not attempt to "install" the stack before you begin. You will do so as part of
Step 2. Setting Up Application Registrations.
|
PTC supports and tests only version 2.8 of the Microsoft Azure IIoT Stack. Make sure that you use this version with the ThingWorx Microsoft Azure Industrial IoT (IIoT) OPC UA integration and versions 4.1.x and 4.2.x of the ThingWorx Azure IoT Hub Connector. If you are using a previous version of the Azure IIoT Stack, follow the instructions in
"Upgrading the Azure IIoT Stack" before starting the procedures in Step 2.
|
Operating system: Windows 64-bit or Linux 64-bit
|
On your computer, you need the following applications:
• Windows PowerShell — Version 5.1 , or PowerShell 6 on Linux. For PowerShell on Linux
• .NET Framework v.4.7.2 or later
• Git v.2.28.0 — To download the latest version for your operating system, go to
git Downloads
• Azure CLI —The current version is 2.10.1. To install it, refer to
Install the Azure CLI
To deploy the Azure Industrial IoT (IIoT) Microservices, you will need
• kubectl, client - the latest GA release that is not a preview release. You'll use this client to manage your Azure Kubernetes Cluster locally
• Helm 3.1.2 or later. You will use version 0.3.1 of the Microsoft Helm chart for the deployment.
To view telemetry and to troubleshoot, you need Microsoft Visual Studio Code, v.1.48 or later. You should install the Azure IoT extension You can also view the documentation stored in the Azure Industrial IoT repository through Visual Studio Code. If you are the system administrator, Postman v.7.30.1 is useful for troubleshooting. Setup steps are required to use Postman for troubleshooting. Refer to
Setting Up to Troubleshoot with Postman.
|
• Make sure that you have the proper privileges to run scripts in the VM. For a Windows VM, refer to
Windows PowerShell and Execution Policy. For a Linux VM refer to the documentation for the VM.
• Windows PowerShell — Version 5.1 s recommended for the deployment procedures. If you are on Windows 10, version 1607, you have this version installed. Do NOT use version 7, as it is known to cause errors.
• For information about PowerShell on Linux, refer to
Installing PowerShell on Linux.
• Git — must be installed on your computer to be able to clone the Industrial IoT repository from the GitHub resource from a Windows Command Prompt. If you have Git Bash on your Windows computer, you can clone the repository in the Windows Command Prompt. If you need instructions for installing Git on Windows, refer to the article,
How to Install and Use Git on Windows. To install on Linux, use the preferred package manager of your Linux distribution.
• Kubernetes command-line tool, kubectl — Refer to the kubernetes web site,
Install and Set Up kubectl.
• Helm installation — Refer to
Installing Helm.
• Microsoft Visual Studio Code — To download, go to
https://code.visualstudio.com/
|
Azure subscription
|
For the IIoT deployment, make sure that you have your Subscription ID and the Tenant ID. You will need them to set the subscription context in Azure. If you have multiple subscriptions, make sure that you have the IDs for the subscription that you plan to use for the Azure IIoT OPC UA integration with ThingWorx.
|
|
Visual Studio Subscription (formerly called MSDN subscriptions)
|
||
Azure IoT Edge runtime installed and running. Azure documentation has a tutorial for installing Azure IoT Edge runtime
|
How to Setup a Local Gateway for Industrial Scenarios — Refer to the section, " Create an IoT Edge Instance and Install the IoT Edge Runtime". You can use Microsoft Visual Studio Code and the Azure IoT Extension to set up IoT Edge Devices and modules.
|
|
An OPC UA server such as ThingWorx Kepware Server (TKS)
|
The OPC UA Server is installed, configured, running, and visible on the network to the Azure IoT Edge Runtime.
|